hipsteripsum 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ require 'net/http'
2
2
  require 'json'
3
3
 
4
4
  class Hipster
5
- def getText(paragraphs=2, type="centric")
5
+ def beerMe(paragraphs=2, type="centric")
6
6
  response = Net::HTTP.get_response(URI.parse("http://hipsterjesus.com/api/?paras=" + paragraphs.to_s + "&type=hipster-" + type))
7
7
  obj = JSON.parse(response.body)
8
8
  return obj["text"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hipsteripsum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,7 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - lib/hipster.rb
20
+ - lib/hipsteripsum.rb
21
21
  homepage: https://github.com/anatomyofashane/Hipster-Ipsum
22
22
  licenses: []
23
23
  post_install_message: