shoulda-callback-matchers 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +11 -0
- data/.rvmrc +1 -0
- data/.travis.yml +18 -0
- data/Appraisals +15 -0
- data/CONTRIBUTING.md +0 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +148 -0
- data/MIT-LICENSE +22 -0
- data/NEWS.md +2 -0
- data/README.md +40 -0
- data/Rakefile +19 -0
- data/gemfiles/3.0.gemfile +13 -0
- data/gemfiles/3.0.gemfile.lock +133 -0
- data/gemfiles/3.1.gemfile +15 -0
- data/gemfiles/3.1.gemfile.lock +155 -0
- data/gemfiles/3.2.gemfile +15 -0
- data/gemfiles/3.2.gemfile.lock +153 -0
- data/lib/shoulda-callback-matchers.rb +1 -0
- data/lib/shoulda/callback/matchers.rb +7 -0
- data/lib/shoulda/callback/matchers/active_model.rb +107 -0
- data/lib/shoulda/callback/matchers/integrations/rspec.rb +13 -0
- data/lib/shoulda/callback/matchers/integrations/test_unit.rb +34 -0
- data/lib/shoulda/callback/matchers/version.rb +7 -0
- data/shoulda-callback-matchers.gemspec +28 -0
- data/spec/fixtures/users.yml +6 -0
- data/spec/shoulda/active_model/callback_matcher_spec.rb +229 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/support/active_model_versions.rb +9 -0
- data/spec/support/class_builder.rb +42 -0
- data/spec/support/model_builder.rb +73 -0
- metadata +208 -0
metadata
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: shoulda-callback-matchers
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Beat Richartz
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: appraisal
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.4.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.4.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: aruba
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: bourne
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.1.2
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.1.2
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.1.0
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.1.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rails
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '3.0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rake
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.9.2
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.9.2
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rspec-rails
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 2.8.1
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.8.1
|
142
|
+
description: Making callback tests easy on the fingers and eyes
|
143
|
+
email: attraccessor@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- .gitignore
|
149
|
+
- .rvmrc
|
150
|
+
- .travis.yml
|
151
|
+
- Appraisals
|
152
|
+
- CONTRIBUTING.md
|
153
|
+
- Gemfile
|
154
|
+
- Gemfile.lock
|
155
|
+
- MIT-LICENSE
|
156
|
+
- NEWS.md
|
157
|
+
- README.md
|
158
|
+
- Rakefile
|
159
|
+
- gemfiles/3.0.gemfile
|
160
|
+
- gemfiles/3.0.gemfile.lock
|
161
|
+
- gemfiles/3.1.gemfile
|
162
|
+
- gemfiles/3.1.gemfile.lock
|
163
|
+
- gemfiles/3.2.gemfile
|
164
|
+
- gemfiles/3.2.gemfile.lock
|
165
|
+
- lib/shoulda-callback-matchers.rb
|
166
|
+
- lib/shoulda/callback/matchers.rb
|
167
|
+
- lib/shoulda/callback/matchers/active_model.rb
|
168
|
+
- lib/shoulda/callback/matchers/integrations/rspec.rb
|
169
|
+
- lib/shoulda/callback/matchers/integrations/test_unit.rb
|
170
|
+
- lib/shoulda/callback/matchers/version.rb
|
171
|
+
- shoulda-callback-matchers.gemspec
|
172
|
+
- spec/fixtures/users.yml
|
173
|
+
- spec/shoulda/active_model/callback_matcher_spec.rb
|
174
|
+
- spec/spec_helper.rb
|
175
|
+
- spec/support/active_model_versions.rb
|
176
|
+
- spec/support/class_builder.rb
|
177
|
+
- spec/support/model_builder.rb
|
178
|
+
homepage: http://github.com/beatrichartz/shoulda-callback-matchers
|
179
|
+
licenses: []
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ! '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
requirements: []
|
197
|
+
rubyforge_project:
|
198
|
+
rubygems_version: 1.8.24
|
199
|
+
signing_key:
|
200
|
+
specification_version: 3
|
201
|
+
summary: Making callback tests easy on the fingers and eyes
|
202
|
+
test_files:
|
203
|
+
- spec/fixtures/users.yml
|
204
|
+
- spec/shoulda/active_model/callback_matcher_spec.rb
|
205
|
+
- spec/spec_helper.rb
|
206
|
+
- spec/support/active_model_versions.rb
|
207
|
+
- spec/support/class_builder.rb
|
208
|
+
- spec/support/model_builder.rb
|