bundle_depot 0.2.0 → 0.2.1

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: 9be713b4d9ac3679609e14010e93609ba007a147
4
- data.tar.gz: d7912052a61da3ac04c079d3f8ebd3ae960a47f2
3
+ metadata.gz: b0d026355f6a2df8af8c13214b35a1f9cafd96f5
4
+ data.tar.gz: 90594ab7316db2b3685a864bb8eec83a3c39b539
5
5
  SHA512:
6
- metadata.gz: 5e4115c9b586fb36382a7cd1a5869c1fb821f916d1d9b2fd37eaf168d382f7d6f19df66bb6426d4a66cf93979c04b18bde72c7c5355a7f7127c6a72ffa8d0c94
7
- data.tar.gz: 75565c28483a91a1ad04fee040e0c60b152c883462daf051d1388445684002ecf94a61e2989b1e4bec7376ad05465dc45e2edf6c86889b66c5bf391f2c369430
6
+ metadata.gz: 3b32118c29aee292b0762628b2d0f93938dc7e9e668b7136eef0d4b09b3a5c6ad88cfea6d93c6531215cc5925e3dc3b02ddcc3986dab7330e40286eb77d4478a
7
+ data.tar.gz: cbcc878e3c60c2cb35b8f7333e331b1bba7366c584ed7946b2c1f8fd710c5400cfc0c39d128c1c0f5da1178ba94d884dee03296656d482807a00206f16a99032
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bundle_depot (0.2.0)
4
+ bundle_depot (0.2.1)
5
5
  net-scp
6
6
  thor
7
7
 
data/README.md CHANGED
@@ -63,6 +63,13 @@ a shared cache folder.
63
63
  * `BUNDLE_DEPOT_CACHE`
64
64
  Point to where you want to keep your local cache. Defaults to `.bundle/depot/cache`
65
65
 
66
+ * `BUNDLE_DEPOT_SCP_HOST`
67
+ Activates remote cache. Sets the host the cache will be uploaded to.
68
+
69
+
70
+ * `BUNDLE_DEPOT_SCP_USER` and `BUNDLE_DEPOT_SCP_USER`
71
+ The credentials for the SCP session.
72
+
66
73
 
67
74
  ## Complete Example
68
75
 
@@ -74,7 +81,7 @@ a shared cache folder.
74
81
  Preparing Build Agent Environment
75
82
  ====================================================================================
76
83
  EOF
77
- gem install bundle_depot --install-dir .gems --bindir bin --no-rdoc --no-ri
84
+ gem install bundle_depot --bindir bin --no-rdoc --no-ri
78
85
 
79
86
 
80
87
  fmt <<'EOF'
@@ -82,7 +89,7 @@ a shared cache folder.
82
89
  Bundle it!
83
90
  ====================================================================================
84
91
  EOF
85
- export BUNDLE_DEPOT_HOME=/var/lib/bundle_depot
92
+ export BUNDLE_DEPOT_CACHE=/var/lib/bundle_depot
86
93
  export BUNDLE_DEPOT_SCP_USER=upload
87
94
  export BUNDLE_DEPOT_SCP_PASS=upload
88
95
  export BUNDLD_DEPOT_SCP_HOST=cache.example.com
@@ -47,7 +47,7 @@ module BundleDepot
47
47
  output = session.exec! "test -e #{target} && echo 'true'"
48
48
  end
49
49
 
50
- output.strip == "true"
50
+ output && output.strip == "true"
51
51
  end
52
52
 
53
53
  def store(file)
@@ -1,3 +1,3 @@
1
1
  module BundleDepot
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundle_depot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schmidt