iron_bank 3.0.2 → 3.0.3

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: 77da69b166aaa214376d2287ffadac5f39f3f54d
4
- data.tar.gz: fb12a9b49388f1cbe89d597420c7bfb2be7b731c
3
+ metadata.gz: 337852f79d17b3fab69e1757a69669f6e3626c63
4
+ data.tar.gz: c15e8fd557465ec893cb40635194fdf52e7c2a23
5
5
  SHA512:
6
- metadata.gz: 82ee5aef73c1c6b2071d54ae3ef7716db454b1c052b8b82dfcefbb1aab83b48d91d42764ac6f7bee51490dfe9f5317d9e919bb45f5279fe814cd1ecd3e077301
7
- data.tar.gz: 5426e0b40a966b8e3f784bd2f4def965c4860f32c04522908d863c68bdc73dc4f8f1086fac3d4410facd0440caa4181e7c5fdb9a38e46573229f89062c1f0bfe
6
+ metadata.gz: 1179f7172e7943723eaef1d5f3f6091689c1a8c915790a0c2cc7ac95cd6c539395290336038ada44d3210846f34d4c2e7b4259d9bc6c331c96a87d5a29710039
7
+ data.tar.gz: 32f38533de604bfbb4d9823ff67cbd7ac64284fcece0e18e3c2b111c886d314b4edcd2ac06e1df99af3e995135c16412ebd619501cac87727a10bae4ffaecf00
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iron_bank (3.0.2)
4
+ iron_bank (3.0.3)
5
5
  faraday (~> 0)
6
6
  faraday_middleware (~> 0)
7
7
  nokogiri (~> 1)
@@ -6,6 +6,20 @@ module IronBank
6
6
  # charge.
7
7
  #
8
8
  class ProductRatePlanChargeTier < Resource
9
+ # These fields are declared as `<selectable>true</selectable>` but only
10
+ # for the `export` context (ie., via ZOQL export). To let live queries go
11
+ # through when the local records are not exported, we only allow querying
12
+ # the non-discount tiers.
13
+ def self.exclude_fields
14
+ %w[
15
+ Active
16
+ IncludedUnits
17
+ OveragePrice
18
+ DiscountAmount
19
+ DiscountPercentage
20
+ ]
21
+ end
22
+
9
23
  with_schema
10
24
  with_local_records
11
25
  with_cache
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IronBank
4
- VERSION = "3.0.2"
4
+ VERSION = "3.0.3"
5
5
  API_VERSION = "v1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Pham