cartage-bundler 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +7 -0
- data/lib/cartage/plugins/bundler.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e3ceebdaac7e09be90b0639de85b29db63a4997
|
4
|
+
data.tar.gz: 9a29513f048f24fde9ff16669d719b8b46854785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9bb9f4f2fe0194bfcd1189d8a1e53ddb7946b01225603fb768b02c7d5ee5b7db6682f940d9a039df32022df9836bdbbbf173ddd9193fd2f1383b755d8ef9ed0
|
7
|
+
data.tar.gz: 0087c75b15063b67d7e56f71ab17278e8560f6df3230fd9925bf5e337b53095bd924869b39975d26310b5e3db8ccf58c226a62b26e44935fea1d6b6939cbab39
|
data/History.md
CHANGED
@@ -5,6 +5,14 @@ require 'bundler'
|
|
5
5
|
|
6
6
|
# Cartage, a reliable package builder.
|
7
7
|
class Cartage
|
8
|
+
# A utility method for Cartage plug-ins to run a +command+ in the shell
|
9
|
+
# without the current Bundler environment. If Bundler is not in use, acts
|
10
|
+
# just like #run.
|
11
|
+
def run_without_bundler(command)
|
12
|
+
runner = -> { run(command) }
|
13
|
+
return runner.call unless defined?(::Bundler)
|
14
|
+
::Bundler.with_clean_env(&runner)
|
15
|
+
end
|
8
16
|
end
|
9
17
|
|
10
18
|
# Cartage::Bundler is a +:vendor_dependencies+ plug-in for Cartage.
|
@@ -50,7 +58,7 @@ end
|
|
50
58
|
# extra_without_groups:
|
51
59
|
# - assets
|
52
60
|
class Cartage::Bundler < Cartage::Plugin
|
53
|
-
VERSION = '1.
|
61
|
+
VERSION = '1.2' # :nodoc:
|
54
62
|
|
55
63
|
# Cartage::Bundler is only enabled if the Gemfile exists.
|
56
64
|
def disabled?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cartage-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Ziegler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cartage
|