cloudfactory 0.6 → 0.6.1
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/CHANGELOG.md +0 -3
- data/lib/cf/badge.rb +22 -109
- data/lib/cf/cli.rb +5 -11
- data/lib/cf/cli/line.rb +42 -23
- data/lib/cf/cli/templates/sample-line/line.yml.erb +0 -2
- data/lib/cf/help.txt +0 -13
- data/lib/cf/human_worker.rb +65 -13
- data/lib/cf/station.rb +58 -12
- data/lib/cf/version.rb +1 -1
- data/spec/badges_spec.rb +337 -237
- data/spec/custom_task_form_spec.rb +2 -2
- data/spec/human_worker_spec.rb +5 -131
- data/spec/line_spec.rb +5 -7
- data/spec/task_form_spec.rb +18 -1
- data/spec/text_appending_robot_spec.rb +5 -4
- metadata +51 -54
- data/lib/cf/cli/badge.rb +0 -234
- data/lib/cf/cli/badge_yaml_validator.rb +0 -25
- data/lib/cf/cli/templates/sample-line/badge.yml +0 -21
@@ -233,9 +233,9 @@ describe CF::CustomTaskForm do
|
|
233
233
|
end
|
234
234
|
line.title.should eql(title)
|
235
235
|
line.department_name.should eql("Digitization")
|
236
|
-
line.stations.first.form.errors.should eql(["Raw html should contain a Form tag"])
|
236
|
+
line.stations.first.form.errors.should eql(["Instruction can't be blank", "Raw html should contain a Form tag"])
|
237
237
|
end
|
238
|
-
|
238
|
+
|
239
239
|
it "creating without any html data" do
|
240
240
|
WebMock.allow_net_connect!
|
241
241
|
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
data/spec/human_worker_spec.rb
CHANGED
@@ -29,6 +29,7 @@ module CF
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
line.stations.first.type.should eql("WorkStation")
|
32
|
+
line.stations.first.worker.errors.should eql("[\"Reward can't be blank\"]")
|
32
33
|
end
|
33
34
|
|
34
35
|
it "in plain ruby way with invalid data and should set the error" do
|
@@ -46,6 +47,7 @@ module CF
|
|
46
47
|
line.stations.first.worker = worker
|
47
48
|
|
48
49
|
line.stations.first.type.should eql("WorkStation")
|
50
|
+
line.stations.first.worker.errors.should eql("[\"Reward can't be blank\"]")
|
49
51
|
end
|
50
52
|
|
51
53
|
it "should only display the attributes which are mentioned in to_s method" do
|
@@ -58,136 +60,8 @@ module CF
|
|
58
60
|
CF::HumanWorker.new({:station => station, :number => 1, :reward => 20})
|
59
61
|
end
|
60
62
|
end
|
61
|
-
line.stations.first.worker.to_s.should eql("{:id => => #{line.stations.first.worker.id}, :number => 1, :reward => 20, :stat_badge => {\"approval_rating\"=>80, \"assignment_duration\"=>3600, \"abandonment_rate\"=>30, \"country\"=>nil}, :errors =>
|
63
|
+
line.stations.first.worker.to_s.should eql("{:id => => #{line.stations.first.worker.id}, :number => 1, :reward => 20, :stat_badge => {\"approval_rating\"=>80, \"assignment_duration\"=>3600, \"abandonment_rate\"=>30, \"country\"=>nil}, :errors => }")
|
62
64
|
end
|
63
65
|
end
|
64
|
-
|
65
|
-
|
66
|
-
before(:each) do
|
67
|
-
@badge = CF::Badge.create(
|
68
|
-
:name => "Bizcard Digitizer_dsl",
|
69
|
-
:description => "this badge qualifies the worker for bizcard digitization",
|
70
|
-
:max_badge_assignments => 100,
|
71
|
-
:retries_allowed => 5,
|
72
|
-
:pass_percentage => 80,
|
73
|
-
:assignment_duration => 3600,
|
74
|
-
:allow_retake_after => 5,
|
75
|
-
:check_manually =>false,
|
76
|
-
:form => "./lib/cf/cli/templates/sample-line/form.html",
|
77
|
-
:known_answers=>
|
78
|
-
[
|
79
|
-
{ "name" => "transcription pilot",
|
80
|
-
"input"=> {"image_url"=> "http://onwired.com/images/portfolio/linda-stanley-business-card.jpg"},
|
81
|
-
"expected_output"=>{"gender"=>{"value"=>"Male"}, "rich"=>{"value"=>"1"}}
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"name" => "pilot",
|
85
|
-
"input"=>{"image_url"=> "http://onwired.com/images/portfolio/linda-stanley-business-card.jpg2"},
|
86
|
-
"expected_output"=>{"gender"=>{"value"=>"Male"}, "rich"=>{"value"=>"2"}}
|
87
|
-
}
|
88
|
-
]
|
89
|
-
)
|
90
|
-
|
91
|
-
@badge2 = CF::Badge.create(
|
92
|
-
:name => "Bizcard Digitizer_next",
|
93
|
-
:description => "this badge qualifies the worker for bizcard digitization",
|
94
|
-
:max_badge_assignments => 100,
|
95
|
-
:retries_allowed => 5,
|
96
|
-
:pass_percentage => 80,
|
97
|
-
:assignment_duration => 3600,
|
98
|
-
:allow_retake_after => 5,
|
99
|
-
:check_manually =>false,
|
100
|
-
:form => "./lib/cf/cli/templates/sample-line/form.html",
|
101
|
-
:known_answers=>
|
102
|
-
[
|
103
|
-
{ "name" => "transcription pilot",
|
104
|
-
"input"=> {"image_url"=> "http://onwired.com/images/portfolio/linda-stanley-business-card.jpg"},
|
105
|
-
"expected_output"=>{"gender"=>{"value"=>"Male"}, "rich"=>{"value"=>"1"}}
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"name" => "pilot",
|
109
|
-
"input"=>{"image_url"=> "http://onwired.com/images/portfolio/linda-stanley-business-card.jpg2"},
|
110
|
-
"expected_output"=>{"gender"=>{"value"=>"Male"}, "rich"=>{"value"=>"2"}}
|
111
|
-
}
|
112
|
-
]
|
113
|
-
)
|
114
|
-
end
|
115
|
-
|
116
|
-
|
117
|
-
it "should assign a badge to the station worker in block DSL way" do
|
118
|
-
WebMock.allow_net_connect!
|
119
|
-
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
120
|
-
sleep 1
|
121
|
-
line = CF::Line.create(title, "Digitization") do |l|
|
122
|
-
CF::InputFormat.new({:line => l, :name => "image_url", :required => true, :valid_type => "url"})
|
123
|
-
CF::Station.create({:line =>l, :type => "work"}) do |s|
|
124
|
-
@worker = CF::HumanWorker.new({:station => s, :number => 1, :reward => 20,:badge => ["Bizcard Digitizer_dsl"]})
|
125
|
-
end
|
126
|
-
end
|
127
|
-
line.stations.first.worker.badges.should eql([{"name"=>"bizcard-digitizer_dsl"}])
|
128
|
-
end
|
129
|
-
|
130
|
-
it "should assign badge to the station worker in plain ruby way " do
|
131
|
-
WebMock.allow_net_connect!
|
132
|
-
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
133
|
-
sleep 1
|
134
|
-
line = CF::Line.new(title, "Digitization")
|
135
|
-
input_format = CF::InputFormat.new({:name => "image_url", :required => true, :valid_type => "url"})
|
136
|
-
line.input_formats input_format
|
137
|
-
|
138
|
-
station = CF::Station.new({:type => "work"})
|
139
|
-
line.stations station
|
140
|
-
|
141
|
-
worker = CF::HumanWorker.new({:number => 1, :reward => 1 , :stat_badge =>[] , :badge => ["Bizcard Digitizer_dsl"]})
|
142
|
-
line.stations.first.worker = worker
|
143
|
-
line.stations.first.worker.badges.should eql([{"name"=>"bizcard-digitizer_dsl"}])
|
144
|
-
end
|
145
|
-
|
146
|
-
it "should assign multiple badges to the station worker in block DSL Way" do
|
147
|
-
WebMock.allow_net_connect!
|
148
|
-
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
149
|
-
sleep 1
|
150
|
-
line = CF::Line.create(title, "Digitization") do |l|
|
151
|
-
CF::InputFormat.new({:line => l, :name => "image_url", :required => true, :valid_type => "url"})
|
152
|
-
CF::Station.create({:line =>l, :type => "work"}) do |s|
|
153
|
-
@worker = CF::HumanWorker.new({:station => s, :number => 1, :reward => 20,:badge => ["Bizcard Digitizer_dsl", "Bizcard Digitizer_next"]})
|
154
|
-
end
|
155
|
-
end
|
156
|
-
line.stations.first.worker.badges.should eql([{"name"=>"bizcard-digitizer_dsl"},{"name"=>"bizcard-digitizer_next"}])
|
157
|
-
|
158
|
-
end
|
159
|
-
|
160
|
-
it "should assign multiple badges to the station worker in plain ruby Way" do
|
161
|
-
WebMock.allow_net_connect!
|
162
|
-
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
163
|
-
sleep 1
|
164
|
-
line = CF::Line.new(title, "Digitization")
|
165
|
-
input_format = CF::InputFormat.new({:name => "image_url", :required => true, :valid_type => "url"})
|
166
|
-
line.input_formats input_format
|
167
|
-
|
168
|
-
station = CF::Station.new({:type => "work"})
|
169
|
-
line.stations station
|
170
|
-
|
171
|
-
worker = CF::HumanWorker.new({:number => 1, :reward => 1 , :stat_badge =>[] , :badge => ["Bizcard Digitizer_dsl", "Bizcard Digitizer_next"]})
|
172
|
-
line.stations.first.worker = worker
|
173
|
-
line.stations.first.worker.badges.should eql([{"name"=>"bizcard-digitizer_dsl"},{"name"=>"bizcard-digitizer_next"}])
|
174
|
-
|
175
|
-
end
|
176
|
-
|
177
|
-
it "should raise error if the badge does not exist" do
|
178
|
-
WebMock.allow_net_connect!
|
179
|
-
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
180
|
-
sleep 1
|
181
|
-
line = CF::Line.create(title, "Digitization") do |l|
|
182
|
-
CF::InputFormat.new({:line => l, :name => "image_url", :required => true, :valid_type => "url"})
|
183
|
-
CF::Station.create({:line =>l, :type => "work"}) do |s|
|
184
|
-
@worker = CF::HumanWorker.new({:station => s, :number => 1, :reward => 20,:badge => ["Bizcard Digitizer_dsl2", "Bizcard Digitizer_next"]})
|
185
|
-
end
|
186
|
-
end
|
187
|
-
line.stations.last.worker.errors.should eql("Badge with name Bizcard Digitizer_dsl2 was not found.")
|
188
|
-
end
|
189
|
-
|
190
|
-
end
|
191
|
-
|
192
|
-
end
|
193
|
-
end
|
66
|
+
end
|
67
|
+
end
|
data/spec/line_spec.rb
CHANGED
@@ -158,7 +158,7 @@ describe CF::Line do
|
|
158
158
|
end
|
159
159
|
|
160
160
|
context "listing lines" do
|
161
|
-
|
161
|
+
it "should list all the existing lines that belong to particular owner" do
|
162
162
|
WebMock.allow_net_connect!
|
163
163
|
5.times do |i|
|
164
164
|
title_i = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
@@ -169,7 +169,7 @@ describe CF::Line do
|
|
169
169
|
lines.class.should eql(Hash)
|
170
170
|
end
|
171
171
|
|
172
|
-
|
172
|
+
it "should list all the public lines" do
|
173
173
|
WebMock.allow_net_connect!
|
174
174
|
title_0 = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
175
175
|
sleep 1
|
@@ -429,10 +429,9 @@ describe CF::Line do
|
|
429
429
|
worker_id = line_details['stations'].first['worker']['id']
|
430
430
|
form_field_id = line_details['stations'].first['form_fields'].first['id']
|
431
431
|
station_input_format_id = line_details['stations'].first['input_formats'].first['id']
|
432
|
-
line_details.should eql({"title"=>"#{title}", "description"=>"", "department"=>"Digitization", "input_formats"=>[{"id"=>"#{line_input_format_id}", "name"=>"Company", "required"=>true, "valid_type"=>nil}], "stations"=>[{"index"=>1, "type"=>"WorkStation", "input_formats"=>[{"id"=>"#{station_input_format_id}", "name"=>"Company", "required"=>true, "valid_type"=>nil}], "worker"=>{"id"=>"#{worker_id}", "number"=>1, "reward"=>
|
432
|
+
line_details.should eql({"title"=>"#{title}", "description"=>"", "department"=>"Digitization", "input_formats"=>[{"id"=>"#{line_input_format_id}", "name"=>"Company", "required"=>true, "valid_type"=>nil}], "stations"=>[{"index"=>1, "type"=>"WorkStation", "input_formats"=>[{"id"=>"#{station_input_format_id}", "name"=>"Company", "required"=>true, "valid_type"=>nil}], "worker"=>{"id"=>"#{worker_id}", "number"=>1, "reward"=>20, "type"=>"HumanWorker", "stat_badge"=>{"abandonment_rate"=>30, "approval_rating"=>80, "country"=>nil, "adult"=>nil}}, "form"=>{"title"=>"Enter text from a business card image", "instruction"=>"Describe"}, "form_fields"=>[{"id"=>"#{form_field_id}", "label"=>"First Name", "field_type"=>"short_answer", "hint"=>nil, "required"=>true, "unique"=>nil, "hide_label"=>nil, "value"=>nil, "option_values"=>nil}]}], "code"=>200})
|
433
433
|
end
|
434
434
|
|
435
|
-
|
436
435
|
it "for robot worker" do
|
437
436
|
WebMock.allow_net_connect!
|
438
437
|
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
@@ -456,7 +455,7 @@ describe CF::Line do
|
|
456
455
|
line.class.should eql(Hash)
|
457
456
|
end
|
458
457
|
|
459
|
-
|
458
|
+
it "should get all lines with pagination all" do
|
460
459
|
WebMock.allow_net_connect!
|
461
460
|
25.times do |i|
|
462
461
|
title_i = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
@@ -470,8 +469,7 @@ describe CF::Line do
|
|
470
469
|
end
|
471
470
|
|
472
471
|
context "get a line of other account and using that line to create run under own account" do
|
473
|
-
|
474
|
-
xit "as public line" do
|
472
|
+
it "as public line" do
|
475
473
|
WebMock.allow_net_connect!
|
476
474
|
CF.configure do |config|
|
477
475
|
config.api_key = "2512bb347f0cfa42c3ce24947d820a5d82d445a7"
|
data/spec/task_form_spec.rb
CHANGED
@@ -55,7 +55,7 @@ describe CF::TaskForm do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
form = line.stations[0].form
|
58
|
-
form.errors.should eql(["Title can't be blank"])
|
58
|
+
form.errors.should eql(["Title can't be blank", "Instruction can't be blank"])
|
59
59
|
form.instruction.should eq(nil)
|
60
60
|
form.form_fields.should eq([])
|
61
61
|
end
|
@@ -76,6 +76,23 @@ describe CF::TaskForm do
|
|
76
76
|
form.instruction.should eq("describe")
|
77
77
|
form.form_fields.should eq([])
|
78
78
|
end
|
79
|
+
|
80
|
+
it "without Instruction" do
|
81
|
+
WebMock.allow_net_connect!
|
82
|
+
title = "line_title#{Time.new.strftime('%Y%b%d-%H%M%S')}".downcase
|
83
|
+
sleep 1
|
84
|
+
line = CF::Line.create(title, "Digitization") do
|
85
|
+
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
86
|
+
CF::Station.create({:line => self, :type => "work"}) do |station|
|
87
|
+
CF::HumanWorker.new({:station => station, :number => 1, :reward => 20})
|
88
|
+
CF::TaskForm.new({:station => station, :title => "title"})
|
89
|
+
end
|
90
|
+
end
|
91
|
+
form = line.stations[0].form
|
92
|
+
form.errors.should eql(["Instruction can't be blank"])
|
93
|
+
form.title.should eq("title")
|
94
|
+
form.form_fields.should eq([])
|
95
|
+
end
|
79
96
|
end
|
80
97
|
|
81
98
|
context "get instruction info" do
|
@@ -25,8 +25,9 @@ module CF
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
run = CF::Run.create(line, "text_appending_robot_run", [{"Company"=>"Sprout","Website"=>"www.sprout.com"}])
|
28
|
+
# debugger
|
28
29
|
line.stations.last.worker.class.should eql(CF::RobotWorker)
|
29
|
-
line.stations.first.worker.reward.should eql(20)
|
30
|
+
line.stations.first.worker.reward.should eql("20")
|
30
31
|
line.stations.first.worker.number.should eql(1)
|
31
32
|
line.stations.last.worker.settings.should eql({:append => ["{{description}}"], :separator => "||"})
|
32
33
|
line.stations.last.worker.type.should eql("TextAppendingRobot")
|
@@ -62,12 +63,12 @@ module CF
|
|
62
63
|
|
63
64
|
worker_1 = CF::RobotWorker.create({:type => "text_appending_robot", :settings => {:append => ["{{description}}"], :separator => "||"}})
|
64
65
|
line.stations.last.worker = worker_1
|
65
|
-
|
66
|
+
|
66
67
|
run = CF::Run.create(line, "text_appending_robot_run_1", [{"Company"=>"Sprout","Website"=>"www.sprout.com"}])
|
67
68
|
# debugger
|
68
|
-
|
69
|
+
|
69
70
|
line.stations.last.worker.class.should eql(CF::RobotWorker)
|
70
|
-
line.stations.first.worker.reward.should eql(20)
|
71
|
+
line.stations.first.worker.reward.should eql("20")
|
71
72
|
line.stations.first.worker.number.should eql(1)
|
72
73
|
line.stations.last.worker.settings.should eql({:append => ["{{description}}"], :separator => "||"})
|
73
74
|
line.stations.last.worker.type.should eql("TextAppendingRobot")
|
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:
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156928600 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156928600
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156928100 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156928100
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hashie
|
38
|
-
requirement: &
|
38
|
+
requirement: &2156927600 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2156927600
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rest-client
|
49
|
-
requirement: &
|
49
|
+
requirement: &2164476580 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2164476580
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: json
|
60
|
-
requirement: &
|
60
|
+
requirement: &2164474240 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2164474240
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: thor
|
71
|
-
requirement: &
|
71
|
+
requirement: &2154447820 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0.14'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2154447820
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: highline
|
82
|
-
requirement: &
|
82
|
+
requirement: &2154447400 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2154447400
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: httparty
|
93
|
-
requirement: &
|
93
|
+
requirement: &2154446860 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0.7'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2154446860
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: terminal-table
|
104
|
-
requirement: &
|
104
|
+
requirement: &2154446360 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '1.4'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2154446360
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: millisami-csv-hash
|
115
|
-
requirement: &
|
115
|
+
requirement: &2154445980 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2154445980
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: awesome_print
|
126
|
-
requirement: &
|
126
|
+
requirement: &2154445520 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2154445520
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: rubyzip
|
137
|
-
requirement: &
|
137
|
+
requirement: &2154445100 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2154445100
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: pry
|
148
|
-
requirement: &
|
148
|
+
requirement: &2154444680 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2154444680
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: pry-nav
|
159
|
-
requirement: &
|
159
|
+
requirement: &2154444260 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2154444260
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: aruba
|
170
|
-
requirement: &
|
170
|
+
requirement: &2154443840 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2154443840
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: rails
|
181
|
-
requirement: &
|
181
|
+
requirement: &2154443340 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ~>
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: 3.0.3
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *2154443340
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: bundler
|
192
|
-
requirement: &
|
192
|
+
requirement: &2154442920 !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
195
195
|
- - ! '>='
|
@@ -197,10 +197,10 @@ dependencies:
|
|
197
197
|
version: '0'
|
198
198
|
type: :development
|
199
199
|
prerelease: false
|
200
|
-
version_requirements: *
|
200
|
+
version_requirements: *2154442920
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: generator_spec
|
203
|
-
requirement: &
|
203
|
+
requirement: &2154442380 !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
206
206
|
- - ~>
|
@@ -208,10 +208,10 @@ dependencies:
|
|
208
208
|
version: '0.8'
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
|
-
version_requirements: *
|
211
|
+
version_requirements: *2154442380
|
212
212
|
- !ruby/object:Gem::Dependency
|
213
213
|
name: rspec
|
214
|
-
requirement: &
|
214
|
+
requirement: &2154441960 !ruby/object:Gem::Requirement
|
215
215
|
none: false
|
216
216
|
requirements:
|
217
217
|
- - ! '>='
|
@@ -219,10 +219,10 @@ dependencies:
|
|
219
219
|
version: '0'
|
220
220
|
type: :development
|
221
221
|
prerelease: false
|
222
|
-
version_requirements: *
|
222
|
+
version_requirements: *2154441960
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: cucumber
|
225
|
-
requirement: &
|
225
|
+
requirement: &2154441500 !ruby/object:Gem::Requirement
|
226
226
|
none: false
|
227
227
|
requirements:
|
228
228
|
- - ! '>='
|
@@ -230,10 +230,10 @@ dependencies:
|
|
230
230
|
version: '0'
|
231
231
|
type: :development
|
232
232
|
prerelease: false
|
233
|
-
version_requirements: *
|
233
|
+
version_requirements: *2154441500
|
234
234
|
- !ruby/object:Gem::Dependency
|
235
235
|
name: rdoc
|
236
|
-
requirement: &
|
236
|
+
requirement: &2154441000 !ruby/object:Gem::Requirement
|
237
237
|
none: false
|
238
238
|
requirements:
|
239
239
|
- - ~>
|
@@ -241,10 +241,10 @@ dependencies:
|
|
241
241
|
version: 3.5.3
|
242
242
|
type: :development
|
243
243
|
prerelease: false
|
244
|
-
version_requirements: *
|
244
|
+
version_requirements: *2154441000
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
246
|
name: vcr
|
247
|
-
requirement: &
|
247
|
+
requirement: &2154440580 !ruby/object:Gem::Requirement
|
248
248
|
none: false
|
249
249
|
requirements:
|
250
250
|
- - ! '>='
|
@@ -252,10 +252,10 @@ dependencies:
|
|
252
252
|
version: '0'
|
253
253
|
type: :development
|
254
254
|
prerelease: false
|
255
|
-
version_requirements: *
|
255
|
+
version_requirements: *2154440580
|
256
256
|
- !ruby/object:Gem::Dependency
|
257
257
|
name: rake
|
258
|
-
requirement: &
|
258
|
+
requirement: &2154440120 !ruby/object:Gem::Requirement
|
259
259
|
none: false
|
260
260
|
requirements:
|
261
261
|
- - ! '>='
|
@@ -263,10 +263,10 @@ dependencies:
|
|
263
263
|
version: '0'
|
264
264
|
type: :development
|
265
265
|
prerelease: false
|
266
|
-
version_requirements: *
|
266
|
+
version_requirements: *2154440120
|
267
267
|
- !ruby/object:Gem::Dependency
|
268
268
|
name: webmock
|
269
|
-
requirement: &
|
269
|
+
requirement: &2164460660 !ruby/object:Gem::Requirement
|
270
270
|
none: false
|
271
271
|
requirements:
|
272
272
|
- - ! '>='
|
@@ -274,10 +274,10 @@ dependencies:
|
|
274
274
|
version: '0'
|
275
275
|
type: :development
|
276
276
|
prerelease: false
|
277
|
-
version_requirements: *
|
277
|
+
version_requirements: *2164460660
|
278
278
|
- !ruby/object:Gem::Dependency
|
279
279
|
name: timecop
|
280
|
-
requirement: &
|
280
|
+
requirement: &2164458640 !ruby/object:Gem::Requirement
|
281
281
|
none: false
|
282
282
|
requirements:
|
283
283
|
- - ! '>='
|
@@ -285,7 +285,7 @@ dependencies:
|
|
285
285
|
version: '0'
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
|
-
version_requirements: *
|
288
|
+
version_requirements: *2164458640
|
289
289
|
description: A Ruby wrapper and CLI for to interact with Cloudfactory.com REST API
|
290
290
|
email:
|
291
291
|
- administrator@sprout-technology.com
|
@@ -328,8 +328,6 @@ files:
|
|
328
328
|
- lib/cf/account.rb
|
329
329
|
- lib/cf/badge.rb
|
330
330
|
- lib/cf/cli.rb
|
331
|
-
- lib/cf/cli/badge.rb
|
332
|
-
- lib/cf/cli/badge_yaml_validator.rb
|
333
331
|
- lib/cf/cli/config.rb
|
334
332
|
- lib/cf/cli/form.rb
|
335
333
|
- lib/cf/cli/line.rb
|
@@ -337,7 +335,6 @@ files:
|
|
337
335
|
- lib/cf/cli/production.rb
|
338
336
|
- lib/cf/cli/templates/form_preview.html.erb
|
339
337
|
- lib/cf/cli/templates/html_file.html.erb
|
340
|
-
- lib/cf/cli/templates/sample-line/badge.yml
|
341
338
|
- lib/cf/cli/templates/sample-line/form.html
|
342
339
|
- lib/cf/cli/templates/sample-line/line.yml.erb
|
343
340
|
- lib/cf/cli/templates/sample-line/sample-line.csv
|