ddbcli 0.1.7 → 0.1.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/ddbcli +1 -1
  2. data/lib/ddbcli/ddb-driver.rb +1 -1
  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.1.7'
4
+ Version = '0.1.8'
5
5
 
6
6
  HISTORY_FILE = File.join((ENV['HOME'] || ENV['USERPROFILE'] || '.'), '.ddbcli_history')
7
7
  HISTSIZE = 500
@@ -779,7 +779,7 @@ module DynamoDB
779
779
  end
780
780
 
781
781
  def do_insert_select(action, parsed)
782
- if parsed.count
782
+ if parsed.select.count
783
783
  raise DynamoDB::Error, '"COUNT(*)" cannot be inserted.'
784
784
  end
785
785
 
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.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: