sdbcli 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/sdbcli +1 -1
  2. data/lib/sdbcli/sdb-runner.rb +1 -0
  3. metadata +3 -3
data/bin/sdbcli CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH << File.join(File.expand_path(File.dirname(__FILE__)), '..', 'lib')
3
3
 
4
- Version = '0.3.7'
4
+ Version = '0.3.8'
5
5
  HISTORY_FILE = File.join((ENV['HOME'] || ENV['USERPROFILE'] || '.'), '.sdbcli_history')
6
6
  HISTSIZE = 500
7
7
 
@@ -97,6 +97,7 @@ module SimpleDB
97
97
  if /\A[^.]+\Z/ =~ region
98
98
  region = SimpleDB::REGIONS.find {|k, v| v == region }
99
99
  raise SimpleDB::Error, 'Unknown region' unless region
100
+ region = region.first
100
101
  end
101
102
 
102
103
  raise SimpleDB::Error, 'Unknown endpoint' unless SimpleDB::REGIONS[region]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdbcli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 7
10
- version: 0.3.7
9
+ - 8
10
+ version: 0.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel