cloudfactory 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -1
- data/README.md +3 -3
- data/cf.gemspec +5 -5
- data/configure +6 -0
- data/features/support/env.rb +1 -5
- data/lib/cf/cli.rb +1 -3
- data/lib/cf/cli/production.rb +32 -2
- data/lib/cf/version.rb +1 -1
- data/spec/spec_helper.rb +3 -4
- metadata +220 -251
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.5.3 (2012-03-16)
|
2
|
+
* CSV file is zipped before send to CF platform
|
3
|
+
* The CSV file is deleted from the zipped file after successful posting of file to CF platform
|
4
|
+
|
1
5
|
## 0.5.2 (2012-03-1)
|
2
6
|
* Badge made reusability under same account
|
3
7
|
* Added options for starting production with gold-standard
|
@@ -90,7 +94,7 @@
|
|
90
94
|
* Psych::SyntaxError and Syck::SyntaxError exceptions caught once again to show some intuitive error instead of scary backtrace
|
91
95
|
* Tested when adding units for blank/no data
|
92
96
|
* Output format bug fixed in GEM
|
93
|
-
* Fixed miscellaneous bugs
|
97
|
+
* Fixed miscellaneous bugs
|
94
98
|
|
95
99
|
## 0.2.1 (2011-08-26)
|
96
100
|
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ Then run `cf production start first-line-run --input-data=first-line-run.csv`
|
|
23
23
|
This should create a line and do production run.
|
24
24
|
|
25
25
|
```bash
|
26
|
-
± cf
|
26
|
+
± cf
|
27
27
|
Tasks:
|
28
28
|
cf form # Commands to generate custom task forms. For more info, cf form help
|
29
29
|
cf help [TASK] # Describe available tasks or one specific task
|
@@ -32,7 +32,7 @@ Tasks:
|
|
32
32
|
cf production # Commands to create production runs. For more info, cf production help
|
33
33
|
|
34
34
|
|
35
|
-
± cf line help
|
35
|
+
± cf line help
|
36
36
|
Tasks:
|
37
37
|
cf help [COMMAND] # Describe subcommands or one specific subcommand
|
38
38
|
cf line create # takes the yaml file at line.yml and creates a new line at http://cloudfactory.com
|
@@ -41,4 +41,4 @@ Tasks:
|
|
41
41
|
|
42
42
|
## Development
|
43
43
|
```ruby
|
44
|
-
RESTCLIENT_LOG=stdout TEST=1 be rspec spec/line_spec.rb
|
44
|
+
RESTCLIENT_LOG=stdout TEST=1 be rspec spec/line_spec.rb
|
data/cf.gemspec
CHANGED
@@ -73,13 +73,13 @@ EOF
|
|
73
73
|
s.add_dependency "millisami-csv-hash"
|
74
74
|
s.add_dependency "awesome_print"
|
75
75
|
|
76
|
-
s.add_development_dependency '
|
77
|
-
s.add_development_dependency '
|
76
|
+
s.add_development_dependency 'pry'
|
77
|
+
s.add_development_dependency 'pry-nav'
|
78
78
|
s.add_development_dependency "aruba"
|
79
79
|
s.add_development_dependency "rails", "~> 3.0.3"
|
80
|
-
s.add_development_dependency "bundler"
|
81
|
-
s.add_development_dependency "generator_spec", "~> 0.8
|
82
|
-
s.add_development_dependency "rspec
|
80
|
+
s.add_development_dependency "bundler"
|
81
|
+
s.add_development_dependency "generator_spec", "~> 0.8"
|
82
|
+
s.add_development_dependency "rspec"
|
83
83
|
s.add_development_dependency "cucumber"
|
84
84
|
s.add_development_dependency "rdoc", "~> 3.5.3"
|
85
85
|
s.add_development_dependency "vcr"
|
data/configure
ADDED
data/features/support/env.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'ruby-debug'
|
2
1
|
require 'aruba/cucumber'
|
3
2
|
require 'cf'
|
4
3
|
ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
|
@@ -20,10 +19,7 @@ end
|
|
20
19
|
|
21
20
|
if ENV['TEST_CLI']
|
22
21
|
|
23
|
-
require '
|
24
|
-
::Debugger.start
|
25
|
-
::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
|
26
|
-
|
22
|
+
require 'pry'
|
27
23
|
API_CONFIG = YAML.load_file(File.expand_path("../../../fixtures/api_credentials.yml", __FILE__))
|
28
24
|
CF.configure do |config|
|
29
25
|
config.api_version = API_CONFIG['api_version']
|
data/lib/cf/cli.rb
CHANGED
data/lib/cf/cli/production.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'thor/group'
|
2
|
+
require 'zip/zip'
|
2
3
|
|
3
4
|
module Cf # :nodoc: all
|
4
5
|
class Production < Thor # :nodoc: all
|
@@ -76,7 +77,19 @@ module Cf # :nodoc: all
|
|
76
77
|
set_target_uri(options[:live])
|
77
78
|
set_api_key
|
78
79
|
CF.account_name = CF::Account.info['name']
|
79
|
-
|
80
|
+
available_balance = CF::Account.info['balance']['available_balance']
|
81
|
+
if available_balance.to_f <= 0
|
82
|
+
|
83
|
+
say("****************************************************************************************", :red)
|
84
|
+
say("*** Warning! Your account balance is 0. Please recharge your account balance ASAP. ***", :red)
|
85
|
+
say("****************************************************************************************", :red)
|
86
|
+
elsif available_balance.to_f <= 500
|
87
|
+
say("***********************************************************************************************", :yellow)
|
88
|
+
say("*** Warning! Your account balance is #{available_balance.to_s} cf cents. Please recharge your account balance. ***", :yellow)
|
89
|
+
say("***********************************************************************************************", :yellow)
|
90
|
+
end
|
91
|
+
|
92
|
+
|
80
93
|
if options[:line].present?
|
81
94
|
line = CF::Line.find(options[:line])
|
82
95
|
if line.nil?
|
@@ -138,6 +151,18 @@ module Cf # :nodoc: all
|
|
138
151
|
end
|
139
152
|
input_data_file = "#{Dir.pwd}/input/#{chosen_file}"
|
140
153
|
end
|
154
|
+
|
155
|
+
#### zipping csv file
|
156
|
+
zipfile_name = "input/input.zip"
|
157
|
+
Zip::ZipFile.open(zipfile_name, Zip::ZipFile::CREATE) do |zipfile|
|
158
|
+
begin
|
159
|
+
zipfile.add("input.csv", input_data_file)
|
160
|
+
rescue
|
161
|
+
zipfile.remove("input.csv")
|
162
|
+
zipfile.add("input.csv", input_data_file)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
141
166
|
else
|
142
167
|
unless File.exist?(input_data)
|
143
168
|
say("The input data file named #{input_data} doesn't exist", :red) and return
|
@@ -152,9 +177,14 @@ module Cf # :nodoc: all
|
|
152
177
|
|
153
178
|
gold_standards = options[:gold_standards]
|
154
179
|
say "Creating a production run with title #{run_title}", :green
|
155
|
-
run = CF::Run.create(line_title, run_title,
|
180
|
+
run = CF::Run.create(line_title, run_title, zipfile_name, gold_standards)
|
156
181
|
if run.errors.blank?
|
157
182
|
display_success_run(run)
|
183
|
+
## remove the input.csv file from the zip file so that next time when production run is started it wont conflict
|
184
|
+
Zip::ZipFile.open(zipfile_name, Zip::ZipFile::CREATE) {
|
185
|
+
|zipfile|
|
186
|
+
zipfile.remove("input.csv")
|
187
|
+
}
|
158
188
|
else
|
159
189
|
say("Error: #{run.errors}", :red)
|
160
190
|
end
|
data/lib/cf/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
require 'cf'
|
2
2
|
require 'vcr'
|
3
3
|
require 'webmock'
|
4
|
-
require '
|
4
|
+
require 'pry'
|
5
|
+
require 'pry-nav'
|
5
6
|
require 'rails'
|
6
7
|
|
7
8
|
RSpec.configure do |config|
|
8
9
|
config.before(:suite) do
|
9
|
-
::Debugger.start
|
10
|
-
::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
|
11
|
-
|
12
10
|
API_CONFIG = YAML.load_file(File.expand_path("../../fixtures/api_credentials.yml", __FILE__))
|
13
11
|
CF.configure do |config|
|
14
12
|
config.account_name = API_CONFIG['account_name']
|
@@ -32,4 +30,5 @@ VCR.config do |c|
|
|
32
30
|
c.stub_with :webmock
|
33
31
|
c.ignore_localhost = true
|
34
32
|
c.default_cassette_options = { :record => :none }
|
33
|
+
c.allow_http_connections_when_no_cassette = true
|
35
34
|
end
|
metadata
CHANGED
@@ -1,291 +1,288 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudfactory
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.3
|
4
5
|
prerelease:
|
5
|
-
version: 0.5.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- CloudFactory.com
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: i18n
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2158616800 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
24
22
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: activesupport
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *2158616800
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
requirement: &2158616300 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
29
|
+
requirements:
|
32
30
|
- - ~>
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
35
33
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: hashie
|
39
34
|
prerelease: false
|
40
|
-
|
35
|
+
version_requirements: *2158616300
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: hashie
|
38
|
+
requirement: &2158638060 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.0'
|
46
44
|
type: :runtime
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rest-client
|
50
45
|
prerelease: false
|
51
|
-
|
46
|
+
version_requirements: *2158638060
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rest-client
|
49
|
+
requirement: &2158637680 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
57
55
|
type: :runtime
|
58
|
-
version_requirements: *id004
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: json
|
61
56
|
prerelease: false
|
62
|
-
|
57
|
+
version_requirements: *2158637680
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: json
|
60
|
+
requirement: &2158637220 !ruby/object:Gem::Requirement
|
63
61
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
68
66
|
type: :runtime
|
69
|
-
version_requirements: *id005
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: thor
|
72
67
|
prerelease: false
|
73
|
-
|
68
|
+
version_requirements: *2158637220
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thor
|
71
|
+
requirement: &2158636720 !ruby/object:Gem::Requirement
|
74
72
|
none: false
|
75
|
-
requirements:
|
73
|
+
requirements:
|
76
74
|
- - ~>
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version:
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0.14'
|
79
77
|
type: :runtime
|
80
|
-
version_requirements: *id006
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: highline
|
83
78
|
prerelease: false
|
84
|
-
|
79
|
+
version_requirements: *2158636720
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: highline
|
82
|
+
requirement: &2158636280 !ruby/object:Gem::Requirement
|
85
83
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version:
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
90
88
|
type: :runtime
|
91
|
-
version_requirements: *id007
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: httparty
|
94
89
|
prerelease: false
|
95
|
-
|
90
|
+
version_requirements: *2158636280
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: httparty
|
93
|
+
requirement: &2158635700 !ruby/object:Gem::Requirement
|
96
94
|
none: false
|
97
|
-
requirements:
|
95
|
+
requirements:
|
98
96
|
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version:
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0.7'
|
101
99
|
type: :runtime
|
102
|
-
version_requirements: *id008
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: terminal-table
|
105
100
|
prerelease: false
|
106
|
-
|
101
|
+
version_requirements: *2158635700
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: terminal-table
|
104
|
+
requirement: &2158635060 !ruby/object:Gem::Requirement
|
107
105
|
none: false
|
108
|
-
requirements:
|
106
|
+
requirements:
|
109
107
|
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version:
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.4'
|
112
110
|
type: :runtime
|
113
|
-
version_requirements: *id009
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: millisami-csv-hash
|
116
111
|
prerelease: false
|
117
|
-
|
112
|
+
version_requirements: *2158635060
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: millisami-csv-hash
|
115
|
+
requirement: &2158634540 !ruby/object:Gem::Requirement
|
118
116
|
none: false
|
119
|
-
requirements:
|
120
|
-
- -
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version:
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
123
121
|
type: :runtime
|
124
|
-
version_requirements: *id010
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: awesome_print
|
127
122
|
prerelease: false
|
128
|
-
|
123
|
+
version_requirements: *2158634540
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: awesome_print
|
126
|
+
requirement: &2158633740 !ruby/object:Gem::Requirement
|
129
127
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version:
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
134
132
|
type: :runtime
|
135
|
-
version_requirements: *id011
|
136
|
-
- !ruby/object:Gem::Dependency
|
137
|
-
name: ruby-debug19
|
138
133
|
prerelease: false
|
139
|
-
|
134
|
+
version_requirements: *2158633740
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: pry
|
137
|
+
requirement: &2158633220 !ruby/object:Gem::Requirement
|
140
138
|
none: false
|
141
|
-
requirements:
|
142
|
-
- -
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version:
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
145
143
|
type: :development
|
146
|
-
version_requirements: *id012
|
147
|
-
- !ruby/object:Gem::Dependency
|
148
|
-
name: ruby-debug19
|
149
144
|
prerelease: false
|
150
|
-
|
145
|
+
version_requirements: *2158633220
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: pry-nav
|
148
|
+
requirement: &2158632800 !ruby/object:Gem::Requirement
|
151
149
|
none: false
|
152
|
-
requirements:
|
153
|
-
- -
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version:
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
156
154
|
type: :development
|
157
|
-
version_requirements: *id013
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: aruba
|
160
155
|
prerelease: false
|
161
|
-
|
156
|
+
version_requirements: *2158632800
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: aruba
|
159
|
+
requirement: &2158631960 !ruby/object:Gem::Requirement
|
162
160
|
none: false
|
163
|
-
requirements:
|
164
|
-
- -
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version:
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
167
165
|
type: :development
|
168
|
-
version_requirements: *id014
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: rails
|
171
166
|
prerelease: false
|
172
|
-
|
167
|
+
version_requirements: *2158631960
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: rails
|
170
|
+
requirement: &2158630980 !ruby/object:Gem::Requirement
|
173
171
|
none: false
|
174
|
-
requirements:
|
172
|
+
requirements:
|
175
173
|
- - ~>
|
176
|
-
- !ruby/object:Gem::Version
|
174
|
+
- !ruby/object:Gem::Version
|
177
175
|
version: 3.0.3
|
178
176
|
type: :development
|
179
|
-
version_requirements: *id015
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
|
-
name: bundler
|
182
177
|
prerelease: false
|
183
|
-
|
178
|
+
version_requirements: *2158630980
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: bundler
|
181
|
+
requirement: &2158630080 !ruby/object:Gem::Requirement
|
184
182
|
none: false
|
185
|
-
requirements:
|
186
|
-
- -
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version:
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
189
187
|
type: :development
|
190
|
-
version_requirements: *id016
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: generator_spec
|
193
188
|
prerelease: false
|
194
|
-
|
189
|
+
version_requirements: *2158630080
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: generator_spec
|
192
|
+
requirement: &2158645680 !ruby/object:Gem::Requirement
|
195
193
|
none: false
|
196
|
-
requirements:
|
194
|
+
requirements:
|
197
195
|
- - ~>
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: 0.8
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0.8'
|
200
198
|
type: :development
|
201
|
-
version_requirements: *id017
|
202
|
-
- !ruby/object:Gem::Dependency
|
203
|
-
name: rspec-rails
|
204
199
|
prerelease: false
|
205
|
-
|
200
|
+
version_requirements: *2158645680
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rspec
|
203
|
+
requirement: &2158645260 !ruby/object:Gem::Requirement
|
206
204
|
none: false
|
207
|
-
requirements:
|
208
|
-
- -
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version:
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
211
209
|
type: :development
|
212
|
-
version_requirements: *id018
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: cucumber
|
215
210
|
prerelease: false
|
216
|
-
|
211
|
+
version_requirements: *2158645260
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
name: cucumber
|
214
|
+
requirement: &2158644620 !ruby/object:Gem::Requirement
|
217
215
|
none: false
|
218
|
-
requirements:
|
219
|
-
- -
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version:
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
222
220
|
type: :development
|
223
|
-
version_requirements: *id019
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: rdoc
|
226
221
|
prerelease: false
|
227
|
-
|
222
|
+
version_requirements: *2158644620
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rdoc
|
225
|
+
requirement: &2158643900 !ruby/object:Gem::Requirement
|
228
226
|
none: false
|
229
|
-
requirements:
|
227
|
+
requirements:
|
230
228
|
- - ~>
|
231
|
-
- !ruby/object:Gem::Version
|
229
|
+
- !ruby/object:Gem::Version
|
232
230
|
version: 3.5.3
|
233
231
|
type: :development
|
234
|
-
version_requirements: *id020
|
235
|
-
- !ruby/object:Gem::Dependency
|
236
|
-
name: vcr
|
237
232
|
prerelease: false
|
238
|
-
|
233
|
+
version_requirements: *2158643900
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: vcr
|
236
|
+
requirement: &2158643220 !ruby/object:Gem::Requirement
|
239
237
|
none: false
|
240
|
-
requirements:
|
241
|
-
- -
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version:
|
238
|
+
requirements:
|
239
|
+
- - ! '>='
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
244
242
|
type: :development
|
245
|
-
version_requirements: *id021
|
246
|
-
- !ruby/object:Gem::Dependency
|
247
|
-
name: rake
|
248
243
|
prerelease: false
|
249
|
-
|
244
|
+
version_requirements: *2158643220
|
245
|
+
- !ruby/object:Gem::Dependency
|
246
|
+
name: rake
|
247
|
+
requirement: &2158642560 !ruby/object:Gem::Requirement
|
250
248
|
none: false
|
251
|
-
requirements:
|
252
|
-
- -
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
version:
|
249
|
+
requirements:
|
250
|
+
- - ! '>='
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0'
|
255
253
|
type: :development
|
256
|
-
version_requirements: *id022
|
257
|
-
- !ruby/object:Gem::Dependency
|
258
|
-
name: webmock
|
259
254
|
prerelease: false
|
260
|
-
|
255
|
+
version_requirements: *2158642560
|
256
|
+
- !ruby/object:Gem::Dependency
|
257
|
+
name: webmock
|
258
|
+
requirement: &2158641900 !ruby/object:Gem::Requirement
|
261
259
|
none: false
|
262
|
-
requirements:
|
263
|
-
- -
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version:
|
260
|
+
requirements:
|
261
|
+
- - ! '>='
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '0'
|
266
264
|
type: :development
|
267
|
-
version_requirements: *id023
|
268
|
-
- !ruby/object:Gem::Dependency
|
269
|
-
name: timecop
|
270
265
|
prerelease: false
|
271
|
-
|
266
|
+
version_requirements: *2158641900
|
267
|
+
- !ruby/object:Gem::Dependency
|
268
|
+
name: timecop
|
269
|
+
requirement: &2158641340 !ruby/object:Gem::Requirement
|
272
270
|
none: false
|
273
|
-
requirements:
|
274
|
-
- -
|
275
|
-
- !ruby/object:Gem::Version
|
276
|
-
version:
|
271
|
+
requirements:
|
272
|
+
- - ! '>='
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
277
275
|
type: :development
|
278
|
-
|
276
|
+
prerelease: false
|
277
|
+
version_requirements: *2158641340
|
279
278
|
description: A Ruby wrapper and CLI for to interact with Cloudfactory.com REST API
|
280
|
-
email:
|
279
|
+
email:
|
281
280
|
- administrator@sprout-technology.com
|
282
|
-
executables:
|
281
|
+
executables:
|
283
282
|
- cf
|
284
283
|
extensions: []
|
285
|
-
|
286
284
|
extra_rdoc_files: []
|
287
|
-
|
288
|
-
files:
|
285
|
+
files:
|
289
286
|
- .gitignore
|
290
287
|
- .rspec
|
291
288
|
- CHANGELOG.md
|
@@ -294,6 +291,7 @@ files:
|
|
294
291
|
- Rakefile
|
295
292
|
- bin/cf
|
296
293
|
- cf.gemspec
|
294
|
+
- configure
|
297
295
|
- features/error_custom_task_form.feature
|
298
296
|
- features/error_form_field.feature
|
299
297
|
- features/error_task_form.feature
|
@@ -385,72 +383,43 @@ files:
|
|
385
383
|
- spec/text_appending_robot_spec.rb
|
386
384
|
homepage: http://cloudfactory.com
|
387
385
|
licenses: []
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
> cf line generate <line-title>
|
404
|
-
|
405
|
-
4. Go into generated line directory
|
406
|
-
> cd <line-title>
|
407
|
-
|
408
|
-
5. Edit the generated line.yml to design your perfect assembly line
|
409
|
-
See http://developers.cloudfactory.com/lines/yaml.html
|
410
|
-
|
411
|
-
6. Create your line in CloudFactory
|
412
|
-
> cf line create
|
413
|
-
|
414
|
-
7. Do a test production run in the sandbox first...
|
415
|
-
> cf production start TITLE -i=INPUT_DATA.CSV
|
416
|
-
|
417
|
-
8. Go live! Send your production run to real workers...
|
418
|
-
> cf production start TITLE -i=INPUT_DATA.CSV --live
|
419
|
-
|
420
|
-
------------------------------------------------------------------------------
|
421
|
-
|
422
|
-
Follow @thecloudfactory on Twitter for announcements, updates, and news.
|
423
|
-
https://twitter.com/thecloudfactory
|
424
|
-
|
425
|
-
Add your project or organization to the apps wiki!
|
426
|
-
https://github.com/sprout/cloudfactory_ruby/wiki/Apps
|
427
|
-
|
428
|
-
--------------------------------------------------------------------------------
|
429
|
-
|
386
|
+
post_install_message: ! "--------------------------------------------------------------------------------\n\n
|
387
|
+
\ Sweet. You now have the 'cf' command installed. Test drive it with:\n > cf help\n\n
|
388
|
+
\ 1. Sign up for your CloudFactory account and get your API key\n http://cloudfactory.com/users/sign_up\n
|
389
|
+
\ Get API key from welcome email or http://cloudfactory.com/account#settings\n\n
|
390
|
+
\ 2. Login with your credentials\n > cf login\n \n 3. Generate your first assembly
|
391
|
+
line...\n > cf line generate <line-title>\n \n 4. Go into generated line directory\n
|
392
|
+
\ > cd <line-title>\n \n 5. Edit the generated line.yml to design your perfect
|
393
|
+
assembly line\n See http://developers.cloudfactory.com/lines/yaml.html\n \n 6.
|
394
|
+
Create your line in CloudFactory\n > cf line create\n\n 7. Do a test production
|
395
|
+
run in the sandbox first...\n > cf production start TITLE -i=INPUT_DATA.CSV\n\n
|
396
|
+
\ 8. Go live! Send your production run to real workers...\n > cf production start
|
397
|
+
TITLE -i=INPUT_DATA.CSV --live\n \n ------------------------------------------------------------------------------\n
|
398
|
+
\n Follow @thecloudfactory on Twitter for announcements, updates, and news.\n https://twitter.com/thecloudfactory\n\n
|
399
|
+
\ Add your project or organization to the apps wiki!\n https://github.com/sprout/cloudfactory_ruby/wiki/Apps\n
|
400
|
+
\ \n--------------------------------------------------------------------------------\n"
|
430
401
|
rdoc_options: []
|
431
|
-
|
432
|
-
require_paths:
|
402
|
+
require_paths:
|
433
403
|
- lib
|
434
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
404
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
435
405
|
none: false
|
436
|
-
requirements:
|
437
|
-
- -
|
438
|
-
- !ruby/object:Gem::Version
|
439
|
-
version:
|
440
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
406
|
+
requirements:
|
407
|
+
- - ! '>='
|
408
|
+
- !ruby/object:Gem::Version
|
409
|
+
version: '0'
|
410
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
441
411
|
none: false
|
442
|
-
requirements:
|
443
|
-
- -
|
444
|
-
- !ruby/object:Gem::Version
|
445
|
-
version:
|
412
|
+
requirements:
|
413
|
+
- - ! '>='
|
414
|
+
- !ruby/object:Gem::Version
|
415
|
+
version: '0'
|
446
416
|
requirements: []
|
447
|
-
|
448
417
|
rubyforge_project: cloudfactory
|
449
|
-
rubygems_version: 1.8.
|
418
|
+
rubygems_version: 1.8.10
|
450
419
|
signing_key:
|
451
420
|
specification_version: 3
|
452
421
|
summary: A Ruby wrapper and CLI for Cloudfactory.com
|
453
|
-
test_files:
|
422
|
+
test_files:
|
454
423
|
- features/error_custom_task_form.feature
|
455
424
|
- features/error_form_field.feature
|
456
425
|
- features/error_task_form.feature
|