restforce 1.0.2 → 1.0.3

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.

Potentially problematic release.


This version of restforce might be problematic. Click here for more details.

@@ -4,7 +4,7 @@ module Restforce
4
4
 
5
5
  def decode_signed_request(signed_request)
6
6
  raise 'client_secret not set' unless @options[:client_secret]
7
- SignedRequestd.decode(signed_request, @options[:client_secret])
7
+ SignedRequest.decode(signed_request, @options[:client_secret])
8
8
  end
9
9
 
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Restforce
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -369,6 +369,13 @@ shared_examples_for 'methods' do
369
369
  end
370
370
  end
371
371
 
372
+ describe '.decode_signed_request' do
373
+ it 'proxies to Restforce::SignedRequest' do
374
+ Restforce::SignedRequest.should_receive(:decode).with('foo', client_secret)
375
+ client.decode_signed_request('foo')
376
+ end
377
+ end
378
+
372
379
  describe 'authentication retries' do
373
380
  context 'when retries reaches 0' do
374
381
  before do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: