active_attr 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yaml +43 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +3 -3
- data/active_attr.gemspec +4 -4
- data/gemfiles/rails_5_0.gemfile +1 -0
- data/gemfiles/rails_5_1.gemfile +1 -0
- data/gemfiles/rails_5_2.gemfile +1 -0
- data/gemfiles/rails_6_0.gemfile +1 -0
- data/gemfiles/rails_7_1.gemfile +10 -0
- data/gemfiles/rails_head.gemfile +1 -1
- data/lib/active_attr/version.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fac3d7c3dc2b6e3351f3f144a9fd379b09381bfe5220fdec0043311a74b3f43
|
4
|
+
data.tar.gz: 6d3e3bb9ce3ba41e095af393a114d32d1619b77f8b43aea065536eaec9dbbbb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b92733237a7fa72447e2d8862e70a4d68f5b22379399caae3a74cd621ef169aa95c83316355ba3933a0900cdf335522e646153f8bede75328832437d7980bb66
|
7
|
+
data.tar.gz: 36227fd319ec4e30015c64b69af7ec574b051bae40d7a079512277abe08cfb1927cb31a131209079328d444c466b1fef87af8ca85fdb7f16688bca89e45dda92
|
data/.github/workflows/test.yaml
CHANGED
@@ -25,6 +25,7 @@ jobs:
|
|
25
25
|
- "3.0"
|
26
26
|
- "3.1"
|
27
27
|
- "3.2"
|
28
|
+
- "3.3"
|
28
29
|
- truffleruby-head
|
29
30
|
gemfile:
|
30
31
|
- gemfiles/rails_3_0.gemfile
|
@@ -39,6 +40,7 @@ jobs:
|
|
39
40
|
- gemfiles/rails_6_0.gemfile
|
40
41
|
- gemfiles/rails_6_1.gemfile
|
41
42
|
- gemfiles/rails_7_0.gemfile
|
43
|
+
- gemfiles/rails_7_1.gemfile
|
42
44
|
- Gemfile
|
43
45
|
- gemfiles/rails_head.gemfile
|
44
46
|
exclude:
|
@@ -54,6 +56,8 @@ jobs:
|
|
54
56
|
gemfile: gemfiles/rails_6_1.gemfile
|
55
57
|
- ruby: "2.1"
|
56
58
|
gemfile: gemfiles/rails_7_0.gemfile
|
59
|
+
- ruby: "2.1"
|
60
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
57
61
|
- ruby: "2.1"
|
58
62
|
gemfile: Gemfile
|
59
63
|
- ruby: "2.1"
|
@@ -64,6 +68,8 @@ jobs:
|
|
64
68
|
gemfile: gemfiles/rails_6_1.gemfile
|
65
69
|
- ruby: "2.2"
|
66
70
|
gemfile: gemfiles/rails_7_0.gemfile
|
71
|
+
- ruby: "2.2"
|
72
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
67
73
|
- ruby: "2.2"
|
68
74
|
gemfile: Gemfile
|
69
75
|
- ruby: "2.2"
|
@@ -74,6 +80,8 @@ jobs:
|
|
74
80
|
gemfile: gemfiles/rails_6_1.gemfile
|
75
81
|
- ruby: "2.3"
|
76
82
|
gemfile: gemfiles/rails_7_0.gemfile
|
83
|
+
- ruby: "2.3"
|
84
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
77
85
|
- ruby: "2.3"
|
78
86
|
gemfile: Gemfile
|
79
87
|
- ruby: "2.3"
|
@@ -84,6 +92,8 @@ jobs:
|
|
84
92
|
gemfile: gemfiles/rails_6_1.gemfile
|
85
93
|
- ruby: "2.4"
|
86
94
|
gemfile: gemfiles/rails_7_0.gemfile
|
95
|
+
- ruby: "2.4"
|
96
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
87
97
|
- ruby: "2.4"
|
88
98
|
gemfile: Gemfile
|
89
99
|
- ruby: "2.4"
|
@@ -94,6 +104,8 @@ jobs:
|
|
94
104
|
gemfile: gemfiles/rails_6_1.gemfile
|
95
105
|
- ruby: "2.5"
|
96
106
|
gemfile: gemfiles/rails_7_0.gemfile
|
107
|
+
- ruby: "2.5"
|
108
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
97
109
|
- ruby: "2.5"
|
98
110
|
gemfile: Gemfile
|
99
111
|
- ruby: "2.5"
|
@@ -104,6 +116,8 @@ jobs:
|
|
104
116
|
gemfile: gemfiles/rails_6_1.gemfile
|
105
117
|
- ruby: "2.6"
|
106
118
|
gemfile: gemfiles/rails_7_0.gemfile
|
119
|
+
- ruby: "2.6"
|
120
|
+
gemfile: gemfiles/rails_7_1.gemfile
|
107
121
|
- ruby: "2.6"
|
108
122
|
gemfile: Gemfile
|
109
123
|
- ruby: "2.6"
|
@@ -120,6 +134,10 @@ jobs:
|
|
120
134
|
gemfile: gemfiles/rails_4_1.gemfile
|
121
135
|
- ruby: "2.7"
|
122
136
|
gemfile: gemfiles/rails_4_2.gemfile
|
137
|
+
- ruby: "2.7"
|
138
|
+
gemfile: Gemfile
|
139
|
+
- ruby: "2.7"
|
140
|
+
gemfile: gemfiles/rails_head.gemfile
|
123
141
|
- ruby: "3.0"
|
124
142
|
gemfile: gemfiles/rails_3_0.gemfile
|
125
143
|
- ruby: "3.0"
|
@@ -138,6 +156,10 @@ jobs:
|
|
138
156
|
gemfile: gemfiles/rails_5_1.gemfile
|
139
157
|
- ruby: "3.0"
|
140
158
|
gemfile: gemfiles/rails_5_2.gemfile
|
159
|
+
- ruby: "3.0"
|
160
|
+
gemfile: Gemfile
|
161
|
+
- ruby: "3.0"
|
162
|
+
gemfile: gemfiles/rails_head.gemfile
|
141
163
|
- ruby: "3.1"
|
142
164
|
gemfile: gemfiles/rails_3_0.gemfile
|
143
165
|
- ruby: "3.1"
|
@@ -156,6 +178,8 @@ jobs:
|
|
156
178
|
gemfile: gemfiles/rails_5_1.gemfile
|
157
179
|
- ruby: "3.1"
|
158
180
|
gemfile: gemfiles/rails_5_2.gemfile
|
181
|
+
- ruby: "3.1"
|
182
|
+
gemfile: gemfiles/rails_head.gemfile
|
159
183
|
- ruby: "3.2"
|
160
184
|
gemfile: gemfiles/rails_3_0.gemfile
|
161
185
|
- ruby: "3.2"
|
@@ -174,6 +198,24 @@ jobs:
|
|
174
198
|
gemfile: gemfiles/rails_5_1.gemfile
|
175
199
|
- ruby: "3.2"
|
176
200
|
gemfile: gemfiles/rails_5_2.gemfile
|
201
|
+
- ruby: "3.3"
|
202
|
+
gemfile: gemfiles/rails_3_0.gemfile
|
203
|
+
- ruby: "3.3"
|
204
|
+
gemfile: gemfiles/rails_3_1.gemfile
|
205
|
+
- ruby: "3.3"
|
206
|
+
gemfile: gemfiles/rails_3_2.gemfile
|
207
|
+
- ruby: "3.3"
|
208
|
+
gemfile: gemfiles/rails_4_0.gemfile
|
209
|
+
- ruby: "3.3"
|
210
|
+
gemfile: gemfiles/rails_4_1.gemfile
|
211
|
+
- ruby: "3.3"
|
212
|
+
gemfile: gemfiles/rails_4_2.gemfile
|
213
|
+
- ruby: "3.3"
|
214
|
+
gemfile: gemfiles/rails_5_0.gemfile
|
215
|
+
- ruby: "3.3"
|
216
|
+
gemfile: gemfiles/rails_5_1.gemfile
|
217
|
+
- ruby: "3.3"
|
218
|
+
gemfile: gemfiles/rails_5_2.gemfile
|
177
219
|
- ruby: truffleruby-head
|
178
220
|
gemfile: gemfiles/rails_3_0.gemfile
|
179
221
|
- ruby: truffleruby-head
|
@@ -195,6 +237,7 @@ jobs:
|
|
195
237
|
env:
|
196
238
|
Rails: ${{ matrix.rails }}
|
197
239
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
240
|
+
BUNDLE_WITHOUT: development
|
198
241
|
|
199
242
|
steps:
|
200
243
|
- name: Checkout code
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -2,9 +2,9 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec :development_group => :test
|
4
4
|
|
5
|
-
gem "activemodel", "~> 7.
|
6
|
-
gem "activesupport", "~> 7.
|
7
|
-
gem "actionpack", "~> 7.
|
5
|
+
gem "activemodel", "~> 7.2.0"
|
6
|
+
gem "activesupport", "~> 7.2.0"
|
7
|
+
gem "actionpack", "~> 7.2.0"
|
8
8
|
gem "activemodel-serializers-xml", :group => :test
|
9
9
|
gem "rexml", :group => :test
|
10
10
|
gem "protected_attributes_continued", :group => :test
|
data/active_attr.gemspec
CHANGED
@@ -22,12 +22,12 @@ Gem::Specification.new do |gem|
|
|
22
22
|
|
23
23
|
gem.required_ruby_version = ">= 2.1.0"
|
24
24
|
|
25
|
-
gem.add_runtime_dependency "actionpack", ">= 3.0.2", "<
|
26
|
-
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "<
|
27
|
-
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "<
|
25
|
+
gem.add_runtime_dependency "actionpack", ">= 3.0.2", "< 8.0"
|
26
|
+
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 8.0"
|
27
|
+
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 8.0"
|
28
28
|
|
29
29
|
gem.add_development_dependency "bundler"
|
30
|
-
gem.add_development_dependency "factory_bot", "<
|
30
|
+
gem.add_development_dependency "factory_bot", "< 7.0"
|
31
31
|
gem.add_development_dependency "minitest"
|
32
32
|
gem.add_development_dependency "rake", ">= 0.9.0", "< 13.1"
|
33
33
|
gem.add_development_dependency "rspec", "~> 3.0"
|
data/gemfiles/rails_5_0.gemfile
CHANGED
data/gemfiles/rails_5_1.gemfile
CHANGED
data/gemfiles/rails_5_2.gemfile
CHANGED
data/gemfiles/rails_6_0.gemfile
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec :development_group => :test, :path => ".."
|
4
|
+
|
5
|
+
gem "activemodel", "~> 7.1.0"
|
6
|
+
gem "activesupport", "~> 7.1.0"
|
7
|
+
gem "actionpack", "~> 7.1.0"
|
8
|
+
gem "activemodel-serializers-xml", :group => :test
|
9
|
+
gem "rexml", :group => :test
|
10
|
+
gem "protected_attributes_continued", :group => :test
|
data/gemfiles/rails_head.gemfile
CHANGED
@@ -10,5 +10,5 @@ end
|
|
10
10
|
|
11
11
|
gem "activemodel-serializers-xml", :group => :test, :git => "https://github.com/rails/activemodel-serializers-xml.git"
|
12
12
|
gem "rexml", :group => :test
|
13
|
-
gem "protected_attributes_continued", :group => :test
|
13
|
+
gem "protected_attributes_continued", :group => :test
|
14
14
|
gem "rack", :group => :test, :git => "https://github.com/rack/rack.git", :branch => "main"
|
data/lib/active_attr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_attr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Griego
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 3.0.2
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '8.0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: 3.0.2
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '8.0'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: activemodel
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: 3.0.2
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '8.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: 3.0.2
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '8.0'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: activesupport
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
version: 3.0.2
|
61
61
|
- - "<"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '8.0'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
version: 3.0.2
|
71
71
|
- - "<"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '8.0'
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: bundler
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,14 +91,14 @@ dependencies:
|
|
91
91
|
requirements:
|
92
92
|
- - "<"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
94
|
+
version: '7.0'
|
95
95
|
type: :development
|
96
96
|
prerelease: false
|
97
97
|
version_requirements: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "<"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
101
|
+
version: '7.0'
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: minitest
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- gemfiles/rails_6_0.gemfile
|
193
193
|
- gemfiles/rails_6_1.gemfile
|
194
194
|
- gemfiles/rails_7_0.gemfile
|
195
|
+
- gemfiles/rails_7_1.gemfile
|
195
196
|
- gemfiles/rails_head.gemfile
|
196
197
|
- lib/active_attr.rb
|
197
198
|
- lib/active_attr/attribute_defaults.rb
|
@@ -285,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
285
286
|
- !ruby/object:Gem::Version
|
286
287
|
version: '0'
|
287
288
|
requirements: []
|
288
|
-
rubygems_version: 3.
|
289
|
+
rubygems_version: 3.5.9
|
289
290
|
signing_key:
|
290
291
|
specification_version: 4
|
291
292
|
summary: What ActiveModel left out
|