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.
Files changed (3) hide show
  1. data/bin/ddbcli +1 -1
  2. data/lib/ddbcli/ddb-client.rb +2 -3
  3. metadata +1 -1
data/bin/ddbcli CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
3
3
 
4
- Version = '0.2.6'
4
+ Version = '0.2.7'
5
5
 
6
6
  HISTORY_FILE = File.join((ENV['HOME'] || ENV['USERPROFILE'] || '.'), '.ddbcli_history')
7
7
  HISTSIZE = 500
@@ -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.pretty_inspect}
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.pretty_inspect}
116
+ #{JSON.pretty_generate(res_data)}
118
117
  ---response end---
119
118
  EOS
120
119
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddbcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: