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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c6f068b399901b27d75288a2ad5714a5742c3af
4
- data.tar.gz: d46db566833ad63b589d3bc909ffe449e9f0e386
3
+ metadata.gz: 9b614c6294f71bdebf2d99d8958a514ab6525b4a
4
+ data.tar.gz: 293ac90e1d52ea4285e636126b36f46a10d38ef1
5
5
  SHA512:
6
- metadata.gz: 3604e0184e5b49342069e1db9e52167d9095f6a4ea3ca505c9c3f8d0cbe92537db53370076b54052c400c40b2576b57d28aae5533480fde761648e845997d9e8
7
- data.tar.gz: 6da39f470c2152654c4b94f5c5a4b8e10d4e79ff4da18ab5d260aef90ec39b4c7d8f89f073a8d72f5584dd7e2e2d3a97ec8e36d5b3d16ca03a4a535fd0e71d6b
6
+ metadata.gz: dc0c330808f7b09fb82848d17c7afa97fde2979d355a4a6fc361d29a3f7c8845689c63c17d3f261ece20159e3952cafa9be7c1cfe84ae862bc11f879d9bd75c4
7
+ data.tar.gz: 5fc7c5853b7bdf8cf5d4f632621ae4c4446a8a40a3812d8f57b29e88b2079af866592b9b76dde5e212b23df0a7968ef11dc1632c48d4be5c5a049b10e1b41cde
@@ -1,24 +1,16 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
- - 1.9.2
5
- - 1.9.3
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/activemodel_3_0.gemfile
10
- - gemfiles/activemodel_3_1.gemfile
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/activemodel_4_0.gemfile
16
- rvm: 1.8.7
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") }
@@ -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.2"
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", ">= 3", "< 5"
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", "~> 3.0.0"
5
+ gem "activemodel", "~> 4.2.0"
6
6
 
7
7
  group :test do
8
- gem "activerecord", "~> 3.0.0", :require => "active_record"
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
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activemodel", "~> 5.0.0"
6
+
7
+ group :test do
8
+ gem "activerecord", "~> 5.0.0", :require => "active_record"
9
+ gem "rspec", "~> 3.5"
10
+ gem "sqlite3-ruby", "~> 1.3"
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.2
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: 2015-02-25 00:00:00.000000000 Z
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: '3'
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: '3'
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/activemodel_3_0.gemfile
98
- - gemfiles/activemodel_3_1.gemfile
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.4.5
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
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activemodel", "~> 3.1.0"
6
-
7
- group :test do
8
- gem "activerecord", "~> 3.1.0", :require => "active_record"
9
- gem "rspec", "~> 2.14"
10
- gem "sqlite3-ruby", "~> 1.3"
11
- end
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activemodel", "~> 3.2.0"
6
-
7
- group :test do
8
- gem "activerecord", "~> 3.2.0", :require => "active_record"
9
- gem "rspec", "~> 2.14"
10
- gem "sqlite3-ruby", "~> 1.3"
11
- end
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activemodel", "~> 4.0.0"
6
-
7
- group :test do
8
- gem "activerecord", "~> 4.0.0", :require => "active_record"
9
- gem "rspec", "~> 2.14"
10
- gem "sqlite3-ruby", "~> 1.3"
11
- end