chainable_methods 0.1.1 → 0.1.2
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 +19 -0
- data/lib/chainable_methods.rb +3 -1
- data/lib/chainable_methods/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3ba65326dbdf9e52dc0cc60ac86f30a8463e11e
|
4
|
+
data.tar.gz: 676a58f53f7c3304d9ec84e449259d3251c3cacb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39617913f8991b301f54cc1fb79ebd1dcab4ffab9898bfc80fe920d0a5776e9124ba0c42efd5c95a760b3c8202f99ac0d89a296ca300afd5e94e5cfaef324cd9
|
7
|
+
data.tar.gz: 3114b059d897afb0b82f4aa9f2b60fdc5f0de3685bff2b7d1a141c9e6029ce2afa058dcc8044f375ba548dfb477755d5af4cbb0d47506d7cbac4883a251a116a
|
data/README.md
CHANGED
@@ -106,6 +106,25 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
106
106
|
|
107
107
|
Bug reports and pull requests are welcome on GitHub at https://github.com/akitaonrails/chainable_methods. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
108
108
|
|
109
|
+
## CHANGELOG
|
110
|
+
|
111
|
+
v0.1.0
|
112
|
+
- initial version
|
113
|
+
|
114
|
+
v0.1.1
|
115
|
+
- introduces the ability to wrap any plain ruby object, without the need for a special module to extend the ChainableMethods module first.
|
116
|
+
- fixes the priority of methods to call if both state and context has the same method, context always has precedence
|
117
|
+
|
118
|
+
v0.1.2
|
119
|
+
- introduces a shortcut global method 'CM' to be used like this:
|
120
|
+
|
121
|
+
```
|
122
|
+
CM(['a', 'b', 'c'], 2)
|
123
|
+
.[]
|
124
|
+
.upcase
|
125
|
+
.unwrap
|
126
|
+
# => "C"
|
127
|
+
```
|
109
128
|
|
110
129
|
## License
|
111
130
|
|
data/lib/chainable_methods.rb
CHANGED