momblish 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: b29cb372c16c29c7f4a5b9b8c182c93d96167c0c3327654fb8df752bbd9ad998
4
- data.tar.gz: 11543739887cc0088d983f97b9712dde334785571bbe55590a65636e9894e610
3
+ metadata.gz: 21aaf54ca59e3123f8d7d97c35000e0812f83f756dbfac00680ce510b60b40cf
4
+ data.tar.gz: bac58ba6463ea7e01e95272a4dbad690f700c4f2cdc999fedb6690718f86400a
5
5
  SHA512:
6
- metadata.gz: ada00fa3f950bf442f62b8e5b2e46384b06d3d7f172b45c07deb0118ca075d6a54ccf8d598c59ee5daced6501c6b43ef80c41f811c36fd4a7fe97c69cd439308
7
- data.tar.gz: ae08f229ca5f90f5f0f15943571e20c33ce34743a4452c8b06ec8ebe3831e083501c0c75964cb3b02e68b30750c0ae2f7ba615956ece28f1e9c22667b5e2d3fd
6
+ metadata.gz: f5f4d1e947599bc2551652c72729e6049b2dd400f383fb96e79455aac6b68df02ee92f5b3c6e06ed388dfd45a066582566b4d9552a73e4241b5bcd3def5c6a97
7
+ data.tar.gz: '079060fb89d044c504c78bebbe8863c401597f12aa70b8471cc1ab6a309df161def1fa5c151d46e0e9514de1bd25530accf7849c8e09570036f8dc1ae0deae85'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- momblish (0.1.0)
4
+ momblish (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  class Momblish
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/momblish.rb CHANGED
@@ -75,7 +75,7 @@ class Momblish
75
75
  end
76
76
 
77
77
  def sentence(count = nil, word_length: nil)
78
- return enum_for(:sentence, word_length: word_length) unless block_given?
78
+ return enum_for(:sentence, count, word_length: word_length) unless block_given?
79
79
 
80
80
  if count.nil?
81
81
  loop { yield word(word_length) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: momblish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Prater