rize 1.0.3 → 1.0.4
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/README.md +5 -1
- data/lib/rize/version.rb +1 -1
- data/rize.gemspec +3 -7
- metadata +6 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23efaa229ffe775387ff52ca874f9e7d93eb6172
|
|
4
|
+
data.tar.gz: c0edbda199698478fc50c56f013c563094322a78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e32ce949d81589718fce74c76bca9e4d9b3d8b559d1efc2bb84a3dfeb268676482553f40ed464e4573f93855fb87c00a965a01adf4841a87f865be05692af20
|
|
7
|
+
data.tar.gz: b49acc5b8291ba7cba55510ca2464ae887bfb54ee62c6c1593a2110aa6ce144d1778d0d29ce35d4501837d1771edc3731567925fa6b3a7650136f01de5c835b9
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Rize
|
|
4
4
|
|
|
5
|
-
### A functional toolkit for Ruby
|
|
5
|
+
### A functional toolkit for Ruby
|
|
6
6
|
|
|
7
7
|
(Inspired by Javascript's [Underscore](http://underscorejs.org/), Python's [toolz](https://github.com/pytoolz/toolz) and Ocaml's [List module](http://caml.inria.fr/pub/docs/manual-ocaml/libref/List.html)).
|
|
8
8
|
|
|
@@ -17,6 +17,8 @@ Nothing is monkeypatched, so you don't have to worry about the core classes beha
|
|
|
17
17
|
|
|
18
18
|
See the [Usage](https://github.com/abhijeetkalyan/rize#usage) section for more on what rize can do.
|
|
19
19
|
|
|
20
|
+
For the full API, check out the [docs](http://www.rubydoc.info/gems/rize/1.0.3/Rize).
|
|
21
|
+
|
|
20
22
|
## Installation
|
|
21
23
|
|
|
22
24
|
Add this line to your application's Gemfile:
|
|
@@ -35,6 +37,8 @@ Or install it yourself as:
|
|
|
35
37
|
|
|
36
38
|
## Usage
|
|
37
39
|
|
|
40
|
+
*The full documentation is available [here](http://www.rubydoc.info/gems/rize/1.0.3/Rize).*
|
|
41
|
+
|
|
38
42
|
Rize has two primary uses: working with [functions](https://github.com/abhijeetkalyan/rize/blob/master/lib/rize/functional.rb) and working with [iterables](https://github.com/abhijeetkalyan/rize/blob/master/lib/rize/iteration.rb). More on each follows:
|
|
39
43
|
|
|
40
44
|
### Functions
|
data/lib/rize/version.rb
CHANGED
data/rize.gemspec
CHANGED
|
@@ -11,13 +11,9 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{A functional toolkit for Ruby.}
|
|
13
13
|
spec.description = <<-EOF
|
|
14
|
-
Rize is a collection of useful methods that can make it easier to work with functions, arrays and hashes in Ruby.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
- Control the behaviour of your functions based on how many times they're called - for example, you could create a function that stops executing on the third try.
|
|
18
|
-
- Map or iterate over multiple arrays at once
|
|
19
|
-
- Elegantly map over just the keys, or just the values of a hash.
|
|
20
|
-
|
|
14
|
+
Rize is a collection of useful methods that can make it easier to work with functions, arrays and hashes in Ruby.
|
|
15
|
+
It allows you to compose and memoize functions, elegantly iterate over multiple arrays at once, easily map over hash keys and values,
|
|
16
|
+
and much more.
|
|
21
17
|
Nothing is monkeypatched, so you don't have to worry about the core classes behaving differently than you expect.
|
|
22
18
|
EOF
|
|
23
19
|
spec.homepage = "https://github.com/abhijeetkalyan/rize"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- abhijeetkalyan
|
|
@@ -80,15 +80,11 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: 0.10.3
|
|
83
|
-
description:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- Map or iterate over multiple arrays at once
|
|
89
|
-
- Elegantly map over just the keys, or just the values of a hash.
|
|
90
|
-
|
|
91
|
-
Nothing is monkeypatched, so you don't have to worry about the core classes behaving differently than you expect.
|
|
83
|
+
description: "Rize is a collection of useful methods that can make it easier to work
|
|
84
|
+
with functions, arrays and hashes in Ruby. \nIt allows you to compose and memoize
|
|
85
|
+
functions, elegantly iterate over multiple arrays at once, easily map over hash
|
|
86
|
+
keys and values,\nand much more.\nNothing is monkeypatched, so you don't have to
|
|
87
|
+
worry about the core classes behaving differently than you expect.\n"
|
|
92
88
|
email:
|
|
93
89
|
- abhijeetkalyan@gmail.com
|
|
94
90
|
executables: []
|