xero_gateway 2.0.15 → 2.0.16

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.
@@ -7,7 +7,7 @@ module XeroGateway
7
7
  attr_accessor :client, :xero_url, :logger
8
8
 
9
9
  extend Forwardable
10
- def_delegators :client, :request_token, :access_token, :authorize_from_request, :authorize_from_access, :authorization_expires_at
10
+ def_delegators :client, :request_token, :access_token, :authorize_from_request, :authorize_from_access, :expires_at, :authorization_expires_at
11
11
 
12
12
  #
13
13
  # The consumer key and secret here correspond to those provided
@@ -25,7 +25,7 @@ module XeroGateway
25
25
  extend Forwardable
26
26
  def_delegators :access_token, :get, :post, :put, :delete
27
27
 
28
- attr_reader :ctoken, :csecret, :consumer_options, :session_handle, :authorization_expires_at
28
+ attr_reader :ctoken, :csecret, :consumer_options, :session_handle, :expires_at, :authorization_expires_at
29
29
 
30
30
  def initialize(ctoken, csecret, options = {})
31
31
  @ctoken, @csecret = ctoken, csecret
data/test/test_helper.rb CHANGED
@@ -6,7 +6,7 @@ require 'shoulda'
6
6
 
7
7
  require 'libxml'
8
8
 
9
- require File.dirname(__FILE__) + '/../lib/xero_gateway.rb'
9
+ require File.dirname(__FILE__) + '/../lib/xero_gateway.rb' unless defined?(XeroGateway)
10
10
 
11
11
  module TestHelper
12
12
  # The integration tests can be run against the Xero test environment. You mush have a company set up in the test
data/xero_gateway.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xero_gateway"
3
- s.version = "2.0.15"
4
- s.date = "2012-06-15"
3
+ s.version = "2.0.16"
4
+ s.date = "2012-07-12"
5
5
  s.summary = "Enables ruby based applications to communicate with the Xero API"
6
6
  s.email = "tim@connorsoftware.com"
7
7
  s.homepage = "http://github.com/tlconnor/xero_gateway"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero_gateway
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 15
10
- version: 2.0.15
9
+ - 16
10
+ version: 2.0.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Connor
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-06-15 00:00:00 -07:00
19
+ date: 2012-07-12 00:00:00 +12:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency