bundle_cache 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 838e222e479c9d98bf8f03616325a13db37e7342
4
- data.tar.gz: dcf5b8d95d87f774eded416dd567255fab7a2c3f
3
+ metadata.gz: d2046e1c72ae066562822e3b5354ad511ab23aff
4
+ data.tar.gz: 0de2cb4e448ac4d0d3c6873e15a408e38f5d5924
5
5
  SHA512:
6
- metadata.gz: 47807c91ec8695b9a18ef7bf4c14972d5ae231a4b88b003273a96c4e2ffae6c7a0e303d0a43868a616cc728bd147ebf8ae54df8250e08d8538a25b511c2fe2e6
7
- data.tar.gz: 1e9ba7a563b89583b9fc9ce07606136fc1125477f9db9f561f58455bede64c52d7625da3d20a8095cde29cb2e24e835f1f7097a6bed1dcc51eb536b2c6d1377d
6
+ metadata.gz: 2ec66813722ab3b14c58263d5cc1ccece53d7cca32a72ebbdf0510bba7793fc3aa8cf9d167d259f0577342529030439429fec2e7b824f2ff3d9912566c32133b
7
+ data.tar.gz: 0eeddaf83b98504bac9181c15e4cc5df20457efe7e609af11f7887695c2baa71637f922c3e0428b1a147308fe4944c8815e3e1fdd11c44e1c7893e5fc9348119
data/README.md CHANGED
@@ -31,14 +31,14 @@ Add these to your Travis configuration:
31
31
  bundler_args: --without development --path=~/.bundle
32
32
  before_install:
33
33
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
34
- - gem install bundler fog bundle_cache
34
+ - gem install bundler bundle_cache
35
35
  - bundle_cache_install
36
36
  after_script:
37
37
  - bundle_cache
38
38
  env:
39
39
  global:
40
- - BUNDLE_ARCHIVE="place_directory_bundle"
41
- - AWS_S3_BUCKET="travis.data-axle.infogroup.com"
40
+ - BUNDLE_ARCHIVE="your_project_bundle"
41
+ - AWS_S3_BUCKET="your_bucket"
42
42
  - RAILS_ENV=test
43
43
  ```
44
44
 
@@ -37,6 +37,11 @@ module BundleCache
37
37
  puts "=> Preparing bundle archive"
38
38
  `cd ~ && tar -cjf #{file_name} .bundle && split -b 5m -a 3 #{file_name} #{file_name}.`
39
39
 
40
+ if 1 == $?.exitstatus
41
+ puts "=> Archive failed. Please make sure '--path=~/.bundle' is added to bundle_args."
42
+ exit 1
43
+ end
44
+
40
45
  parts_pattern = File.expand_path(File.join("~", "#{file_name}.*"))
41
46
  parts = Dir.glob(parts_pattern).sort
42
47
 
@@ -1,3 +1,3 @@
1
1
  module BundleCache
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: bundle_cache
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
  - Eric Barendt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-08 00:00:00.000000000 Z
12
+ date: 2013-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk