default_value_for 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +23 -1
- data/default_value_for.gemspec +4 -4
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80ddc9639e45734a3c55f1214183ec69283c25b72db87df9829efd9b7e9b5cd5
|
4
|
+
data.tar.gz: 2dd265cccdb18a0403ae4d71474cbf100b2f71aa967bb5579e5c773ef697f4b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8550db893ab48634d30bdb15ebcb1f1c933c81e1628d6a6708eff6daf482d9996497fae786f8da0f8c1cfeb0a0067eb95e9993b3f1324e9764854e1bdb47e11
|
7
|
+
data.tar.gz: 070650af9d34aa43f6af666174124adb8a9685499ddb24cad82282c897cdadd899d155d6edb1745257a8f381cce524053bf9ebd7cf0d5833831eaa6bc4a30f0c
|
data/Rakefile
CHANGED
@@ -5,7 +5,18 @@ task :test do
|
|
5
5
|
ruby "test.rb"
|
6
6
|
end
|
7
7
|
|
8
|
-
|
8
|
+
rails_versions = %w(
|
9
|
+
3.2
|
10
|
+
4.0
|
11
|
+
4.1
|
12
|
+
4.2
|
13
|
+
5.0
|
14
|
+
5.1
|
15
|
+
5.2
|
16
|
+
6.0
|
17
|
+
)
|
18
|
+
|
19
|
+
rails_versions.each do |version|
|
9
20
|
dotless = version.delete('.')
|
10
21
|
|
11
22
|
namespace :bundle do
|
@@ -24,3 +35,14 @@ end
|
|
24
35
|
end
|
25
36
|
end
|
26
37
|
end
|
38
|
+
|
39
|
+
namespace :test do
|
40
|
+
desc "Test with all supported Rails versions"
|
41
|
+
task :railsall do
|
42
|
+
rails_versions.each do |version|
|
43
|
+
dotless = version.delete('.')
|
44
|
+
ENV['BUNDLE_GEMFILE'] = "gemfiles/rails_#{dotless}.gemfile"
|
45
|
+
ruby "test.rb"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
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.3.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,10 +14,10 @@ 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', '< 6.
|
18
|
-
s.add_development_dependency '
|
17
|
+
s.add_dependency 'activerecord', '>= 3.2.0', '< 6.1'
|
18
|
+
s.add_development_dependency 'actionpack', '>= 3.2.0', '< 6.1'
|
19
|
+
s.add_development_dependency 'railties', '>= 3.2.0', '< 6.1'
|
19
20
|
s.add_development_dependency 'minitest', '>= 4.2'
|
20
21
|
s.add_development_dependency 'minitest-around'
|
21
22
|
s.add_development_dependency 'appraisal'
|
22
|
-
s.add_development_dependency 'actionpack', '>= 3.2.0', '< 6.0'
|
23
23
|
end
|
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.3.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: 2019-
|
11
|
+
date: 2019-08-20 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: '6.
|
22
|
+
version: '6.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,9 +29,9 @@ dependencies:
|
|
29
29
|
version: 3.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '6.
|
32
|
+
version: '6.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: actionpack
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 3.2.0
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '6.
|
42
|
+
version: '6.1'
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,37 +49,43 @@ dependencies:
|
|
49
49
|
version: 3.2.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '6.
|
52
|
+
version: '6.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
54
|
+
name: railties
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
59
|
+
version: 3.2.0
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '6.1'
|
60
63
|
type: :development
|
61
64
|
prerelease: false
|
62
65
|
version_requirements: !ruby/object:Gem::Requirement
|
63
66
|
requirements:
|
64
67
|
- - ">="
|
65
68
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
69
|
+
version: 3.2.0
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '6.1'
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
|
-
name: minitest
|
74
|
+
name: minitest
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
70
76
|
requirements:
|
71
77
|
- - ">="
|
72
78
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
79
|
+
version: '4.2'
|
74
80
|
type: :development
|
75
81
|
prerelease: false
|
76
82
|
version_requirements: !ruby/object:Gem::Requirement
|
77
83
|
requirements:
|
78
84
|
- - ">="
|
79
85
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
86
|
+
version: '4.2'
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
88
|
+
name: minitest-around
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|
84
90
|
requirements:
|
85
91
|
- - ">="
|
@@ -93,25 +99,19 @@ dependencies:
|
|
93
99
|
- !ruby/object:Gem::Version
|
94
100
|
version: '0'
|
95
101
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
102
|
+
name: appraisal
|
97
103
|
requirement: !ruby/object:Gem::Requirement
|
98
104
|
requirements:
|
99
105
|
- - ">="
|
100
106
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
102
|
-
- - "<"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '6.0'
|
107
|
+
version: '0'
|
105
108
|
type: :development
|
106
109
|
prerelease: false
|
107
110
|
version_requirements: !ruby/object:Gem::Requirement
|
108
111
|
requirements:
|
109
112
|
- - ">="
|
110
113
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
- - "<"
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '6.0'
|
114
|
+
version: '0'
|
115
115
|
description: The default_value_for plugin allows one to define default values for
|
116
116
|
ActiveRecord models in a declarative manner
|
117
117
|
email: software-signing@phusion.nl
|