semantics3 0.11 → 0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/semantics3.rb +2 -2
  2. data/semantics3.gemspec +1 -1
  3. metadata +2 -2
@@ -98,7 +98,7 @@ module Semantics3
98
98
  end
99
99
 
100
100
  def all_products
101
- if not @query_result.has_key?(results)
101
+ if not @query_result.has_key?('results')
102
102
  raise Error.new('Undefined Query','Query result is undefined. You need to run a query first.')
103
103
  end
104
104
  @query_result['results']
@@ -278,4 +278,4 @@ module JSON
278
278
  false
279
279
  end
280
280
  end
281
- end
281
+ end
@@ -2,7 +2,7 @@ $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = 'semantics3'
5
- s.version = '0.11'
5
+ s.version = '0.12'
6
6
  s.summary = 'Ruby bindings for the Semantics3 API'
7
7
  s.description = 'Get access to a constantly updated database of product and price data. See https://semantics3.com/ for more information.'
8
8
  s.authors = ['Sivamani Varun', 'Mounarajan P A']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantics3
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.11'
4
+ version: '0.12'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-28 00:00:00.000000000 Z
13
+ date: 2015-05-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json