fanforce-factory 0.4.3 → 0.4.4
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.
- checksums.yaml +8 -8
- data/lib/fanforce/factory/commands_support.rb +1 -2
- data/lib/fanforce/factory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTE5ZjdlZWJmNDhlN2E0YmE2MzBhYWFhMGE1ZDU1NzUyZDQ0MDI5Zg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
M2ZmMDgzOGI4NzgzZGQ4NzIxZTYwMDJmMDY1NDQzODc3ZDUxMjllYw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
M2EyNGNhMzEyMzI4Y2IwZjdmMDI4OTQzYTBhZDMzYzY0NjBmN2IyZTljMjNl
|
|
10
|
+
MzU4YWRlMDg0ODlkM2ZiOGI1ZWQ3ZWZjNmYyNTA2ZmJlMzNhNWVlNTFjOGY2
|
|
11
|
+
YmI0M2NmYjZmYTkwNjk4ZDU4NmQ1OGYzNjk4MmE1MTg1NDUyNzE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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)
|
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.
|
|
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
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|