aws_sdb_bare 1.2.1 → 1.2.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/README.rdoc CHANGED
@@ -79,9 +79,9 @@ To parse a response you simply call AwsSdb::Response.parse(xml_doc) example:
79
79
  puts response.domains
80
80
  puts response.metadata.box_usage
81
81
 
82
- == Documentation
82
+ == Contributors
83
83
 
84
- Rdoc are available at http://rdoc.elastastic.com/aws_sdb_bare
84
+ * Michael Gorsuch
85
85
 
86
86
  == Copyright
87
87
 
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'yaml'
3
4
 
4
5
  begin
5
6
  require 'jeweler'
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 2
3
3
  :major: 1
4
4
  :minor: 2
data/aws_sdb_bare.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aws_sdb_bare}
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paolo Negri"]
12
- s.date = %q{2011-03-05}
12
+ s.date = %q{2011-03-07}
13
13
  s.email = %q{hungryblank@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = %q{http://github.com/hungryblank/aws_sdb_bare}
36
36
  s.rdoc_options = ["--charset=UTF-8"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.5}
38
+ s.rubygems_version = %q{1.6.1}
39
39
  s.summary = %q{Amazon AWS SDB SimpleDB client library, low level and http lib agnostic}
40
40
  s.test_files = [
41
41
  "test/test_helper.rb",
@@ -46,10 +46,9 @@ Gem::Specification.new do |s|
46
46
  ]
47
47
 
48
48
  if s.respond_to? :specification_version then
49
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
49
  s.specification_version = 3
51
50
 
52
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
52
  else
54
53
  end
55
54
  else
@@ -9,8 +9,8 @@ module AwsSdb
9
9
  attr_accessor :account, :secret, :params
10
10
 
11
11
  def initialize(method, params, opts={})
12
- @account = opts[:account] || ENV['AMAZON_ACCESS_KEY_ID']
13
- @secret = opts[:secret] || ENV['AMAZON_SECRET_ACCESS_KEY']
12
+ @account = opts[:account] || (ENV['AMAZON_ACCESS_KEY_ID'] || ENV['AWS_ACCESS_KEY_ID'])
13
+ @secret = opts[:secret] || (ENV['AMAZON_SECRET_ACCESS_KEY'] || ENV['AWS_SECRET_ACCESS_KEY'])
14
14
  raise <<-end_msg unless @account && @secret
15
15
  Amazon AWS account or access key not defined
16
16
  Please pass {:account => 'your account', :secret => 'your secret'}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_sdb_bare
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paolo Negri
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-05 00:00:00 -08:00
18
+ date: 2011-03-07 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21