multiparameter_date_time 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +32 -5
- data/Gemfile +11 -4
- data/lib/multiparameter_date_time/version.rb +1 -1
- data/multiparameter_date_time.gemspec +5 -3
- metadata +42 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6b411170c90b278d9936f4a95d01854458f12e8
|
4
|
+
data.tar.gz: 798c30c1f04649cd7d3e5d09a004a9986b865790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5e49758a42f4bd770014430b2bdea40486ab11e7bf1b5044ab4bfc2a85302cd4b13f40ad0f5f7a83259df35584dee8a608671c6be7357edb234216e2b16d66d
|
7
|
+
data.tar.gz: a5b50e63405580b2db7e22aa4742273ff8cb33df5f6f604fa132eec807d744ad4cfb626daa5638929f261047fb12f08caa9fccb008b9c7e58ef1c2706ce4f50c
|
data/.travis.yml
CHANGED
@@ -1,8 +1,35 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
|
+
|
3
4
|
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.2
|
7
|
-
-
|
8
|
-
|
5
|
+
- "2.4.1"
|
6
|
+
- "2.3.4"
|
7
|
+
- "2.2.7"
|
8
|
+
- "2.1.10"
|
9
|
+
|
10
|
+
env:
|
11
|
+
- ACTIVE_RECORD_BRANCH="master"
|
12
|
+
- ACTIVE_RECORD_BRANCH="5-1-stable"
|
13
|
+
- ACTIVE_RECORD_BRANCH="5-0-stable"
|
14
|
+
- ACTIVE_RECORD_BRANCH="4-2-stable"
|
15
|
+
- ACTIVE_RECORD_VERSION="~> 5.1.0"
|
16
|
+
- ACTIVE_RECORD_VERSION="~> 5.0.0"
|
17
|
+
- ACTIVE_RECORD_VERSION="~> 4.2.0"
|
18
|
+
|
19
|
+
matrix:
|
20
|
+
allow_failures:
|
21
|
+
- env: ACTIVE_RECORD_BRANCH="master"
|
22
|
+
- env: ACTIVE_RECORD_BRANCH="5-1-stable"
|
23
|
+
- env: ACTIVE_RECORD_BRANCH="5-0-stable"
|
24
|
+
- env: ACTIVE_RECORD_BRANCH="4-2-stable"
|
25
|
+
exclude:
|
26
|
+
- rvm: "2.1.10"
|
27
|
+
env: ACTIVE_RECORD_BRANCH="master"
|
28
|
+
- rvm: "2.1.10"
|
29
|
+
env: ACTIVE_RECORD_BRANCH="5-1-stable"
|
30
|
+
- rvm: "2.1.10"
|
31
|
+
env: ACTIVE_RECORD_BRANCH="5-0-stable"
|
32
|
+
- rvm: "2.1.10"
|
33
|
+
env: ACTIVE_RECORD_VERSION="~> 5.1.0"
|
34
|
+
- rvm: "2.1.10"
|
35
|
+
env: ACTIVE_RECORD_VERSION="~> 5.0.0"
|
data/Gemfile
CHANGED
@@ -3,7 +3,14 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in multiparameter_date_time.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
ar_branch = ENV['ACTIVE_RECORD_BRANCH']
|
7
|
+
ar_version = ENV['ACTIVE_RECORD_VERSION']
|
8
|
+
|
9
|
+
if ar_branch
|
10
|
+
gem 'activerecord', git: 'https://github.com/rails/rails.git', branch: ar_branch
|
11
|
+
gem 'arel', git: 'https://github.com/rails/arel.git' if ar_branch == 'master'
|
12
|
+
end
|
13
|
+
|
14
|
+
if ar_version
|
15
|
+
gem 'activerecord', ar_version
|
16
|
+
end
|
@@ -15,12 +15,14 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.version = MultiparameterDateTime::VERSION
|
16
16
|
gem.licenses = 'MIT'
|
17
17
|
|
18
|
-
gem.required_ruby_version = '>= 1.
|
18
|
+
gem.required_ruby_version = '>= 2.1.0'
|
19
19
|
|
20
20
|
gem.add_dependency 'american_date'
|
21
|
-
gem.add_dependency 'activesupport', '
|
21
|
+
gem.add_dependency 'activesupport', '>= 4.2'
|
22
22
|
|
23
|
-
gem.add_development_dependency 'activerecord'
|
23
|
+
gem.add_development_dependency 'activerecord', '>= 4.2', '< 6.0'
|
24
|
+
gem.add_development_dependency 'rake'
|
24
25
|
gem.add_development_dependency 'rspec', '~> 3'
|
26
|
+
gem.add_development_dependency 'sqlite3'
|
25
27
|
gem.add_development_dependency 'with_model', '~> 1.0'
|
26
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiparameter_date_time
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Case Commons, LLC
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: american_date
|
@@ -31,18 +31,38 @@ dependencies:
|
|
31
31
|
name: activesupport
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- - "
|
34
|
+
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '4.
|
36
|
+
version: '4.2'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '4.
|
43
|
+
version: '4.2'
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: activerecord
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '4.2'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '6.0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '4.2'
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '6.0'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rake
|
46
66
|
requirement: !ruby/object:Gem::Requirement
|
47
67
|
requirements:
|
48
68
|
- - ">="
|
@@ -69,6 +89,20 @@ dependencies:
|
|
69
89
|
- - "~>"
|
70
90
|
- !ruby/object:Gem::Version
|
71
91
|
version: '3'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: sqlite3
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
72
106
|
- !ruby/object:Gem::Dependency
|
73
107
|
name: with_model
|
74
108
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
152
|
requirements:
|
119
153
|
- - ">="
|
120
154
|
- !ruby/object:Gem::Version
|
121
|
-
version: 1.
|
155
|
+
version: 2.1.0
|
122
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
157
|
requirements:
|
124
158
|
- - ">="
|
@@ -126,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
160
|
version: '0'
|
127
161
|
requirements: []
|
128
162
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.6.11
|
130
164
|
signing_key:
|
131
165
|
specification_version: 4
|
132
166
|
summary: Set a DateTime via two accessors, one for the date, one for the time
|
@@ -134,4 +168,3 @@ test_files:
|
|
134
168
|
- spec/is_valid_multiparameter_date_time_validator_spec.rb
|
135
169
|
- spec/multiparameter_date_time_spec.rb
|
136
170
|
- spec/spec_helper.rb
|
137
|
-
has_rdoc:
|