of 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 499b04d6aab178e1c40380ce36e94152c0c6a074
4
- data.tar.gz: 3e041852cff83be3fac8bb115ca9bcbac39622c6
3
+ metadata.gz: 381a7effdf13897b98c25593d29d5db0bb29e1a3
4
+ data.tar.gz: b72ce0989c9362657cca20fae6cac0b67c6b5b47
5
5
  SHA512:
6
- metadata.gz: 8f902ff86405777e99a35654be69599c6c834fe5850d487c7a377cef04009786e1ba412ec7fdb4a0d0f616c1a7d43837f99a181c307ace0a473fe8c1407589fe
7
- data.tar.gz: ad0d6cbc858203c5375465cff30cbe747ad467678b4d19156581c13073d492030dda843d770e63f1401daa90d4418a1628ff336eae6df5c3ec603a12800e645d
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
- use Of
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
@@ -1,3 +1,3 @@
1
1
  module Of
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.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/refinement.rb
61
+ - lib/of/refinements.rb
62
62
  - lib/of/version.rb
63
63
  - of.gemspec
64
64
  homepage: https://github.com/jwaldrip/of.git