tins 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +4 -1
- data/VERSION +1 -1
- data/lib/tins/find.rb +1 -0
- data/lib/tins/null.rb +16 -2
- data/lib/tins/shuffle.rb +1 -0
- data/lib/tins/to_proc.rb +1 -0
- data/lib/tins/version.rb +1 -1
- data/lib/tins/xt/extract_last_argument_options.rb +2 -0
- data/lib/tins/xt/symbol_to_proc.rb +1 -0
- data/tests/ask_and_send_test.rb +1 -1
- data/tests/blank_full_test.rb +15 -0
- data/tests/find_test.rb +1 -1
- data/tests/memoize_test.rb +2 -0
- data/tests/p_test.rb +14 -0
- data/tests/test_helper.rb +1 -1
- data/tins.gemspec +5 -5
- metadata +85 -83
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -11,7 +11,10 @@ GemHadar do
|
|
11
11
|
description 'All the stuff that isn\'t good/big enough for a real library.'
|
12
12
|
test_dir 'tests'
|
13
13
|
test_files.concat Dir["#{test_dir}/*_test.rb"]
|
14
|
-
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage', '.rbx'
|
14
|
+
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage', '.rbx',
|
15
|
+
'.AppleDouble'
|
16
|
+
|
17
|
+
|
15
18
|
readme 'README.rdoc'
|
16
19
|
|
17
20
|
development_dependency 'test-unit', '~>2.5'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
data/lib/tins/find.rb
CHANGED
data/lib/tins/null.rb
CHANGED
@@ -13,6 +13,10 @@ module Tins
|
|
13
13
|
''
|
14
14
|
end
|
15
15
|
|
16
|
+
def to_str
|
17
|
+
nil
|
18
|
+
end
|
19
|
+
|
16
20
|
def to_f
|
17
21
|
0.0
|
18
22
|
end
|
@@ -21,10 +25,18 @@ module Tins
|
|
21
25
|
0
|
22
26
|
end
|
23
27
|
|
28
|
+
def to_int
|
29
|
+
nil
|
30
|
+
end
|
31
|
+
|
24
32
|
def to_a
|
25
33
|
[]
|
26
34
|
end
|
27
35
|
|
36
|
+
def to_ary
|
37
|
+
nil
|
38
|
+
end
|
39
|
+
|
28
40
|
def inspect
|
29
41
|
'NULL'
|
30
42
|
end
|
@@ -44,9 +56,11 @@ module Tins
|
|
44
56
|
end
|
45
57
|
end
|
46
58
|
|
47
|
-
|
59
|
+
class NullClass < Module
|
48
60
|
include Tins::Null
|
49
|
-
end
|
61
|
+
end
|
62
|
+
|
63
|
+
NULL = NullClass.new.freeze
|
50
64
|
end
|
51
65
|
|
52
66
|
require 'tins/alias'
|
data/lib/tins/shuffle.rb
CHANGED
data/lib/tins/to_proc.rb
CHANGED
data/lib/tins/version.rb
CHANGED
data/tests/ask_and_send_test.rb
CHANGED
data/tests/blank_full_test.rb
CHANGED
@@ -20,6 +20,21 @@ module Tins
|
|
20
20
|
assert !"foo".blank?
|
21
21
|
end
|
22
22
|
|
23
|
+
def test_present
|
24
|
+
assert true.present?
|
25
|
+
assert !false.present?
|
26
|
+
assert !nil.present?
|
27
|
+
assert ![].present?
|
28
|
+
assert [23].present?
|
29
|
+
assert !Set[].present?
|
30
|
+
assert Set[23].present?
|
31
|
+
assert !{}.present?
|
32
|
+
assert({ :foo => 23 }.present?)
|
33
|
+
assert !"".present?
|
34
|
+
assert !" ".present?
|
35
|
+
assert "foo".present?
|
36
|
+
end
|
37
|
+
|
23
38
|
def test_full
|
24
39
|
assert_equal true, true.full?
|
25
40
|
assert_nil false.full?
|
data/tests/find_test.rb
CHANGED
data/tests/memoize_test.rb
CHANGED
@@ -31,6 +31,7 @@ module Tins
|
|
31
31
|
assert_equal 6, fb2.foo(1, 2)
|
32
32
|
assert_equal 5, fb1.foo(1, 2)
|
33
33
|
assert_equal 6, fb2.foo(1, 2)
|
34
|
+
assert_equal false, Module.__memoize_cache__.empty?
|
34
35
|
end
|
35
36
|
|
36
37
|
def test_bar
|
@@ -45,6 +46,7 @@ module Tins
|
|
45
46
|
FooBar.memoize_cache_clear
|
46
47
|
assert_equal 3, fb1.bar(1, 2)
|
47
48
|
assert_equal 3, fb2.bar(1, 2)
|
49
|
+
assert_equal false, FooBar.__memoize_cache__.empty?
|
48
50
|
end
|
49
51
|
end
|
50
52
|
end
|
data/tests/p_test.rb
ADDED
data/tests/test_helper.rb
CHANGED
data/tins.gemspec
CHANGED
@@ -2,21 +2,21 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "tins"
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.2"
|
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 = "2012-
|
9
|
+
s.date = "2012-08-24"
|
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/
|
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/ask_and_send.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/count_by.rb", "lib/tins/date_dummy.rb", "lib/tins/date_time_dummy.rb", "lib/tins/deep_dup.rb", "lib/tins/extract_last_argument_options.rb", "lib/tins/file_binary.rb", "lib/tins/find.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/if_predicate.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/require_maybe.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/ask_and_send.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/date_dummy.rb", "lib/tins/xt/date_time_dummy.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/extract_last_argument_options.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/if_predicate.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/require_maybe.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/ask_and_send_test.rb", "tests/bijection_test.rb", "tests/blank_full_test.rb", "tests/count_by_test.rb", "tests/date_dummy_test.rb", "tests/date_time_dummy_test.rb", "tests/deep_dup_test.rb", "tests/extract_last_argument_options_test.rb", "tests/file_binary_test.rb", "tests/find_test.rb", "tests/generator_test.rb", "tests/go_test.rb", "tests/hash_symbolize_keys_recursive_test.rb", "tests/hash_union_test.rb", "tests/if_predicate_test.rb", "tests/limited_test.rb", "tests/lines_file_test.rb", "tests/memoize_test.rb", "tests/minimize_test.rb", "tests/module_group_test.rb", "tests/named_test.rb", "tests/null_test.rb", "tests/partial_application_test.rb", "tests/range_plus_test.rb", "tests/require_maybe_test.rb", "tests/round_test.rb", "tests/secure_write_test.rb", "tests/shuffle_test.rb", "tests/string_camelize_test.rb", "tests/string_underscore_test.rb", "tests/string_version_test.rb", "tests/subhash_test.rb", "tests/test_helper.rb", "tests/time_dummy_test.rb", "tests/try_test.rb", "tests/uniq_by_test.rb", "tins.gemspec"]
|
12
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/spruz.rb", "lib/tins/alias.rb", "lib/tins/ask_and_send.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/count_by.rb", "lib/tins/date_dummy.rb", "lib/tins/date_time_dummy.rb", "lib/tins/deep_dup.rb", "lib/tins/extract_last_argument_options.rb", "lib/tins/file_binary.rb", "lib/tins/find.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/if_predicate.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/require_maybe.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/ask_and_send.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/date_dummy.rb", "lib/tins/xt/date_time_dummy.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/extract_last_argument_options.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/if_predicate.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/require_maybe.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
|
+
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/ask_and_send.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/count_by.rb", "lib/tins/date_dummy.rb", "lib/tins/date_time_dummy.rb", "lib/tins/deep_dup.rb", "lib/tins/extract_last_argument_options.rb", "lib/tins/file_binary.rb", "lib/tins/find.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/if_predicate.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/require_maybe.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/ask_and_send.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/date_dummy.rb", "lib/tins/xt/date_time_dummy.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/extract_last_argument_options.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/if_predicate.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/require_maybe.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/ask_and_send_test.rb", "tests/bijection_test.rb", "tests/blank_full_test.rb", "tests/count_by_test.rb", "tests/date_dummy_test.rb", "tests/date_time_dummy_test.rb", "tests/deep_dup_test.rb", "tests/extract_last_argument_options_test.rb", "tests/file_binary_test.rb", "tests/find_test.rb", "tests/generator_test.rb", "tests/go_test.rb", "tests/hash_symbolize_keys_recursive_test.rb", "tests/hash_union_test.rb", "tests/if_predicate_test.rb", "tests/limited_test.rb", "tests/lines_file_test.rb", "tests/memoize_test.rb", "tests/minimize_test.rb", "tests/module_group_test.rb", "tests/named_test.rb", "tests/null_test.rb", "tests/p_test.rb", "tests/partial_application_test.rb", "tests/range_plus_test.rb", "tests/require_maybe_test.rb", "tests/round_test.rb", "tests/secure_write_test.rb", "tests/shuffle_test.rb", "tests/string_camelize_test.rb", "tests/string_underscore_test.rb", "tests/string_version_test.rb", "tests/subhash_test.rb", "tests/test_helper.rb", "tests/time_dummy_test.rb", "tests/try_test.rb", "tests/uniq_by_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.24"
|
18
18
|
s.summary = "Useful stuff."
|
19
|
-
s.test_files = ["tests/
|
19
|
+
s.test_files = ["tests/ask_and_send_test.rb", "tests/bijection_test.rb", "tests/blank_full_test.rb", "tests/count_by_test.rb", "tests/date_dummy_test.rb", "tests/date_time_dummy_test.rb", "tests/deep_dup_test.rb", "tests/extract_last_argument_options_test.rb", "tests/file_binary_test.rb", "tests/find_test.rb", "tests/generator_test.rb", "tests/go_test.rb", "tests/hash_symbolize_keys_recursive_test.rb", "tests/hash_union_test.rb", "tests/if_predicate_test.rb", "tests/limited_test.rb", "tests/lines_file_test.rb", "tests/memoize_test.rb", "tests/minimize_test.rb", "tests/module_group_test.rb", "tests/named_test.rb", "tests/null_test.rb", "tests/p_test.rb", "tests/partial_application_test.rb", "tests/range_plus_test.rb", "tests/require_maybe_test.rb", "tests/round_test.rb", "tests/secure_write_test.rb", "tests/shuffle_test.rb", "tests/string_camelize_test.rb", "tests/string_underscore_test.rb", "tests/string_version_test.rb", "tests/subhash_test.rb", "tests/test_helper.rb", "tests/time_dummy_test.rb", "tests/try_test.rb", "tests/uniq_by_test.rb", "tests/ask_and_send_test.rb", "tests/bijection_test.rb", "tests/blank_full_test.rb", "tests/count_by_test.rb", "tests/date_dummy_test.rb", "tests/date_time_dummy_test.rb", "tests/deep_dup_test.rb", "tests/extract_last_argument_options_test.rb", "tests/file_binary_test.rb", "tests/find_test.rb", "tests/generator_test.rb", "tests/go_test.rb", "tests/hash_symbolize_keys_recursive_test.rb", "tests/hash_union_test.rb", "tests/if_predicate_test.rb", "tests/limited_test.rb", "tests/lines_file_test.rb", "tests/memoize_test.rb", "tests/minimize_test.rb", "tests/module_group_test.rb", "tests/named_test.rb", "tests/null_test.rb", "tests/p_test.rb", "tests/partial_application_test.rb", "tests/range_plus_test.rb", "tests/require_maybe_test.rb", "tests/round_test.rb", "tests/secure_write_test.rb", "tests/shuffle_test.rb", "tests/string_camelize_test.rb", "tests/string_underscore_test.rb", "tests/string_version_test.rb", "tests/subhash_test.rb", "tests/time_dummy_test.rb", "tests/try_test.rb", "tests/uniq_by_test.rb"]
|
20
20
|
|
21
21
|
if s.respond_to? :specification_version then
|
22
22
|
s.specification_version = 3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gem_hadar
|
@@ -66,78 +66,78 @@ extensions: []
|
|
66
66
|
extra_rdoc_files:
|
67
67
|
- README.rdoc
|
68
68
|
- lib/spruz.rb
|
69
|
-
- lib/tins/hash_symbolize_keys_recursive.rb
|
70
|
-
- lib/tins/ask_and_send.rb
|
71
|
-
- lib/tins/string_underscore.rb
|
72
|
-
- lib/tins/hash_union.rb
|
73
|
-
- lib/tins/write.rb
|
74
|
-
- lib/tins/version.rb
|
75
|
-
- lib/tins/extract_last_argument_options.rb
|
76
69
|
- lib/tins/alias.rb
|
77
|
-
- lib/tins/
|
70
|
+
- lib/tins/ask_and_send.rb
|
71
|
+
- lib/tins/attempt.rb
|
72
|
+
- lib/tins/bijection.rb
|
73
|
+
- lib/tins/count_by.rb
|
78
74
|
- lib/tins/date_dummy.rb
|
79
|
-
- lib/tins/
|
75
|
+
- lib/tins/date_time_dummy.rb
|
76
|
+
- lib/tins/deep_dup.rb
|
77
|
+
- lib/tins/extract_last_argument_options.rb
|
78
|
+
- lib/tins/file_binary.rb
|
80
79
|
- lib/tins/find.rb
|
81
80
|
- lib/tins/generator.rb
|
82
|
-
- lib/tins/
|
83
|
-
- lib/tins/
|
84
|
-
- lib/tins/
|
85
|
-
- lib/tins/
|
86
|
-
- lib/tins/lines_file.rb
|
87
|
-
- lib/tins/subhash.rb
|
88
|
-
- lib/tins/bijection.rb
|
81
|
+
- lib/tins/go.rb
|
82
|
+
- lib/tins/hash_symbolize_keys_recursive.rb
|
83
|
+
- lib/tins/hash_union.rb
|
84
|
+
- lib/tins/if_predicate.rb
|
89
85
|
- lib/tins/limited.rb
|
90
|
-
- lib/tins/
|
91
|
-
- lib/tins/
|
86
|
+
- lib/tins/lines_file.rb
|
87
|
+
- lib/tins/memoize.rb
|
88
|
+
- lib/tins/minimize.rb
|
92
89
|
- lib/tins/module_group.rb
|
93
90
|
- lib/tins/null.rb
|
91
|
+
- lib/tins/once.rb
|
92
|
+
- lib/tins/p.rb
|
93
|
+
- lib/tins/partial_application.rb
|
94
|
+
- lib/tins/range_plus.rb
|
94
95
|
- lib/tins/require_maybe.rb
|
96
|
+
- lib/tins/round.rb
|
95
97
|
- lib/tins/secure_write.rb
|
96
|
-
- lib/tins/
|
97
|
-
- lib/tins/
|
98
|
+
- lib/tins/shuffle.rb
|
99
|
+
- lib/tins/string_camelize.rb
|
100
|
+
- lib/tins/string_underscore.rb
|
98
101
|
- lib/tins/string_version.rb
|
99
|
-
- lib/tins/
|
100
|
-
- lib/tins/
|
101
|
-
- lib/tins/
|
102
|
+
- lib/tins/subhash.rb
|
103
|
+
- lib/tins/time_dummy.rb
|
104
|
+
- lib/tins/to_proc.rb
|
105
|
+
- lib/tins/uniq_by.rb
|
106
|
+
- lib/tins/version.rb
|
107
|
+
- lib/tins/write.rb
|
102
108
|
- lib/tins/xt/ask_and_send.rb
|
103
|
-
- lib/tins/xt/
|
104
|
-
- lib/tins/xt/
|
105
|
-
- lib/tins/xt/
|
106
|
-
- lib/tins/xt/extract_last_argument_options.rb
|
107
|
-
- lib/tins/xt/irb.rb
|
108
|
-
- lib/tins/xt/round.rb
|
109
|
+
- lib/tins/xt/attempt.rb
|
110
|
+
- lib/tins/xt/blank.rb
|
111
|
+
- lib/tins/xt/count_by.rb
|
109
112
|
- lib/tins/xt/date_dummy.rb
|
110
|
-
- lib/tins/xt/
|
111
|
-
- lib/tins/xt/shuffle.rb
|
113
|
+
- lib/tins/xt/date_time_dummy.rb
|
112
114
|
- lib/tins/xt/deep_dup.rb
|
113
|
-
- lib/tins/xt/
|
114
|
-
- lib/tins/xt/
|
115
|
-
- lib/tins/xt/
|
115
|
+
- lib/tins/xt/extract_last_argument_options.rb
|
116
|
+
- lib/tins/xt/file_binary.rb
|
117
|
+
- lib/tins/xt/full.rb
|
118
|
+
- lib/tins/xt/hash_symbolize_keys_recursive.rb
|
119
|
+
- lib/tins/xt/hash_union.rb
|
120
|
+
- lib/tins/xt/if_predicate.rb
|
121
|
+
- lib/tins/xt/irb.rb
|
122
|
+
- lib/tins/xt/named.rb
|
116
123
|
- lib/tins/xt/null.rb
|
124
|
+
- lib/tins/xt/p.rb
|
125
|
+
- lib/tins/xt/partial_application.rb
|
126
|
+
- lib/tins/xt/range_plus.rb
|
117
127
|
- lib/tins/xt/require_maybe.rb
|
128
|
+
- lib/tins/xt/round.rb
|
118
129
|
- lib/tins/xt/secure_write.rb
|
119
|
-
- lib/tins/xt/
|
130
|
+
- lib/tins/xt/shuffle.rb
|
131
|
+
- lib/tins/xt/string.rb
|
132
|
+
- lib/tins/xt/string_camelize.rb
|
133
|
+
- lib/tins/xt/string_underscore.rb
|
120
134
|
- lib/tins/xt/string_version.rb
|
121
|
-
- lib/tins/xt/
|
122
|
-
- lib/tins/xt/
|
135
|
+
- lib/tins/xt/subhash.rb
|
136
|
+
- lib/tins/xt/symbol_to_proc.rb
|
123
137
|
- lib/tins/xt/time_dummy.rb
|
124
|
-
- lib/tins/xt/string.rb
|
125
|
-
- lib/tins/xt/full.rb
|
126
|
-
- lib/tins/xt/range_plus.rb
|
127
|
-
- lib/tins/xt/count_by.rb
|
128
|
-
- lib/tins/xt/blank.rb
|
129
138
|
- lib/tins/xt/uniq_by.rb
|
130
|
-
- lib/tins/xt/
|
131
|
-
- lib/tins/xt
|
132
|
-
- lib/tins/p.rb
|
133
|
-
- lib/tins/minimize.rb
|
134
|
-
- lib/tins/partial_application.rb
|
135
|
-
- lib/tins/time_dummy.rb
|
136
|
-
- lib/tins/range_plus.rb
|
137
|
-
- lib/tins/count_by.rb
|
138
|
-
- lib/tins/uniq_by.rb
|
139
|
-
- lib/tins/if_predicate.rb
|
140
|
-
- lib/tins/date_time_dummy.rb
|
139
|
+
- lib/tins/xt/write.rb
|
140
|
+
- lib/tins/xt.rb
|
141
141
|
- lib/tins.rb
|
142
142
|
files:
|
143
143
|
- .gitignore
|
@@ -244,6 +244,7 @@ files:
|
|
244
244
|
- tests/module_group_test.rb
|
245
245
|
- tests/named_test.rb
|
246
246
|
- tests/null_test.rb
|
247
|
+
- tests/p_test.rb
|
247
248
|
- tests/partial_application_test.rb
|
248
249
|
- tests/range_plus_test.rb
|
249
250
|
- tests/require_maybe_test.rb
|
@@ -277,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
277
278
|
version: '0'
|
278
279
|
segments:
|
279
280
|
- 0
|
280
|
-
hash:
|
281
|
+
hash: 3892141235991281640
|
281
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
283
|
none: false
|
283
284
|
requirements:
|
@@ -291,39 +292,40 @@ signing_key:
|
|
291
292
|
specification_version: 3
|
292
293
|
summary: Useful stuff.
|
293
294
|
test_files:
|
294
|
-
- tests/
|
295
|
-
- tests/null_test.rb
|
296
|
-
- tests/find_test.rb
|
297
|
-
- tests/date_time_dummy_test.rb
|
298
|
-
- tests/range_plus_test.rb
|
299
|
-
- tests/deep_dup_test.rb
|
295
|
+
- tests/ask_and_send_test.rb
|
300
296
|
- tests/bijection_test.rb
|
301
|
-
- tests/memoize_test.rb
|
302
|
-
- tests/limited_test.rb
|
303
|
-
- tests/count_by_test.rb
|
304
297
|
- tests/blank_full_test.rb
|
298
|
+
- tests/count_by_test.rb
|
299
|
+
- tests/date_dummy_test.rb
|
300
|
+
- tests/date_time_dummy_test.rb
|
301
|
+
- tests/deep_dup_test.rb
|
302
|
+
- tests/extract_last_argument_options_test.rb
|
305
303
|
- tests/file_binary_test.rb
|
304
|
+
- tests/find_test.rb
|
305
|
+
- tests/generator_test.rb
|
306
|
+
- tests/go_test.rb
|
307
|
+
- tests/hash_symbolize_keys_recursive_test.rb
|
308
|
+
- tests/hash_union_test.rb
|
306
309
|
- tests/if_predicate_test.rb
|
307
|
-
- tests/
|
308
|
-
- tests/string_version_test.rb
|
309
|
-
- tests/try_test.rb
|
310
|
-
- tests/extract_last_argument_options_test.rb
|
311
|
-
- tests/require_maybe_test.rb
|
312
|
-
- tests/uniq_by_test.rb
|
313
|
-
- tests/time_dummy_test.rb
|
314
|
-
- tests/string_camelize_test.rb
|
310
|
+
- tests/limited_test.rb
|
315
311
|
- tests/lines_file_test.rb
|
316
|
-
- tests/
|
317
|
-
- tests/
|
318
|
-
- tests/
|
312
|
+
- tests/memoize_test.rb
|
313
|
+
- tests/minimize_test.rb
|
314
|
+
- tests/module_group_test.rb
|
319
315
|
- tests/named_test.rb
|
320
|
-
- tests/
|
321
|
-
- tests/
|
322
|
-
- tests/subhash_test.rb
|
316
|
+
- tests/null_test.rb
|
317
|
+
- tests/p_test.rb
|
323
318
|
- tests/partial_application_test.rb
|
324
|
-
- tests/
|
319
|
+
- tests/range_plus_test.rb
|
320
|
+
- tests/require_maybe_test.rb
|
325
321
|
- tests/round_test.rb
|
326
|
-
- tests/
|
322
|
+
- tests/secure_write_test.rb
|
327
323
|
- tests/shuffle_test.rb
|
328
|
-
- tests/
|
329
|
-
- tests/
|
324
|
+
- tests/string_camelize_test.rb
|
325
|
+
- tests/string_underscore_test.rb
|
326
|
+
- tests/string_version_test.rb
|
327
|
+
- tests/subhash_test.rb
|
328
|
+
- tests/test_helper.rb
|
329
|
+
- tests/time_dummy_test.rb
|
330
|
+
- tests/try_test.rb
|
331
|
+
- tests/uniq_by_test.rb
|