cliaws 1.3.1 → 1.3.2
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.
- data/History.txt +4 -0
- data/config/hoe.rb +1 -2
- data/lib/cliaws/s3.rb +1 -2
- data/lib/cliaws/sqs.rb +1 -2
- data/lib/cliaws/version.rb +1 -1
- metadata +3 -13
data/History.txt
CHANGED
data/config/hoe.rb
CHANGED
@@ -60,8 +60,7 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
60
60
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
61
61
|
p.extra_deps = [
|
62
62
|
["main", "~> 2.8"],
|
63
|
-
["right_aws", "~> 1.8"]
|
64
|
-
["activesupport", "~> 2"]
|
63
|
+
["right_aws", "~> 1.8"]
|
65
64
|
]
|
66
65
|
|
67
66
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
data/lib/cliaws/s3.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require "right_aws"
|
2
|
-
require "activesupport"
|
3
2
|
|
4
3
|
# Load vendor code through RubyGems
|
5
4
|
require "right_http_connection"
|
@@ -25,7 +24,7 @@ module Cliaws
|
|
25
24
|
def list(glob)
|
26
25
|
bucket, path = bucket_and_key_name(glob)
|
27
26
|
options = Hash.new
|
28
|
-
options["prefix"] = path unless path.
|
27
|
+
options["prefix"] = path unless path.nil? || path.empty?
|
29
28
|
bucket.keys(options).map(&:full_name)
|
30
29
|
end
|
31
30
|
|
data/lib/cliaws/sqs.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require "right_aws"
|
2
|
-
require "activesupport"
|
3
2
|
|
4
3
|
module Cliaws
|
5
4
|
class Sqs
|
@@ -34,7 +33,7 @@ module Cliaws
|
|
34
33
|
|
35
34
|
# Lists the created queues.
|
36
35
|
def list(prefix=nil)
|
37
|
-
@sqs.queues(prefix).map
|
36
|
+
@sqs.queues(prefix).map {|q| q.name}
|
38
37
|
end
|
39
38
|
|
40
39
|
# Creates a queue
|
data/lib/cliaws/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cliaws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Fran\xC3\xA7ois Beausoleil"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-25 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,16 +32,6 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: "1.8"
|
34
34
|
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: activesupport
|
37
|
-
type: :runtime
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: "2"
|
44
|
-
version:
|
45
35
|
- !ruby/object:Gem::Dependency
|
46
36
|
name: hoe
|
47
37
|
type: :development
|
@@ -50,7 +40,7 @@ dependencies:
|
|
50
40
|
requirements:
|
51
41
|
- - ">="
|
52
42
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
43
|
+
version: 1.8.0
|
54
44
|
version:
|
55
45
|
description: A command-line suite of tools to access Amazon Web Services, using the RightAws gems.
|
56
46
|
email:
|