striuct 0.5.0 → 0.6.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: a30f4e23f85f0d1dfe93361680098c4392fa5310
4
- data.tar.gz: eebe3b499e546f79818ff526a526dfd254b79412
2
+ SHA256:
3
+ metadata.gz: 9f62606bca03dc43d444db3e23bf44339abf1694ae46833cddf4f9d9aca758d6
4
+ data.tar.gz: 298c98ad540cc714624ba524ba41279298f17f785596cea9ae6e7babf21cfc37
5
5
  SHA512:
6
- metadata.gz: b79df0bcae7d599d530193891fafed7831507b09c4b77b4841eb1fdb79c7454928cadcd5585b58582b378e72c7a944cfb0ca8a6b47ee436bf5ff3535e4413a02
7
- data.tar.gz: 8b40078d94fe1c120e98885a1861359fdc1d0fd948f2ec528e27fcc8c4a602b73987af3bb6da8232e325b1519401371472bfeaa9598282dd4d73549474abd4ef
6
+ metadata.gz: 47897a1c2237af0c378b4e1e69fb274c4a6acb5d802693d443bf49ef66ce8e774e09c5173302e0825073ca17b8aa15d215d41f516315526c9c7938afd5063412
7
+ data.tar.gz: 51d20eb1974f80d68d6e99e076babf34076d193ef6185f7d7cc565078928ad837c1af7949c116e5bdfbaece4a7de9c201fff12ca5e601e8e3f3be5d93f0f2452
data/.travis.yml CHANGED
@@ -2,17 +2,15 @@ language: ruby
2
2
 
3
3
  rvm:
4
4
  - ruby-head
5
- - 2.2
6
- - 2.1
7
- - 2.0
8
- - ruby-head
9
- - rbx-2
5
+ - 2.5
6
+ - 2.4
7
+ - rbx-3
10
8
  - jruby-head
11
9
 
12
10
  matrix:
13
11
  allow_failures:
14
12
  - rvm: ruby-head
15
- - rvm: rbx-2
13
+ - rvm: rbx-3
16
14
  - rvm: jruby-head
17
15
 
18
16
  before_install:
data/README.md CHANGED
@@ -114,7 +114,7 @@ UseMustOption.new #=> InvalidOperationError "`foo` require a value under `must`
114
114
  Requirements
115
115
  -------------
116
116
 
117
- * Ruby - [2.0 or later](http://travis-ci.org/#!/kachick/striuct)
117
+ * Ruby - [2.2 or later](http://travis-ci.org/#!/kachick/striuct)
118
118
 
119
119
  Install
120
120
  -------
data/Rakefile CHANGED
@@ -7,4 +7,5 @@ task default: [:test]
7
7
 
8
8
  Rake::TestTask.new do |tt|
9
9
  tt.verbose = true
10
+ tt.warning = true
10
11
  end
data/example/README.rb CHANGED
@@ -1,5 +1,3 @@
1
- $VERBOSE = true
2
-
3
1
  require_relative '../lib/striuct'
4
2
 
5
3
  class Person < Striuct
data/example/example2.rb CHANGED
@@ -1,7 +1,5 @@
1
1
  #!/usr/local/bin/ruby -w
2
2
 
3
- $VERBOSE = true
4
-
5
3
  require_relative '../lib/striuct'
6
4
 
7
5
  User = Striuct.define do # other way "class User < Striuct.new"
data/striuct.gemspec CHANGED
@@ -17,21 +17,21 @@ Gem::Specification.new do |gem|
17
17
  gem.homepage = "https://github.com/kachick/#{lib_name}"
18
18
  gem.license = 'MIT'
19
19
  gem.name = lib_name.dup
20
- gem.version = '0.5.0'
20
+ gem.version = '0.6.0'
21
21
 
22
- gem.required_ruby_version = '>= 2.0'
22
+ gem.required_ruby_version = '>= 2.2'
23
23
 
24
- gem.add_runtime_dependency 'validation', '~> 0.0.7'
25
- gem.add_runtime_dependency 'optionalargument', '~> 0.1'
26
- gem.add_runtime_dependency 'keyvalidatable', '~> 0.0.5'
24
+ gem.add_runtime_dependency 'validation', '~> 0.1'
25
+ gem.add_runtime_dependency 'optionalargument', '~> 0.3'
26
+ gem.add_runtime_dependency 'keyvalidatable'
27
27
 
28
- gem.add_development_dependency 'test-unit', '>= 3.1.1', '< 4'
29
- gem.add_development_dependency 'yard', '>= 0.8.7.6', '< 0.9'
28
+ gem.add_development_dependency 'test-unit', '>= 3.2.6', '< 4'
29
+ gem.add_development_dependency 'yard', '>= 0.9.11', '< 2.0'
30
30
  gem.add_development_dependency 'rake', '>= 10', '< 20'
31
31
  gem.add_development_dependency 'bundler', '>= 1.10', '< 2'
32
32
 
33
33
  if RUBY_ENGINE == 'rbx'
34
- gem.add_dependency 'rubysl', '~> 2.1'
34
+ gem.add_dependency 'rubysl', '~> 2.2'
35
35
  end
36
36
 
37
37
  # common
data/test/helper.rb CHANGED
@@ -1,5 +1,3 @@
1
1
  require 'test/unit'
2
2
 
3
- $VERBOSE = true
4
-
5
3
  require_relative '../lib/striuct'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: striuct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: validation
@@ -16,49 +16,49 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.7
19
+ version: '0.1'
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
- version: 0.0.7
26
+ version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: optionalargument
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.1'
33
+ version: '0.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.1'
40
+ version: '0.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: keyvalidatable
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.5
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.5
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: test-unit
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.1.1
61
+ version: 3.2.6
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
64
  version: '4'
@@ -68,7 +68,7 @@ dependencies:
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 3.1.1
71
+ version: 3.2.6
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '4'
@@ -78,20 +78,20 @@ dependencies:
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: 0.8.7.6
81
+ version: 0.9.11
82
82
  - - "<"
83
83
  - !ruby/object:Gem::Version
84
- version: '0.9'
84
+ version: '2.0'
85
85
  type: :development
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: 0.8.7.6
91
+ version: 0.9.11
92
92
  - - "<"
93
93
  - !ruby/object:Gem::Version
94
- version: '0.9'
94
+ version: '2.0'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: rake
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -246,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - ">="
248
248
  - !ruby/object:Gem::Version
249
- version: '2.0'
249
+ version: '2.2'
250
250
  required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  requirements:
252
252
  - - ">="
@@ -254,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
254
  version: '0'
255
255
  requirements: []
256
256
  rubyforge_project:
257
- rubygems_version: 2.4.8
257
+ rubygems_version: 2.7.3
258
258
  signing_key:
259
259
  specification_version: 4
260
260
  summary: Struct++ library. --- Validatable, Inheritable, Member Aliasing, Conflict
@@ -295,4 +295,3 @@ test_files:
295
295
  - test/test_subc-i-validation_specific_conditions.rb
296
296
  - test/test_subc-i-validation_with_getter.rb
297
297
  - test/test_version.rb
298
- has_rdoc: