elixirize 0.3.0 → 0.4.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/README.md +4 -4
- data/lib/elixirize.rb +1 -1
- data/lib/elixirize/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1f09a032413b4d706349c33aef1f1ef2007cb9
|
4
|
+
data.tar.gz: 2c2768dc37e90aece92a12a051976aa25f4c27e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854ea2e013a208f22688f45f4866d965a9d02e21abe48a5acc0b507630607d19c117fd9d8928b0e9a67e5e3a225ddc9b0c0d8f1ea814172647d87acd2e8e6778
|
7
|
+
data.tar.gz: 80957f091c58138dd07bc3bec46593424250e2eaf0b73e7f2c108fe3b983191cfbb826d667f91824e9126fab3b0a0b179a7aeb52560851ba95206d8fa10389aa
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
# Elixirize
|
9
9
|
|
10
10
|
This adds the `ᐅ` method to Ruby. It pipes in the returned value of the left as the first parameter of the
|
11
|
-
Proc on the right.
|
11
|
+
Proc _(or anything with `:call` defined)_ on the right.
|
12
12
|
|
13
13
|
### Unicode ᐅ
|
14
14
|
|
@@ -55,7 +55,7 @@ add(40, 60).ᐅ method(:divide), 20
|
|
55
55
|
# => 5
|
56
56
|
```
|
57
57
|
|
58
|
-
|
58
|
+
## Extra
|
59
59
|
|
60
60
|
Since Ruby is designed largely to call methods on the object that was returned
|
61
61
|
I've written the `~` method on `Symbol` to allow method calls on the returned
|
@@ -77,9 +77,9 @@ val
|
|
77
77
|
You can mix both behaviors without any issue.
|
78
78
|
|
79
79
|
This may seem counter intuitive as it's the same thing as just calling the method
|
80
|
-
on the object, but consider this a
|
80
|
+
on the object, but consider this a noticeable refactoring step. If you're designing
|
81
81
|
a project in a manner where you want results piped in as the first parameter then
|
82
|
-
the tilde-
|
82
|
+
the tilde-symbol will be your TODO reminder to convert/refactor how your code base is
|
83
83
|
implemented.
|
84
84
|
|
85
85
|
## Development
|
data/lib/elixirize.rb
CHANGED
data/lib/elixirize/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixirize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel P. Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.6.
|
95
|
+
rubygems_version: 2.6.11
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Add ᐅ method for Elixir feel.
|