striuct 0.4.4 → 0.4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +7 -7
- data/lib/striuct/classmethods/attributes.rb +2 -4
- data/lib/striuct/classmethods/hashdeepdupulicatable.rb +2 -4
- data/striuct.gemspec +18 -9
- metadata +68 -57
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 746edaaaf527160fde69fb136722ff8861375af7
|
4
|
+
data.tar.gz: 17062017c2bec73985602a5c4069ffec47acc3f6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7c3897a36c553fcc2f760581e7b844cb81256e08b774efc4d81ca7ae6d24a811fbb2431a842acd24cd69bafdc045c58ba3ea46674b089eaf639f5acef7a89482
|
7
|
+
data.tar.gz: 57a64de8a4faa2a740856f770f121f9ade2d924d3a2f99625d2ed3dd369b4f7ddf4a23d8d3e00f2485c9fc82e12dae8038cd37a6df453627c383486a1bd6c6af
|
data/.travis.yml
CHANGED
@@ -2,19 +2,19 @@ language: ruby
|
|
2
2
|
|
3
3
|
rvm:
|
4
4
|
- ruby-head
|
5
|
-
- 2.
|
5
|
+
- 2.2
|
6
|
+
- 2.1
|
7
|
+
- 2.0
|
6
8
|
- 1.9.3
|
7
|
-
-
|
8
|
-
- rbx-
|
9
|
+
- ruby-head
|
10
|
+
- rbx-2
|
9
11
|
- jruby-head
|
10
|
-
- jruby-19mode
|
11
12
|
|
12
13
|
matrix:
|
13
14
|
allow_failures:
|
14
15
|
- rvm: ruby-head
|
15
|
-
- rvm: rbx-
|
16
|
+
- rvm: rbx-2
|
16
17
|
- rvm: jruby-head
|
17
|
-
- rvm: jruby-19mode
|
18
18
|
|
19
19
|
before_install:
|
20
|
-
- gem install bundler
|
20
|
+
- gem install bundler
|
data/striuct.gemspec
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# coding: us-ascii
|
2
|
+
|
3
|
+
lib_name = 'striuct'.freeze
|
4
|
+
|
1
5
|
Gem::Specification.new do |gem|
|
2
6
|
# specific
|
3
7
|
|
@@ -10,20 +14,25 @@ Gem::Specification.new do |gem|
|
|
10
14
|
Lock setter of each member, Hash flendly API, ... And more Struct++ features :)}
|
11
15
|
|
12
16
|
gem.summary = gem.description.dup
|
13
|
-
gem.homepage =
|
17
|
+
gem.homepage = "https://github.com/kachick/#{lib_name}"
|
14
18
|
gem.license = 'MIT'
|
15
|
-
gem.name =
|
16
|
-
gem.version = '0.4.4'
|
19
|
+
gem.name = lib_name.dup
|
20
|
+
gem.version = '0.4.4.1'
|
17
21
|
|
18
|
-
gem.required_ruby_version = '>= 1.9.
|
22
|
+
gem.required_ruby_version = '>= 1.9.3'
|
19
23
|
|
20
|
-
gem.add_runtime_dependency 'validation', '~> 0.0.
|
21
|
-
gem.add_runtime_dependency 'optionalargument', '~> 0.
|
24
|
+
gem.add_runtime_dependency 'validation', '~> 0.0.7'
|
25
|
+
gem.add_runtime_dependency 'optionalargument', '~> 0.1'
|
22
26
|
gem.add_runtime_dependency 'keyvalidatable', '~> 0.0.5'
|
23
27
|
|
24
|
-
gem.add_development_dependency '
|
28
|
+
gem.add_development_dependency 'test-unit', '>= 3.1.1', '< 4'
|
29
|
+
gem.add_development_dependency 'yard', '>= 0.8.7.6', '< 0.9'
|
25
30
|
gem.add_development_dependency 'rake', '>= 10', '< 20'
|
26
|
-
gem.add_development_dependency 'bundler', '>= 1.
|
31
|
+
gem.add_development_dependency 'bundler', '>= 1.10', '< 2'
|
32
|
+
|
33
|
+
if RUBY_ENGINE == 'rbx'
|
34
|
+
gem.add_dependency 'rubysl', '~> 2.1'
|
35
|
+
end
|
27
36
|
|
28
37
|
# common
|
29
38
|
|
@@ -33,4 +42,4 @@ Gem::Specification.new do |gem|
|
|
33
42
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
34
43
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
35
44
|
gem.require_paths = ['lib']
|
36
|
-
end
|
45
|
+
end
|
metadata
CHANGED
@@ -1,142 +1,154 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: striuct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.4
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kenichi Kamiya
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: validation
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
19
|
+
version: 0.0.7
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.0.
|
26
|
+
version: 0.0.7
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: optionalargument
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
33
|
+
version: '0.1'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
40
|
+
version: '0.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: keyvalidatable
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 0.0.5
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 0.0.5
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: test-unit
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.1.1
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '4'
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 3.1.1
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '4'
|
62
75
|
- !ruby/object:Gem::Dependency
|
63
76
|
name: yard
|
64
77
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
78
|
requirements:
|
67
|
-
- -
|
79
|
+
- - ">="
|
68
80
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.8.6
|
70
|
-
- - <
|
81
|
+
version: 0.8.7.6
|
82
|
+
- - "<"
|
71
83
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
84
|
+
version: '0.9'
|
73
85
|
type: :development
|
74
86
|
prerelease: false
|
75
87
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
88
|
requirements:
|
78
|
-
- -
|
89
|
+
- - ">="
|
79
90
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.8.6
|
81
|
-
- - <
|
91
|
+
version: 0.8.7.6
|
92
|
+
- - "<"
|
82
93
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
94
|
+
version: '0.9'
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: rake
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
98
|
requirements:
|
89
|
-
- -
|
99
|
+
- - ">="
|
90
100
|
- !ruby/object:Gem::Version
|
91
101
|
version: '10'
|
92
|
-
- - <
|
102
|
+
- - "<"
|
93
103
|
- !ruby/object:Gem::Version
|
94
104
|
version: '20'
|
95
105
|
type: :development
|
96
106
|
prerelease: false
|
97
107
|
version_requirements: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
108
|
requirements:
|
100
|
-
- -
|
109
|
+
- - ">="
|
101
110
|
- !ruby/object:Gem::Version
|
102
111
|
version: '10'
|
103
|
-
- - <
|
112
|
+
- - "<"
|
104
113
|
- !ruby/object:Gem::Version
|
105
114
|
version: '20'
|
106
115
|
- !ruby/object:Gem::Dependency
|
107
116
|
name: bundler
|
108
117
|
requirement: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
118
|
requirements:
|
111
|
-
- -
|
119
|
+
- - ">="
|
112
120
|
- !ruby/object:Gem::Version
|
113
|
-
version: 1.
|
114
|
-
- - <
|
121
|
+
version: '1.10'
|
122
|
+
- - "<"
|
115
123
|
- !ruby/object:Gem::Version
|
116
124
|
version: '2'
|
117
125
|
type: :development
|
118
126
|
prerelease: false
|
119
127
|
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
128
|
requirements:
|
122
|
-
- -
|
129
|
+
- - ">="
|
123
130
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
125
|
-
- - <
|
131
|
+
version: '1.10'
|
132
|
+
- - "<"
|
126
133
|
- !ruby/object:Gem::Version
|
127
134
|
version: '2'
|
128
|
-
description:
|
129
|
-
|
130
|
-
|
135
|
+
description: |-
|
136
|
+
Struct++ library.
|
137
|
+
|
138
|
+
---
|
139
|
+
|
140
|
+
Validatable, Inheritable, Member Aliasing,
|
141
|
+
Conflict Management, Default Value, Divide nil with unassign,
|
142
|
+
Lock setter of each member, Hash flendly API, ... And more Struct++ features :)
|
131
143
|
email:
|
132
144
|
- kachick1+ruby@gmail.com
|
133
145
|
executables: []
|
134
146
|
extensions: []
|
135
147
|
extra_rdoc_files: []
|
136
148
|
files:
|
137
|
-
- .gitignore
|
138
|
-
- .travis.yml
|
139
|
-
- .yardopts
|
149
|
+
- ".gitignore"
|
150
|
+
- ".travis.yml"
|
151
|
+
- ".yardopts"
|
140
152
|
- Gemfile
|
141
153
|
- History.old(~0.3.n).rdoc
|
142
154
|
- MIT-LICENSE
|
@@ -222,30 +234,29 @@ files:
|
|
222
234
|
- test/test_subc-i-validation_specific_conditions.rb
|
223
235
|
- test/test_subc-i-validation_with_getter.rb
|
224
236
|
- test/test_version.rb
|
225
|
-
homepage:
|
237
|
+
homepage: https://github.com/kachick/striuct
|
226
238
|
licenses:
|
227
239
|
- MIT
|
240
|
+
metadata: {}
|
228
241
|
post_install_message:
|
229
242
|
rdoc_options: []
|
230
243
|
require_paths:
|
231
244
|
- lib
|
232
245
|
required_ruby_version: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
246
|
requirements:
|
235
|
-
- -
|
247
|
+
- - ">="
|
236
248
|
- !ruby/object:Gem::Version
|
237
|
-
version: 1.9.
|
249
|
+
version: 1.9.3
|
238
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
|
-
none: false
|
240
251
|
requirements:
|
241
|
-
- -
|
252
|
+
- - ">="
|
242
253
|
- !ruby/object:Gem::Version
|
243
254
|
version: '0'
|
244
255
|
requirements: []
|
245
256
|
rubyforge_project:
|
246
|
-
rubygems_version:
|
257
|
+
rubygems_version: 2.4.5
|
247
258
|
signing_key:
|
248
|
-
specification_version:
|
259
|
+
specification_version: 4
|
249
260
|
summary: Struct++ library. --- Validatable, Inheritable, Member Aliasing, Conflict
|
250
261
|
Management, Default Value, Divide nil with unassign, Lock setter of each member,
|
251
262
|
Hash flendly API, ... And more Struct++ features :)
|