struct-validatable 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 617051dbe833d7b24fb81dcb4be151f160e95ffc
4
- data.tar.gz: 825fc82eca714782e0c16c3976ed0d52c3247ff3
2
+ SHA256:
3
+ metadata.gz: c332ace4f28041f6d4268d591f40ca87f19f6b7606813b629dca846d1360e80b
4
+ data.tar.gz: 4662ee788482e7736a116b5474158350bd5b7cfaff6405bd59ee5551867e3e95
5
5
  SHA512:
6
- metadata.gz: 5540d06d6ccc87fa86257e780e8b59ea53690b525afd85340d58fac660a6f9233e69427e1caac72ccc7a5b87b01fc9bd10446139451291b7034c4ab627b613a6
7
- data.tar.gz: f27e44889e15d3cf1e76add47f4eb674a662b1888f82edf3430595c8bdfd84f444ef2b0da423c093d3e9053d86c44ef82d305044b3bff294bcd71f5c2f7e6ced
6
+ metadata.gz: 69a50d5d960a8c4f22afc97e348829b3916a6de7b42455824848e2bf50f673f320c6cca3f06fe1e5054ebb98d8cca0641ac85c73f0993afa4bf7d9ae2efb7d96
7
+ data.tar.gz: efc9da100f61127c1eba450d7c5097ebd3bd9054d2b15ce57f414e217cd7c23533d6f02636db882bf37fd2e709bbcb8b720db374b47477d5f8264a04c4b63ec8
@@ -2,18 +2,16 @@ language: ruby
2
2
 
3
3
  rvm:
4
4
  - ruby-head
5
- - 2.0.0
6
- - 1.9.3
7
- - rbx
5
+ - 2.6
6
+ - 2.5
7
+ - rbx-3
8
8
  - jruby-head
9
- - jruby-19mode
10
9
 
11
10
  matrix:
12
11
  allow_failures:
13
12
  - rvm: ruby-head
14
- - rvm: rbx
13
+ - rvm: rbx-3
15
14
  - rvm: jruby-head
16
- - rvm: jruby-19mode
17
15
 
18
16
  before_install:
19
17
  - gem install bundler
data/README.md CHANGED
@@ -36,7 +36,7 @@ person.valid?(:name) #=> false
36
36
  Requirements
37
37
  ------------
38
38
 
39
- * [Ruby 1.9.3 or later](http://travis-ci.org/#!/kachick/struct-validatable)
39
+ * [Ruby 2.5 or later](http://travis-ci.org/#!/kachick/struct-validatable)
40
40
 
41
41
  Install
42
42
  -------
@@ -4,7 +4,7 @@ class Struct
4
4
 
5
5
  module Validatable
6
6
 
7
- VERSION = '0.0.2'.freeze
7
+ VERSION = '0.1.0'.freeze
8
8
 
9
9
  end
10
10
 
@@ -13,13 +13,12 @@ Gem::Specification.new do |gem|
13
13
  gem.name = 'struct-validatable'
14
14
  gem.version = Struct::Validatable::VERSION.dup
15
15
 
16
- gem.required_ruby_version = '>= 1.9.3'
17
16
  gem.add_runtime_dependency 'validation', '~> 0.0.7'
18
- gem.add_development_dependency 'test-unit', '>= 2.5.5', '< 2.6'
19
17
  gem.add_development_dependency 'struct-alias_member', '~> 0.0.3'
20
- gem.add_development_dependency 'yard', '>= 0.8.7.3', '< 0.9'
18
+ gem.add_development_dependency 'test-unit', '>= 3.3.3', '< 4'
19
+ gem.add_development_dependency 'yard', '>= 0.9.20', '< 2'
21
20
  gem.add_development_dependency 'rake', '>= 10', '< 20'
22
- gem.add_development_dependency 'bundler', '>= 1.3.5', '< 2'
21
+ gem.add_development_dependency 'bundler', '>= 2', '< 3'
23
22
 
24
23
  if RUBY_ENGINE == 'rbx'
25
24
  gem.add_dependency 'rubysl', '~> 2.0'
metadata CHANGED
@@ -1,123 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: struct-validatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi Kamiya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-06 00:00:00.000000000 Z
11
+ date: 2019-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: validation
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.0.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.7
27
27
  - !ruby/object:Gem::Dependency
28
- name: test-unit
28
+ name: struct-alias_member
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: 2.5.5
34
- - - <
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '2.6'
33
+ version: 0.0.3
37
34
  type: :development
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - '>='
42
- - !ruby/object:Gem::Version
43
- version: 2.5.5
44
- - - <
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '2.6'
40
+ version: 0.0.3
47
41
  - !ruby/object:Gem::Dependency
48
- name: struct-alias_member
42
+ name: test-unit
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ~>
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
- version: 0.0.3
47
+ version: 3.3.3
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '4'
54
51
  type: :development
55
52
  prerelease: false
56
53
  version_requirements: !ruby/object:Gem::Requirement
57
54
  requirements:
58
- - - ~>
55
+ - - ">="
59
56
  - !ruby/object:Gem::Version
60
- version: 0.0.3
57
+ version: 3.3.3
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '4'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: yard
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '>='
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 0.8.7.3
68
- - - <
67
+ version: 0.9.20
68
+ - - "<"
69
69
  - !ruby/object:Gem::Version
70
- version: '0.9'
70
+ version: '2'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 0.8.7.3
78
- - - <
77
+ version: 0.9.20
78
+ - - "<"
79
79
  - !ruby/object:Gem::Version
80
- version: '0.9'
80
+ version: '2'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rake
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '10'
88
- - - <
88
+ - - "<"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '20'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '10'
98
- - - <
98
+ - - "<"
99
99
  - !ruby/object:Gem::Version
100
100
  version: '20'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: bundler
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - '>='
106
- - !ruby/object:Gem::Version
107
- version: 1.3.5
108
- - - <
105
+ - - ">="
109
106
  - !ruby/object:Gem::Version
110
107
  version: '2'
108
+ - - "<"
109
+ - !ruby/object:Gem::Version
110
+ version: '3'
111
111
  type: :development
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
116
- - !ruby/object:Gem::Version
117
- version: 1.3.5
118
- - - <
115
+ - - ">="
119
116
  - !ruby/object:Gem::Version
120
117
  version: '2'
118
+ - - "<"
119
+ - !ruby/object:Gem::Version
120
+ version: '3'
121
121
  description: Struct will have validators for each member.
122
122
  email:
123
123
  - kachick1+ruby@gmail.com
@@ -125,9 +125,9 @@ executables: []
125
125
  extensions: []
126
126
  extra_rdoc_files: []
127
127
  files:
128
- - .gitignore
129
- - .travis.yml
130
- - .yardopts
128
+ - ".gitignore"
129
+ - ".travis.yml"
130
+ - ".yardopts"
131
131
  - Gemfile
132
132
  - MIT-LICENSE
133
133
  - README.md
@@ -155,17 +155,17 @@ require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
- version: 1.9.3
160
+ version: '0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - '>='
163
+ - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.0.14
168
+ rubygems_version: 2.7.6
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Struct will have validators for each member.
@@ -175,4 +175,3 @@ test_files:
175
175
  - test/test_subc-f-validation_util.rb
176
176
  - test/test_subc-i-adjuster.rb
177
177
  - test/test_subc-i-validation_specific_conditions.rb
178
- has_rdoc: