madlibber 0.0.6 → 0.0.7

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: 9011d53decdc221949e1d652ff9b96e1bebe671c
4
- data.tar.gz: e60e326318f5e3af2cf1beb41c5da930103b19a9
3
+ metadata.gz: faa1fe510bb421be20897505c21e12930f04699e
4
+ data.tar.gz: e0ae1418974c495cf5a38a6fac0ff7c2b23bea78
5
5
  SHA512:
6
- metadata.gz: 39f1027b46d663b0e53360c70924eefed3ab638bd85638f0a00a6c4be68f4d34790e387bdc9b41fcad05f0e5f2c968657166cf2647a747fb11a1e6d8eaacaa8e
7
- data.tar.gz: 8bf071adc5cd82f23a4de8615c0bf6ac933feb267c7aa7f8af42e2232f2d2c328698e5ba3424ba86a0710e956532973a75e7cdfcae2669af306ef000ff44be4b
6
+ metadata.gz: 8b8806f581f741466088e50322f019f19a5ede254e10733f82fe0fea1dad4b4a6c1a9b3dfde4de7a0432e68ee30561a61a30aff4a5402a873f27fc3a5c9d817f
7
+ data.tar.gz: 686f9b3abc3f02a3c02d2b88047eb74f37cf48b604e7a8cbb70f57b8b37d669911247b6a95a4790a1fa2ebc55b6081463817c15628552fa1351d20683e6eebe3
data/lib/madlibber.rb CHANGED
@@ -34,8 +34,7 @@ module MadLibber
34
34
  }
35
35
 
36
36
  def libberfy text, options = OPTIONS
37
- defaults = OPTIONS
38
- defaults.merge! options
37
+ defaults = OPTIONS.merge options
39
38
  tgr = EngTagger.new
40
39
  tagged_text = tgr.get_readable(text)
41
40
  return unless tagged_text
@@ -82,4 +81,16 @@ module MadLibber
82
81
 
83
82
  end
84
83
 
85
-
84
+ text = "At Indiegogo you’ll find a welcoming, supportive community
85
+ that embraces collaboration, fearlessness and authenticity. We
86
+ are a rapidly growing organization and our platform is used by
87
+ people all over the world to raise money for their creative,
88
+ cause-related, or entrepreneurial ideas. Our customers are
89
+ passionate about their funding campaigns, and so are we! We are a
90
+ team of passionate, results-driven, team-players who are lucky
91
+ enough to be able to call “helping people achieve their dream”
92
+ work. We love our dogs, good food, coffee, and post-it notes!
93
+ Lots of post-it notes!"
94
+
95
+ puts MadLibber.libberfy text, { num_of_blanks: 1 }
96
+ puts MadLibber.libberfy text
@@ -1,3 +1,3 @@
1
1
  module Madlibber
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madlibber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Samskies