unswear 1.9 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/unswear.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b08f4f36645e87dabe7fabd83a1caed63211acb8
4
- data.tar.gz: 4769c426a14389b08b3df6dfd94dfe9259c0016c
3
+ metadata.gz: fc9c4fe0bae40b75e05a2c2b9f5be2475ae10dd3
4
+ data.tar.gz: a305d913d9734b07f58968554dc5dee05e4b2fe4
5
5
  SHA512:
6
- metadata.gz: 28379881f72ab43c7c6c70c6b219bf02147b67b25b29cbb6f6017fd3cdf8513998420b65f8b87ec21acbb80fd8af0c8e4866b753ffc4039a92c580d634ffef13
7
- data.tar.gz: b3127bab19386b0b3db049d5fc1aa763bd7a4f1f44747c7cb83703c780810c1081b3095bfe9421c33b33210dddaf5bc9a38b0391ca9d920b036b095354b6ba89
6
+ metadata.gz: e13bc90da086eb250d1bbb2c0134f188695ac188e4a85fc3d0a191e89d15fc2572f86988a0c9d2705b996978c442d1628511cadeec35baa0261daad19649b147
7
+ data.tar.gz: b8bf1b17c723efb3438f65cba779c7a959207268c815f562386dcd21a4ffbb5c13dfcd370872eab93326d29de5016a95a947e74ef0ffd9945208dab11d4b3f22
data/lib/unswear.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'awesome_print'
2
+
1
3
  class Unswear
2
4
 
3
5
  @curses = [
@@ -57,8 +59,7 @@ class Unswear
57
59
  puts new
58
60
  end
59
61
  def self.list
60
- @curses.count.times do |m|
61
- puts @curses[m]
62
+ puts @curses.sort_by(&:downcase).uniq
62
63
  end
63
64
  end
64
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unswear
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.9'
4
+ version: '2.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh