accept_values_for 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -15
- data/README.md +1 -1
- data/accept_values_for.gemspec +2 -2
- data/gemfiles/{activemodel_3_0.gemfile → activemodel_4_2.gemfile} +2 -2
- data/gemfiles/activemodel_5_0.gemfile +11 -0
- metadata +9 -11
- data/gemfiles/activemodel_3_1.gemfile +0 -11
- data/gemfiles/activemodel_3_2.gemfile +0 -11
- data/gemfiles/activemodel_4_0.gemfile +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b614c6294f71bdebf2d99d8958a514ab6525b4a
|
4
|
+
data.tar.gz: 293ac90e1d52ea4285e636126b36f46a10d38ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc0c330808f7b09fb82848d17c7afa97fde2979d355a4a6fc361d29a3f7c8845689c63c17d3f261ece20159e3952cafa9be7c1cfe84ae862bc11f879d9bd75c4
|
7
|
+
data.tar.gz: 5fc7c5853b7bdf8cf5d4f632621ae4c4446a8a40a3812d8f57b29e88b2079af866592b9b76dde5e212b23df0a7968ef11dc1632c48d4be5c5a049b10e1b41cde
|
data/.travis.yml
CHANGED
@@ -1,24 +1,16 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.
|
4
|
-
-
|
5
|
-
-
|
6
|
-
- 2.0.0
|
7
|
-
- 2.1.0
|
3
|
+
- 2.1.10
|
4
|
+
- 2.2.5
|
5
|
+
- 2.3.1
|
8
6
|
gemfile:
|
9
|
-
- gemfiles/
|
10
|
-
- gemfiles/
|
11
|
-
- gemfiles/activemodel_3_2.gemfile
|
12
|
-
- gemfiles/activemodel_4_0.gemfile
|
7
|
+
- gemfiles/activemodel_4_2.gemfile
|
8
|
+
- gemfiles/activemodel_5_0.gemfile
|
13
9
|
matrix:
|
14
10
|
exclude:
|
15
|
-
- gemfile: gemfiles/
|
16
|
-
rvm: 1.
|
17
|
-
- gemfile: gemfiles/activemodel_4_0.gemfile
|
18
|
-
rvm: 1.9.2
|
11
|
+
- gemfile: gemfiles/activemodel_5_0.gemfile
|
12
|
+
rvm: 2.1.10
|
19
13
|
allow_failures:
|
20
|
-
- rvm: 1.8.7
|
21
|
-
- rvm: 1.9.2
|
22
14
|
branches:
|
23
15
|
only:
|
24
16
|
- master
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Read the [original blog post](http://gusiev.com/2010/06/ultimate-rspec-matcher-t
|
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
describe User do
|
17
|
-
describe "validation"
|
17
|
+
describe "validation" do
|
18
18
|
subject(:user) { User.new }
|
19
19
|
|
20
20
|
it { should accept_values_for(:email, "john@example.com", "jane@example.org") }
|
data/accept_values_for.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "accept_values_for"
|
5
|
-
spec.version = "0.7.
|
5
|
+
spec.version = "0.7.3"
|
6
6
|
|
7
7
|
spec.author = "Bogdan Gusiev"
|
8
8
|
spec.email = "agresso@gmail.com"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0")
|
19
19
|
spec.test_files = spec.files.grep(/^spec/)
|
20
20
|
|
21
|
-
spec.add_dependency "activemodel", ">=
|
21
|
+
spec.add_dependency "activemodel", ">= 4.2", "< 5.1"
|
22
22
|
spec.add_dependency "rspec", ">= 2.0", "< 4.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.5"
|
@@ -2,10 +2,10 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec :path => ".."
|
4
4
|
|
5
|
-
gem "activemodel", "~>
|
5
|
+
gem "activemodel", "~> 4.2.0"
|
6
6
|
|
7
7
|
group :test do
|
8
|
-
gem "activerecord", "~>
|
8
|
+
gem "activerecord", "~> 4.2.0", :require => "active_record"
|
9
9
|
gem "rspec", "~> 2.14"
|
10
10
|
gem "sqlite3-ruby", "~> 1.3"
|
11
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accept_values_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdan Gusiev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '5'
|
22
|
+
version: '5.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '4.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '5'
|
32
|
+
version: '5.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,10 +94,8 @@ files:
|
|
94
94
|
- README.md
|
95
95
|
- Rakefile
|
96
96
|
- accept_values_for.gemspec
|
97
|
-
- gemfiles/
|
98
|
-
- gemfiles/
|
99
|
-
- gemfiles/activemodel_3_2.gemfile
|
100
|
-
- gemfiles/activemodel_4_0.gemfile
|
97
|
+
- gemfiles/activemodel_4_2.gemfile
|
98
|
+
- gemfiles/activemodel_5_0.gemfile
|
101
99
|
- lib/accept_values_for.rb
|
102
100
|
- lib/accept_values_for/helpers.rb
|
103
101
|
- lib/accept_values_for/matcher.rb
|
@@ -123,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
121
|
version: '0'
|
124
122
|
requirements: []
|
125
123
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.5.1
|
127
125
|
signing_key:
|
128
126
|
specification_version: 4
|
129
127
|
summary: Test complex Active Record validations with RSpec
|