machinery 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/machinery.rb +4 -2
- metadata +4 -4
data/lib/machinery.rb
CHANGED
@@ -76,8 +76,10 @@ if defined? Test::Unit::TestCase
|
|
76
76
|
end
|
77
77
|
|
78
78
|
if defined? RSpec
|
79
|
-
RSpec.configure
|
80
|
-
|
79
|
+
RSpec.configure do |c|
|
80
|
+
c.include Machinery::Helpers
|
81
|
+
c.extend Machinery::ExampleGroupMacros
|
82
|
+
end
|
81
83
|
elsif defined? Spec::Example::ExampleGroup
|
82
84
|
Spec::Example::ExampleGroup.extend Machinery::ExampleGroupMacros
|
83
85
|
Spec::Example::ExampleGroupFactory[nil].send('include', Machinery::Helpers)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: machinery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 7
|
10
|
+
version: 0.9.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lawrence Pit
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-07 00:00:00 +10:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|