shoulda-callback-matchers 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +69 -77
- data/README.md +2 -1
- data/lib/shoulda/callback/matchers/version.rb +1 -1
- data/shoulda-callback-matchers-0.1.0.gem +0 -0
- data/shoulda-callback-matchers.gemspec +5 -5
- data/spec/spec_helper.rb +0 -1
- metadata +13 -12
data/Gemfile.lock
CHANGED
@@ -7,126 +7,118 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (3.2.
|
11
|
-
actionpack (= 3.2.
|
10
|
+
actionmailer (3.2.9)
|
11
|
+
actionpack (= 3.2.9)
|
12
12
|
mail (~> 2.4.4)
|
13
|
-
actionpack (3.2.
|
14
|
-
activemodel (= 3.2.
|
15
|
-
activesupport (= 3.2.
|
13
|
+
actionpack (3.2.9)
|
14
|
+
activemodel (= 3.2.9)
|
15
|
+
activesupport (= 3.2.9)
|
16
16
|
builder (~> 3.0.0)
|
17
17
|
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.
|
18
|
+
journey (~> 1.0.4)
|
19
19
|
rack (~> 1.4.0)
|
20
20
|
rack-cache (~> 1.2)
|
21
21
|
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.1
|
23
|
-
activemodel (3.2.
|
24
|
-
activesupport (= 3.2.
|
22
|
+
sprockets (~> 2.2.1)
|
23
|
+
activemodel (3.2.9)
|
24
|
+
activesupport (= 3.2.9)
|
25
25
|
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.
|
27
|
-
activemodel (= 3.2.
|
28
|
-
activesupport (= 3.2.
|
26
|
+
activerecord (3.2.9)
|
27
|
+
activemodel (= 3.2.9)
|
28
|
+
activesupport (= 3.2.9)
|
29
29
|
arel (~> 3.0.2)
|
30
30
|
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.
|
32
|
-
activemodel (= 3.2.
|
33
|
-
activesupport (= 3.2.
|
34
|
-
activesupport (3.2.
|
31
|
+
activeresource (3.2.9)
|
32
|
+
activemodel (= 3.2.9)
|
33
|
+
activesupport (= 3.2.9)
|
34
|
+
activesupport (3.2.9)
|
35
35
|
i18n (~> 0.6)
|
36
36
|
multi_json (~> 1.0)
|
37
|
-
appraisal (0.
|
37
|
+
appraisal (0.5.1)
|
38
38
|
bundler
|
39
39
|
rake
|
40
40
|
arel (3.0.2)
|
41
|
-
aruba (0.
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
builder (3.0.0)
|
52
|
-
childprocess (0.3.1)
|
53
|
-
ffi (~> 1.0.6)
|
54
|
-
cucumber (1.1.9)
|
41
|
+
aruba (0.5.1)
|
42
|
+
childprocess (~> 0.3.6)
|
43
|
+
cucumber (>= 1.1.1)
|
44
|
+
rspec-expectations (>= 2.7.0)
|
45
|
+
bourne (1.3.0)
|
46
|
+
mocha (= 0.13.0)
|
47
|
+
builder (3.0.4)
|
48
|
+
childprocess (0.3.6)
|
49
|
+
ffi (~> 1.0, >= 1.0.6)
|
50
|
+
cucumber (1.2.1)
|
55
51
|
builder (>= 2.1.2)
|
56
|
-
diff-lcs (>= 1.1.
|
57
|
-
gherkin (~> 2.
|
52
|
+
diff-lcs (>= 1.1.3)
|
53
|
+
gherkin (~> 2.11.0)
|
58
54
|
json (>= 1.4.6)
|
59
|
-
term-ansicolor (>= 1.0.6)
|
60
55
|
diff-lcs (1.1.3)
|
61
56
|
erubis (2.7.0)
|
62
|
-
ffi (1.0
|
63
|
-
gherkin (2.
|
57
|
+
ffi (1.2.0)
|
58
|
+
gherkin (2.11.5)
|
64
59
|
json (>= 1.4.6)
|
65
60
|
hike (1.2.1)
|
66
|
-
i18n (0.6.
|
67
|
-
journey (1.0.
|
68
|
-
json (1.
|
61
|
+
i18n (0.6.1)
|
62
|
+
journey (1.0.4)
|
63
|
+
json (1.7.5)
|
69
64
|
mail (2.4.4)
|
70
65
|
i18n (>= 0.4.0)
|
71
66
|
mime-types (~> 1.16)
|
72
67
|
treetop (~> 1.4.8)
|
73
68
|
metaclass (0.0.1)
|
74
|
-
mime-types (1.
|
75
|
-
mocha (0.
|
69
|
+
mime-types (1.19)
|
70
|
+
mocha (0.13.0)
|
76
71
|
metaclass (~> 0.0.1)
|
77
|
-
multi_json (1.
|
72
|
+
multi_json (1.4.0)
|
78
73
|
polyglot (0.3.3)
|
79
74
|
rack (1.4.1)
|
80
75
|
rack-cache (1.2)
|
81
76
|
rack (>= 0.4)
|
82
77
|
rack-ssl (1.3.2)
|
83
78
|
rack
|
84
|
-
rack-test (0.6.
|
79
|
+
rack-test (0.6.2)
|
85
80
|
rack (>= 1.0)
|
86
|
-
rails (3.2.
|
87
|
-
actionmailer (= 3.2.
|
88
|
-
actionpack (= 3.2.
|
89
|
-
activerecord (= 3.2.
|
90
|
-
activeresource (= 3.2.
|
91
|
-
activesupport (= 3.2.
|
81
|
+
rails (3.2.9)
|
82
|
+
actionmailer (= 3.2.9)
|
83
|
+
actionpack (= 3.2.9)
|
84
|
+
activerecord (= 3.2.9)
|
85
|
+
activeresource (= 3.2.9)
|
86
|
+
activesupport (= 3.2.9)
|
92
87
|
bundler (~> 1.0)
|
93
|
-
railties (= 3.2.
|
94
|
-
railties (3.2.
|
95
|
-
actionpack (= 3.2.
|
96
|
-
activesupport (= 3.2.
|
88
|
+
railties (= 3.2.9)
|
89
|
+
railties (3.2.9)
|
90
|
+
actionpack (= 3.2.9)
|
91
|
+
activesupport (= 3.2.9)
|
97
92
|
rack-ssl (~> 1.3.2)
|
98
93
|
rake (>= 0.8.7)
|
99
94
|
rdoc (~> 3.4)
|
100
|
-
thor (
|
101
|
-
rake (0.
|
102
|
-
rdiscount (1.6.8)
|
95
|
+
thor (>= 0.14.6, < 2.0)
|
96
|
+
rake (10.0.2)
|
103
97
|
rdoc (3.12)
|
104
98
|
json (~> 1.4)
|
105
|
-
rspec (2.
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
rspec-
|
110
|
-
rspec-expectations (2.8.0)
|
111
|
-
diff-lcs (~> 1.1.2)
|
112
|
-
rspec-mocks (2.8.0)
|
113
|
-
rspec-rails (2.8.1)
|
99
|
+
rspec-core (2.12.1)
|
100
|
+
rspec-expectations (2.12.0)
|
101
|
+
diff-lcs (~> 1.1.3)
|
102
|
+
rspec-mocks (2.12.0)
|
103
|
+
rspec-rails (2.12.0)
|
114
104
|
actionpack (>= 3.0)
|
115
105
|
activesupport (>= 3.0)
|
116
106
|
railties (>= 3.0)
|
117
|
-
rspec (~> 2.
|
118
|
-
|
107
|
+
rspec-core (~> 2.12.0)
|
108
|
+
rspec-expectations (~> 2.12.0)
|
109
|
+
rspec-mocks (~> 2.12.0)
|
110
|
+
sprockets (2.2.2)
|
119
111
|
hike (~> 1.2)
|
112
|
+
multi_json (~> 1.0)
|
120
113
|
rack (~> 1.0)
|
121
114
|
tilt (~> 1.1, != 1.3.0)
|
122
|
-
sqlite3 (1.3.
|
123
|
-
|
124
|
-
thor (0.14.6)
|
115
|
+
sqlite3 (1.3.6)
|
116
|
+
thor (0.16.0)
|
125
117
|
tilt (1.3.3)
|
126
|
-
treetop (1.4.
|
118
|
+
treetop (1.4.12)
|
127
119
|
polyglot
|
128
120
|
polyglot (>= 0.3.1)
|
129
|
-
tzinfo (0.3.
|
121
|
+
tzinfo (0.3.35)
|
130
122
|
|
131
123
|
PLATFORMS
|
132
124
|
ruby
|
@@ -134,15 +126,15 @@ PLATFORMS
|
|
134
126
|
DEPENDENCIES
|
135
127
|
activerecord-jdbc-adapter
|
136
128
|
activerecord-jdbcsqlite3-adapter
|
137
|
-
appraisal (~> 0.
|
129
|
+
appraisal (~> 0.5.0)
|
138
130
|
aruba
|
139
|
-
bourne (~> 1.
|
131
|
+
bourne (~> 1.3.0)
|
140
132
|
bundler (>= 1.1.0)
|
141
133
|
jdbc-sqlite3
|
142
134
|
jruby-openssl
|
143
|
-
rails (
|
144
|
-
rake (~> 0.
|
145
|
-
rspec-rails (~> 2.
|
135
|
+
rails (>= 3.0)
|
136
|
+
rake (~> 10.0.0)
|
137
|
+
rspec-rails (~> 2.12.0)
|
146
138
|
shoulda-callback-matchers!
|
147
139
|
sqlite3
|
148
140
|
therubyrhino
|
data/README.md
CHANGED
@@ -31,7 +31,8 @@ Shoulda will automatically include matchers into the appropriate example groups.
|
|
31
31
|
|
32
32
|
## Credits
|
33
33
|
|
34
|
-
|
34
|
+
This gem is maintained by me,
|
35
|
+
Shoulda is maintained and funded by [thoughtbot](http://thoughtbot.com/community)
|
35
36
|
|
36
37
|
## License
|
37
38
|
|
Binary file
|
@@ -18,11 +18,11 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
s.add_dependency('activesupport', '>= 3.0.0')
|
20
20
|
|
21
|
-
s.add_development_dependency('appraisal', '~> 0.
|
21
|
+
s.add_development_dependency('appraisal', '~> 0.5.0')
|
22
22
|
s.add_development_dependency('aruba')
|
23
|
-
s.add_development_dependency('bourne', '~> 1.
|
23
|
+
s.add_development_dependency('bourne', '~> 1.3.0')
|
24
24
|
s.add_development_dependency('bundler', '>= 1.1.0')
|
25
|
-
s.add_development_dependency('rails', '
|
26
|
-
s.add_development_dependency('rake', '~> 0.
|
27
|
-
s.add_development_dependency('rspec-rails', '~> 2.
|
25
|
+
s.add_development_dependency('rails', '>= 3.0')
|
26
|
+
s.add_development_dependency('rake', '~> 10.0.0')
|
27
|
+
s.add_development_dependency('rspec-rails', '~> 2.12.0')
|
28
28
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-callback-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
37
|
+
version: 0.5.0
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 0.5.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: aruba
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
69
|
+
version: 1.3.0
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
77
|
+
version: 1.3.0
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: bundler
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '3.0'
|
102
102
|
type: :development
|
@@ -104,7 +104,7 @@ dependencies:
|
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '3.0'
|
110
110
|
- !ruby/object:Gem::Dependency
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 10.0.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.
|
125
|
+
version: 10.0.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rspec-rails
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,7 @@ dependencies:
|
|
130
130
|
requirements:
|
131
131
|
- - ~>
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: 2.
|
133
|
+
version: 2.12.0
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -138,7 +138,7 @@ dependencies:
|
|
138
138
|
requirements:
|
139
139
|
- - ~>
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version: 2.
|
141
|
+
version: 2.12.0
|
142
142
|
description: Making callback tests easy on the fingers and eyes
|
143
143
|
email: attraccessor@gmail.com
|
144
144
|
executables: []
|
@@ -168,6 +168,7 @@ files:
|
|
168
168
|
- lib/shoulda/callback/matchers/integrations/rspec.rb
|
169
169
|
- lib/shoulda/callback/matchers/integrations/test_unit.rb
|
170
170
|
- lib/shoulda/callback/matchers/version.rb
|
171
|
+
- shoulda-callback-matchers-0.1.0.gem
|
171
172
|
- shoulda-callback-matchers.gemspec
|
172
173
|
- spec/fixtures/users.yml
|
173
174
|
- spec/shoulda/active_model/callback_matcher_spec.rb
|