cloudfactory 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -5
- data/Rakefile +4 -4
- data/lib/cf/cli/line.rb +2 -1
- data/lib/cf/cli/production.rb +6 -5
- data/lib/cf/gold_standard.rb +1 -1
- data/lib/cf/line.rb +9 -2
- data/lib/cf/version.rb +1 -1
- data/spec/gold_standard_spec.rb +2 -6
- data/spec/line_spec.rb +25 -0
- metadata +184 -54
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
-
## 0.7.
|
2
|
-
*
|
1
|
+
## 0.7.4 (2013-02-11)
|
2
|
+
* Prefetch through gem enabled
|
3
3
|
|
4
|
-
## 0.7.
|
5
|
-
*
|
4
|
+
## 0.7.3 (2012-09-11)
|
5
|
+
* Timeout increased for gold standard creation.
|
6
|
+
|
7
|
+
## 0.7.2 (2012-08-09)
|
8
|
+
* Default priority of line changed
|
6
9
|
|
7
10
|
## 0.7.1 (2012-07-12)
|
8
|
-
* Badge show added
|
11
|
+
* Badge show added
|
9
12
|
|
10
13
|
## 0.7 (2012-07-09)
|
11
14
|
* Badge creation, update, deletion and listing added
|
data/Rakefile
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
require 'rubygems'
|
3
|
-
require 'rake'
|
3
|
+
require 'rake'
|
4
4
|
require 'rdoc/rdoc'
|
5
5
|
Bundler::GemHelper.install_tasks
|
6
6
|
|
7
7
|
begin
|
8
8
|
task :default => :build
|
9
|
-
require '
|
10
|
-
|
9
|
+
require 'rdoc/task'
|
10
|
+
|
11
11
|
html_dir = 'doc/rdoc'
|
12
12
|
library = 'CloudFactory'
|
13
13
|
Rake::RDocTask.new do |rdoc|
|
@@ -17,7 +17,7 @@ begin
|
|
17
17
|
rdoc.rdoc_files.include('README*')
|
18
18
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
# Setting up the rake task to generate and upload the documentation to remote
|
22
22
|
rdoc_upload_path = "/var/www"
|
23
23
|
user = "vagrant"
|
data/lib/cf/cli/line.rb
CHANGED
@@ -172,6 +172,7 @@ module Cf # :nodoc: all
|
|
172
172
|
line_public = line_dump['public']
|
173
173
|
line_priority = line_dump['priority']
|
174
174
|
line_worker_pool = line_dump['worker_pool']
|
175
|
+
line_prefetch_task = line_dump['prefetch_task']
|
175
176
|
line = CF::Line.info(line_title)
|
176
177
|
if line['error'].blank? && options.force?
|
177
178
|
rollback(line.title)
|
@@ -186,7 +187,7 @@ module Cf # :nodoc: all
|
|
186
187
|
say("Line creation aborted!!", :yellow) and exit(1)
|
187
188
|
end
|
188
189
|
end
|
189
|
-
line = CF::Line.new(line_title, line_department, {:description => line_description, :public => line_public, :priority => line_priority, :worker_pool => line_worker_pool})
|
190
|
+
line = CF::Line.new(line_title, line_department, {:description => line_description, :public => line_public, :priority => line_priority, :worker_pool => line_worker_pool, :prefetch_task => line_prefetch_task})
|
190
191
|
say "Creating new assembly line: #{line.title}", :green
|
191
192
|
say("Error: #{line.errors}", :red) and exit(1) if line.errors.present?
|
192
193
|
|
data/lib/cf/cli/production.rb
CHANGED
@@ -22,7 +22,6 @@ module Cf # :nodoc: all
|
|
22
22
|
set_target_uri(options[:live])
|
23
23
|
set_api_key
|
24
24
|
CF.account_name = CF::Account.info['name']
|
25
|
-
|
26
25
|
if options[:line].present?
|
27
26
|
line = CF::Line.find(options[:line])
|
28
27
|
if line.nil?
|
@@ -88,8 +87,8 @@ module Cf # :nodoc: all
|
|
88
87
|
say("*** Warning! Your account balance is #{available_balance.to_s} cf cents. Please recharge your account balance. ***", :yellow)
|
89
88
|
say("***********************************************************************************************", :yellow)
|
90
89
|
end
|
91
|
-
|
92
|
-
|
90
|
+
|
91
|
+
|
93
92
|
if options[:line].present?
|
94
93
|
line = CF::Line.find(options[:line])
|
95
94
|
if line.nil?
|
@@ -121,6 +120,8 @@ module Cf # :nodoc: all
|
|
121
120
|
run_title = "#{title.parameterize}-#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
122
121
|
end
|
123
122
|
|
123
|
+
say("Title is longer than expected. The system accepts only 40 no of characters", :red) and exit(1) if title.length > 40
|
124
|
+
|
124
125
|
input_data = options[:input_data].presence
|
125
126
|
|
126
127
|
if input_data =~ /^\// #checking absolute input data path
|
@@ -151,7 +152,7 @@ module Cf # :nodoc: all
|
|
151
152
|
end
|
152
153
|
input_data_file = "#{Dir.pwd}/input/#{chosen_file}"
|
153
154
|
end
|
154
|
-
|
155
|
+
|
155
156
|
#### zipping csv file
|
156
157
|
say("CSV file size is greater than 2 MB. Aborting production start.", :red) and return if (File.size(input_data_file).to_f/(1024*1000) > 2)
|
157
158
|
say("Zipping csv file...", :green)
|
@@ -164,7 +165,7 @@ module Cf # :nodoc: all
|
|
164
165
|
zipfile.add("input.csv", input_data_file)
|
165
166
|
end
|
166
167
|
end
|
167
|
-
|
168
|
+
|
168
169
|
else
|
169
170
|
unless File.exist?(input_data)
|
170
171
|
say("The input data file named #{input_data} doesn't exist", :red) and return
|
data/lib/cf/gold_standard.rb
CHANGED
@@ -41,7 +41,7 @@ module CF
|
|
41
41
|
if @station
|
42
42
|
# becuase of timeout issue we set and execute request like this
|
43
43
|
# now it should handle upto 1000 gs easily
|
44
|
-
request = RestClient::Request.new(:method => 'post', :url =>"#{CF.api_url}#{CF.api_version}/lines/#{CF.account_name}/#{@line.title.downcase}/stations/#{@station.index}/gold_standards.json", :payload => {:api_key => CF.api_key, :file => file_upload,:template => options[:template]}, :accept => 'json', :timeout =>
|
44
|
+
request = RestClient::Request.new(:method => 'post', :url =>"#{CF.api_url}#{CF.api_version}/lines/#{CF.account_name}/#{@line.title.downcase}/stations/#{@station.index}/gold_standards.json", :payload => {:api_key => CF.api_key, :file => file_upload,:template => options[:template]}, :accept => 'json', :timeout => 30000)
|
45
45
|
resp = request.execute
|
46
46
|
@station.gold_standards = self
|
47
47
|
else
|
data/lib/cf/line.rb
CHANGED
@@ -28,6 +28,9 @@ module CF
|
|
28
28
|
# Description attribute is optional
|
29
29
|
attr_accessor :description
|
30
30
|
|
31
|
+
#prefetch task is a boolean value. By default it is false.
|
32
|
+
attr_accessor :prefetch_task
|
33
|
+
|
31
34
|
# stations contained within line object
|
32
35
|
attr_accessor :stations
|
33
36
|
|
@@ -54,7 +57,9 @@ module CF
|
|
54
57
|
@priority = options[:priority]
|
55
58
|
@worker_pool = options[:worker_pool].nil? ? "mturk" : options[:worker_pool]
|
56
59
|
@description = options[:description]
|
57
|
-
|
60
|
+
@prefetch_task = options[:prefetch_task] == true ? true : false
|
61
|
+
|
62
|
+
resp = self.class.post("/lines/#{CF.account_name}.json", {:line => {:title => title, :department_name => department_name, :public => @public, :priority => @priority, :worker_pool => @worker_pool, :description => @description, :prefetch_task => @prefetch_task}})
|
58
63
|
self.errors = resp['error']['message'] if resp['code'] != 200
|
59
64
|
return resp
|
60
65
|
end
|
@@ -174,6 +179,7 @@ module CF
|
|
174
179
|
@priority = options[:priority]
|
175
180
|
@worker_pool = options[:worker_pool]
|
176
181
|
@description = options[:description]
|
182
|
+
@prefetch_task = options[:prefetch_task] == true ? true : false
|
177
183
|
if block.arity >= 1
|
178
184
|
block.call(line)
|
179
185
|
else
|
@@ -387,7 +393,8 @@ module CF
|
|
387
393
|
@priority = options[:priority]
|
388
394
|
@worker_pool = options[:worker_pool]
|
389
395
|
@description = options[:description]
|
390
|
-
|
396
|
+
@prefetch_task = options[:prefetch_task] == true ? true : false
|
397
|
+
self.class.put("/lines/#{CF.account_name}/#{old_title.downcase}.json", :line => {:title => @title, :department_name => @department_name, :public => @public, :priority => @priority, :worker_pool => @worker_pool, :description => @description, :prefetch_task => @prefetch_task})
|
391
398
|
end
|
392
399
|
|
393
400
|
# ==Deletes a line
|
data/lib/cf/version.rb
CHANGED
data/spec/gold_standard_spec.rb
CHANGED
@@ -81,7 +81,6 @@ describe CF::GoldStandard do
|
|
81
81
|
line.stations station
|
82
82
|
gold_standard = CF::GoldStandard.new({:file =>"./spec/gold_standards.csv" })
|
83
83
|
line.gold_standards gold_standard
|
84
|
-
line.gold_standards.first.settings["name"].should eql("gold_standard_1")
|
85
84
|
line.gold_standards.first.settings["input"].should eql({"Website"=>"aaple.com"})
|
86
85
|
line.gold_standards.first.settings["expected_output"].present?.should eql(true)
|
87
86
|
end
|
@@ -121,8 +120,7 @@ describe CF::GoldStandard do
|
|
121
120
|
gold_standard = CF::GoldStandard.new({:file =>"./spec/gold_standards.csv",
|
122
121
|
:template=>[{"first_name"=>"<% {{variable}}.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, {"last_name"=>"<% {{variable}}.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}]})
|
123
122
|
line.gold_standards gold_standard
|
124
|
-
line.gold_standards.first.settings["expected_output"].should eql({"first_name"=>{"value"=>"<% John.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, "last_name"=>{"value"=>"<% Lennon.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, "company"=>{"value"=>"Sprout"}})
|
125
|
-
line.gold_standards.first.settings["name"].should eql("gold_standard_1")
|
123
|
+
line.gold_standards.first.settings["expected_output"].should eql({"first_name"=>{"value"=>"<% John.sort.eql?first_name.each{|a| a.downcase!}.sort %>", "template_value"=>"John"}, "last_name"=>{"value"=>"<% Lennon.sort.eql?first_name.each{|a| a.downcase!}.sort %>", "template_value"=>"Lennon"}, "company"=>{"value"=>"Sprout", "template_value"=>" "}})
|
126
124
|
line.gold_standards.first.settings["input"].should eql({"Website"=>"aaple.com"})
|
127
125
|
line.gold_standards.first.settings["expected_output"].present?.should eql(true)
|
128
126
|
end
|
@@ -214,7 +212,6 @@ describe CF::GoldStandard do
|
|
214
212
|
line.stations station
|
215
213
|
gold_standard = CF::GoldStandard.new({:file =>"./spec/gold_standards.csv" })
|
216
214
|
line.stations.first.gold_standards gold_standard
|
217
|
-
line.stations.first.gold_standards.first.settings["name"].should eql("gold_standard_1")
|
218
215
|
line.stations.first.gold_standards.first.settings["input"].should eql({"Website"=>"aaple.com"})
|
219
216
|
line.stations.first.gold_standards.first.settings["expected_output"].present?.should eql(true)
|
220
217
|
end
|
@@ -256,8 +253,7 @@ describe CF::GoldStandard do
|
|
256
253
|
line.stations station
|
257
254
|
gold_standard = CF::GoldStandard.new({:file =>"./spec/gold_standards.csv",:template=>[{"first_name"=>"<% {{variable}}.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, {"last_name"=>"<% {{variable}}.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}] })
|
258
255
|
line.stations.first.gold_standards gold_standard
|
259
|
-
line.stations.first.gold_standards.first.settings["expected_output"].should eql({"first_name"=>{"value"=>"<% John.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, "last_name"=>{"value"=>"<% Lennon.sort.eql?first_name.each{|a| a.downcase!}.sort %>"}, "company"=>{"value"=>"Sprout"}})
|
260
|
-
line.stations.first.gold_standards.first.settings["name"].should eql("gold_standard_1")
|
256
|
+
line.stations.first.gold_standards.first.settings["expected_output"].should eql({"first_name"=>{"value"=>"<% John.sort.eql?first_name.each{|a| a.downcase!}.sort %>", "template_value"=>"John"}, "last_name"=>{"value"=>"<% Lennon.sort.eql?first_name.each{|a| a.downcase!}.sort %>", "template_value"=>"Lennon"}, "company"=>{"value"=>"Sprout", "template_value"=>" "}})
|
261
257
|
line.stations.first.gold_standards.first.settings["input"].should eql({"Website"=>"aaple.com"})
|
262
258
|
line.stations.first.gold_standards.first.settings["expected_output"].present?.should eql(true)
|
263
259
|
end
|
data/spec/line_spec.rb
CHANGED
@@ -106,6 +106,31 @@ describe CF::Line do
|
|
106
106
|
line = CF::Line.new(title, "Digitization", {:public => true, :description => "this is description",:worker_pool => "chandra"})
|
107
107
|
line.errors.should eql(" chandra is invalid worker_pool")
|
108
108
|
end
|
109
|
+
|
110
|
+
it "with prefetch_task specified" do
|
111
|
+
WebMock.allow_net_connect!
|
112
|
+
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
113
|
+
sleep 1
|
114
|
+
line = CF::Line.new(title, "Digitization", {:public => true, :priority => 0, :worker_pool => "cloudfactory", :description => "this is description", :prefetch_task => true})
|
115
|
+
line.prefetch_task.should be_true
|
116
|
+
end
|
117
|
+
|
118
|
+
it "with prefetch_task not specified" do
|
119
|
+
WebMock.allow_net_connect!
|
120
|
+
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
121
|
+
sleep 1
|
122
|
+
line = CF::Line.new(title, "Digitization", {:public => true, :priority => 0, :worker_pool => "cloudfactory", :description => "this is description"})
|
123
|
+
line.prefetch_task.should be_false
|
124
|
+
end
|
125
|
+
|
126
|
+
it "with prefetch_task not boolean" do
|
127
|
+
WebMock.allow_net_connect!
|
128
|
+
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
129
|
+
sleep 1
|
130
|
+
line = CF::Line.new(title, "Digitization", {:public => true, :priority => 0, :worker_pool => "cloudfactory", :description => "this is description", :prefetch_task => 'jpt'})
|
131
|
+
line.prefetch_task.should be_false
|
132
|
+
end
|
133
|
+
|
109
134
|
end
|
110
135
|
|
111
136
|
context "with 1 station" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudfactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: activesupport
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '3.0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: hashie
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ~>
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '1.0'
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: rest-client
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: json
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :runtime
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: thor
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ~>
|
@@ -76,10 +101,15 @@ dependencies:
|
|
76
101
|
version: '0.14'
|
77
102
|
type: :runtime
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.14'
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: highline
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
115
|
- - ! '>='
|
@@ -87,10 +117,15 @@ dependencies:
|
|
87
117
|
version: '0'
|
88
118
|
type: :runtime
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
91
126
|
- !ruby/object:Gem::Dependency
|
92
127
|
name: httparty
|
93
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
94
129
|
none: false
|
95
130
|
requirements:
|
96
131
|
- - ~>
|
@@ -98,10 +133,15 @@ dependencies:
|
|
98
133
|
version: '0.7'
|
99
134
|
type: :runtime
|
100
135
|
prerelease: false
|
101
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0.7'
|
102
142
|
- !ruby/object:Gem::Dependency
|
103
143
|
name: terminal-table
|
104
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
105
145
|
none: false
|
106
146
|
requirements:
|
107
147
|
- - ~>
|
@@ -109,10 +149,15 @@ dependencies:
|
|
109
149
|
version: '1.4'
|
110
150
|
type: :runtime
|
111
151
|
prerelease: false
|
112
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '1.4'
|
113
158
|
- !ruby/object:Gem::Dependency
|
114
159
|
name: millisami-csv-hash
|
115
|
-
requirement:
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
116
161
|
none: false
|
117
162
|
requirements:
|
118
163
|
- - ! '>='
|
@@ -120,10 +165,15 @@ dependencies:
|
|
120
165
|
version: '0'
|
121
166
|
type: :runtime
|
122
167
|
prerelease: false
|
123
|
-
version_requirements:
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
124
174
|
- !ruby/object:Gem::Dependency
|
125
175
|
name: awesome_print
|
126
|
-
requirement:
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
127
177
|
none: false
|
128
178
|
requirements:
|
129
179
|
- - ! '>='
|
@@ -131,10 +181,15 @@ dependencies:
|
|
131
181
|
version: '0'
|
132
182
|
type: :runtime
|
133
183
|
prerelease: false
|
134
|
-
version_requirements:
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
135
190
|
- !ruby/object:Gem::Dependency
|
136
191
|
name: rubyzip
|
137
|
-
requirement:
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
138
193
|
none: false
|
139
194
|
requirements:
|
140
195
|
- - ! '>='
|
@@ -142,10 +197,15 @@ dependencies:
|
|
142
197
|
version: '0'
|
143
198
|
type: :runtime
|
144
199
|
prerelease: false
|
145
|
-
version_requirements:
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
146
206
|
- !ruby/object:Gem::Dependency
|
147
207
|
name: pry
|
148
|
-
requirement:
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
149
209
|
none: false
|
150
210
|
requirements:
|
151
211
|
- - ! '>='
|
@@ -153,10 +213,15 @@ dependencies:
|
|
153
213
|
version: '0'
|
154
214
|
type: :development
|
155
215
|
prerelease: false
|
156
|
-
version_requirements:
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
157
222
|
- !ruby/object:Gem::Dependency
|
158
223
|
name: pry-nav
|
159
|
-
requirement:
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
160
225
|
none: false
|
161
226
|
requirements:
|
162
227
|
- - ! '>='
|
@@ -164,10 +229,15 @@ dependencies:
|
|
164
229
|
version: '0'
|
165
230
|
type: :development
|
166
231
|
prerelease: false
|
167
|
-
version_requirements:
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
168
238
|
- !ruby/object:Gem::Dependency
|
169
239
|
name: aruba
|
170
|
-
requirement:
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
171
241
|
none: false
|
172
242
|
requirements:
|
173
243
|
- - ! '>='
|
@@ -175,10 +245,15 @@ dependencies:
|
|
175
245
|
version: '0'
|
176
246
|
type: :development
|
177
247
|
prerelease: false
|
178
|
-
version_requirements:
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
179
254
|
- !ruby/object:Gem::Dependency
|
180
255
|
name: rails
|
181
|
-
requirement:
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
182
257
|
none: false
|
183
258
|
requirements:
|
184
259
|
- - ~>
|
@@ -186,10 +261,15 @@ dependencies:
|
|
186
261
|
version: 3.0.3
|
187
262
|
type: :development
|
188
263
|
prerelease: false
|
189
|
-
version_requirements:
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ~>
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 3.0.3
|
190
270
|
- !ruby/object:Gem::Dependency
|
191
271
|
name: bundler
|
192
|
-
requirement:
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
193
273
|
none: false
|
194
274
|
requirements:
|
195
275
|
- - ! '>='
|
@@ -197,10 +277,15 @@ dependencies:
|
|
197
277
|
version: '0'
|
198
278
|
type: :development
|
199
279
|
prerelease: false
|
200
|
-
version_requirements:
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
201
286
|
- !ruby/object:Gem::Dependency
|
202
287
|
name: generator_spec
|
203
|
-
requirement:
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
204
289
|
none: false
|
205
290
|
requirements:
|
206
291
|
- - ~>
|
@@ -208,10 +293,15 @@ dependencies:
|
|
208
293
|
version: '0.8'
|
209
294
|
type: :development
|
210
295
|
prerelease: false
|
211
|
-
version_requirements:
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ~>
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0.8'
|
212
302
|
- !ruby/object:Gem::Dependency
|
213
303
|
name: rspec
|
214
|
-
requirement:
|
304
|
+
requirement: !ruby/object:Gem::Requirement
|
215
305
|
none: false
|
216
306
|
requirements:
|
217
307
|
- - ! '>='
|
@@ -219,10 +309,15 @@ dependencies:
|
|
219
309
|
version: '0'
|
220
310
|
type: :development
|
221
311
|
prerelease: false
|
222
|
-
version_requirements:
|
312
|
+
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ! '>='
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
223
318
|
- !ruby/object:Gem::Dependency
|
224
319
|
name: cucumber
|
225
|
-
requirement:
|
320
|
+
requirement: !ruby/object:Gem::Requirement
|
226
321
|
none: false
|
227
322
|
requirements:
|
228
323
|
- - ! '>='
|
@@ -230,10 +325,15 @@ dependencies:
|
|
230
325
|
version: '0'
|
231
326
|
type: :development
|
232
327
|
prerelease: false
|
233
|
-
version_requirements:
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
234
334
|
- !ruby/object:Gem::Dependency
|
235
335
|
name: rdoc
|
236
|
-
requirement:
|
336
|
+
requirement: !ruby/object:Gem::Requirement
|
237
337
|
none: false
|
238
338
|
requirements:
|
239
339
|
- - ~>
|
@@ -241,10 +341,15 @@ dependencies:
|
|
241
341
|
version: 3.5.3
|
242
342
|
type: :development
|
243
343
|
prerelease: false
|
244
|
-
version_requirements:
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
346
|
+
requirements:
|
347
|
+
- - ~>
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: 3.5.3
|
245
350
|
- !ruby/object:Gem::Dependency
|
246
351
|
name: vcr
|
247
|
-
requirement:
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
248
353
|
none: false
|
249
354
|
requirements:
|
250
355
|
- - ! '>='
|
@@ -252,10 +357,15 @@ dependencies:
|
|
252
357
|
version: '0'
|
253
358
|
type: :development
|
254
359
|
prerelease: false
|
255
|
-
version_requirements:
|
360
|
+
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
362
|
+
requirements:
|
363
|
+
- - ! '>='
|
364
|
+
- !ruby/object:Gem::Version
|
365
|
+
version: '0'
|
256
366
|
- !ruby/object:Gem::Dependency
|
257
367
|
name: rake
|
258
|
-
requirement:
|
368
|
+
requirement: !ruby/object:Gem::Requirement
|
259
369
|
none: false
|
260
370
|
requirements:
|
261
371
|
- - ! '>='
|
@@ -263,10 +373,15 @@ dependencies:
|
|
263
373
|
version: '0'
|
264
374
|
type: :development
|
265
375
|
prerelease: false
|
266
|
-
version_requirements:
|
376
|
+
version_requirements: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
378
|
+
requirements:
|
379
|
+
- - ! '>='
|
380
|
+
- !ruby/object:Gem::Version
|
381
|
+
version: '0'
|
267
382
|
- !ruby/object:Gem::Dependency
|
268
383
|
name: webmock
|
269
|
-
requirement:
|
384
|
+
requirement: !ruby/object:Gem::Requirement
|
270
385
|
none: false
|
271
386
|
requirements:
|
272
387
|
- - ! '>='
|
@@ -274,10 +389,15 @@ dependencies:
|
|
274
389
|
version: '0'
|
275
390
|
type: :development
|
276
391
|
prerelease: false
|
277
|
-
version_requirements:
|
392
|
+
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
none: false
|
394
|
+
requirements:
|
395
|
+
- - ! '>='
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '0'
|
278
398
|
- !ruby/object:Gem::Dependency
|
279
399
|
name: timecop
|
280
|
-
requirement:
|
400
|
+
requirement: !ruby/object:Gem::Requirement
|
281
401
|
none: false
|
282
402
|
requirements:
|
283
403
|
- - ! '>='
|
@@ -285,7 +405,12 @@ dependencies:
|
|
285
405
|
version: '0'
|
286
406
|
type: :development
|
287
407
|
prerelease: false
|
288
|
-
version_requirements:
|
408
|
+
version_requirements: !ruby/object:Gem::Requirement
|
409
|
+
none: false
|
410
|
+
requirements:
|
411
|
+
- - ! '>='
|
412
|
+
- !ruby/object:Gem::Version
|
413
|
+
version: '0'
|
289
414
|
description: A Ruby wrapper and CLI for to interact with Cloudfactory.com REST API
|
290
415
|
email:
|
291
416
|
- administrator@sprout-technology.com
|
@@ -421,15 +546,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
421
546
|
- - ! '>='
|
422
547
|
- !ruby/object:Gem::Version
|
423
548
|
version: '0'
|
549
|
+
segments:
|
550
|
+
- 0
|
551
|
+
hash: 398355856906910135
|
424
552
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
425
553
|
none: false
|
426
554
|
requirements:
|
427
555
|
- - ! '>='
|
428
556
|
- !ruby/object:Gem::Version
|
429
557
|
version: '0'
|
558
|
+
segments:
|
559
|
+
- 0
|
560
|
+
hash: 398355856906910135
|
430
561
|
requirements: []
|
431
562
|
rubyforge_project: cloudfactory
|
432
|
-
rubygems_version: 1.8.
|
563
|
+
rubygems_version: 1.8.24
|
433
564
|
signing_key:
|
434
565
|
specification_version: 3
|
435
566
|
summary: A Ruby wrapper and CLI for Cloudfactory.com
|
@@ -484,4 +615,3 @@ test_files:
|
|
484
615
|
- spec/term_extraction_robot_spec.rb
|
485
616
|
- spec/test_run_spec.rb
|
486
617
|
- spec/text_appending_robot_spec.rb
|
487
|
-
has_rdoc:
|