sdbcli 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sdbcli +1 -1
- data/lib/sdbcli/sdb-runner.rb +1 -0
- metadata +3 -3
data/bin/sdbcli
CHANGED
data/lib/sdbcli/sdb-runner.rb
CHANGED
@@ -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