Skip to content

Commit 4843c82

Browse files
author
David Orme
committed
Preparing to ship as an independent module
1 parent 7bc9419 commit 4843c82

File tree

5 files changed

+6
-16
lines changed

5 files changed

+6
-16
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# clojure-navigation
1+
# clojure-navigation #
22

33
Clojure-navigation contains utilities for navigating data and/or code. For example:
44

@@ -102,4 +102,3 @@ Copyright © 2015 by ShopSmart, LLC. Licensed under the Eclipse Public License
102102
## Authors
103103

104104
David Orme
105-

doc/intro.md

-3
This file was deleted.

project.clj

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
(defproject com.bradsdeals/clojure-navigation "1.0.0"
1+
(defproject com.github.shopsmart/clojure-navigation "1.0.1"
22
:description "Tools for navigating code and data structures from Clojure along with some generic helpers."
33
:url "https://github.com/shopsmart/clojure-navigation"
44
:license {:name "Eclipse Public License"
55
:url "http://www.eclipse.org/legal/epl-v10.html"}
6-
:dependencies [[org.clojure/clojure "1.7.0"]
6+
:dependencies [[org.clojure/clojure "1.8.0"]
77
[org.clojure.gaverhae/okku "0.1.4"]]
8-
:repositories [["snapshots" {:url "file:/Users/dorme/.m2/repository/"
9-
:username "nobody"
10-
:password "nobody"}]]
118
:jvm-opts ["-Xmx10g" "-Xms512m" "-XX:+UseParallelGC"]
129
:profiles {:uberjar {:aot :all}})

src/bradsdeals/util/inject.clj

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ See: inject, inject->>, fns"
1212
[clojure.string :as s])
1313
(:gen-class))
1414

15-
;; Define the state of the current computationxs
15+
;; Define the state of the current computation
1616
(defrecord State [])
1717

1818
(defn- pprint-str [src]
1919
(with-out-str (clojure.pprint/pprint src)))
2020

2121

2222
(defn arity
23-
"Returns the maximum parameter count of each invoke method found by refletion
23+
"Returns the maximum parameter count of each invoke method found by reflection
2424
on the input instance. The returned value can be then interpreted as the arity
2525
of the input function. The count does NOT detect variadic functions."
2626
[f]
@@ -196,7 +196,7 @@ way."
196196
;;;; Predefined behaviors for use with the inject macros
197197

198198
(defn logging
199-
"Log each form as it is executed at debug log level. If execution time is
199+
"Log each form as it is executed at debug log level. If execution time is
200200
greater than 1/2 second, log the execution time as well.
201201
202202
Usage: (inject logging (form1) (form2) ...)"
@@ -260,4 +260,3 @@ Usage: (inject trace-return (form1) (form2) ...)"
260260
result (f f-input)
261261
trace (assoc (err/replace-nil (second val) {}) src-fn-name result)]
262262
[result trace]))
263-

test/bradsdeals/pipe_test.clj

-2
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,3 @@ Also includes xreduce, a version of reduce that returns a transducer function."
115115
next next next next
116116
next)]
117117
(is (= [:a :c :cc :aaa 0] result))))
118-
119-
(run-tests)

0 commit comments

Comments
 (0)