first_gem_david_fisher 0.0.1 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe454741ac726e1aeb6feb97339aad97700576d4
4
- data.tar.gz: 19a43fde80de8b5019f43c2ea339f792c6c6de5b
3
+ metadata.gz: 5ab2cef831cda165d9b39e7ea695ae5f4921a856
4
+ data.tar.gz: a6cb62498f4ba8f2164df588b8f0036a2d8f5d6d
5
5
  SHA512:
6
- metadata.gz: 244ec5078a63132adb83759c57b24aa85485d3418a8e3c0a5150ce630d4f6dcf83dcb13f91ffcb1df47df53f3c6ae62849c8ba8e08eb86ac6227392060b073ec
7
- data.tar.gz: cb5a904f3ef2e5b2768a16dc3f0114a0c2848b010a846a8d0f1505b7689f3049359806ffa17445594ad50529222220ecad6a0d00c6655b65b4c1c65dcded615d
6
+ metadata.gz: 93e960ff57cf62e593f4c6ff8377cd432ddca4dc6f12aab94154b675579778ec5c0a8027cb234211b17be2f621ade21758824c2e209f543df7f94d8e34883992
7
+ data.tar.gz: bac51b538158101cd456b4eb682e8419709231e8bdefaeb3c911582996eb48819532e629c30eb2da09953adfc2406ce155446ea6c8aaeaf8c5751595225702ef
@@ -4,4 +4,8 @@ class String
4
4
  def word_count
5
5
  self.split.count
6
6
  end
7
+
8
+ def unique_words
9
+ self.split.uniq
10
+ end
7
11
  end
@@ -1,3 +1,3 @@
1
1
  module FirstGemDavidFisher
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: first_gem_david_fisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Fisher