Skip to content

Commit

Permalink
working on new release... got one cljs error to figure out
Browse files Browse the repository at this point in the history
  • Loading branch information
slagyr committed Apr 7, 2016
1 parent 881497c commit 4fe21a0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
@@ -1,3 +1,10 @@
# 3.3.2

* upgrade to clojure 1.8.0
* upgrade clojurescript to 1.8.40
* .cljc support by @eyelidlessness https://github.com/slagyr/speclj/pull/150
* better platform support by @eyelidlessness https://github.com/slagyr/speclj/pull/152

# 3.3.1

* fixes reader conditionals in require form
Expand Down
8 changes: 4 additions & 4 deletions project.clj
@@ -1,4 +1,4 @@
(defproject speclj "3.3.2-SNAPSHOT"
(defproject speclj "3.3.2"
:description "speclj: Pronounced 'speckle', is a Behavior Driven Development framework for Clojure."
:url "http://speclj.com"
:license {:name "The MIT License"
Expand All @@ -13,12 +13,12 @@
:test-paths ["spec" "dev"]
:java-source-paths ["src"]

:dependencies [[org.clojure/clojure "1.7.0-RC2"]
:dependencies [[org.clojure/clojure "1.8.0"]
[fresh "1.1.2"]
[mmargs "1.2.0"]
[trptcolin/versioneer "0.1.1"]]

:profiles {:dev {:dependencies [[org.clojure/clojurescript "0.0-3308"]]
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.8.40"]]
:plugins [[codox "0.8.11" :exclusions [org.clojure/clojure]]]}}

:prep-tasks ["javac" "compile"]
Expand All @@ -27,6 +27,6 @@
"spec" ["do" "run" "-m" "speclj.dev.spec"]
"ci" ["do" "spec," "cljs"]}

:codox {:src-dir-uri "http://github.com/slagyr/speclj/blob/3.3.0/"
:codox {:src-dir-uri "http://github.com/slagyr/speclj/blob/3.3.2/"
:src-linenum-anchor-prefix "L"}
)
2 changes: 1 addition & 1 deletion spec/speclj/platform_spec.cljc
Expand Up @@ -6,7 +6,7 @@
[speclj.run.standard :refer [run-specs]]))

(defmacro which-env []
`(if-cljs :cljs :clj))
(if-cljs :cljs :clj))

(describe "platform-specific bits"
#?(:cljs
Expand Down
4 changes: 2 additions & 2 deletions spec/speclj/should_spec.cljc
Expand Up @@ -355,7 +355,7 @@
(failure-message (should-throw exception (+ 1 1))))
#?(:cljs
(should=
(str "Expected nothing thrown from: " (pr-str '(throw (-new-throwable "some message"))) endl " but got: #<some message>")
(str "Expected nothing thrown from: " (pr-str '(throw (-new-throwable "some message"))) endl " but got: #object[String some message]")
(failure-message (should-not-throw (throw (-new-throwable "some message")))))
:clj
(should-contain
Expand Down Expand Up @@ -388,7 +388,7 @@
(should-fail! (should-not-throw (throw (-new-throwable "error"))))
#?(:cljs
(should=
(str "Expected nothing thrown from: " (pr-str '(throw (-new-throwable "error"))) endl " but got: #<error>")
(str "Expected nothing thrown from: " (pr-str '(throw (-new-throwable "error"))) endl " but got: #object[String error]")
(failure-message (should-not-throw (throw (-new-throwable "error")))))
:clj
(should-contain
Expand Down

0 comments on commit 4fe21a0

Please sign in to comment.