Permalink
Browse files

1.3.0-RC2

  • Loading branch information...
1 parent 929831c commit 7fe67a4450f9b4b366a99a7ef833c2643f11d32b @marick committed Dec 5, 2011
View
@@ -1,4 +1,4 @@
-1.3-alpha5
+1.3.0-RC2
--------
* Prevents you from overriding functions that the compiler inlines.
https://github.com/marick/Midje/issues/60
View
@@ -1,6 +1,6 @@
Available via [clojars](http://clojars.org/search?q=midje)
Current stable version: [midje "1.2.0"]
-Development version: [midje "1.3-alpha5"] (includes Clojure 1.3 support)
+Development version: [midje "1.3.0-RC2"] (includes Clojure 1.3 support)
About Midje
=======================
View
@@ -5,14 +5,16 @@ require 'rake'
def jar_name
text = File.read('project.clj')
- unless /midje\s+"(\d+\.\d+\.\d+(-[A-Z]+)?)"/ =~ text ||
+ unless /midje\s+"(\d+\.\d+\.\d+(-RC\d+)?)"/ =~ text ||
+ /midje\s+"(\d+\.\d+(\.\d+)*-SNAPSHOT)"/ =~ text ||
/midje\s+"(\d+\.\d-alpha\d)"/ =~ text ||
/midje\s+"(\d+\.\d-beta\d)"/ =~ text
puts "Couldn't find version in project file."
exit 1
end
- puts "jar name: #{$1}"
- "midje-#{$1}.jar"
+ jar = "midje-#{$1}.jar"
+ puts "jar name: #{jar}"
+ jar
end
def doit(text)
@@ -10,5 +10,5 @@
:dev-dependencies
[[lein-run "1.0.0"]
[lein-midje "[1.0.0,)"]
- [midje "1.3.0-SNAPSHOT"]
+ [midje "1.3.0-RC2"]
])
@@ -3,6 +3,6 @@
:dependencies [[org.clojure/clojure "[1.2.0,1.2.1]"]
[org.clojure/clojure-contrib "[1.2.0,1.2.1]"]
]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]
+ :dev-dependencies [[midje "1.3.0-RC2"]
[lein-midje "[1.0.0,)"]])
View
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.3.0.jar:../lib/dev:../lib/dev/algo.monads-0.1.0.jar:../lib/dev/colorize-0.1.1.jar:../lib/dev/core.unify-0.5.1.jar:../lib/dev/joda-time-2.0.jar:../lib/dev/math.combinatorics-0.0.1.jar:../lib/dev/midje-1.3.0-SNAPSHOT.jar:../lib/dev/ordered-1.0.0.jar:../lib/dev/tools.macro-0.1.1.jar:../lib/dev/utilize-0.1.3.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
+java -cp ../lib/clojure-1.3.0.jar:../lib/dev:../lib/dev/algo.monads-0.1.0.jar:../lib/dev/colorize-0.1.1.jar:../lib/dev/core.unify-0.5.1.jar:../lib/dev/joda-time-2.0.jar:../lib/dev/math.combinatorics-0.0.1.jar:../lib/dev/midje-1.3.0-RC2.jar:../lib/dev/ordered-1.0.0.jar:../lib/dev/tools.macro-0.1.1.jar:../lib/dev/utilize-0.1.3.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
@@ -2,4 +2,4 @@
:description "TODO: add summary of your project"
:dependencies [[clojure "[1.2.0,1.2.1]"]
[clojure-contrib "1.2.0"]]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]])
+ :dev-dependencies [[midje "1.3.0-RC2"]])
@@ -3,5 +3,5 @@
:dependencies
[[org.clojure/clojure "[1.2.0,1.2.1]"]
[org.clojure/clojure-contrib "1.2.0"]]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]
+ :dev-dependencies [[midje "1.3.0-RC2"]
[lein-midje "[1.0.0,)"]])
@@ -2,5 +2,5 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "[1.2.0,1.2.1]"]
[org.clojure/clojure-contrib "1.2.0"]]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]
+ :dev-dependencies [[midje "1.3.0-RC2"]
[lein-midje "[1.0.0,)"]])
@@ -2,4 +2,4 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "[1.2.0,1.2.1]"]
[org.clojure/clojure-contrib "1.2.0"]]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]])
+ :dev-dependencies [[midje "1.3.0-RC2"]])
@@ -2,4 +2,4 @@
:description "An example of using Midje semi-sweet mocking"
:dependencies [[org.clojure/clojure "[1.2.0,1.2.1]"]
[org.clojure/clojure-contrib "1.2.0"]]
- :dev-dependencies [[midje "1.3.0-SNAPSHOT"]])
+ :dev-dependencies [[midje "1.3.0-RC2"]])
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.3.0.jar:../lib/dev:../lib/dev/algo.monads-0.1.0.jar:../lib/dev/colorize-0.1.1.jar:../lib/dev/core.unify-0.5.1.jar:../lib/dev/joda-time-2.0.jar:../lib/dev/math.combinatorics-0.0.1.jar:../lib/dev/midje-1.3.0-SNAPSHOT.jar:../lib/dev/ordered-1.0.0.jar:../lib/dev/tools.macro-0.1.1.jar:../lib/dev/utilize-0.1.3.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
+java -cp ../lib/clojure-1.3.0.jar:../lib/dev:../lib/dev/algo.monads-0.1.0.jar:../lib/dev/colorize-0.1.1.jar:../lib/dev/core.unify-0.5.1.jar:../lib/dev/joda-time-2.0.jar:../lib/dev/math.combinatorics-0.0.1.jar:../lib/dev/midje-1.3.0-RC2.jar:../lib/dev/ordered-1.0.0.jar:../lib/dev/tools.macro-0.1.1.jar:../lib/dev/utilize-0.1.3.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
View
@@ -1,4 +1,4 @@
-(defproject midje "1.3.0-SNAPSHOT"
+(defproject midje "1.3.0-RC2"
:description "A TDD library for Clojure, with an emphasis on mocks"
:url "https://github.com/marick/Midje"
:dependencies [[org.clojure/clojure "[1.2.0],[1.2.1],[1.3.0]"]

0 comments on commit 7fe67a4

Please sign in to comment.