filler 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/filler.gemspec +1 -1
  2. data/lib/filler.rb +2 -2
  3. metadata +2 -2
data/filler.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "filler"
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Tomas Karlsen"]
6
6
  s.email = ["tkarlsn@gmail.com"]
data/lib/filler.rb CHANGED
@@ -11,11 +11,11 @@ module Filler
11
11
  private
12
12
  def get_text(type)
13
13
  case type
14
- when /words/ then
14
+ when /word/ then
15
15
  Filler::Words.output_word
16
16
  when /paragraph/ then
17
17
  Filler::Words.output_paragraph
18
- when /paragraph/ then
18
+ when /number/ then
19
19
  Filler::Words.output_number
20
20
  end
21
21
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tomas Karlsen