ddbcli 0.2.6 → 0.2.7
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/bin/ddbcli +1 -1
- data/lib/ddbcli/ddb-client.rb +2 -3
- metadata +1 -1
data/bin/ddbcli
CHANGED
data/lib/ddbcli/ddb-client.rb
CHANGED
@@ -4,7 +4,6 @@ require 'net/http'
|
|
4
4
|
require 'time'
|
5
5
|
require 'stringio'
|
6
6
|
require 'zlib'
|
7
|
-
require 'pp'
|
8
7
|
require 'uri'
|
9
8
|
|
10
9
|
require 'ddbcli/ddb-error'
|
@@ -56,7 +55,7 @@ module DynamoDB
|
|
56
55
|
$stderr.puts(<<EOS)
|
57
56
|
---request begin---
|
58
57
|
Action: #{action}
|
59
|
-
#{hash
|
58
|
+
#{JSON.pretty_generate(hash)}
|
60
59
|
---request end---
|
61
60
|
EOS
|
62
61
|
end
|
@@ -114,7 +113,7 @@ EOS
|
|
114
113
|
if @debug
|
115
114
|
$stderr.puts(<<EOS)
|
116
115
|
---response begin---
|
117
|
-
#{res_data
|
116
|
+
#{JSON.pretty_generate(res_data)}
|
118
117
|
---response end---
|
119
118
|
EOS
|
120
119
|
end
|