cliaws 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.3.2 2008-10-25
2
+
3
+ * Removed dependency on ActiveSupport.
4
+
1
5
  == 1.3.1 2008-10-06
2
6
 
3
7
  * Relaxed ActiveSupport's dependency to ~> 2 instead of ~> 2.1.
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.blank?
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(&:name)
36
+ @sqs.queues(prefix).map {|q| q.name}
38
37
  end
39
38
 
40
39
  # Creates a queue
@@ -2,7 +2,7 @@ module Cliaws #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.1
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-06 00:00:00 -04:00
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.7.0
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: