semantics3 0.10 → 0.11

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 (4) hide show
  1. data/Changes +6 -0
  2. data/lib/semantics3.rb +3 -2
  3. data/semantics3.gemspec +1 -1
  4. metadata +2 -2
data/Changes CHANGED
@@ -1,5 +1,11 @@
1
1
  Revision history for semantics3-ruby
2
2
 
3
+ 0.11 28-04-2015
4
+ Incorrect base url. [Critical Bug Fix]
5
+
6
+ 0.10 31-03-2015
7
+ Implemented support for webhooks [Non-GET requests]
8
+
3
9
  0.04 11-03-2014
4
10
  Use CGI.escape instead of URI.escape [Thanks to Mark Evans/ShopGenius App (mark@shopgeniusapp.com)]
5
11
 
data/lib/semantics3.rb CHANGED
@@ -31,7 +31,8 @@ module Semantics3
31
31
  #def oauth(response)
32
32
  #returns a value
33
33
  def _make_request(endpoint,method = "GET",params)
34
- base_url = 'https://api-staging.semantics3.com/v1/' #+ endpoint + '?q=' + CGI.escape(params)
34
+
35
+ base_url = 'https://api.semantics3.com/v1/' #+ endpoint + '?q=' + CGI.escape(params)
35
36
 
36
37
  if method == "GET"
37
38
  request_data = CGI.escape(params)
@@ -277,4 +278,4 @@ module JSON
277
278
  false
278
279
  end
279
280
  end
280
- end
281
+ end
data/semantics3.gemspec CHANGED
@@ -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.10'
5
+ s.version = '0.11'
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.10'
4
+ version: '0.11'
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-03-31 00:00:00.000000000 Z
13
+ date: 2015-04-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json