amoeba_deploy_tools 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3f980e6e6ba277bcb0ec532447e3ecd8faf2ab0
4
- data.tar.gz: 29ccc3de90e5ae4728868e8b4bf20e44ce17f499
3
+ metadata.gz: 5d8c24a4bdb51363e2fa26503242d634bf90d220
4
+ data.tar.gz: a9c7da66a4e168e18229dc665e150c07720d7ba7
5
5
  SHA512:
6
- metadata.gz: 14aafd9a75e2dd529ced4d371a94d404d1da48086f0b73387c190f8a70270496266c3a34c143e34b5f015bbb81b1e1bd40856656c96105f50b803f7a621b4a53
7
- data.tar.gz: 16a5e21efa56aa69aadd234e671a80955d3e75615fcefb5881988899e3102a64d7a8dbe548bdc9c256132822ec847fd318bf6f45af115fd16d3a16bf5151e00d
6
+ metadata.gz: f26e1e87ce783057dfe8a55a05156af2e9f14f1eea26d2b68e04934fb58e1b01b9b1ce7251a123a77da435617c63f781625076896f1f77fb61be006ff4e0f797
7
+ data.tar.gz: 88115ad6fecabf019e0e2266e6956c4395b6efe67ed7f0f1998e1cb50fcbaa6a0f6f6e0e0d90d381cfd77a61984b0e2adbe1ce37672dd5320c1e6e0e2b91562c
@@ -41,7 +41,11 @@ module AmoebaDeployTools
41
41
  end
42
42
 
43
43
  def inside_kitchen(&block)
44
- Bundler.with_clean_env do
44
+ if defined?(Bundler)
45
+ Bundler.with_clean_env do
46
+ Dir.chdir(kitchen_path) { block.call }
47
+ end
48
+ else
45
49
  Dir.chdir(kitchen_path) { block.call }
46
50
  end
47
51
  end
@@ -1,3 +1,3 @@
1
1
  module AmoebaDeployTools
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amoeba_deploy_tools
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
  - Daniel Jabbour
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-08 00:00:00.000000000 Z
12
+ date: 2014-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler