accept_values_for 0.9.1 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +4 -4
- data/CHANGELOG.md +10 -1
- data/Gemfile +5 -3
- data/README.md +1 -1
- data/accept_values_for.gemspec +10 -4
- data/gemfiles/activemodel_7_0.gemfile +11 -0
- data/gemfiles/activemodel_7_1.gemfile +11 -0
- metadata +18 -15
- data/gemfiles/activemodel_5_2.gemfile +0 -11
- data/gemfiles/activemodel_6_0.gemfile +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d67c3b98fd875c40b57ac11aacb639f2f3266268e3547190fe17c035d80eebc
|
4
|
+
data.tar.gz: 486732f8d3152b7a458a3303f3aabdbde3e84ebabd003b12a3f225c3b760c2d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5156f8032a194a8f57faac1677d9f9585274d6a54194a74ac05213b08a9baa97bbb7dfe4857dd58ea6d1fa29b1db0c10cdfb6f46732669ba5feb03616dbd59c
|
7
|
+
data.tar.gz: d7ba7147aa741c90128a10eec3209608ccb0885d30026c6c6e28ed73e0ff1403598b527804894997de474dc9122c8581bd5749411be42dd4a12aa1df314ade95
|
data/.github/workflows/ci.yml
CHANGED
@@ -5,17 +5,17 @@ jobs:
|
|
5
5
|
strategy:
|
6
6
|
fail-fast: false
|
7
7
|
matrix:
|
8
|
-
ruby: [
|
8
|
+
ruby: ['3.0', '3.1', '3.2']
|
9
9
|
gemfile:
|
10
|
-
- activemodel_5_2
|
11
|
-
- activemodel_6_0
|
12
10
|
- activemodel_6_1
|
11
|
+
- activemodel_7_0
|
12
|
+
- activemodel_7_1
|
13
13
|
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
|
14
14
|
runs-on: ubuntu-latest
|
15
15
|
env:
|
16
16
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
17
17
|
steps:
|
18
|
-
- uses: actions/checkout@
|
18
|
+
- uses: actions/checkout@v4
|
19
19
|
- uses: ruby/setup-ruby@v1
|
20
20
|
with:
|
21
21
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1
|
-
# 0.
|
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
|
+
|
6
|
+
# 0.9.1
|
7
|
+
|
8
|
+
* Rails 7.0 support
|
9
|
+
|
10
|
+
# 0.6.0
|
2
11
|
|
3
12
|
* [ENHANCEMENT] Deprecate Rubies 1.8.7 and 1.9.2
|
4
13
|
* [ENHANCEMENT] Remove `discover` matcher
|
data/Gemfile
CHANGED
@@ -3,7 +3,9 @@ source "https://rubygems.org"
|
|
3
3
|
gemspec
|
4
4
|
|
5
5
|
group :test do
|
6
|
-
gem "activerecord", "~>
|
7
|
-
gem "rspec", "~> 3.
|
8
|
-
gem "sqlite3", "~> 1.
|
6
|
+
gem "activerecord", "~> 7.1", require: "active_record"
|
7
|
+
gem "rspec", "~> 3.12"
|
8
|
+
gem "sqlite3", "~> 1.6"
|
9
|
+
gem "bump", "~> 0.10.0"
|
9
10
|
end
|
11
|
+
|
data/README.md
CHANGED
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.9.
|
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.
|
22
|
-
|
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", "~>
|
31
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
26
32
|
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.
|
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:
|
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: '
|
19
|
+
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
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: '
|
29
|
+
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
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.
|
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.
|
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: '
|
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: '
|
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,9 +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
|
98
|
+
- gemfiles/activemodel_7_0.gemfile
|
99
|
+
- gemfiles/activemodel_7_1.gemfile
|
100
100
|
- lib/accept_values_for.rb
|
101
101
|
- lib/accept_values_for/helpers.rb
|
102
102
|
- lib/accept_values_for/matcher.rb
|
@@ -105,7 +105,10 @@ files:
|
|
105
105
|
homepage: https://github.com/bogdan/accept_values_for
|
106
106
|
licenses:
|
107
107
|
- MIT
|
108
|
-
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
|
109
112
|
post_install_message:
|
110
113
|
rdoc_options: []
|
111
114
|
require_paths:
|
@@ -114,14 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
117
|
requirements:
|
115
118
|
- - ">="
|
116
119
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
120
|
+
version: 3.0.0
|
118
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
122
|
requirements:
|
120
123
|
- - ">="
|
121
124
|
- !ruby/object:Gem::Version
|
122
125
|
version: '0'
|
123
126
|
requirements: []
|
124
|
-
rubygems_version: 3.
|
127
|
+
rubygems_version: 3.4.15
|
125
128
|
signing_key:
|
126
129
|
specification_version: 4
|
127
130
|
summary: Test complex Active Record validations with RSpec
|