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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +23 -1
  3. data/default_value_for.gemspec +4 -4
  4. metadata +23 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fc011401b53010c6cc35ec4b7d603ca7c25caf4c4f5602aaad7d5ac594e5d54
4
- data.tar.gz: 19c64f2d05b114507c1aeb16745f2c9dd9559acf6a37643594c86eaf9a2e9165
3
+ metadata.gz: 80ddc9639e45734a3c55f1214183ec69283c25b72db87df9829efd9b7e9b5cd5
4
+ data.tar.gz: 2dd265cccdb18a0403ae4d71474cbf100b2f71aa967bb5579e5c773ef697f4b6
5
5
  SHA512:
6
- metadata.gz: 398b1ffc9a6c087f854e3779b73c3624f0e5da598f60b63c41c5c7a14943d4294c2031147110e998c60026e9bce09d50d68f73e1bff98e33d61a6915ade1078b
7
- data.tar.gz: 422c73abf865cee8d4619f983a91d3a20850b1ee66393e1ed5b6e1667ffcbc3529e36dd88fff4b72a07712c33096b03a1c18618377c9d4961f6f5fef5fe2ce5c
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
- ['3.2', '4.0', '4.1', '4.2', '5.0', '5.1', '5.2'].each do |version|
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{default_value_for}
3
- s.version = "3.2.0"
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.0'
18
- s.add_development_dependency 'railties', '>= 3.2.0', '< 6.0'
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.2.0
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-06-27 00:00:00.000000000 Z
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.0'
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.0'
32
+ version: '6.1'
33
33
  - !ruby/object:Gem::Dependency
34
- name: railties
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.0'
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.0'
52
+ version: '6.1'
53
53
  - !ruby/object:Gem::Dependency
54
- name: minitest
54
+ name: railties
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '4.2'
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: '4.2'
69
+ version: 3.2.0
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '6.1'
67
73
  - !ruby/object:Gem::Dependency
68
- name: minitest-around
74
+ name: minitest
69
75
  requirement: !ruby/object:Gem::Requirement
70
76
  requirements:
71
77
  - - ">="
72
78
  - !ruby/object:Gem::Version
73
- version: '0'
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: '0'
86
+ version: '4.2'
81
87
  - !ruby/object:Gem::Dependency
82
- name: appraisal
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: actionpack
102
+ name: appraisal
97
103
  requirement: !ruby/object:Gem::Requirement
98
104
  requirements:
99
105
  - - ">="
100
106
  - !ruby/object:Gem::Version
101
- version: 3.2.0
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: 3.2.0
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