egads 0.0.4 → 0.0.5

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
- NTUwYTQ0MTFjOTlhNDhkYTIxMWFiYTE1ZmJlMjk2NTI5OTgxYTViMg==
4
+ MjBiMWEzYzA0OGQyOWY2NGM3NzNhOWM3ZWU1YjE1ZDc4YzE4YWIyOQ==
5
5
  data.tar.gz: !binary |-
6
- M2EyZWFmNWY0NTdlNDgxMTJiNDQ1NTI1NjRhY2YxMTUwYzJmYzIxNg==
6
+ NzJjM2ZlMGRmOGI5NmVlMWFkZTQxNmRjZmMzMzBjZDE2YzMzN2FlMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NjdiMmRhOTM3YWE4Mzc5OTQ5MTQ1MDcxMmVjM2Q3NzZkNmVlOTA3N2E4YTdm
10
- YjNjZmEzMzdhYWQyYjhiZGE2MmVjNjhiZTBlMGE5YmE2YmQ1ZWQzNTc0ZDRm
11
- ODkzMzEyYjE0ZDI4NTZjNTYwN2ViY2Q2NjU4YmE5ZjgzN2Q1YmQ=
9
+ ZjU0YzcyN2VkYzcxYzk3Y2ZiZWRkMTc0ZjIyZTM0MmUwOTk1YWQ2YzFmOWMz
10
+ OTRjNDU3YTBkNjJjZGNjZjFmMmJiMDUxMDU5MzUxOTVjMjdkOWYxMGFkNzhh
11
+ NWY3MGJmOGQ0ZWFkNThmZTNmZGUyNDJlMjg4Yzk2YzZlMTdkZDE=
12
12
  data.tar.gz: !binary |-
13
- ZjFkMDhjZjhjYTIyOWM5MmU0MmMwN2MwYjg1MjYyMmViYjU3ZTBlM2Q1OGVi
14
- ZjAwMjM0ZGM2YzkyYWMxYThkNjM0MmZlOWRhYzZmYzFhMzQ4NzkwNjE4YWYx
15
- YjMxYWQ0MDZiOWU3MjhiN2VhY2MxN2NmZWNhMmU0MGM2NTdhNGE=
13
+ MzU2NTZhYzE0NWI3YzMxYzQ5ODQ0NDc2ZGYxZTFjY2EyM2ZhNjlmZTMzOWMz
14
+ NTcyNDM4YzQ5ZTZlNzk0NjkyYmU0ODAyYTIxMGJiMjg4MmM3NzA4NzJmZWZh
15
+ NmExMGVmOGM0MjJiMjFlMzQ1YWZhYmE0YjI2YzY5NzA0NWQxMDM=
@@ -80,6 +80,7 @@ module Egads
80
80
  desc "extract SHA", "[remote, plumbing] Downloads tarball for SHA from S3 and extracts it to the filesystem"
81
81
  method_option :force, type: :boolean, default: false, banner: "Overwrite existing files"
82
82
  def extract(sha)
83
+ RemoteConfig.setup_environment
83
84
  dir = RemoteConfig.release_dir(sha)
84
85
  path = File.join(dir, "#{sha}.tar.gz")
85
86
  tarball = S3Tarball.new(sha, true)
@@ -70,7 +70,7 @@ module Egads
70
70
 
71
71
  # Set environment variables from the config
72
72
  def self.setup_environment
73
- config['env'].each{|k,v| ENV[k] = v } if config['env']
73
+ config['env'].each{|k,v| ENV[k] = v.to_s } if config['env']
74
74
  end
75
75
 
76
76
  def self.restart_command
@@ -1,3 +1,3 @@
1
1
  module Egads
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Suggs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-15 00:00:00.000000000 Z
11
+ date: 2013-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog