tbpgr_utils 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +40 -1
- data/lib/open_classes/array/together.rb +23 -0
- data/lib/open_classes/array/together_at.rb +29 -0
- data/lib/open_classes/array/together_clear.rb +24 -0
- data/lib/open_classes/array/together_compact.rb +44 -0
- data/lib/open_classes/array/together_concat.rb +25 -0
- data/lib/open_classes/array/together_delete.rb +46 -0
- data/lib/open_classes/array/together_delete_at.rb +43 -0
- data/lib/open_classes/array/together_delete_if.rb +38 -0
- data/lib/open_classes/array/together_empty.rb +31 -0
- data/lib/open_classes/array/together_fill.rb +43 -0
- data/lib/open_classes/array/together_first.rb +40 -0
- data/lib/open_classes/array/together_helper.rb +25 -0
- data/lib/open_classes/array/together_include.rb +50 -0
- data/lib/open_classes/array/together_index.rb +34 -0
- data/lib/open_classes/array/together_insert.rb +34 -0
- data/lib/open_classes/array/together_last.rb +40 -0
- data/lib/open_classes/array/together_map.rb +87 -0
- data/lib/open_classes/array/together_pop.rb +47 -0
- data/lib/open_classes/array/together_reduce.rb +59 -0
- data/lib/open_classes/array/together_reverse.rb +53 -0
- data/lib/open_classes/array/together_sample.rb +49 -0
- data/lib/open_classes/array/together_select.rb +50 -0
- data/lib/open_classes/array/together_shift.rb +47 -0
- data/lib/open_classes/array/together_with_index.rb +24 -0
- data/lib/open_classes/array.rb +23 -718
- data/lib/tbpgr_utils/version.rb +1 -1
- data/spec/open_classes/array/together_at_spec.rb +61 -0
- data/spec/open_classes/array/together_clear_spec.rb +51 -0
- data/spec/open_classes/array/together_compact_spec.rb +103 -0
- data/spec/open_classes/array/together_concat_spec.rb +53 -0
- data/spec/open_classes/array/together_delete_at_spec.rb +78 -0
- data/spec/open_classes/array/together_delete_if_spec.rb +61 -0
- data/spec/open_classes/array/together_delete_spec.rb +80 -0
- data/spec/open_classes/array/together_empty_spec.rb +58 -0
- data/spec/open_classes/array/together_fill_spec.rb +79 -0
- data/spec/open_classes/array/together_first_spec.rb +84 -0
- data/spec/open_classes/array/together_include_spec.rb +100 -0
- data/spec/open_classes/array/together_index_spec.rb +69 -0
- data/spec/open_classes/array/together_insert_spec.rb +65 -0
- data/spec/open_classes/array/together_last_spec.rb +84 -0
- data/spec/open_classes/array/together_map_spec.rb +171 -0
- data/spec/open_classes/array/together_pop_spec.rb +105 -0
- data/spec/open_classes/array/together_reduce_spec.rb +100 -0
- data/spec/open_classes/array/together_reverse_spec.rb +119 -0
- data/spec/open_classes/array/together_select_spec.rb +76 -0
- data/spec/open_classes/array/together_shift_spec.rb +105 -0
- data/spec/open_classes/array/together_spec.rb +51 -0
- data/spec/open_classes/array/together_with_index_spec.rb +51 -0
- data/spec/open_classes/together_sample_spec.rb +122 -0
- data/spec/spec_helper.rb +1 -1
- metadata +82 -14
- data/spec/open_classes/array_spec.rb +0 -1699
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tbpgr_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.37
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
|
-
requirement: &
|
16
|
+
requirement: &21931512 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 4.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *21931512
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &21931224 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.3'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *21931224
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &21930996 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *21930996
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &21930672 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 2.14.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *21930672
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: simplecov
|
60
|
-
requirement: &
|
60
|
+
requirement: &21930372 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 0.8.2
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *21930372
|
69
69
|
description: Utilities
|
70
70
|
email:
|
71
71
|
- tbpgr@tbpgr.jp
|
@@ -86,6 +86,30 @@ files:
|
|
86
86
|
- lib/attributes_initializable.rb
|
87
87
|
- lib/ghostable.rb
|
88
88
|
- lib/open_classes/array.rb
|
89
|
+
- lib/open_classes/array/together.rb
|
90
|
+
- lib/open_classes/array/together_at.rb
|
91
|
+
- lib/open_classes/array/together_clear.rb
|
92
|
+
- lib/open_classes/array/together_compact.rb
|
93
|
+
- lib/open_classes/array/together_concat.rb
|
94
|
+
- lib/open_classes/array/together_delete.rb
|
95
|
+
- lib/open_classes/array/together_delete_at.rb
|
96
|
+
- lib/open_classes/array/together_delete_if.rb
|
97
|
+
- lib/open_classes/array/together_empty.rb
|
98
|
+
- lib/open_classes/array/together_fill.rb
|
99
|
+
- lib/open_classes/array/together_first.rb
|
100
|
+
- lib/open_classes/array/together_helper.rb
|
101
|
+
- lib/open_classes/array/together_include.rb
|
102
|
+
- lib/open_classes/array/together_index.rb
|
103
|
+
- lib/open_classes/array/together_insert.rb
|
104
|
+
- lib/open_classes/array/together_last.rb
|
105
|
+
- lib/open_classes/array/together_map.rb
|
106
|
+
- lib/open_classes/array/together_pop.rb
|
107
|
+
- lib/open_classes/array/together_reduce.rb
|
108
|
+
- lib/open_classes/array/together_reverse.rb
|
109
|
+
- lib/open_classes/array/together_sample.rb
|
110
|
+
- lib/open_classes/array/together_select.rb
|
111
|
+
- lib/open_classes/array/together_shift.rb
|
112
|
+
- lib/open_classes/array/together_with_index.rb
|
89
113
|
- lib/open_classes/file.rb
|
90
114
|
- lib/open_classes/kernel.rb
|
91
115
|
- lib/open_classes/module.rb
|
@@ -101,12 +125,34 @@ files:
|
|
101
125
|
- spec/attributes_hashable_spec.rb
|
102
126
|
- spec/attributes_initializable_spec.rb
|
103
127
|
- spec/ghostable_spec.rb
|
104
|
-
- spec/open_classes/
|
128
|
+
- spec/open_classes/array/together_at_spec.rb
|
129
|
+
- spec/open_classes/array/together_clear_spec.rb
|
130
|
+
- spec/open_classes/array/together_compact_spec.rb
|
131
|
+
- spec/open_classes/array/together_concat_spec.rb
|
132
|
+
- spec/open_classes/array/together_delete_at_spec.rb
|
133
|
+
- spec/open_classes/array/together_delete_if_spec.rb
|
134
|
+
- spec/open_classes/array/together_delete_spec.rb
|
135
|
+
- spec/open_classes/array/together_empty_spec.rb
|
136
|
+
- spec/open_classes/array/together_fill_spec.rb
|
137
|
+
- spec/open_classes/array/together_first_spec.rb
|
138
|
+
- spec/open_classes/array/together_include_spec.rb
|
139
|
+
- spec/open_classes/array/together_index_spec.rb
|
140
|
+
- spec/open_classes/array/together_insert_spec.rb
|
141
|
+
- spec/open_classes/array/together_last_spec.rb
|
142
|
+
- spec/open_classes/array/together_map_spec.rb
|
143
|
+
- spec/open_classes/array/together_pop_spec.rb
|
144
|
+
- spec/open_classes/array/together_reduce_spec.rb
|
145
|
+
- spec/open_classes/array/together_reverse_spec.rb
|
146
|
+
- spec/open_classes/array/together_select_spec.rb
|
147
|
+
- spec/open_classes/array/together_shift_spec.rb
|
148
|
+
- spec/open_classes/array/together_spec.rb
|
149
|
+
- spec/open_classes/array/together_with_index_spec.rb
|
105
150
|
- spec/open_classes/file_spec.rb
|
106
151
|
- spec/open_classes/kernel_spec.rb
|
107
152
|
- spec/open_classes/module_spec.rb
|
108
153
|
- spec/open_classes/object_spec.rb
|
109
154
|
- spec/open_classes/string_spec.rb
|
155
|
+
- spec/open_classes/together_sample_spec.rb
|
110
156
|
- spec/spec_helper.rb
|
111
157
|
- spec/templatable_spec.rb
|
112
158
|
- spec/template_methodable_spec.rb
|
@@ -141,12 +187,34 @@ test_files:
|
|
141
187
|
- spec/attributes_hashable_spec.rb
|
142
188
|
- spec/attributes_initializable_spec.rb
|
143
189
|
- spec/ghostable_spec.rb
|
144
|
-
- spec/open_classes/
|
190
|
+
- spec/open_classes/array/together_at_spec.rb
|
191
|
+
- spec/open_classes/array/together_clear_spec.rb
|
192
|
+
- spec/open_classes/array/together_compact_spec.rb
|
193
|
+
- spec/open_classes/array/together_concat_spec.rb
|
194
|
+
- spec/open_classes/array/together_delete_at_spec.rb
|
195
|
+
- spec/open_classes/array/together_delete_if_spec.rb
|
196
|
+
- spec/open_classes/array/together_delete_spec.rb
|
197
|
+
- spec/open_classes/array/together_empty_spec.rb
|
198
|
+
- spec/open_classes/array/together_fill_spec.rb
|
199
|
+
- spec/open_classes/array/together_first_spec.rb
|
200
|
+
- spec/open_classes/array/together_include_spec.rb
|
201
|
+
- spec/open_classes/array/together_index_spec.rb
|
202
|
+
- spec/open_classes/array/together_insert_spec.rb
|
203
|
+
- spec/open_classes/array/together_last_spec.rb
|
204
|
+
- spec/open_classes/array/together_map_spec.rb
|
205
|
+
- spec/open_classes/array/together_pop_spec.rb
|
206
|
+
- spec/open_classes/array/together_reduce_spec.rb
|
207
|
+
- spec/open_classes/array/together_reverse_spec.rb
|
208
|
+
- spec/open_classes/array/together_select_spec.rb
|
209
|
+
- spec/open_classes/array/together_shift_spec.rb
|
210
|
+
- spec/open_classes/array/together_spec.rb
|
211
|
+
- spec/open_classes/array/together_with_index_spec.rb
|
145
212
|
- spec/open_classes/file_spec.rb
|
146
213
|
- spec/open_classes/kernel_spec.rb
|
147
214
|
- spec/open_classes/module_spec.rb
|
148
215
|
- spec/open_classes/object_spec.rb
|
149
216
|
- spec/open_classes/string_spec.rb
|
217
|
+
- spec/open_classes/together_sample_spec.rb
|
150
218
|
- spec/spec_helper.rb
|
151
219
|
- spec/templatable_spec.rb
|
152
220
|
- spec/template_methodable_spec.rb
|