deploy_s3 0.0.2 → 0.0.3

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: 2a4badd5c142bc84f760b9295eff4a6a4815cd3e
4
- data.tar.gz: ecf95f6ee6cd7b0b69a064d16b0acd1931c8e74b
3
+ metadata.gz: b0a9786fc96ac15ea219bbf3d947a2f4a6b446ed
4
+ data.tar.gz: 9b16a89ba6879adeab28993322632b6690ce7bb2
5
5
  SHA512:
6
- metadata.gz: fe82d9af748df3fc26646f8860446a8e3412be4826f9c8ede6ae55fd8c2d1c6cb73ee0c720749a462961b3b5b9679ac074b03dc70df0e65bfee76461b3335ea2
7
- data.tar.gz: f67981bab166444b09a69346e1a1ce77ab51913c8b2ef2d03ae80307c899ca0a68cbc1c22b4548f23ab7c2e0f77a799f852c0665abdf33c83865dfb0a7e2f192
6
+ metadata.gz: 21af5d3e208d83ae05542960035499442e4ce964026a7ca8fe92b7c038962e783a41b7d08e5d621174e14b1060058dcf9916594e7aa46a26db60ae10458a984b
7
+ data.tar.gz: e7698f61703e6d20d5a80299c3381f319c2814f7694a9727fc66e8bf5ad638c68027094978e8b55b1e458e580331d2f2a5ff6647b50326535fc44a9ca19cc15b
data/README.md CHANGED
@@ -29,8 +29,9 @@ Movable Ink uses Chef to push out new code, and Chef can simply read s3 for the
29
29
 
30
30
  ## History
31
31
 
32
- * *0.0.2* - Always save the full git sha to s3. Many CI and deployment tools always upload using the full sha in the path.
33
- * *0.0.1* - Initial release.
32
+ * _0.0.3_ - Fix command-line option parsing to work as advertised.
33
+ * _0.0.2_ - Always save the full git sha to s3. Many CI and deployment tools always upload using the full sha in the path.
34
+ * _0.0.1_ - Initial release.
34
35
 
35
36
  ## License
36
37
 
data/bin/ds3 CHANGED
@@ -13,18 +13,18 @@ require 'colorize'
13
13
 
14
14
  options = {}
15
15
 
16
- options[:environment] = ARGV.pop
16
+ options[:environment] = ARGV.shift
17
17
 
18
18
  options[:rev] = ENV['REV']
19
19
 
20
20
  optparse = OptionParser.new do |opts|
21
21
  opts.banner = "Usage: ds3 [environment] [options]"
22
22
 
23
- opts.on("-c", "--config", String, "Location of .deploy configuration file") do |c|
23
+ opts.on("-c", "--config=CONFIG", String, "Location of .deploy configuration file") do |c|
24
24
  options[:config_file] = c
25
25
  end
26
26
 
27
- opts.on("-r", "--rev", String, "Revision to deploy (can be sha, branch, etc)") do |r|
27
+ opts.on("-r", "--revision=REVISION", String, "Revision to deploy (can be sha, branch, etc)") do |r|
28
28
  options[:rev] = r
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module DeployS3
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nutt