Skip to content
This repository
Browse code

updated fresh to ignore hidden files. releasing 1.4.0

  • Loading branch information...
commit c248da9fe18cf3659010a20d90db8042e3d7f053 1 parent 2505ca3
Micah Martin authored May 17, 2011
4  CHANGES.md
Source Rendered
@@ -7,8 +7,10 @@
7 7
 * renamed specdoc to documentation
8 8
 * output improved
9 9
 * with-all spec component
  10
+* tag examples. declared in describe blocks. filtered on run.
  11
+* exclude hidden files in runs (https://github.com/slagyr/speclj/pull/4)
10 12
 
11  
-# 1.3.0
  13
+ # 1.3.0
12 14
 
13 15
 * using raw Runtime.exec in 'lein spec' command to avoid ant's output mangling and lag.
14 16
 * should-be-same or some assertion that checks object reference equality
5  TODO.md
Source Rendered
... ...
@@ -1,10 +1,7 @@
1 1
 # Features to add
2 2
 
3  
-* tag examples. declared in describe blocks. filtered on run.
4  
-* exclude hidden files in runs (https://github.com/slagyr/speclj/pull/4)
5  
-* exceptions during a spec run should not abort the rest of the examples
  3
+* exceptions during a spec run should not abort the rest of the examples ???
6 4
 * should-contain that accepts strings/regex, maps, seq
7  
-* allow running to run individual example
8 5
 * mocks
9 6
 * report runs to growl, for vigilant runner
10 7
 * limelight runner
2  project.clj
@@ -7,7 +7,7 @@
7 7
             :distribution :repo
8 8
             :comments "Copyright © 2011 Micah Martin All Rights Reserved."}
9 9
   :dependencies [[org.clojure/clojure "1.2.0"]
10  
-                 [fresh "1.0.1"]
  10
+                 [fresh "1.0.2"]
11 11
                  [mmargs "1.2.0"]]
12 12
   :dev-dependencies [[lein-clojars "0.6.0"]]
13 13
   :test-path "spec/"
2  spec/speclj/tags_spec.clj
@@ -73,4 +73,6 @@
73 73
 
74 74
   )
75 75
 
  76
+blah
  77
+
76 78
 (run-specs)
4  src/speclj/run/standard.clj
@@ -8,9 +8,10 @@
8 8
     [speclj.running Runner]))
9 9
 
10 10
 (defn- load-spec [spec-file]
  11
+  (try
11 12
   (let [src (slurp (.getCanonicalPath spec-file))
12 13
         rdr (-> (java.io.StringReader. src) (clojure.lang.LineNumberingPushbackReader.))]
13  
-    (clojure.lang.Compiler/load rdr (.getParent spec-file) (.getName spec-file))))
  14
+    (clojure.lang.Compiler/load rdr (.getParent spec-file) (.getName spec-file)))))
14 15
 
15 16
 (deftype StandardRunner [descriptions results]
16 17
   Runner
@@ -19,7 +20,6 @@
19 20
           files (sort files)]
20 21
       (binding [*runner* this *reporter* reporter]
21 22
         (doseq [file files]
22  
-          ;          (load-string (slurp (.getCanonicalPath file))))))
23 23
           (load-spec file))))
24 24
     (run-and-report this reporter)
25 25
     (fail-count @results))
6  src/speclj/version.clj
@@ -3,9 +3,9 @@
3 3
     [clojure.string :as str]))
4 4
 
5 5
 (def major 1)
6  
-(def minor 3)
7  
-(def tiny 1)
8  
-(def snapshot true)
  6
+(def minor 4)
  7
+(def tiny 0)
  8
+(def snapshot false)
9 9
 (def string
10 10
   (str
11 11
     (str/join "." (filter identity [major minor tiny]))

0 notes on commit c248da9

Please sign in to comment.
Something went wrong with that request. Please try again.