cloudfactory 0.2.1 → 0.2.2
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 +8 -0
- data/bin/cf +6 -2
- data/features/form_field.feature +58 -0
- data/features/run.feature +0 -1
- data/features/task_form.feature +64 -0
- data/features/whoami.feature +12 -0
- data/lib/cf/cli.rb +12 -0
- data/lib/cf/cli/line.rb +12 -6
- data/lib/cf/cli/production.rb +9 -9
- data/lib/cf/cli/templates/sample-line/form.html +8 -1
- data/lib/cf/cli/templates/sample-line/form.js +12 -16
- data/lib/cf/run.rb +1 -1
- data/lib/cf/version.rb +1 -1
- data/spec/run_spec.rb +2 -3
- metadata +54 -48
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.2.2 (2011-08-29)
|
2
|
+
|
3
|
+
* Add a new command in CLI, cf whoami to show the current logged in credentials
|
4
|
+
* Psych::SyntaxError and Syck::SyntaxError exceptions caught once again to show some intuitive error instead of scary backtrace
|
5
|
+
* Tested when adding units for blank/no data
|
6
|
+
* Output format bug fixed in GEM
|
7
|
+
* Fixed miscellaneous bugs
|
8
|
+
|
1
9
|
## 0.2.1 (2011-08-26)
|
2
10
|
|
3
11
|
* Fixed the bug of creating multiple output formats for a line. Issue #352
|
data/bin/cf
CHANGED
@@ -13,6 +13,10 @@ begin
|
|
13
13
|
Cf::CLI.start
|
14
14
|
rescue ArgumentError
|
15
15
|
$stderr.puts "\n\tError during processing: #{$!.message}\n\n"
|
16
|
-
rescue
|
17
|
-
|
16
|
+
rescue Exception => exec
|
17
|
+
if (defined?(Syck::SyntaxError) && exec.is_a?(Syck::SyntaxError)) || (defined?(Psych::SyntaxError) && exec.is_a?(Psych::SyntaxError))
|
18
|
+
$stderr.puts "\n\tError during processing: #{$!.message}\n\n"
|
19
|
+
else
|
20
|
+
raise exec
|
21
|
+
end
|
18
22
|
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Feature: CLI Errors
|
2
|
+
In order to show the intuitive errors
|
3
|
+
As a CLI user
|
4
|
+
I want to get clear error messages in CLI
|
5
|
+
|
6
|
+
@announce, @too_slow_process
|
7
|
+
Scenario: Invalid Form Field
|
8
|
+
Given a file named ".cf_credentials" with:
|
9
|
+
"""
|
10
|
+
---
|
11
|
+
:target_url: http://lvh.me:3000/api/
|
12
|
+
:api_version: v1
|
13
|
+
:api_key: 89ceebf739adbf59d34911f4f28b2fa0e1564fb6
|
14
|
+
|
15
|
+
"""
|
16
|
+
And a file named "dater/line.yml" with:
|
17
|
+
"""
|
18
|
+
title: dater
|
19
|
+
department: Web Research
|
20
|
+
input_formats:
|
21
|
+
- name: email
|
22
|
+
required: true
|
23
|
+
valid_type: email
|
24
|
+
stations:
|
25
|
+
- station:
|
26
|
+
station_index: 1
|
27
|
+
station_type: work
|
28
|
+
worker:
|
29
|
+
worker_type: human
|
30
|
+
num_workers: 1
|
31
|
+
reward: 5
|
32
|
+
task_form:
|
33
|
+
form_title: Look at a photo to determine the person's gender and approximate age
|
34
|
+
instruction: Click the photo link and then enter the person's gender and approximate age in the form below
|
35
|
+
form_fields:
|
36
|
+
- label: Gender
|
37
|
+
field_type: INVALID_TYPE
|
38
|
+
required: true
|
39
|
+
option_values:
|
40
|
+
- male
|
41
|
+
- female
|
42
|
+
- not sure
|
43
|
+
- label: Age
|
44
|
+
field_type: SB
|
45
|
+
required: true
|
46
|
+
option_values:
|
47
|
+
- Under 18
|
48
|
+
- 18 to 30
|
49
|
+
- 30 to 45
|
50
|
+
- 45 to 60
|
51
|
+
- Over 60
|
52
|
+
"""
|
53
|
+
And I cd to "dater"
|
54
|
+
When I run `cf line create`
|
55
|
+
Then the output should match:
|
56
|
+
"""
|
57
|
+
Field type cannot be INVALID_TYPE
|
58
|
+
"""
|
data/features/run.feature
CHANGED
@@ -12,7 +12,6 @@ Feature: Create a production run on CF
|
|
12
12
|
:api_key: 89ceebf739adbf59d34911f4f28b2fa0e1564fb6
|
13
13
|
|
14
14
|
"""
|
15
|
-
|
16
15
|
@announce, @moderate_slow_process
|
17
16
|
Scenario: Creating a production run without run title should be created using the "line-title-11aug10-hhmmss"
|
18
17
|
Given a line exists with title "brandiator"
|
@@ -0,0 +1,64 @@
|
|
1
|
+
Feature: CLI Errors
|
2
|
+
In order to show the intuitive errors
|
3
|
+
As a CLI user
|
4
|
+
I want to get clear error messages in CLI
|
5
|
+
|
6
|
+
@announce, @too_slow_process
|
7
|
+
Scenario: Invalid Task Form, without form_title and instruction
|
8
|
+
Given a file named ".cf_credentials" with:
|
9
|
+
"""
|
10
|
+
---
|
11
|
+
:target_url: http://lvh.me:3000/api/
|
12
|
+
:api_version: v1
|
13
|
+
:api_key: 89ceebf739adbf59d34911f4f28b2fa0e1564fb6
|
14
|
+
|
15
|
+
"""
|
16
|
+
And a file named "dater2/line.yml" with:
|
17
|
+
"""
|
18
|
+
title: dater2
|
19
|
+
department: Web Research
|
20
|
+
input_formats:
|
21
|
+
- name: email
|
22
|
+
required: true
|
23
|
+
valid_type: email # email, url, number, date, phone
|
24
|
+
- name: location
|
25
|
+
required: true
|
26
|
+
valid_type: text # email, url, number, date, phone
|
27
|
+
- name: photo
|
28
|
+
required: true
|
29
|
+
valid_type: url # email, url, number, date, phone
|
30
|
+
stations:
|
31
|
+
- station:
|
32
|
+
station_index: 1
|
33
|
+
station_type: work # work, improve, tournament
|
34
|
+
worker:
|
35
|
+
worker_type: human # "human" or name of robot (google_translate_robot, etc)
|
36
|
+
num_workers: 1
|
37
|
+
reward: 5
|
38
|
+
task_form:
|
39
|
+
form_title:
|
40
|
+
instruction:
|
41
|
+
form_fields:
|
42
|
+
- label: Gender
|
43
|
+
field_type: radio_button
|
44
|
+
required: true
|
45
|
+
option_values:
|
46
|
+
- male
|
47
|
+
- female
|
48
|
+
- not sure
|
49
|
+
- label: Age
|
50
|
+
field_type: select_box
|
51
|
+
required: true
|
52
|
+
option_values:
|
53
|
+
- Under 18
|
54
|
+
- 18 to 30
|
55
|
+
- 30 to 45
|
56
|
+
- 45 to 60
|
57
|
+
- Over 60
|
58
|
+
"""
|
59
|
+
And I cd to "dater2"
|
60
|
+
When I run `cf line create`
|
61
|
+
Then the output should match:
|
62
|
+
"""
|
63
|
+
["Title can't be blank", "Instruction can't be blank"]
|
64
|
+
"""
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature: Whoami credentials
|
2
|
+
In order to talk with cloud factory
|
3
|
+
As a CLI user
|
4
|
+
I want to know my email
|
5
|
+
|
6
|
+
@announce, @moderate_slow_process
|
7
|
+
Scenario: Whoami
|
8
|
+
When I run `cf whoami?`
|
9
|
+
# Then the output should match:
|
10
|
+
# """
|
11
|
+
# john@doe.com and secret
|
12
|
+
# """
|
data/lib/cf/cli.rb
CHANGED
@@ -37,6 +37,7 @@ module Cf # :nodoc: all
|
|
37
37
|
map "-v" => :version
|
38
38
|
|
39
39
|
desc "login", "Setup the cloudfactory credentials"
|
40
|
+
|
40
41
|
def login
|
41
42
|
email = ask("Enter your email:")
|
42
43
|
passwd = ask_password("Enter the password: ")
|
@@ -60,6 +61,17 @@ module Cf # :nodoc: all
|
|
60
61
|
end
|
61
62
|
end
|
62
63
|
|
64
|
+
desc "whoami", "to know what credential you are using"
|
65
|
+
def whoami
|
66
|
+
if File.exists?(config_file)
|
67
|
+
yp = YAML::load(File.open(config_file,'r'))
|
68
|
+
say("\nAccount => #{yp[:account_name]}", :green)
|
69
|
+
say("Email => #{yp[:email]}\n", :green)
|
70
|
+
else
|
71
|
+
say("\nPlease login with cf login\n")
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
63
75
|
# desc "target", "Setup the cloudfactory credentials. e.g. cf target staging #=> http://sandbox.staging.cloudfactory.com (options: staging/development/production)"
|
64
76
|
# def target(target_url=nil)
|
65
77
|
# if target_url.present?
|
data/lib/cf/cli/line.rb
CHANGED
@@ -83,24 +83,30 @@ module Cf # :nodoc: all
|
|
83
83
|
resp_runs = CF::Run.all({:line_title => line_title})
|
84
84
|
|
85
85
|
if resp_runs.has_key?("runs") && resp_runs['runs'].present?
|
86
|
-
say("!!! Warning !!!\nThe following are the existing production runs based on this line.", :
|
86
|
+
say("!!! Warning !!!\nThe following are the existing production runs based on this line.", :yellow)
|
87
87
|
existing_runs = Cf::Production.new([],{'line' => line_title, 'all' => true})
|
88
88
|
existing_runs.list
|
89
89
|
|
90
|
+
say("\n!!! Warning !!!\nDeleting this line will also delete all the existing production runs based on this line.\n", :yellow)
|
90
91
|
delete_forcefully = agree("Do you still want to delete this line? [y/n] ")
|
92
|
+
say("\n")
|
91
93
|
if delete_forcefully
|
92
|
-
CF::Line.destroy(line_title, :forced => true)
|
93
|
-
|
94
|
+
resp = CF::Line.destroy(line_title, :forced => true)
|
95
|
+
if resp.code != 200
|
96
|
+
say("Error: #{resp.error.message}\n", :red)
|
97
|
+
else
|
98
|
+
say("The line #{line_title} deleted successfully!\n", :yellow)
|
99
|
+
end
|
94
100
|
else
|
95
|
-
say("Line deletion aborted
|
101
|
+
say("Line deletion aborted!\n", :cyan)
|
96
102
|
end
|
97
103
|
else
|
98
104
|
CF::Line.destroy(line_title)
|
99
|
-
say("The line #{line_title} deleted successfully
|
105
|
+
say("The line #{line_title} deleted successfully!\n", :yellow)
|
100
106
|
end
|
101
107
|
end
|
102
108
|
else
|
103
|
-
say("The line #{line_title} doesn't exist
|
109
|
+
say("The line #{line_title} doesn't exist!\n", :yellow)
|
104
110
|
end
|
105
111
|
end
|
106
112
|
|
data/lib/cf/cli/production.rb
CHANGED
@@ -22,13 +22,7 @@ module Cf # :nodoc: all
|
|
22
22
|
set_api_key
|
23
23
|
CF.account_name = CF::Account.info.name
|
24
24
|
|
25
|
-
if
|
26
|
-
line_yaml_dump = YAML::load(File.read(yaml_source).strip)
|
27
|
-
line_title = line_yaml_dump['title'].parameterize
|
28
|
-
line = CF::Line.find(line_title)
|
29
|
-
line = Hashie::Mash.new(line)
|
30
|
-
say("#{line.error.message}", :red) and return if line.error.present?
|
31
|
-
elsif options[:line].present?
|
25
|
+
if options[:line].present?
|
32
26
|
line = CF::Line.find(options[:line])
|
33
27
|
line = Hashie::Mash.new(line)
|
34
28
|
if line.error.blank?
|
@@ -36,6 +30,12 @@ module Cf # :nodoc: all
|
|
36
30
|
else
|
37
31
|
say("#{line.error.message}", :red) and return
|
38
32
|
end
|
33
|
+
elsif File.exist?("#{yaml_source}")
|
34
|
+
line_yaml_dump = YAML::load(File.read(yaml_source).strip)
|
35
|
+
line_title = line_yaml_dump['title'].parameterize
|
36
|
+
line = CF::Line.find(line_title)
|
37
|
+
line = Hashie::Mash.new(line)
|
38
|
+
say("#{line.error.message}", :red) and return if line.error.present?
|
39
39
|
else
|
40
40
|
say("Looks like you're not in the Line directory or did not provide the line title to use the line", :red) and return
|
41
41
|
end
|
@@ -161,10 +161,10 @@ module Cf # :nodoc: all
|
|
161
161
|
runs = resp_runs['runs'].presence
|
162
162
|
runs.sort! {|a, b| a['title'] <=> b['title'] }
|
163
163
|
runs_table = table do |t|
|
164
|
-
t.headings = ["Run Title", 'URL']
|
164
|
+
t.headings = ["Run Title", 'URL', 'Status']
|
165
165
|
runs.each do |run|
|
166
166
|
run = Hashie::Mash.new(run)
|
167
|
-
t << [run.title, "http://#{CF.account_name}.cloudfactory.com/runs/#{CF.account_name}/#{run.title}"]
|
167
|
+
t << [run.title, "http://#{CF.account_name}.cloudfactory.com/runs/#{CF.account_name}/#{run.title}", run.status]
|
168
168
|
end
|
169
169
|
end
|
170
170
|
say("\n")
|
@@ -1,3 +1,9 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<meta charset="UTF-8">
|
4
|
+
<head>
|
5
|
+
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
6
|
+
</head>
|
1
7
|
<body>
|
2
8
|
<div id="wrapper">
|
3
9
|
<div id="header">
|
@@ -26,4 +32,5 @@
|
|
26
32
|
Copyright(c)
|
27
33
|
</div>
|
28
34
|
</div>
|
29
|
-
</body>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -1,16 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
var new_url = splitted_url.join("/");
|
14
|
-
$("#instructions a").attr('href',new_url);
|
15
|
-
});
|
16
|
-
</script>
|
1
|
+
$(document).ready(function() {
|
2
|
+
var url = $("#instructions a").attr('href');
|
3
|
+
var splitted_url = url.split("/");
|
4
|
+
var gender = splitted_url[splitted_url.length - 3];
|
5
|
+
var new_gender = gender.toLowerCase() == "male" ? "female" : "male";
|
6
|
+
splitted_url[splitted_url.length - 3] = new_gender;
|
7
|
+
var age = splitted_url[splitted_url.length - 1];
|
8
|
+
age = decodeURI(age).split(" ")[0];
|
9
|
+
splitted_url[splitted_url.length - 1] = age;
|
10
|
+
var new_url = splitted_url.join("/");
|
11
|
+
$("#instructions a").attr('href',new_url);
|
12
|
+
});
|
data/lib/cf/run.rb
CHANGED
@@ -90,7 +90,7 @@ module CF
|
|
90
90
|
# ===Usage Example:
|
91
91
|
# units = CF::Run.add_units({:run_title => "title", :file => "path_of_file"})
|
92
92
|
def self.add_units(options={})
|
93
|
-
units = options[:units].
|
93
|
+
units = options[:units].nil? ? nil : options[:units]
|
94
94
|
run_title = options[:run_title].presence
|
95
95
|
file = options[:file].presence
|
96
96
|
if units
|
data/lib/cf/version.rb
CHANGED
data/spec/run_spec.rb
CHANGED
@@ -528,7 +528,7 @@ module CF
|
|
528
528
|
end
|
529
529
|
end
|
530
530
|
|
531
|
-
|
531
|
+
it "should throw errors for empty input while adding units" do
|
532
532
|
VCR.use_cassette "run/block/adding_units_empty_errors", :record => :new_episodes do
|
533
533
|
# WebMock.allow_net_connect!
|
534
534
|
line = CF::Line.create("adding_units_error_1","Digitization") do |l|
|
@@ -545,8 +545,7 @@ module CF
|
|
545
545
|
end
|
546
546
|
run = CF::Run.create(line, "adding_units_error_run_1", [{"Company"=>"Apple,Inc","Website"=>"Apple.com"}])
|
547
547
|
added_units = CF::Run.add_units(:run_title => "adding_units_error_run", :units => [])
|
548
|
-
added_units['error']['message'].should eql(
|
549
|
-
run.title.should eql("adding_units_error_run_1")
|
548
|
+
added_units['error']['message'].should eql("Run document not found using selector: {:tenant_id=>BSON::ObjectId('4def16fa5511274d98000014'), :title=>\"adding_units_error_run\"}")
|
550
549
|
end
|
551
550
|
end
|
552
551
|
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.2.
|
4
|
+
version: 0.2.2
|
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-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &2161055440 !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: *2161055440
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &2161054940 !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: *2161054940
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hashie
|
38
|
-
requirement: &
|
38
|
+
requirement: &2161083880 !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: *2161083880
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rest-client
|
49
|
-
requirement: &
|
49
|
+
requirement: &2161083500 !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: *2161083500
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: json
|
60
|
-
requirement: &
|
60
|
+
requirement: &2161083040 !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: *2161083040
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: thor
|
71
|
-
requirement: &
|
71
|
+
requirement: &2161082540 !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: *2161082540
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: highline
|
82
|
-
requirement: &
|
82
|
+
requirement: &2161082120 !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: *2161082120
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: httparty
|
93
|
-
requirement: &
|
93
|
+
requirement: &2161081580 !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: *2161081580
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: terminal-table
|
104
|
-
requirement: &
|
104
|
+
requirement: &2161081080 !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: *2161081080
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: millisami-csv-hash
|
115
|
-
requirement: &
|
115
|
+
requirement: &2161080700 !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: *2161080700
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: awesome_print
|
126
|
-
requirement: &
|
126
|
+
requirement: &2161080240 !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: *2161080240
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: ruby-debug19
|
137
|
-
requirement: &
|
137
|
+
requirement: &2161079820 !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: *2161079820
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: aruba
|
148
|
-
requirement: &
|
148
|
+
requirement: &2161079400 !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: *2161079400
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rails
|
159
|
-
requirement: &
|
159
|
+
requirement: &2161078900 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ~>
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: 3.0.3
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2161078900
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: bundler
|
170
|
-
requirement: &
|
170
|
+
requirement: &2161078400 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ~>
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: 1.0.0
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2161078400
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: generator_spec
|
181
|
-
requirement: &
|
181
|
+
requirement: &2161077940 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ~>
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: 0.8.3
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *2161077940
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: rspec-rails
|
192
|
-
requirement: &
|
192
|
+
requirement: &2161077560 !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: *2161077560
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: cucumber
|
203
|
-
requirement: &
|
203
|
+
requirement: &2161077100 !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
206
206
|
- - ! '>='
|
@@ -208,10 +208,10 @@ dependencies:
|
|
208
208
|
version: '0'
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
|
-
version_requirements: *
|
211
|
+
version_requirements: *2161077100
|
212
212
|
- !ruby/object:Gem::Dependency
|
213
213
|
name: rdoc
|
214
|
-
requirement: &
|
214
|
+
requirement: &2161076600 !ruby/object:Gem::Requirement
|
215
215
|
none: false
|
216
216
|
requirements:
|
217
217
|
- - ~>
|
@@ -219,10 +219,10 @@ dependencies:
|
|
219
219
|
version: 3.5.3
|
220
220
|
type: :development
|
221
221
|
prerelease: false
|
222
|
-
version_requirements: *
|
222
|
+
version_requirements: *2161076600
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: vcr
|
225
|
-
requirement: &
|
225
|
+
requirement: &2161076180 !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: *2161076180
|
234
234
|
- !ruby/object:Gem::Dependency
|
235
235
|
name: rake
|
236
|
-
requirement: &
|
236
|
+
requirement: &2161092080 !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: *2161092080
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
246
|
name: webmock
|
247
|
-
requirement: &
|
247
|
+
requirement: &2161091660 !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: *2161091660
|
256
256
|
- !ruby/object:Gem::Dependency
|
257
257
|
name: timecop
|
258
|
-
requirement: &
|
258
|
+
requirement: &2161091240 !ruby/object:Gem::Requirement
|
259
259
|
none: false
|
260
260
|
requirements:
|
261
261
|
- - ! '>='
|
@@ -263,7 +263,7 @@ dependencies:
|
|
263
263
|
version: '0'
|
264
264
|
type: :development
|
265
265
|
prerelease: false
|
266
|
-
version_requirements: *
|
266
|
+
version_requirements: *2161091240
|
267
267
|
description: A Ruby wrapper and CLI for to interact with Cloudfactory.com REST API
|
268
268
|
email:
|
269
269
|
- info@cloudfactory.com
|
@@ -284,6 +284,7 @@ files:
|
|
284
284
|
- features/error_form_field.feature
|
285
285
|
- features/error_task_form.feature
|
286
286
|
- features/errors.feature
|
287
|
+
- features/form_field.feature
|
287
288
|
- features/form_generation.feature
|
288
289
|
- features/form_preview.feature
|
289
290
|
- features/line_creation.feature
|
@@ -294,6 +295,8 @@ files:
|
|
294
295
|
- features/support/cli_steps.rb
|
295
296
|
- features/support/env.rb
|
296
297
|
- features/target_url.feature
|
298
|
+
- features/task_form.feature
|
299
|
+
- features/whoami.feature
|
297
300
|
- fixtures/api_credentials_example.yml
|
298
301
|
- fixtures/cassette_library/.gitkeep
|
299
302
|
- fixtures/input_data/media_converter_robot.csv
|
@@ -405,6 +408,7 @@ test_files:
|
|
405
408
|
- features/error_form_field.feature
|
406
409
|
- features/error_task_form.feature
|
407
410
|
- features/errors.feature
|
411
|
+
- features/form_field.feature
|
408
412
|
- features/form_generation.feature
|
409
413
|
- features/form_preview.feature
|
410
414
|
- features/line_creation.feature
|
@@ -415,6 +419,8 @@ test_files:
|
|
415
419
|
- features/support/cli_steps.rb
|
416
420
|
- features/support/env.rb
|
417
421
|
- features/target_url.feature
|
422
|
+
- features/task_form.feature
|
423
|
+
- features/whoami.feature
|
418
424
|
- spec/account_spec.rb
|
419
425
|
- spec/badge_spec.rb
|
420
426
|
- spec/concept_tagging_robot_spec.rb
|