accept_values_for 0.9.2 → 0.9.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
  SHA256:
3
- metadata.gz: fca3117b3183fe7afaaf7b453d836121971a75647708196a09f5b80a39a8fe32
4
- data.tar.gz: aade7200045bec438d115d3bdb9c3bc490bc4a3bd69a4227dd1e50b0afea09c3
3
+ metadata.gz: 6d67c3b98fd875c40b57ac11aacb639f2f3266268e3547190fe17c035d80eebc
4
+ data.tar.gz: 486732f8d3152b7a458a3303f3aabdbde3e84ebabd003b12a3f225c3b760c2d3
5
5
  SHA512:
6
- metadata.gz: 852fa26e15bf3bbb929519172638191a0b81ef531e0bbcca62122f9c009628e60c03d56b0cc66cf553a093bfc1a087853346f7f98839ff7cae4fdbcb8c9740be
7
- data.tar.gz: 542ba60849de1e3746d40483b35013b04597614b2cae5e9eb342d9686cf36832b1ddcefef3891caf058af87416faf305ec0abaa1f1e11dbe63ffe21dc584230f
6
+ metadata.gz: b5156f8032a194a8f57faac1677d9f9585274d6a54194a74ac05213b08a9baa97bbb7dfe4857dd58ea6d1fa29b1db0c10cdfb6f46732669ba5feb03616dbd59c
7
+ data.tar.gz: d7ba7147aa741c90128a10eec3209608ccb0885d30026c6c6e28ed73e0ff1403598b527804894997de474dc9122c8581bd5749411be42dd4a12aa1df314ade95
@@ -5,23 +5,17 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- ruby: [2.6, 2.7, 3.0]
8
+ ruby: ['3.0', '3.1', '3.2']
9
9
  gemfile:
10
- - activemodel_5_2
11
- - activemodel_6_0
12
10
  - activemodel_6_1
13
11
  - activemodel_7_0
14
- exclude:
15
- - ruby: 2.6
16
- gemfile: activemodel_7_0
17
- - ruby: 3.0
18
- gemfile: activemodel_5_2
12
+ - activemodel_7_1
19
13
  name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
20
14
  runs-on: ubuntu-latest
21
15
  env:
22
16
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
23
17
  steps:
24
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v4
25
19
  - uses: ruby/setup-ruby@v1
26
20
  with:
27
21
  ruby-version: ${{ matrix.ruby }}
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.9.3
2
+
3
+ * Rails 7.1 support
4
+ * Support for Ruby 2.6 and 2.7, and Rails 5.2 and 6.0 has been dropped
5
+
1
6
  # 0.9.1
2
7
 
3
8
  * Rails 7.0 support
data/Gemfile CHANGED
@@ -3,9 +3,9 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :test do
6
- gem "activerecord", "~> 7.0", require: "active_record"
7
- gem "rspec", "~> 3.10"
8
- gem "sqlite3", "~> 1.4"
6
+ gem "activerecord", "~> 7.1", require: "active_record"
7
+ gem "rspec", "~> 3.12"
8
+ gem "sqlite3", "~> 1.6"
9
9
  gem "bump", "~> 0.10.0"
10
10
  end
11
11
 
data/README.md CHANGED
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  ## Dependencies
27
27
 
28
- * Active Model (5, 6, 7)
28
+ * Active Model (6, 7)
29
29
  * RSpec (3)
30
30
 
31
31
  ## Installation
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "accept_values_for"
5
- spec.version = "0.9.2"
5
+ spec.version = "0.9.3"
6
6
 
7
7
  spec.author = "Bogdan Gusiev"
8
8
  spec.email = "agresso@gmail.com"
@@ -18,9 +18,15 @@ 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", ">= 5.0", "< 7.1"
22
- spec.add_dependency "rspec", ">= 3.0", "< 4.0"
21
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
22
+
23
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
24
+ spec.metadata["homepage_uri"] = spec.homepage
25
+ spec.metadata["source_code_uri"] = spec.homepage
26
+
27
+ spec.add_dependency "activemodel", ">= 6.1", "< 8.0"
28
+ spec.add_dependency "rspec", ">= 3.10", "< 4.0"
23
29
 
24
30
  spec.add_development_dependency "bundler", "~> 2.2"
25
- spec.add_development_dependency "rake", "~> 12.3"
31
+ spec.add_development_dependency "rake", "~> 13.0"
26
32
  end
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: ".."
4
+
5
+ gem "activemodel", "~> 7.1.0"
6
+
7
+ group :test do
8
+ gem "activerecord", "~> 7.1.0", require: "active_record"
9
+ gem "rspec", "~> 3.12"
10
+ gem "sqlite3", "~> 1.6"
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.9.2
4
+ version: 0.9.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: 2021-12-17 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -16,27 +16,27 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '8.0'
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: '5.0'
29
+ version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '8.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '3.0'
39
+ version: '3.10'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '4.0'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '3.0'
49
+ version: '3.10'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '4.0'
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '12.3'
73
+ version: '13.0'
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '12.3'
80
+ version: '13.0'
81
81
  description: Writing specs for complex validations is annoying. AcceptValuesFor makes
82
82
  iteasy to test your validations with real world values, asserting which valuesshould
83
83
  be accepted by your model and which should not.
@@ -94,10 +94,9 @@ files:
94
94
  - README.md
95
95
  - Rakefile
96
96
  - accept_values_for.gemspec
97
- - gemfiles/activemodel_5_2.gemfile
98
- - gemfiles/activemodel_6_0.gemfile
99
97
  - gemfiles/activemodel_6_1.gemfile
100
98
  - gemfiles/activemodel_7_0.gemfile
99
+ - gemfiles/activemodel_7_1.gemfile
101
100
  - lib/accept_values_for.rb
102
101
  - lib/accept_values_for/helpers.rb
103
102
  - lib/accept_values_for/matcher.rb
@@ -106,7 +105,10 @@ files:
106
105
  homepage: https://github.com/bogdan/accept_values_for
107
106
  licenses:
108
107
  - MIT
109
- metadata: {}
108
+ metadata:
109
+ allowed_push_host: https://rubygems.org
110
+ homepage_uri: https://github.com/bogdan/accept_values_for
111
+ source_code_uri: https://github.com/bogdan/accept_values_for
110
112
  post_install_message:
111
113
  rdoc_options: []
112
114
  require_paths:
@@ -115,14 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
117
  requirements:
116
118
  - - ">="
117
119
  - !ruby/object:Gem::Version
118
- version: '0'
120
+ version: 3.0.0
119
121
  required_rubygems_version: !ruby/object:Gem::Requirement
120
122
  requirements:
121
123
  - - ">="
122
124
  - !ruby/object:Gem::Version
123
125
  version: '0'
124
126
  requirements: []
125
- rubygems_version: 3.2.22
127
+ rubygems_version: 3.4.15
126
128
  signing_key:
127
129
  specification_version: 4
128
130
  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", "~> 5.2.0"
6
-
7
- group :test do
8
- gem "activerecord", "~> 5.2.0", require: "active_record"
9
- gem "rspec", "~> 3.8"
10
- gem "sqlite3", "~> 1.4"
11
- end
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec path: ".."
4
-
5
- gem "activemodel", "~> 6.0.0"
6
-
7
- group :test do
8
- gem "activerecord", "~> 6.0.0", require: "active_record"
9
- gem "rspec", "~> 3.8"
10
- gem "sqlite3", "~> 1.4"
11
- end