bricky 0.0.43 → 0.0.44

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: d9c9b4d1f4f1290cf15acf2c3a2f36dbccdebaa5
4
- data.tar.gz: cc15ff77d7fac01a1bb8e21e098e8ffc092d2fef
3
+ metadata.gz: 0e853afcb323920182faaf09c3c622bd3474e230
4
+ data.tar.gz: 37c6862dcb1cfbb644373b72f91c8a46b08fa9c7
5
5
  SHA512:
6
- metadata.gz: 0d943c0874e26ce694a23e3aa2115d8449f386ac0eb79ab7a3b84a587ddf472c1ff074067695175c0f647f14487c97ff55eaebd24e5bde253bda174bbfbbbf5e
7
- data.tar.gz: 7cbee7594f783373b479d189b2e9f245090bb3a4cbc4280e66d0a3d35ee4232b9c187ebc3dd92cb7e9c8c631b254070d98d91c91e9adb565279d624d984b6953
6
+ metadata.gz: 72c9b587985b06c134f4c4449371669bc6a385f701eef2c0742e420df2c57fdbbdc4b68342294a51f4d62bf213935fdbd5fe9db8d70d0a3c0a761455efe0e7cb
7
+ data.tar.gz: 6640e18d0499f913a8889e450b00394661869f0fb3bd45db39ee70b33826b4863700d0e2c6c68bca24309701782b9ad083723e270dafe453c366af75dd691374
@@ -5,11 +5,16 @@
5
5
  bundler() {
6
6
  export GEM_HOME=~/.gems
7
7
 
8
- info 'Vendor project with Bundler'
9
- pushd /opt/workspace/source
10
- command -v bundle > /dev/null 2>&1 || gem install --no-ri --no-rdoc bundler
11
- bundle install --deployment --without=$BRICKS_BUNDLE_WITHOUT
12
- popd
8
+ if [[ $BRICKS_BUNDLE_INSTALL == "true" ]]
9
+ then
10
+ info 'Vendor project with Bundler'
11
+ pushd /opt/workspace/source
12
+ command -v bundle > /dev/null 2>&1 || gem install --no-ri --no-rdoc bundler
13
+ bundle install --deployment --without=$BRICKS_BUNDLE_WITHOUT
14
+ popd
15
+ else
16
+ info 'Skipping install... are you using cache?'
17
+ fi
13
18
  }
14
19
 
15
20
  suexec bundler
@@ -16,7 +16,8 @@ module Bricky
16
16
  end
17
17
 
18
18
  def environments
19
- ["-e BRICKS_BUNDLE_WITHOUT=#{config.fetch('without', 'development:test')}"]
19
+ ["-e BRICKS_BUNDLE_WITHOUT=#{config.fetch('without', 'development:test')}",
20
+ "-e BRICKS_BUNDLE_INSTALL=#{config.fetch('install', true)}"]
20
21
  end
21
22
 
22
23
  private
@@ -1,4 +1,4 @@
1
1
  module Bricky
2
- VERSION = "0.0.43"
2
+ VERSION = "0.0.44"
3
3
  CODENAME = "silver-surfer"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bricky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - andrerocker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler