mygengo 1.15 → 1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -146,7 +146,7 @@ module MyGengo
146
146
  "api_sig" => signature_of(query[:ts]),
147
147
  "api_key" => urlencode(@opts[:public_key]),
148
148
  "data" => urlencode(params.to_json.gsub('\\', '\\\\')),
149
- "ts" => Time.now.gmtime.to_i.to_s
149
+ "ts" => query[:ts].to_i.to_s
150
150
  }.map { |k, v| "#{k}=#{v}" }.flatten.join('&')
151
151
 
152
152
  if @debug
@@ -11,6 +11,6 @@ module MyGengo
11
11
  SANDBOX_API_HOST = 'api.sandbox.mygengo.com'
12
12
 
13
13
  # Pretty self explanatory.
14
- VERSION = '1.15'
14
+ VERSION = '1.16'
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mygengo
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.15'
4
+ version: '1.16'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-10-01 00:00:00.000000000 Z
15
+ date: 2012-10-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: json