of 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 +12 -1
- data/lib/of/{refinement.rb → refinements.rb} +0 -0
- data/lib/of/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 381a7effdf13897b98c25593d29d5db0bb29e1a3
|
4
|
+
data.tar.gz: b72ce0989c9362657cca20fae6cac0b67c6b5b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1c93fc721b70ab283241a71ea6778a3f5024c05cf5152671a32bb7a933cc150fb604878677d7e047508e0e81260ca89f8a7d90e04d3866182dc5c97eb028d0
|
7
|
+
data.tar.gz: f47ff8505b82ef3c9ccdc00275d602022eea9eaf749ebc6ebb215c2bcc7878667712aadd8b064f94d91a9bb9199965a2cbdfa0c298babdee323f55fbc261fd35
|
data/README.md
CHANGED
@@ -37,9 +37,20 @@ end
|
|
37
37
|
```
|
38
38
|
|
39
39
|
## Usage with Refinements
|
40
|
+
|
41
|
+
use the following in the gemfile:
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
# Gemfile
|
45
|
+
# ...
|
46
|
+
gem 'of', require: 'of/refinements'
|
47
|
+
```
|
48
|
+
|
49
|
+
and then use the refinement:
|
50
|
+
|
40
51
|
```ruby
|
41
52
|
class MyClass
|
42
|
-
|
53
|
+
using Of
|
43
54
|
|
44
55
|
def 7_of_9
|
45
56
|
7.of { 9 } # => [9, 9, 9, 9, 9, 9, 9, 9]
|
File without changes
|
data/lib/of/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: of
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Waldrip
|
@@ -58,7 +58,7 @@ files:
|
|
58
58
|
- bin/setup
|
59
59
|
- lib/of.rb
|
60
60
|
- lib/of/method.rb
|
61
|
-
- lib/of/
|
61
|
+
- lib/of/refinements.rb
|
62
62
|
- lib/of/version.rb
|
63
63
|
- of.gemspec
|
64
64
|
homepage: https://github.com/jwaldrip/of.git
|