cloudfactory 0.1.12 → 0.1.13
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/fixtures/input_data/test.csv +2 -2
- data/lib/cf.rb +2 -1
- data/lib/cf/cli.rb +7 -0
- data/lib/cf/cli/line.rb +9 -1
- data/lib/cf/cli/line_yaml_validator.rb +183 -0
- data/lib/cf/cli/production.rb +17 -0
- data/lib/cf/line.rb +9 -8
- data/lib/cf/run.rb +3 -3
- data/lib/cf/version.rb +1 -1
- data/spec/badge_spec.rb +2 -2
- data/spec/concept_tagging_robot_spec.rb +6 -6
- data/spec/content_scraping_robot_spec.rb +2 -4
- data/spec/custom_task_form_spec.rb +10 -10
- data/spec/entity_extraction_robot_spec.rb +2 -2
- data/spec/form_field_spec.rb +30 -26
- data/spec/google_translate_robot_spec.rb +6 -12
- data/spec/human_worker_spec.rb +4 -4
- data/spec/image_processing_robot_spec.rb +6 -8
- data/spec/keyword_matching_and_text_extraction_robot_spec.rb +12 -12
- data/spec/line_spec.rb +15 -31
- data/spec/mailer_robot_spec.rb +12 -18
- data/spec/media_converter_robot_spec.rb +8 -14
- data/spec/media_splitting_robot_spec.rb +10 -14
- data/spec/run_spec.rb +50 -77
- data/spec/sentiment_robot_spec.rb +6 -8
- data/spec/station_spec.rb +23 -63
- data/spec/task_form_spec.rb +46 -73
- data/spec/term_extraction_robot_spec.rb +6 -10
- data/spec/text_appending_robot_spec.rb +6 -6
- metadata +47 -46
data/spec/task_form_spec.rb
CHANGED
@@ -10,9 +10,9 @@ describe CF::TaskForm do
|
|
10
10
|
CF::Station.create({:line => self, :type => "work"}) do |station|
|
11
11
|
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
12
12
|
CF::TaskForm.create({:station => station, :title => "Enter text from a business card image", :instruction => "Describe"}) do |i|
|
13
|
-
CF::FormField.new({:form => i, :label => "First Name", :field_type => "
|
14
|
-
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "
|
15
|
-
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "
|
13
|
+
CF::FormField.new({:form => i, :label => "First Name", :field_type => "short_answer", :required => "true"})
|
14
|
+
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "short_answer"})
|
15
|
+
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "short_answer", :required => "true"})
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -20,14 +20,14 @@ describe CF::TaskForm do
|
|
20
20
|
form.title.should eq("Enter text from a business card image")
|
21
21
|
form.instruction.should eq("Describe")
|
22
22
|
form.form_fields.first.label.should eq("First Name")
|
23
|
-
form.form_fields.first.field_type.should eq("
|
23
|
+
form.form_fields.first.field_type.should eq("short_answer")
|
24
24
|
form.form_fields.first.required.should eq(true)
|
25
25
|
end
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
it "should only display the attributes which are mentioned in to_s method" do
|
29
29
|
VCR.use_cassette "task_form/block/display-to_s", :record => :new_episodes do
|
30
|
-
|
30
|
+
# WebMock.allow_net_connect!
|
31
31
|
line = CF::Line.create("Display_task_form", "Digitization") do
|
32
32
|
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
33
33
|
CF::Station.create({:line => self, :type => "work"}) do |station|
|
@@ -44,102 +44,75 @@ describe CF::TaskForm do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
it "with blank data" do
|
47
|
-
WebMock.allow_net_connect!
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
47
|
+
# WebMock.allow_net_connect!
|
48
|
+
VCR.use_cassette "task_form/block/create-with-blank-data", :record => :new_episodes do
|
49
|
+
line = CF::Line.create("Digiti-ard-2", "Digitization") do
|
50
|
+
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
51
|
+
CF::Station.create({:line => self, :type => "work"}) do |station|
|
52
|
+
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
53
|
+
CF::TaskForm.new({:station => station})
|
54
|
+
end
|
54
55
|
end
|
56
|
+
form = line.stations[0].form
|
57
|
+
form.errors.should eql("[\"Title can't be blank\", \"Instruction can't be blank\"]")
|
58
|
+
form.instruction.should eq(nil)
|
59
|
+
form.form_fields.should eq([])
|
55
60
|
end
|
56
|
-
form = line.stations[0].form
|
57
|
-
form.errors.should eql("[\"Title can't be blank\", \"Instruction can't be blank\"]")
|
58
|
-
form.instruction.should eq(nil)
|
59
|
-
form.form_fields.should eq([])
|
60
|
-
# end
|
61
61
|
end
|
62
|
-
|
62
|
+
|
63
63
|
it "without Title" do
|
64
|
-
WebMock.allow_net_connect!
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
end
|
73
|
-
form = line.stations[0].form
|
74
|
-
form.errors.should eql("[\"Title can't be blank\"]")
|
75
|
-
form.instruction.should eq("describe")
|
76
|
-
form.form_fields.should eq([])
|
77
|
-
# end
|
78
|
-
end
|
79
|
-
|
80
|
-
it "without Instruction" do
|
81
|
-
WebMock.allow_net_connect!
|
82
|
-
# VCR.use_cassette "task_form/block/create", :record => :new_episodes do
|
83
|
-
line = CF::Line.create("Digiti-ard-22", "Digitization") do
|
84
|
-
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
85
|
-
CF::Station.create({:line => self, :type => "work"}) do |station|
|
86
|
-
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
87
|
-
CF::TaskForm.new({:station => station, :title => "title"})
|
64
|
+
# WebMock.allow_net_connect!
|
65
|
+
VCR.use_cassette "task_form/block/create-without-title", :record => :new_episodes do
|
66
|
+
line = CF::Line.create("Digiti-ard-21", "Digitization") do
|
67
|
+
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
68
|
+
CF::Station.create({:line => self, :type => "work"}) do |station|
|
69
|
+
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
70
|
+
CF::TaskForm.new({:station => station, :instruction => "describe"})
|
71
|
+
end
|
88
72
|
end
|
73
|
+
form = line.stations[0].form
|
74
|
+
form.errors.should eql("[\"Title can't be blank\"]")
|
75
|
+
form.instruction.should eq("describe")
|
76
|
+
form.form_fields.should eq([])
|
89
77
|
end
|
90
|
-
form = line.stations[0].form
|
91
|
-
form.errors.should eql("[\"Instruction can't be blank\"]")
|
92
|
-
form.title.should eq("title")
|
93
|
-
form.form_fields.should eq([])
|
94
|
-
# end
|
95
78
|
end
|
96
|
-
end
|
97
79
|
|
98
|
-
|
99
|
-
it "should get all the instruction information of a station" do
|
80
|
+
it "without Instruction" do
|
100
81
|
# WebMock.allow_net_connect!
|
101
|
-
VCR.use_cassette "task_form/block/
|
102
|
-
line = CF::Line.create("
|
82
|
+
VCR.use_cassette "task_form/block/create-without-instruction", :record => :new_episodes do
|
83
|
+
line = CF::Line.create("Digiti-ard-22", "Digitization") do
|
103
84
|
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
104
85
|
CF::Station.create({:line => self, :type => "work"}) do |station|
|
105
86
|
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
106
|
-
CF::TaskForm.
|
107
|
-
CF::FormField.new({:form => i, :label => "First Name", :field_type => "SA", :required => "true"})
|
108
|
-
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "SA"})
|
109
|
-
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "SA", :required => "true"})
|
110
|
-
end
|
87
|
+
CF::TaskForm.new({:station => station, :title => "title"})
|
111
88
|
end
|
112
89
|
end
|
113
|
-
|
114
|
-
|
115
|
-
|
90
|
+
form = line.stations[0].form
|
91
|
+
form.errors.should eql("[\"Instruction can't be blank\"]")
|
92
|
+
form.title.should eq("title")
|
93
|
+
form.form_fields.should eq([])
|
116
94
|
end
|
117
95
|
end
|
118
96
|
end
|
119
97
|
|
120
|
-
context "
|
121
|
-
it "should
|
98
|
+
context "get instruction info" do
|
99
|
+
it "should get all the instruction information of a station" do
|
122
100
|
# WebMock.allow_net_connect!
|
123
|
-
VCR.use_cassette "task_form/block/
|
124
|
-
line = CF::Line.create("
|
101
|
+
VCR.use_cassette "task_form/block/get-instruction", :record => :new_episodes do
|
102
|
+
line = CF::Line.create("Digitizerdd", "Digitization") do
|
125
103
|
CF::InputFormat.new({:line => self, :name => "image_url", :required => true, :valid_type => "url"})
|
126
104
|
CF::Station.create({:line => self, :type => "work"}) do |station|
|
127
105
|
CF::HumanWorker.new({:station => station, :number => 2, :reward => 20})
|
128
106
|
CF::TaskForm.create({:station => station, :title => "Enter text from a business card image", :instruction => "Describe"}) do |i|
|
129
|
-
CF::FormField.new({:form => i, :label => "First Name", :field_type => "
|
130
|
-
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "
|
131
|
-
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "
|
107
|
+
CF::FormField.new({:form => i, :label => "First Name", :field_type => "short_answer", :required => "true"})
|
108
|
+
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "short_answer"})
|
109
|
+
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "short_answer", :required => "true"})
|
132
110
|
end
|
133
111
|
end
|
134
112
|
end
|
135
113
|
@got_instruction = line.stations.first.get_form
|
136
114
|
@got_instruction.title.should eq("Enter text from a business card image")
|
137
115
|
@got_instruction.instruction.should eq("Describe")
|
138
|
-
|
139
|
-
station = line.stations[0]
|
140
|
-
deleted_response = CF::TaskForm.delete_instruction(station)
|
141
|
-
|
142
|
-
deleted_response.code.should eq(200)
|
143
116
|
end
|
144
117
|
end
|
145
118
|
end
|
@@ -10,19 +10,17 @@ module CF
|
|
10
10
|
line = CF::Line.create("term_extraction","Digitization") do |l|
|
11
11
|
CF::InputFormat.new({:line => l, :name => "url", :valid_type => "url", :required => "true"})
|
12
12
|
CF::Station.create({:line => l, :type => "work"}) do |s|
|
13
|
-
CF::RobotWorker.create({:station => s, :settings => {:url => ["{url}"], :max_retrieve => 5, :show_source_text => true}, :type => "term_extraction_robot"})
|
13
|
+
CF::RobotWorker.create({:station => s, :settings => {:url => ["{{url}}"], :max_retrieve => 5, :show_source_text => true}, :type => "term_extraction_robot"})
|
14
14
|
end
|
15
15
|
end
|
16
16
|
run = CF::Run.create(line, "term_extraction_run", [{"url"=> "http://www.sprout-technology.com"}])
|
17
17
|
output = run.final_output
|
18
18
|
output.first.final_output.first.keyword_relevance_of_url.should eql([99.7991, 95.6566, 83.2383, 79.39450000000001, 76.0281])
|
19
19
|
output.first.final_output.first.keywords_of_url.should eql(["Web App", "web application", "Web App Development", "Web App Management", "world-class web development"])
|
20
|
-
output.first.final_output.first.max_retrieve.should eql("5")
|
21
|
-
output.first.final_output.first.show_source_text.should eql("true")
|
22
20
|
line.stations.first.worker.class.should eql(CF::RobotWorker)
|
23
|
-
line.stations.first.worker.reward.should eql(
|
21
|
+
line.stations.first.worker.reward.should eql(0.5)
|
24
22
|
line.stations.first.worker.number.should eql(1)
|
25
|
-
line.stations.first.worker.settings.should eql({:url => ["{url}"], :max_retrieve => 5, :show_source_text => true})
|
23
|
+
line.stations.first.worker.settings.should eql({:url => ["{{url}}"], :max_retrieve => 5, :show_source_text => true})
|
26
24
|
line.stations.first.worker.type.should eql("TermExtractionRobot")
|
27
25
|
end
|
28
26
|
end
|
@@ -37,19 +35,17 @@ module CF
|
|
37
35
|
station = CF::Station.new({:type => "work"})
|
38
36
|
line.stations station
|
39
37
|
|
40
|
-
worker = CF::RobotWorker.create({:settings => {:url => ["{url}"], :max_retrieve => 5, :show_source_text => true}, :type => "term_extraction_robot"})
|
38
|
+
worker = CF::RobotWorker.create({:settings => {:url => ["{{url}}"], :max_retrieve => 5, :show_source_text => true}, :type => "term_extraction_robot"})
|
41
39
|
line.stations.first.worker = worker
|
42
40
|
|
43
41
|
run = CF::Run.create(line, "term_extraction_run_1", [{"url"=> "http://www.sprout-technology.com"}])
|
44
42
|
output = run.final_output
|
45
43
|
output.first.final_output.first.keyword_relevance_of_url.should eql([99.7991, 95.6566, 83.2383, 79.39450000000001, 76.0281])
|
46
44
|
output.first.final_output.first.keywords_of_url.should eql(["Web App", "web application", "Web App Development", "Web App Management", "world-class web development"])
|
47
|
-
output.first.final_output.first.max_retrieve.should eql("5")
|
48
|
-
output.first.final_output.first.show_source_text.should eql("true")
|
49
45
|
line.stations.first.worker.class.should eql(CF::RobotWorker)
|
50
|
-
line.stations.first.worker.reward.should eql(
|
46
|
+
line.stations.first.worker.reward.should eql(0.5)
|
51
47
|
line.stations.first.worker.number.should eql(1)
|
52
|
-
line.stations.first.worker.settings.should eql({:url => ["{url}"], :max_retrieve => 5, :show_source_text => true})
|
48
|
+
line.stations.first.worker.settings.should eql({:url => ["{{url}}"], :max_retrieve => 5, :show_source_text => true})
|
53
49
|
line.stations.first.worker.type.should eql("TermExtractionRobot")
|
54
50
|
end
|
55
51
|
end
|
@@ -21,10 +21,10 @@ module CF
|
|
21
21
|
CF::CustomTaskForm.create({:station => s, :title => "Descibe about Company", :instruction => "Describe", :raw_html => html})
|
22
22
|
end
|
23
23
|
CF::Station.create({:line => self, :type => "work"}) do |s1|
|
24
|
-
CF::RobotWorker.create({:station => s1, :type => "text_appending_robot", :settings => {:append => ["{description}"], :separator => "||"}})
|
24
|
+
CF::RobotWorker.create({:station => s1, :type => "text_appending_robot", :settings => {:append => ["{{description}}"], :separator => "||"}})
|
25
25
|
end
|
26
26
|
end
|
27
|
-
run = CF::Run.create(line, "text_appending_robot_run",
|
27
|
+
run = CF::Run.create(line, "text_appending_robot_run", [{"Company"=>"Sprout","Website"=>"www.sprout.com"}])
|
28
28
|
# debugger
|
29
29
|
output = run.final_output
|
30
30
|
station_1_output = run.output(:station => 1)
|
@@ -33,7 +33,7 @@ module CF
|
|
33
33
|
line.stations.last.worker.class.should eql(CF::RobotWorker)
|
34
34
|
line.stations.first.worker.reward.should eql(20)
|
35
35
|
line.stations.first.worker.number.should eql(1)
|
36
|
-
line.stations.last.worker.settings.should eql({:append => ["{description}"], :separator => "||"})
|
36
|
+
line.stations.last.worker.settings.should eql({:append => ["{{description}}"], :separator => "||"})
|
37
37
|
line.stations.last.worker.type.should eql("TextAppendingRobot")
|
38
38
|
end
|
39
39
|
end
|
@@ -65,10 +65,10 @@ module CF
|
|
65
65
|
station = CF::Station.new({:type => "work"})
|
66
66
|
line.stations station
|
67
67
|
|
68
|
-
worker_1 = CF::RobotWorker.create({:type => "text_appending_robot", :settings => {:append => ["{description}"], :separator => "||"}})
|
68
|
+
worker_1 = CF::RobotWorker.create({:type => "text_appending_robot", :settings => {:append => ["{{description}}"], :separator => "||"}})
|
69
69
|
line.stations.last.worker = worker_1
|
70
70
|
|
71
|
-
run = CF::Run.create(line, "text_appending_robot_run_1",
|
71
|
+
run = CF::Run.create(line, "text_appending_robot_run_1", [{"Company"=>"Sprout","Website"=>"www.sprout.com"}])
|
72
72
|
# debugger
|
73
73
|
output = run.final_output
|
74
74
|
station_1_output = run.output(:station => 1)
|
@@ -77,7 +77,7 @@ module CF
|
|
77
77
|
line.stations.last.worker.class.should eql(CF::RobotWorker)
|
78
78
|
line.stations.first.worker.reward.should eql(20)
|
79
79
|
line.stations.first.worker.number.should eql(1)
|
80
|
-
line.stations.last.worker.settings.should eql({:append => ["{description}"], :separator => "||"})
|
80
|
+
line.stations.last.worker.settings.should eql({:append => ["{{description}}"], :separator => "||"})
|
81
81
|
line.stations.last.worker.type.should eql("TextAppendingRobot")
|
82
82
|
end
|
83
83
|
end
|
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.1.
|
4
|
+
version: 0.1.13
|
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: 2011-08-
|
12
|
+
date: 2011-08-16 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156819940 !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: *2156819940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &2157747940 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.0.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2157747940
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hashie
|
38
|
-
requirement: &
|
38
|
+
requirement: &2157747440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.0.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2157747440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rest-client
|
49
|
-
requirement: &
|
49
|
+
requirement: &2157747060 !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: *2157747060
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: json
|
60
|
-
requirement: &
|
60
|
+
requirement: &2157746600 !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: *2157746600
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: thor
|
71
|
-
requirement: &
|
71
|
+
requirement: &2157746100 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.14.6
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2157746100
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: highline
|
82
|
-
requirement: &
|
82
|
+
requirement: &2157745680 !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: *2157745680
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: httparty
|
93
|
-
requirement: &
|
93
|
+
requirement: &2157745140 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 0.7.8
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2157745140
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: terminal-table
|
104
|
-
requirement: &
|
104
|
+
requirement: &2157744640 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 1.4.2
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2157744640
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: millisami-csv-hash
|
115
|
-
requirement: &
|
115
|
+
requirement: &2157744260 !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: *2157744260
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: ruby-debug19
|
126
|
-
requirement: &
|
126
|
+
requirement: &2157743800 !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: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2157743800
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: aruba
|
137
|
-
requirement: &
|
137
|
+
requirement: &2157743380 !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: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2157743380
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: rails
|
148
|
-
requirement: &
|
148
|
+
requirement: &2157742880 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ~>
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: 3.0.3
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2157742880
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: bundler
|
159
|
-
requirement: &
|
159
|
+
requirement: &2157742380 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ~>
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: 1.0.0
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2157742380
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: generator_spec
|
170
|
-
requirement: &
|
170
|
+
requirement: &2157741920 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ~>
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: 0.8.3
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2157741920
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: rspec-rails
|
181
|
-
requirement: &
|
181
|
+
requirement: &2157741540 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ! '>='
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: '0'
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *2157741540
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: cucumber
|
192
|
-
requirement: &
|
192
|
+
requirement: &2157741080 !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: *2157741080
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: rdoc
|
203
|
-
requirement: &
|
203
|
+
requirement: &2157740580 !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
206
206
|
- - ~>
|
@@ -208,10 +208,10 @@ dependencies:
|
|
208
208
|
version: 3.5.3
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
|
-
version_requirements: *
|
211
|
+
version_requirements: *2157740580
|
212
212
|
- !ruby/object:Gem::Dependency
|
213
213
|
name: vcr
|
214
|
-
requirement: &
|
214
|
+
requirement: &2157740160 !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: *2157740160
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: rake
|
225
|
-
requirement: &
|
225
|
+
requirement: &2157756080 !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: *2157756080
|
234
234
|
- !ruby/object:Gem::Dependency
|
235
235
|
name: webmock
|
236
|
-
requirement: &
|
236
|
+
requirement: &2157755660 !ruby/object:Gem::Requirement
|
237
237
|
none: false
|
238
238
|
requirements:
|
239
239
|
- - ! '>='
|
@@ -241,10 +241,10 @@ dependencies:
|
|
241
241
|
version: '0'
|
242
242
|
type: :development
|
243
243
|
prerelease: false
|
244
|
-
version_requirements: *
|
244
|
+
version_requirements: *2157755660
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
246
|
name: timecop
|
247
|
-
requirement: &
|
247
|
+
requirement: &2157755240 !ruby/object:Gem::Requirement
|
248
248
|
none: false
|
249
249
|
requirements:
|
250
250
|
- - ! '>='
|
@@ -252,7 +252,7 @@ dependencies:
|
|
252
252
|
version: '0'
|
253
253
|
type: :development
|
254
254
|
prerelease: false
|
255
|
-
version_requirements: *
|
255
|
+
version_requirements: *2157755240
|
256
256
|
description: A Ruby wrapper and CLI for to interact with Cloudfactory.com REST API
|
257
257
|
email:
|
258
258
|
- info@cloudfactory.com
|
@@ -292,6 +292,7 @@ files:
|
|
292
292
|
- lib/cf/cli/config.rb
|
293
293
|
- lib/cf/cli/form.rb
|
294
294
|
- lib/cf/cli/line.rb
|
295
|
+
- lib/cf/cli/line_yaml_validator.rb
|
295
296
|
- lib/cf/cli/production.rb
|
296
297
|
- lib/cf/cli/templates/css_file.css.erb
|
297
298
|
- lib/cf/cli/templates/form_preview.html.erb
|