default_value_for 3.4.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -0
- data/default_value_for.gemspec +4 -4
- data/test.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0662d4b20e5e4b6b68dbf06c16c05e9fc500250c99f6921d3c1338ed8bb3239f
|
4
|
+
data.tar.gz: 443f8a0c84c6b2454bca0380447b49bebbd3f3db7f7c4996df995c7136a57f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2b0537c383b74d3df225ce18b91fbd53889b6e3ce0fda3bac9f5b10ff5dd4ff834be8500d1ee21db9d0db507da04edeafbac73ddd6c7821193d4adb1dab7fe5
|
7
|
+
data.tar.gz: 5272f4005b237bcf80502881651a113216b8136a112aeefbbc10cea4b4bd77dabafccd01e455f1a0fb0165b5b84f0d0e270ecb836a20ffaa8480cc3d7cf0faeb
|
data/Rakefile
CHANGED
data/default_value_for.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{default_value_for}
|
3
|
-
s.version = "3.
|
3
|
+
s.version = "3.5.0"
|
4
4
|
s.summary = %q{Provides a way to specify default values for ActiveRecord models}
|
5
5
|
s.description = %q{The default_value_for plugin allows one to define default values for ActiveRecord models in a declarative manner}
|
6
6
|
s.email = %q{software-signing@phusion.nl}
|
@@ -14,9 +14,9 @@ Gem::Specification.new do |s|
|
|
14
14
|
'lib/default_value_for.rb',
|
15
15
|
'lib/default_value_for/railtie.rb'
|
16
16
|
]
|
17
|
-
s.add_dependency 'activerecord', '>= 3.2.0', '< 7.
|
18
|
-
s.add_development_dependency 'actionpack', '>= 3.2.0', '< 7.
|
19
|
-
s.add_development_dependency 'railties', '>= 3.2.0', '< 7.
|
17
|
+
s.add_dependency 'activerecord', '>= 3.2.0', '< 7.1'
|
18
|
+
s.add_development_dependency 'actionpack', '>= 3.2.0', '< 7.1'
|
19
|
+
s.add_development_dependency 'railties', '>= 3.2.0', '< 7.1'
|
20
20
|
s.add_development_dependency 'minitest', '>= 4.2'
|
21
21
|
s.add_development_dependency 'minitest-around'
|
22
22
|
s.add_development_dependency 'appraisal'
|
data/test.rb
CHANGED
@@ -117,7 +117,7 @@ class DefaultValuePluginTest < TestCaseClass
|
|
117
117
|
Object.send(:remove_const, :User)
|
118
118
|
Object.send(:remove_const, :Book)
|
119
119
|
Object.send(:remove_const, :Novel)
|
120
|
-
ActiveSupport::Dependencies.clear
|
120
|
+
ActiveSupport::Dependencies.clear unless ActiveSupport::VERSION::MAJOR > 6
|
121
121
|
end
|
122
122
|
|
123
123
|
def test_default_value_on_attribute_methods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: default_value_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hongli Lai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 3.2.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 3.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: actionpack
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 3.2.0
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '7.
|
42
|
+
version: '7.1'
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 3.2.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '7.
|
52
|
+
version: '7.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: railties
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: 3.2.0
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '7.
|
62
|
+
version: '7.1'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: 3.2.0
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '7.
|
72
|
+
version: '7.1'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: minitest
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.3.27
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Provides a way to specify default values for ActiveRecord models
|