transproc 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/CHANGELOG.md +23 -1
- data/Gemfile +3 -0
- data/README.md +30 -12
- data/lib/transproc.rb +61 -6
- data/lib/transproc/all.rb +1 -0
- data/lib/transproc/array.rb +94 -19
- data/lib/transproc/coercions.rb +140 -28
- data/lib/transproc/composer.rb +43 -0
- data/lib/transproc/conditional.rb +56 -0
- data/lib/transproc/function.rb +95 -4
- data/lib/transproc/hash.rb +218 -41
- data/lib/transproc/recursion.rb +61 -20
- data/lib/transproc/version.rb +1 -1
- data/spec/integration/array_spec.rb +2 -2
- data/spec/integration/coercions_spec.rb +8 -2
- data/spec/integration/composer_spec.rb +1 -1
- data/spec/integration/conditional_spec.rb +23 -0
- data/spec/integration/function_spec.rb +56 -0
- data/spec/integration/hash_spec.rb +124 -52
- data/transproc.gemspec +2 -2
- metadata +10 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transproc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.1'
|
55
|
-
description:
|
55
|
+
description: Transform Ruby objects in functional style
|
56
56
|
email:
|
57
57
|
- piotr.solnica@gmail.com
|
58
58
|
executables: []
|
@@ -73,6 +73,7 @@ files:
|
|
73
73
|
- lib/transproc/array.rb
|
74
74
|
- lib/transproc/coercions.rb
|
75
75
|
- lib/transproc/composer.rb
|
76
|
+
- lib/transproc/conditional.rb
|
76
77
|
- lib/transproc/function.rb
|
77
78
|
- lib/transproc/hash.rb
|
78
79
|
- lib/transproc/recursion.rb
|
@@ -80,12 +81,14 @@ files:
|
|
80
81
|
- spec/integration/array_spec.rb
|
81
82
|
- spec/integration/coercions_spec.rb
|
82
83
|
- spec/integration/composer_spec.rb
|
84
|
+
- spec/integration/conditional_spec.rb
|
85
|
+
- spec/integration/function_spec.rb
|
83
86
|
- spec/integration/hash_spec.rb
|
84
87
|
- spec/integration/recursion_spec.rb
|
85
88
|
- spec/integration/transproc_spec.rb
|
86
89
|
- spec/spec_helper.rb
|
87
90
|
- transproc.gemspec
|
88
|
-
homepage:
|
91
|
+
homepage: http://solnic.github.io/transproc/
|
89
92
|
licenses:
|
90
93
|
- MIT
|
91
94
|
metadata: {}
|
@@ -108,11 +111,13 @@ rubyforge_project:
|
|
108
111
|
rubygems_version: 2.4.5
|
109
112
|
signing_key:
|
110
113
|
specification_version: 4
|
111
|
-
summary:
|
114
|
+
summary: Transform Ruby objects in functional style
|
112
115
|
test_files:
|
113
116
|
- spec/integration/array_spec.rb
|
114
117
|
- spec/integration/coercions_spec.rb
|
115
118
|
- spec/integration/composer_spec.rb
|
119
|
+
- spec/integration/conditional_spec.rb
|
120
|
+
- spec/integration/function_spec.rb
|
116
121
|
- spec/integration/hash_spec.rb
|
117
122
|
- spec/integration/recursion_spec.rb
|
118
123
|
- spec/integration/transproc_spec.rb
|