swa 0.5.0 → 0.5.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: 6c2bdd3ea0c87066638304663413a8ce0edeeeb8
4
- data.tar.gz: 987819dd756f3c9aa3827adb450b8c78c7f9a705
3
+ metadata.gz: 5dc56758862b50b2e188261710b76393621dc32a
4
+ data.tar.gz: 776349d02d6f3e1a4429a298f1d0dbcacb731df4
5
5
  SHA512:
6
- metadata.gz: 56f553cdb20ae6bf1ae7600563694c49635eb52295ef45de523530cb99048177e30296848a52f7d21f5a51d802145342a3ba0f5ceb06c5546ae10b326882f2e9
7
- data.tar.gz: 0a1bb1ad8016f0ef4574672d3f2b0b03fc20e5958ed4781fadb92a80d64cad559da2b7b41cb5ae5815062d5b945fb0e347ae71882b83545bbb0ada56572f4ded
6
+ metadata.gz: 62470adc76ea874e59ceaa8207a414f60a4ab9c37d438ba1f194b21dce403cd95a75ce25bad44c0bb96c3272e8c401af560b235f343190b787db7233fbb8aeca
7
+ data.tar.gz: 314de567b4e7b69d3da82d6aa9f018fbee40bf287fd5e67c198d54960749144d52daa74bc548629bad14609b26a4e4faebb6997db78d89100d530a5548c621fb
@@ -32,9 +32,7 @@ module Swa
32
32
  case remaining_arguments.first
33
33
  when /^(\w+)-/
34
34
  subcommand = subcommand_for_prefix($1)
35
- if subcommand
36
- remaining_arguments[0,1] = [subcommand] + arguments
37
- end
35
+ remaining_arguments.unshift(subcommand) if subcommand
38
36
  when %r{^s3://([^/]+)/(.+/)?$}
39
37
  remaining_arguments[0, 1] = ["s3", "bucket", $1, "objects", "--prefix", $2]
40
38
  when %r{^s3://([^/]+)/(.+)\*$}
@@ -1,3 +1,3 @@
1
1
  module Swa
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-23 00:00:00.000000000 Z
11
+ date: 2016-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler