rberger-right_aws 1.10.99 → 1.10.100

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -229,3 +229,8 @@ the source key.
229
229
  - SDB: added: SQL-like query, select and query_with_attributes support
230
230
  - SDB: fixed no method error when searching for id that doesn't exist
231
231
 
232
+ === 1.10.100
233
+
234
+ R. Berger Release Notes:
235
+ - Fixed lib/sdb/active_sdb.rb UUID.timestamp_create to use the new uuidtools 2.0.0 UUIDTools::UUID.timestamp_create
236
+ - Removed from lib/sdb/active_sdb.rb to_a which is considered obsolete. Replaced with Array(value)
data/Rakefile CHANGED
@@ -30,7 +30,7 @@ Hoe.new('right_aws', RightAws::VERSION::STRING) do |p|
30
30
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
31
31
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
32
32
  p.remote_rdoc_dir = "/right_aws_gem_doc"
33
- p.extra_deps = [['right_http_connection','>= 1.2.1']]
33
+ p.extra_deps = [['right_http_connection','>= 1.2.1'], ['uuidtools', '>=2.0.0']]
34
34
  p.test_globs = testglobs
35
35
  end
36
36
 
@@ -100,4 +100,9 @@ task :testacf do
100
100
  require 'test/acf/test_right_acf.rb'
101
101
  end
102
102
 
103
+ desc "Build gemspec"
104
+ task :cultivate do
105
+ # system "touch Manifest.txt; rake check_manifest | grep -v \"(in \" | patch"
106
+ system "rake debug_gem | grep -v \"(in \" > `basename \\`pwd\\``.gemspec"
107
+ end
103
108
  # vim: syntax=Ruby
data/lib/right_aws.rb CHANGED
@@ -56,7 +56,7 @@ module RightAws #:nodoc:
56
56
  module VERSION #:nodoc:
57
57
  MAJOR = 1
58
58
  MINOR = 10
59
- TINY = 99 #0
59
+ TINY = 100 #0
60
60
 
61
61
  STRING = [MAJOR, MINOR, TINY].join('.')
62
62
  end
@@ -920,7 +920,7 @@ module RightAws
920
920
  attrs = {}
921
921
  attributes.each do |attribute, values|
922
922
  attribute = attribute.to_s
923
- attrs[attribute] = attribute == 'id' ? values.to_s : values.to_a.uniq
923
+ attrs[attribute] = attribute == 'id' ? values.to_s : Array(values).uniq
924
924
  attrs.delete(attribute) if values.blank?
925
925
  end
926
926
  attrs
data/right_aws.gemspec ADDED
@@ -0,0 +1,40 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{right_aws}
5
+ s.version = "1.10.100"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["RightScale, Inc."]
9
+ s.date = %q{2009-07-16}
10
+ s.description = %q{== DESCRIPTION: The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront. These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon. The RightScale AWS gems comprise: - RightAws::Ec2 -- interface to Amazon EC2 (Elastic Compute Cloud) and the associated EBS (Elastic Block Store) - RightAws::S3 and RightAws::S3Interface -- interface to Amazon S3 (Simple Storage Service) - RightAws::Sqs and RightAws::SqsInterface -- interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01) - RightAws::SqsGen2 and RightAws::SqsGen2Interface -- interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01) - RightAws::SdbInterface and RightAws::ActiveSdb -- interface to Amazon SDB (SimpleDB) - RightAws::AcfInterface -- interface to Amazon CloudFront, a content distribution service == FEATURES:}
11
+ s.email = %q{support@rightscale.com}
12
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
13
+ s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "lib/acf/right_acf_interface.rb", "lib/acw/right_acw_interface.rb", "lib/as/right_as_interface.rb", "lib/awsbase/benchmark_fix.rb", "lib/awsbase/right_awsbase.rb", "lib/awsbase/support.rb", "lib/ec2/right_ec2.rb", "lib/elb/right_elb_interface.rb", "lib/right_aws.rb", "lib/s3/right_s3.rb", "lib/s3/right_s3_interface.rb", "lib/sdb/active_sdb.rb", "lib/sdb/right_sdb_interface.rb", "lib/sqs/right_sqs.rb", "lib/sqs/right_sqs_gen2.rb", "lib/sqs/right_sqs_gen2_interface.rb", "lib/sqs/right_sqs_interface.rb", "right_aws.gemspec", "test/acf/test_helper.rb", "test/acf/test_right_acf.rb", "test/awsbase/test_helper.rb", "test/awsbase/test_right_awsbase.rb", "test/ec2/test_helper.rb", "test/ec2/test_right_ec2.rb", "test/http_connection.rb", "test/s3/test_helper.rb", "test/s3/test_right_s3.rb", "test/s3/test_right_s3_stubbed.rb", "test/sdb/test_active_sdb.rb", "test/sdb/test_helper.rb", "test/sdb/test_right_sdb.rb", "test/sqs/test_helper.rb", "test/sqs/test_right_sqs.rb", "test/sqs/test_right_sqs_gen2.rb", "test/test_credentials.rb", "test/ts_right_aws.rb"]
14
+ s.has_rdoc = true
15
+ s.rdoc_options = ["--main", "README.txt"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{rightaws}
18
+ s.rubygems_version = %q{1.3.1}
19
+ s.summary = %q{Interface classes for the Amazon EC2, SQS, and S3 Web Services}
20
+ s.test_files = ["test/ts_right_aws.rb"]
21
+
22
+ if s.respond_to? :specification_version then
23
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
+ s.specification_version = 2
25
+
26
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
+ s.add_runtime_dependency(%q<right_http_connection>, [">= 1.2.1"])
28
+ s.add_runtime_dependency(%q<uuidtools>, [">= 2.0.0"])
29
+ s.add_development_dependency(%q<hoe>, [">= 1.12.1"])
30
+ else
31
+ s.add_dependency(%q<right_http_connection>, [">= 1.2.1"])
32
+ s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
33
+ s.add_dependency(%q<hoe>, [">= 1.12.1"])
34
+ end
35
+ else
36
+ s.add_dependency(%q<right_http_connection>, [">= 1.2.1"])
37
+ s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
38
+ s.add_dependency(%q<hoe>, [">= 1.12.1"])
39
+ end
40
+ end
@@ -0,0 +1,2 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../../lib/right_aws'
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+ require 'pp'
3
+
4
+ class TestAwsbase < Test::Unit::TestCase
5
+
6
+ def setup
7
+ end
8
+
9
+ def test_01_create_describe_key_pairs
10
+ end
11
+
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rberger-right_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.99
4
+ version: 1.10.100
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale, Inc.
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 1.2.1
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: uuidtools
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.0
34
+ version:
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: hoe
27
37
  type: :development
@@ -47,15 +57,16 @@ files:
47
57
  - Manifest.txt
48
58
  - README.txt
49
59
  - Rakefile
60
+ - lib/acf/right_acf_interface.rb
61
+ - lib/acw/right_acw_interface.rb
62
+ - lib/as/right_as_interface.rb
50
63
  - lib/awsbase/benchmark_fix.rb
51
64
  - lib/awsbase/right_awsbase.rb
52
65
  - lib/awsbase/support.rb
53
66
  - lib/ec2/right_ec2.rb
67
+ - lib/elb/right_elb_interface.rb
54
68
  - lib/right_aws.rb
55
69
  - lib/s3/right_s3.rb
56
- - lib/acw/right_acw_interface.rb
57
- - lib/elb/right_elb_interface.rb
58
- - lib/as/right_as_interface.rb
59
70
  - lib/s3/right_s3_interface.rb
60
71
  - lib/sdb/active_sdb.rb
61
72
  - lib/sdb/right_sdb_interface.rb
@@ -63,7 +74,11 @@ files:
63
74
  - lib/sqs/right_sqs_gen2.rb
64
75
  - lib/sqs/right_sqs_gen2_interface.rb
65
76
  - lib/sqs/right_sqs_interface.rb
66
- - lib/acf/right_acf_interface.rb
77
+ - right_aws.gemspec
78
+ - test/acf/test_helper.rb
79
+ - test/acf/test_right_acf.rb
80
+ - test/awsbase/test_helper.rb
81
+ - test/awsbase/test_right_awsbase.rb
67
82
  - test/ec2/test_helper.rb
68
83
  - test/ec2/test_right_ec2.rb
69
84
  - test/http_connection.rb
@@ -78,8 +93,6 @@ files:
78
93
  - test/sqs/test_right_sqs_gen2.rb
79
94
  - test/test_credentials.rb
80
95
  - test/ts_right_aws.rb
81
- - test/acf/test_helper.rb
82
- - test/acf/test_right_acf.rb
83
96
  has_rdoc: true
84
97
  homepage:
85
98
  post_install_message: