active_zuora 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 206546ae23f9e0790c2787774d79b40e36d03d38
4
- data.tar.gz: 1ab0f42868f388ecbf82cc2bbd4aabe73ecbbb05
3
+ metadata.gz: 3847120b7ee0e3df193395cdf67818afa6cd26e8
4
+ data.tar.gz: c7f51cda96d5dbf9e75792392115bf70a648f211
5
5
  SHA512:
6
- metadata.gz: f82c93e82964fa5e5bd9c0a327911f38298c0d7040bdf2637c2c3d15ddde8161d8ae033f518df1d72b92511ac10a019f1be2422664d48df00f7ebacd64cf37d7
7
- data.tar.gz: 701ce736106c7618647ad43920dc584f9522cc167572b1f18ed233df84d63a8c2ad830890bda3499f2496cb3df6b0a4a868929c3d28e6774cf70791ed3ee78f9
6
+ metadata.gz: ee789922ede67777c0ae3c93397bc3dbf5e2ac2ca5c36580c6baf6d4b11c860f2fb1756e3ed4170467d9f94e91a63c8c459552cca2a2b90ff0dec99820e29ea9
7
+ data.tar.gz: 7e350123f16e8de424253b5691ea53c9e50a24e32de780fb8ab879b90e126aa53456276bd66daace9da316316f6d8b8353c14ae43770d0043ddadc3a3f127c5f
@@ -1,3 +1,5 @@
1
+ #### v2.4.1
2
+ * Set the order attribute only if the `created_date` field is defined.
1
3
  #### v2.4.0
2
4
  * Add date field to support WSDL >= 69
3
5
  #### v2.3.1
@@ -10,7 +10,6 @@ module ActiveZuora
10
10
  # Store login credentials and create SOAP client.
11
11
  @username = configuration[:username]
12
12
  @password = configuration[:password]
13
- @session_timeout = configuration[:session_timeout] || 15.minutes
14
13
  @soap_client = Savon::Client.new do
15
14
  wsdl.document = configuration[:wsdl] || WSDL
16
15
  http.proxy = configuration[:http_proxy] if configuration[:http_proxy]
@@ -7,7 +7,10 @@ module ActiveZuora
7
7
 
8
8
  def initialize(zobject_class, selected_field_names=[:id])
9
9
  @zobject_class, @selected_field_names, @filters = zobject_class, selected_field_names, []
10
- @order_attribute, @order_direction = :created_date, :asc
10
+
11
+ if field?(:created_date)
12
+ @order_attribute, @order_direction = :created_date, :asc
13
+ end
11
14
  end
12
15
 
13
16
  def dup
@@ -1,3 +1,3 @@
1
1
  module ActiveZuora
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_zuora
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Lebert
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-08 00:00:00.000000000 Z
12
+ date: 2016-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.4.8
178
+ rubygems_version: 2.5.1
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: ActiveZuora - Zuora API that looks and feels like ActiveRecord.