contentbofu 1.2 → 1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/contentbofu.rb +3 -2
- metadata +2 -2
data/lib/contentbofu.rb
CHANGED
|
@@ -188,8 +188,7 @@ class ContentBofu
|
|
|
188
188
|
def wai_spin(body)
|
|
189
189
|
|
|
190
190
|
require 'rubygems'
|
|
191
|
-
|
|
192
|
-
require 'php_serialize'
|
|
191
|
+
require 'mechanize'
|
|
193
192
|
|
|
194
193
|
if (@wai_user == nil) || (@wai_pass == nil) || (@wai_slider == nil) || (body == nil)
|
|
195
194
|
raise "You have not set your username (@wai_user), password (@wai_pass), slider value (@wai_slider) or Body."
|
|
@@ -197,6 +196,8 @@ class ContentBofu
|
|
|
197
196
|
|
|
198
197
|
agent = Mechanize.new
|
|
199
198
|
|
|
199
|
+
agent.read_timeout = 600
|
|
200
|
+
|
|
200
201
|
api_url = "http://beta.wordai.com/spinit.php"
|
|
201
202
|
|
|
202
203
|
data = Hash.new
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contentbofu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.3'
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
38
38
|
version: '0'
|
|
39
39
|
requirements: []
|
|
40
40
|
rubyforge_project:
|
|
41
|
-
rubygems_version: 1.8.
|
|
41
|
+
rubygems_version: 1.8.21
|
|
42
42
|
signing_key:
|
|
43
43
|
specification_version: 3
|
|
44
44
|
summary: Bofu's toolset for all things content
|