state_machines-activemodel 0.4.1 → 0.5.0
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
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed10c396e1ecfa0348f197a8ff88cd14b7c50caa
|
4
|
+
data.tar.gz: 8f10503a48c265778c185a033f456a849be9d38b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88715204d3416f42cc70aa26ea45fe74fb757154b9e6785f421f29266a4f873898da764ab2604ee572e4599ba427ac9306a8e57e03555c4839cf989dc37ba236
|
7
|
+
data.tar.gz: 936ae8ef8ef2b30e3af943f7368d11316712ea321ae1cf071c0121188bbad1ab0bed28b4b5b424897dc5af6b245778e13199c2a0b2d7a2da2a5a4767d2157e14
|
data/.travis.yml
CHANGED
@@ -4,8 +4,9 @@ cache: bundler
|
|
4
4
|
|
5
5
|
rvm:
|
6
6
|
- 2.1
|
7
|
-
- 2.2.
|
8
|
-
- 2.3.
|
7
|
+
- 2.2.7
|
8
|
+
- 2.3.4
|
9
|
+
- 2.4.1
|
9
10
|
- jruby
|
10
11
|
- rbx-2
|
11
12
|
|
@@ -16,21 +17,29 @@ gemfile:
|
|
16
17
|
matrix:
|
17
18
|
include:
|
18
19
|
- gemfile: gemfiles/active_model_5.0.gemfile
|
19
|
-
rvm: 2.2.
|
20
|
+
rvm: 2.2.7
|
20
21
|
- gemfile: gemfiles/active_model_5.0.gemfile
|
21
|
-
rvm: 2.3.
|
22
|
+
rvm: 2.3.4
|
23
|
+
- gemfile: gemfiles/active_model_5.0.gemfile
|
24
|
+
rvm: 2.4.1
|
25
|
+
- gemfile: gemfiles/active_model_5.1.gemfile
|
26
|
+
rvm: 2.2.7
|
22
27
|
- gemfile: gemfiles/active_model_5.1.gemfile
|
23
|
-
rvm: 2.
|
28
|
+
rvm: 2.3.4
|
24
29
|
- gemfile: gemfiles/active_model_5.1.gemfile
|
25
|
-
rvm: 2.
|
30
|
+
rvm: 2.4.1
|
26
31
|
- gemfile: gemfiles/active_model_edge.gemfile
|
27
|
-
rvm: 2.2.
|
32
|
+
rvm: 2.2.7
|
28
33
|
- gemfile: gemfiles/active_model_edge.gemfile
|
29
|
-
rvm: 2.3.
|
34
|
+
rvm: 2.3.4
|
35
|
+
- gemfile: gemfiles/active_model_edge.gemfile
|
36
|
+
rvm: 2.4.1
|
30
37
|
allow_failures:
|
31
38
|
- rvm: jruby
|
32
39
|
- rvm: rbx-2
|
33
40
|
- gemfile: gemfiles/active_model_edge.gemfile
|
34
|
-
rvm: 2.2.
|
41
|
+
rvm: 2.2.7
|
42
|
+
- gemfile: gemfiles/active_model_edge.gemfile
|
43
|
+
rvm: 2.3.4
|
35
44
|
- gemfile: gemfiles/active_model_edge.gemfile
|
36
|
-
rvm: 2.
|
45
|
+
rvm: 2.4.1
|
@@ -367,7 +367,7 @@ module StateMachines
|
|
367
367
|
# Classes that include ActiveModel::Validations
|
368
368
|
# will automatically use the ActiveModel integration.
|
369
369
|
def self.matching_ancestors
|
370
|
-
|
370
|
+
[::ActiveModel, ::ActiveModel::Validations]
|
371
371
|
end
|
372
372
|
|
373
373
|
# Adds a validation error to the given object
|
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.test_files = spec.files.grep(/^test\//)
|
18
18
|
spec.require_paths = ['lib']
|
19
|
-
spec.required_ruby_version = '>=
|
20
|
-
spec.add_dependency 'state_machines', '>= 0.
|
19
|
+
spec.required_ruby_version = '>= 2.0.0'
|
20
|
+
spec.add_dependency 'state_machines', '>= 0.5.0'
|
21
21
|
spec.add_dependency 'activemodel', '>= 4.1', '< 5.2'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler', '>= 1.6'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machines-activemodel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: state_machines
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.5.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: 0.5.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: activemodel
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
requirements:
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 2.0.0
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
183
|
- - ">="
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.6.12
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: ActiveModel integration for State Machines
|