shoulda-callback-matchers 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 89f6042a079fd2d5fef52ef390cf0c52dc28f3e1
4
- data.tar.gz: da245bb62f6a4c956ac72708484821b09815a578
5
- SHA512:
6
- metadata.gz: 7ad1fb3263ea065b34ad6f0fefa000c6f5adddfcd17c2711f98830cd268e6858564515c529aa72d33e5ff9a0c8d6d36f74cebffa73ea51b1b5221f48c81a7efe
7
- data.tar.gz: 14d5f259cf09bb0642ef5765a7b16712585e1f64452fc2166000828f3a927247a0aaa1058a65e5274c755dd32333fbc7e2efd1dd37e10fc2eceb9ecb8aace35d
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1c1f3a238962147de08a5dfe77046fc8d4055901
4
+ data.tar.gz: 58858d72aadfd5821ec598c795fed09364f9fc89
5
+ SHA512:
6
+ metadata.gz: 18ee32dd29e5cffc3937e6bde593a0e30304d13d33c37a4bd90c89056c7553d86d987d0020d5b47651d1d313bdbdf86b6ece185633bcce93ae4ff53a39d9a2d4
7
+ data.tar.gz: d972b21525d285b2af3d366ae74623f56973ce07a68f338f2c4eb8201456d2fd4be2c3fe6c92e541d457f6942e6552ee389517a42053417325999a33859cf294
@@ -1,8 +1,8 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
- - 2.1.1
5
- - rbx-20mode
4
+ - 2.1.2
5
+ - rbx-2
6
6
  - jruby-19mode
7
7
  - jruby-head
8
8
 
@@ -13,7 +13,7 @@ gemfile:
13
13
  - gemfiles/rails_4.0.gemfile
14
14
  - gemfiles/rails_3.2.gemfile
15
15
  - gemfiles/rails_3.1.gemfile
16
-
16
+
17
17
  matrix:
18
18
  allow_failures:
19
- - rvm: rbx-20mode
19
+ - rvm: jruby-head
@@ -89,10 +89,14 @@ module Shoulda # :nodoc:
89
89
  @failure_message || "expected #{@method} to be listed as a callback #{@hook} #{@lifecycle}#{optional_lifecycle_phrase}#{condition_phrase}, but was not"
90
90
  end
91
91
 
92
- def negative_failure_message
92
+ def failure_message_when_negated
93
93
  @failure_message || "expected #{@method} not to be listed as a callback #{@hook} #{@lifecycle}#{optional_lifecycle_phrase}#{condition_phrase}, but was"
94
94
  end
95
95
 
96
+ def negative_failure_message
97
+ failure_message_when_negated
98
+ end
99
+
96
100
  def description
97
101
  "callback #{@method} #{@hook} #{@lifecycle}#{optional_lifecycle_phrase}#{condition_phrase}"
98
102
  end
@@ -1,7 +1,7 @@
1
1
  module Shoulda
2
2
  module Callback
3
3
  module Matchers
4
- VERSION = '1.1.0'.freeze
4
+ VERSION = '1.1.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,122 +1,128 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: shoulda-callback-matchers
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Beat Richartz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-08-29 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: activesupport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '3'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
24
19
  - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '3'
27
- - !ruby/object:Gem::Dependency
20
+ - !ruby/object:Gem::Version
21
+ version: "3"
22
+ type: :runtime
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
28
25
  name: appraisal
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.5'
34
- type: :development
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.5'
41
- - !ruby/object:Gem::Dependency
42
- name: aruba
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: "0.5"
48
32
  type: :development
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: aruba
49
36
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '1.1'
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - &id011
40
+ - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: "0"
62
43
  type: :development
44
+ version_requirements: *id003
45
+ - !ruby/object:Gem::Dependency
46
+ name: bundler
63
47
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
48
+ requirement: &id004 !ruby/object:Gem::Requirement
49
+ requirements:
66
50
  - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '1.1'
69
- - !ruby/object:Gem::Dependency
70
- name: rails
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '3'
51
+ - !ruby/object:Gem::Version
52
+ version: "1.1"
76
53
  type: :development
54
+ version_requirements: *id004
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
77
57
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
58
+ requirement: &id005 !ruby/object:Gem::Requirement
59
+ requirements:
80
60
  - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '3'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '10'
61
+ - !ruby/object:Gem::Version
62
+ version: "3"
90
63
  type: :development
64
+ version_requirements: *id005
65
+ - !ruby/object:Gem::Dependency
66
+ name: rake
91
67
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '10'
97
- - !ruby/object:Gem::Dependency
68
+ requirement: &id006 !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ version: "10"
73
+ type: :development
74
+ version_requirements: *id006
75
+ - !ruby/object:Gem::Dependency
98
76
  name: rspec-rails
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '2'
77
+ prerelease: false
78
+ requirement: &id007 !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: "2"
104
83
  type: :development
84
+ version_requirements: *id007
85
+ - !ruby/object:Gem::Dependency
86
+ name: rubysl
105
87
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '2'
88
+ requirement: &id008 !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ version: "2"
93
+ type: :development
94
+ version_requirements: *id008
95
+ - !ruby/object:Gem::Dependency
96
+ name: rubysl-test-unit
97
+ prerelease: false
98
+ requirement: &id009 !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: "2"
103
+ type: :development
104
+ version_requirements: *id009
105
+ - !ruby/object:Gem::Dependency
106
+ name: racc
107
+ prerelease: false
108
+ requirement: &id010 !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ~>
111
+ - !ruby/object:Gem::Version
112
+ version: "1.4"
113
+ type: :development
114
+ version_requirements: *id010
111
115
  description: Making callback tests easy on the fingers and eyes
112
116
  email: attraccessor@gmail.com
113
117
  executables: []
114
- extensions:
118
+
119
+ extensions:
115
120
  - ext/mkrf_conf.rb
116
121
  extra_rdoc_files: []
117
- files:
118
- - ".gitignore"
119
- - ".travis.yml"
122
+
123
+ files:
124
+ - .gitignore
125
+ - .travis.yml
120
126
  - Appraisals
121
127
  - CONTRIBUTING.md
122
128
  - Gemfile
@@ -142,32 +148,30 @@ files:
142
148
  - spec/support/class_builder.rb
143
149
  - spec/support/model_builder.rb
144
150
  homepage: http://github.com/beatrichartz/shoulda-callback-matchers
145
- licenses:
151
+ licenses:
146
152
  - MIT
147
153
  metadata: {}
154
+
148
155
  post_install_message:
149
156
  rdoc_options: []
150
- require_paths:
157
+
158
+ require_paths:
151
159
  - lib
152
- required_ruby_version: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: '0'
157
- required_rubygems_version: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- version: '0'
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - *id011
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - *id011
162
166
  requirements: []
167
+
163
168
  rubyforge_project:
164
169
  rubygems_version: 2.2.2
165
170
  signing_key:
166
171
  specification_version: 4
167
172
  summary: Making callback tests easy on the fingers and eyes
168
- test_files:
173
+ test_files:
169
174
  - spec/shoulda/active_model/callback_matcher_spec.rb
170
175
  - spec/spec_helper.rb
171
176
  - spec/support/class_builder.rb
172
177
  - spec/support/model_builder.rb
173
- has_rdoc: