tins 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/spruz.rb +1 -0
- data/lib/tins/version.rb +1 -3
- data/tins.gemspec +7 -7
- metadata +106 -81
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/spruz.rb
CHANGED
data/lib/tins/version.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
module Tins
|
2
2
|
# Tins version
|
3
|
-
VERSION = '0.3.
|
3
|
+
VERSION = '0.3.1'
|
4
4
|
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
|
5
5
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
6
6
|
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
7
7
|
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
8
8
|
end
|
9
|
-
|
10
|
-
require 'tins/alias'
|
data/tins.gemspec
CHANGED
@@ -2,34 +2,34 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "tins"
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "2011-09-
|
9
|
+
s.date = "2011-09-27"
|
10
10
|
s.description = "All the stuff that isn't good/big enough for a real library."
|
11
11
|
s.email = "flori@ping.de"
|
12
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/spruz.rb", "lib/tins/
|
12
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/spruz.rb", "lib/tins/alias.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/count_by.rb", "lib/tins/deep_dup.rb", "lib/tins/file_binary.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/limited.rb", "lib/tins/lines_file.rb", "lib/tins/memoize.rb", "lib/tins/minimize.rb", "lib/tins/module_group.rb", "lib/tins/null.rb", "lib/tins/once.rb", "lib/tins/p.rb", "lib/tins/partial_application.rb", "lib/tins/range_plus.rb", "lib/tins/round.rb", "lib/tins/secure_write.rb", "lib/tins/shuffle.rb", "lib/tins/string_camelize.rb", "lib/tins/string_underscore.rb", "lib/tins/string_version.rb", "lib/tins/subhash.rb", "lib/tins/time_dummy.rb", "lib/tins/to_proc.rb", "lib/tins/uniq_by.rb", "lib/tins/version.rb", "lib/tins/write.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/file_binary.rb", "lib/tins/xt/full.rb", "lib/tins/xt/hash_symbolize_keys_recursive.rb", "lib/tins/xt/hash_union.rb", "lib/tins/xt/irb.rb", "lib/tins/xt/named.rb", "lib/tins/xt/null.rb", "lib/tins/xt/p.rb", "lib/tins/xt/partial_application.rb", "lib/tins/xt/range_plus.rb", "lib/tins/xt/round.rb", "lib/tins/xt/secure_write.rb", "lib/tins/xt/shuffle.rb", "lib/tins/xt/string.rb", "lib/tins/xt/string_camelize.rb", "lib/tins/xt/string_underscore.rb", "lib/tins/xt/string_version.rb", "lib/tins/xt/subhash.rb", "lib/tins/xt/symbol_to_proc.rb", "lib/tins/xt/time_dummy.rb", "lib/tins/xt/uniq_by.rb", "lib/tins/xt/write.rb", "lib/tins/xt.rb", "lib/tins.rb"]
|
13
13
|
s.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "TODO", "VERSION", "lib/spruz", "lib/spruz.rb", "lib/tins.rb", "lib/tins/alias.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/count_by.rb", "lib/tins/deep_dup.rb", "lib/tins/file_binary.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/limited.rb", "lib/tins/lines_file.rb", "lib/tins/memoize.rb", "lib/tins/minimize.rb", "lib/tins/module_group.rb", "lib/tins/null.rb", "lib/tins/once.rb", "lib/tins/p.rb", "lib/tins/partial_application.rb", "lib/tins/range_plus.rb", "lib/tins/round.rb", "lib/tins/secure_write.rb", "lib/tins/shuffle.rb", "lib/tins/string_camelize.rb", "lib/tins/string_underscore.rb", "lib/tins/string_version.rb", "lib/tins/subhash.rb", "lib/tins/time_dummy.rb", "lib/tins/to_proc.rb", "lib/tins/uniq_by.rb", "lib/tins/version.rb", "lib/tins/write.rb", "lib/tins/xt.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/file_binary.rb", "lib/tins/xt/full.rb", "lib/tins/xt/hash_symbolize_keys_recursive.rb", "lib/tins/xt/hash_union.rb", "lib/tins/xt/irb.rb", "lib/tins/xt/named.rb", "lib/tins/xt/null.rb", "lib/tins/xt/p.rb", "lib/tins/xt/partial_application.rb", "lib/tins/xt/range_plus.rb", "lib/tins/xt/round.rb", "lib/tins/xt/secure_write.rb", "lib/tins/xt/shuffle.rb", "lib/tins/xt/string.rb", "lib/tins/xt/string_camelize.rb", "lib/tins/xt/string_underscore.rb", "lib/tins/xt/string_version.rb", "lib/tins/xt/subhash.rb", "lib/tins/xt/symbol_to_proc.rb", "lib/tins/xt/time_dummy.rb", "lib/tins/xt/uniq_by.rb", "lib/tins/xt/write.rb", "tests/tins_file_binary_test.rb", "tests/tins_lines_file_test.rb", "tests/tins_memoize_test.rb", "tests/tins_secure_write_test.rb", "tests/tins_test.rb", "tins.gemspec"]
|
14
14
|
s.homepage = "http://flori.github.com/tins"
|
15
15
|
s.rdoc_options = ["--title", "Tins - Useful stuff.", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubygems_version = "1.8.10"
|
18
18
|
s.summary = "Useful stuff."
|
19
|
-
s.test_files = ["tests/tins_file_binary_test.rb", "tests/
|
19
|
+
s.test_files = ["tests/tins_file_binary_test.rb", "tests/tins_lines_file_test.rb", "tests/tins_memoize_test.rb", "tests/tins_secure_write_test.rb", "tests/tins_test.rb"]
|
20
20
|
|
21
21
|
if s.respond_to? :specification_version then
|
22
22
|
s.specification_version = 3
|
23
23
|
|
24
24
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 0.0
|
25
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.0"])
|
26
26
|
s.add_development_dependency(%q<test-unit>, ["~> 2.3"])
|
27
27
|
else
|
28
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.0
|
28
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.1.0"])
|
29
29
|
s.add_dependency(%q<test-unit>, ["~> 2.3"])
|
30
30
|
end
|
31
31
|
else
|
32
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.0
|
32
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.1.0"])
|
33
33
|
s.add_dependency(%q<test-unit>, ["~> 2.3"])
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,106 +1,123 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: tins
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Florian Frank
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-09-27 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: gem_hadar
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
25
|
+
requirements:
|
19
26
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 27
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
version: 0.1.0
|
22
34
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: test-unit
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
41
|
+
requirements:
|
30
42
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 5
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 3
|
48
|
+
version: "2.3"
|
33
49
|
type: :development
|
34
|
-
|
35
|
-
version_requirements: *2151742560
|
50
|
+
version_requirements: *id002
|
36
51
|
description: All the stuff that isn't good/big enough for a real library.
|
37
52
|
email: flori@ping.de
|
38
53
|
executables: []
|
54
|
+
|
39
55
|
extensions: []
|
40
|
-
|
56
|
+
|
57
|
+
extra_rdoc_files:
|
41
58
|
- README.rdoc
|
42
59
|
- lib/spruz.rb
|
43
|
-
- lib/tins/hash_symbolize_keys_recursive.rb
|
44
|
-
- lib/tins/string_underscore.rb
|
45
|
-
- lib/tins/hash_union.rb
|
46
|
-
- lib/tins/write.rb
|
47
|
-
- lib/tins/version.rb
|
48
60
|
- lib/tins/alias.rb
|
49
|
-
- lib/tins/
|
50
|
-
- lib/tins/go.rb
|
51
|
-
- lib/tins/generator.rb
|
52
|
-
- lib/tins/string_camelize.rb
|
53
|
-
- lib/tins/shuffle.rb
|
54
|
-
- lib/tins/deep_dup.rb
|
55
|
-
- lib/tins/memoize.rb
|
56
|
-
- lib/tins/lines_file.rb
|
57
|
-
- lib/tins/subhash.rb
|
61
|
+
- lib/tins/attempt.rb
|
58
62
|
- lib/tins/bijection.rb
|
63
|
+
- lib/tins/count_by.rb
|
64
|
+
- lib/tins/deep_dup.rb
|
65
|
+
- lib/tins/file_binary.rb
|
66
|
+
- lib/tins/generator.rb
|
67
|
+
- lib/tins/go.rb
|
68
|
+
- lib/tins/hash_symbolize_keys_recursive.rb
|
69
|
+
- lib/tins/hash_union.rb
|
59
70
|
- lib/tins/limited.rb
|
60
|
-
- lib/tins/
|
61
|
-
- lib/tins/
|
71
|
+
- lib/tins/lines_file.rb
|
72
|
+
- lib/tins/memoize.rb
|
73
|
+
- lib/tins/minimize.rb
|
62
74
|
- lib/tins/module_group.rb
|
63
75
|
- lib/tins/null.rb
|
76
|
+
- lib/tins/once.rb
|
77
|
+
- lib/tins/p.rb
|
78
|
+
- lib/tins/partial_application.rb
|
79
|
+
- lib/tins/range_plus.rb
|
80
|
+
- lib/tins/round.rb
|
64
81
|
- lib/tins/secure_write.rb
|
65
|
-
- lib/tins/
|
66
|
-
- lib/tins/
|
82
|
+
- lib/tins/shuffle.rb
|
83
|
+
- lib/tins/string_camelize.rb
|
84
|
+
- lib/tins/string_underscore.rb
|
67
85
|
- lib/tins/string_version.rb
|
68
|
-
- lib/tins/
|
69
|
-
- lib/tins/
|
86
|
+
- lib/tins/subhash.rb
|
87
|
+
- lib/tins/time_dummy.rb
|
88
|
+
- lib/tins/to_proc.rb
|
89
|
+
- lib/tins/uniq_by.rb
|
90
|
+
- lib/tins/version.rb
|
91
|
+
- lib/tins/write.rb
|
92
|
+
- lib/tins/xt/attempt.rb
|
93
|
+
- lib/tins/xt/blank.rb
|
94
|
+
- lib/tins/xt/count_by.rb
|
95
|
+
- lib/tins/xt/deep_dup.rb
|
96
|
+
- lib/tins/xt/file_binary.rb
|
97
|
+
- lib/tins/xt/full.rb
|
70
98
|
- lib/tins/xt/hash_symbolize_keys_recursive.rb
|
71
|
-
- lib/tins/xt/string_underscore.rb
|
72
99
|
- lib/tins/xt/hash_union.rb
|
73
|
-
- lib/tins/xt/write.rb
|
74
100
|
- lib/tins/xt/irb.rb
|
75
|
-
- lib/tins/xt/
|
76
|
-
- lib/tins/xt/string_camelize.rb
|
77
|
-
- lib/tins/xt/shuffle.rb
|
78
|
-
- lib/tins/xt/deep_dup.rb
|
79
|
-
- lib/tins/xt/symbol_to_proc.rb
|
80
|
-
- lib/tins/xt/subhash.rb
|
81
|
-
- lib/tins/xt/attempt.rb
|
101
|
+
- lib/tins/xt/named.rb
|
82
102
|
- lib/tins/xt/null.rb
|
83
|
-
- lib/tins/xt/secure_write.rb
|
84
|
-
- lib/tins/xt/file_binary.rb
|
85
|
-
- lib/tins/xt/string_version.rb
|
86
103
|
- lib/tins/xt/p.rb
|
87
104
|
- lib/tins/xt/partial_application.rb
|
88
|
-
- lib/tins/xt/time_dummy.rb
|
89
|
-
- lib/tins/xt/string.rb
|
90
|
-
- lib/tins/xt/full.rb
|
91
105
|
- lib/tins/xt/range_plus.rb
|
92
|
-
- lib/tins/xt/
|
93
|
-
- lib/tins/xt/
|
106
|
+
- lib/tins/xt/round.rb
|
107
|
+
- lib/tins/xt/secure_write.rb
|
108
|
+
- lib/tins/xt/shuffle.rb
|
109
|
+
- lib/tins/xt/string.rb
|
110
|
+
- lib/tins/xt/string_camelize.rb
|
111
|
+
- lib/tins/xt/string_underscore.rb
|
112
|
+
- lib/tins/xt/string_version.rb
|
113
|
+
- lib/tins/xt/subhash.rb
|
114
|
+
- lib/tins/xt/symbol_to_proc.rb
|
115
|
+
- lib/tins/xt/time_dummy.rb
|
94
116
|
- lib/tins/xt/uniq_by.rb
|
95
|
-
- lib/tins/
|
96
|
-
- lib/tins/
|
97
|
-
- lib/tins/partial_application.rb
|
98
|
-
- lib/tins/time_dummy.rb
|
99
|
-
- lib/tins/range_plus.rb
|
100
|
-
- lib/tins/count_by.rb
|
101
|
-
- lib/tins/uniq_by.rb
|
117
|
+
- lib/tins/xt/write.rb
|
118
|
+
- lib/tins/xt.rb
|
102
119
|
- lib/tins.rb
|
103
|
-
files:
|
120
|
+
files:
|
104
121
|
- .gitignore
|
105
122
|
- .travis.yml
|
106
123
|
- Gemfile
|
@@ -178,35 +195,43 @@ files:
|
|
178
195
|
- tins.gemspec
|
179
196
|
homepage: http://flori.github.com/tins
|
180
197
|
licenses: []
|
198
|
+
|
181
199
|
post_install_message:
|
182
|
-
rdoc_options:
|
200
|
+
rdoc_options:
|
183
201
|
- --title
|
184
202
|
- Tins - Useful stuff.
|
185
203
|
- --main
|
186
204
|
- README.rdoc
|
187
|
-
require_paths:
|
205
|
+
require_paths:
|
188
206
|
- lib
|
189
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
208
|
none: false
|
191
|
-
requirements:
|
192
|
-
- -
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
|
195
|
-
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
hash: 3
|
213
|
+
segments:
|
214
|
+
- 0
|
215
|
+
version: "0"
|
216
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
217
|
none: false
|
197
|
-
requirements:
|
198
|
-
- -
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
hash: 3
|
222
|
+
segments:
|
223
|
+
- 0
|
224
|
+
version: "0"
|
201
225
|
requirements: []
|
226
|
+
|
202
227
|
rubyforge_project:
|
203
228
|
rubygems_version: 1.8.10
|
204
229
|
signing_key:
|
205
230
|
specification_version: 3
|
206
231
|
summary: Useful stuff.
|
207
|
-
test_files:
|
232
|
+
test_files:
|
208
233
|
- tests/tins_file_binary_test.rb
|
209
|
-
- tests/tins_test.rb
|
210
|
-
- tests/tins_memoize_test.rb
|
211
234
|
- tests/tins_lines_file_test.rb
|
235
|
+
- tests/tins_memoize_test.rb
|
212
236
|
- tests/tins_secure_write_test.rb
|
237
|
+
- tests/tins_test.rb
|