txbr 2.6.0 → 2.6.1.beta1

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
  SHA256:
3
- metadata.gz: de06b8c60a2831076cd48e5224b8171d71702b8de154b81508120583fa38544f
4
- data.tar.gz: fa07dbf56360941e2ef3fc9e6c0faaf6f9ef57a796b96f5b29ea8bc375109b3b
3
+ metadata.gz: 97f7a283041d7fe496fe0eda6976ed22fe5a60a60b56eee4b3b07b62eb8b3753
4
+ data.tar.gz: 7440313a8d353ab7e4d9ae22c5dc5de59c5000d3dc33efdd3bd82eb5f55a7203
5
5
  SHA512:
6
- metadata.gz: 6ba3f3f19096822e05fc8deb37d311dff121775438a91c1aa5a4ae7d58d186412c31eebf01f8a7482d0a2c09672d4b5db3edd268acff1136488a20fb22b93145
7
- data.tar.gz: 678abdfd3a9514581350c1bac89f5ced8ed592d4b9eba381c6a4effd0f67a362b8cf055d0d072f334ae700c409c8618c59f43bf36d84e59bba3ab77d981f8f8e
6
+ metadata.gz: 7732388b13d226baaf99fa8f57a3cba3f5b5ce36b4a267bb3fc2aea94b27b072b2628e43298f7f67beadc70c2036e1647bb3a8b8db8e7c4e76da5bb8022a81fc
7
+ data.tar.gz: e83c060b3286af19562a6c19e321aa6c8afd7b11578b3cd1537952b7eba7792228f200e31a84882834098463e79d3681e64fa82f1d164de38b9c9a4062e2621c
@@ -15,7 +15,7 @@ module Txbr
15
15
  page = 0
16
16
 
17
17
  loop do
18
- campaigns = braze_api.get_json(CAMPAIGN_LIST_PATH, page: page)
18
+ campaigns = braze_api.get_json(CAMPAIGN_LIST_PATH, page: page, include_archived: false)
19
19
  campaigns['campaigns'].each(&block)
20
20
  break if campaigns['campaigns'].size < CAMPAIGN_BATCH_SIZE
21
21
  page += 1
data/lib/txbr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Txbr
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.1.beta1'
3
3
  end
@@ -20,13 +20,13 @@ describe Txbr::CampaignsApi do
20
20
 
21
21
  let(:interactions) do
22
22
  [{
23
- request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 0 } },
23
+ request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 0, include_archived: false } },
24
24
  response: { status: 200, body: { campaigns: [{ id: '123abc' }] }.to_json }
25
25
  }, {
26
- request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 1 } },
26
+ request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 1, include_archived: false } },
27
27
  response: { status: 200, body: { campaigns: [{ id: '456def' }] }.to_json }
28
28
  }, {
29
- request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 2 } },
29
+ request: { verb: 'get', url: described_class::CAMPAIGN_LIST_PATH, params: { page: 2, include_archived: false } },
30
30
  response: { status: 200, body: { campaigns: [] }.to_json }
31
31
  }]
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2021-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: abroad
@@ -162,7 +162,7 @@ files:
162
162
  homepage: https://github.com/lumoslabs/txbr
163
163
  licenses: []
164
164
  metadata: {}
165
- post_install_message:
165
+ post_install_message:
166
166
  rdoc_options: []
167
167
  require_paths:
168
168
  - lib
@@ -173,13 +173,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ">="
176
+ - - ">"
177
177
  - !ruby/object:Gem::Version
178
- version: '0'
178
+ version: 1.3.1
179
179
  requirements: []
180
- rubyforge_project:
181
- rubygems_version: 2.7.6.2
182
- signing_key:
180
+ rubygems_version: 3.2.7
181
+ signing_key:
183
182
  specification_version: 4
184
183
  summary: A library for syncing translation resources between Braze and Transifex.
185
184
  test_files: []