fanforce-factory 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmMyODQxMjMyMTQ3NDdlNGVhZmI2YjNkMzQ5NGUzOTIyNGE5ZjAzMg==
4
+ OTE5ZjdlZWJmNDhlN2E0YmE2MzBhYWFhMGE1ZDU1NzUyZDQ0MDI5Zg==
5
5
  data.tar.gz: !binary |-
6
- NTM2YjQ2MzhlNjhhNjFkYTVjOTQyZGQ4YTM0MDg4OTdiNjZlNGNmNg==
6
+ M2ZmMDgzOGI4NzgzZGQ4NzIxZTYwMDJmMDY1NDQzODc3ZDUxMjllYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmMxYzdhNjlhNWZlYTQ4M2VjODNiYWQxM2Q1NWIzZDkwZTU3ODY2YjEwODhl
10
- MjZhODZhYzFhMDg1MTM2NGFjM2E0YzdlODNmNDkwN2E1MTQ2ZWJhYWZlZGM1
11
- Njg2ZTQ2Zjc4ZTZhMjJmY2M3Nzc4OTEyZjRiYTM5ZTMzMTIyNWU=
9
+ M2EyNGNhMzEyMzI4Y2IwZjdmMDI4OTQzYTBhZDMzYzY0NjBmN2IyZTljMjNl
10
+ MzU4YWRlMDg0ODlkM2ZiOGI1ZWQ3ZWZjNmYyNTA2ZmJlMzNhNWVlNTFjOGY2
11
+ YmI0M2NmYjZmYTkwNjk4ZDU4NmQ1OGYzNjk4MmE1MTg1NDUyNzE=
12
12
  data.tar.gz: !binary |-
13
- MDhjZmQ3ZjlkNWZhMmI0OGFjY2EyYzVmMTI0NDI0YzM4Yzg5Y2U0ZDQ2OTlh
14
- MjcyYzhjMmEzM2FhNjliYjQwOTU0ODNmZTNhNWViMTdkMmU1NDdmMGZiZGNi
15
- ODRmMDM0NjZkYTAwYWVkZjFlYmRlZmE1NTFhYjhkMzc1NGYxNTI=
13
+ NjQxMWIyM2E2YmIxMDEzYWIxNzNiNjNjN2FlZTNmYTc5OWRiZTA1NDZmZmVk
14
+ MWE4ZjcwMTAzMGJlNThjODg2ZDUxNTFiNGM1N2I5MWQ0ZmYwNTY2MDk1NWZh
15
+ MjA3OTEyOTYxZDBkMGMyOWM1MzU2ZTNjZGEzZTliYWM4YTViZGE=
@@ -155,12 +155,11 @@ class Fanforce::Factory
155
155
 
156
156
  def push_env_to(environment, addon, vars, create_worker_env=true)
157
157
  vars.each {|k,v| puts " - #{k}" }
158
+ File.open("#{addon.dir}/workers/.#{addon.type}env.rb", 'w') {|f| f.write convert_hash_to_ruby_env(vars) } if create_worker_env and File.directory?("#{addon.dir}/workers") and vars['IRON_PROJECT_ID']
158
159
  if environment == :development
159
160
  addon.update_file(:powenv)
160
161
  File.open("#{addon.dir}/.#{addon.type}env", 'w') {|f| f.write convert_hash_to_shell_env(vars) }
161
- File.open("#{addon.dir}/workers/.#{addon.type}env.rb", 'w') {|f| f.write convert_hash_to_ruby_env(vars) } if create_worker_env and File.directory?("#{addon.dir}/workers") and vars['iron_project_id']
162
162
  else
163
- File.open("#{addon.dir}/workers/.#{addon.type}env.rb", 'w') {|f| f.write convert_hash_to_ruby_env(vars) } if create_worker_env and File.directory?("#{addon.dir}/workers") and vars['iron_project_id']
164
163
  return if $Config[:heroku][environment].blank?
165
164
  heroku = auth_heroku(environment)
166
165
  heroku_app_name = get_heroku_app_name(addon, environment)
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Factory
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-11 00:00:00.000000000 Z
11
+ date: 2013-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client