fanforce-app-factory 2.0.0.rc32 → 2.0.0.rc33

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,5 +39,5 @@ Gem::Specification.new do |gem|
39
39
 
40
40
  gem.add_runtime_dependency 'fanforce-base', '~> 1.2'
41
41
  gem.add_runtime_dependency 'fanforce-api', '~> 1.0'
42
- gem.add_runtime_dependency 'fanforce-app-worker', '~> 1.1.0.rc7'
42
+ gem.add_runtime_dependency 'fanforce-app-worker', '~> 1.1.0.rc8'
43
43
  end
@@ -29,7 +29,6 @@ class Fanforce::AppFactory::CLI::Iron
29
29
  return puts "#{'Skipped '.format(:bold)} #{environment.to_s.titleize} has 0 workers" if workers.size == 0
30
30
 
31
31
  upload_processes = []
32
- FileUtils.cp("#{app.dir}/workers/.env/#{environment}.rb", "#{app.dir}/workers/.env/.#{environment}env.rb")
33
32
  workers.each do |filename|
34
33
  next if worker_filename and !filename.include?(worker_filename)
35
34
  code_name = filename.gsub('.worker', '')
@@ -39,12 +38,11 @@ class Fanforce::AppFactory::CLI::Iron
39
38
  code.gem('fanforce-app-factory', factory_version)
40
39
  code.remote
41
40
  code.name = code_name
42
- code.file("#{app.dir}/workers/.env/.#{environment}env.rb")
41
+ code.file("#{app.dir}/workers/.env/#{environment}.rb", '.env')
43
42
 
44
43
  upload_processes << upload_iron_worker(iron_worker, code, filename, environment)
45
44
  end
46
45
  upload_processes.each { |pid| Process.waitpid(pid) }
47
- FileUtils.remove_file("#{app.dir}/workers/.env/.#{environment}env.rb")
48
46
  end
49
47
  end
50
48
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class AppFactory
3
- VERSION = '2.0.0.rc32'
3
+ VERSION = '2.0.0.rc33'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-app-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc32
4
+ version: 2.0.0.rc33
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -322,7 +322,7 @@ dependencies:
322
322
  requirements:
323
323
  - - ~>
324
324
  - !ruby/object:Gem::Version
325
- version: 1.1.0.rc7
325
+ version: 1.1.0.rc8
326
326
  type: :runtime
327
327
  prerelease: false
328
328
  version_requirements: !ruby/object:Gem::Requirement
@@ -330,7 +330,7 @@ dependencies:
330
330
  requirements:
331
331
  - - ~>
332
332
  - !ruby/object:Gem::Version
333
- version: 1.1.0.rc7
333
+ version: 1.1.0.rc8
334
334
  description:
335
335
  email:
336
336
  - cclark@fanforce.com