upfluence-utils 0.8.1 → 0.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef4e2db1636205d5dc5985b0ba6fd5a42f73e6e09f59bc8726af03c860ccf106
4
- data.tar.gz: a5ae9ce7e4c35d4cdae827307587a60c9b70ce1ec04b552cf030913d9a9254d1
3
+ metadata.gz: 445bf3674db4ae9627f19c3c572a1c6bca6cd89fc4279e570b24d927da6e1d8b
4
+ data.tar.gz: 7b9413b8f197ff9ed260865fd1c2acd56276b6b5a863d8987ce9d171ad5a8fe8
5
5
  SHA512:
6
- metadata.gz: 90e59aac5789abe24831bae11947388a76696fb33bc85e8bf0f781e77010b59d3feee76d21a97cf6986d16d4070b07297da7ff2dc981dae30b071cd64ba20d9a
7
- data.tar.gz: 7c321b4f2e7dfa24ba3ad4fc618cd8acded86ba22d87a9d68cc92990d196ef847949e2fd88c529d302c571c8fe437f5ee0a20c0b6a16fa17ddfb662a8f425597
6
+ metadata.gz: a4fa4e97b5f8ee0d1f9bdb440946cea644691a66b7387207353d458e257bdfebc9ac0577401957af5fa24094c998a6f17c4f1d0baa7d70c19a3f4578a5734e87
7
+ data.tar.gz: 2cd094d1bd2fa605afbcd2e90f32de161cc57cb0ef1304d93364defb7d543ab1f556d8b6dbf2b4721ec4677b3795a8040969791cb70b217cea723fb455a26a7e
@@ -0,0 +1,30 @@
1
+ ### What does this PR do?
2
+
3
+ <!-- A brief description of the context of this pull request and its purpose. -->
4
+
5
+ Fixes #<!-- enter issue number here -->
6
+
7
+ ### What are the observable changes?
8
+ <!-- This question could be adequate with multiple use cases, for example: -->
9
+
10
+ <!-- Frontend: explain the feature created / updated, give instructions telling how to see the change in staging -->
11
+ <!-- Performance: what metric should be impacted, link to the right graphana dashboard for exemple -->
12
+ <!-- Bug: a given issue trail on sentry should stop happening -->
13
+ <!-- Feature: Implements X thrift service / Z HTTP REST API added, provide instructions on how leverage your feature from staging or your workstation -->
14
+
15
+ ### Good PR checklist
16
+
17
+ - [ ] Title makes sense
18
+ - [ ] Is against the correct branch
19
+ - [ ] Only addresses one issue
20
+ - [ ] Properly assigned
21
+ - [ ] Added/updated tests
22
+ - [ ] Added/updated documentation
23
+ - [ ] Properly labeled
24
+
25
+ ### Additional Notes
26
+
27
+ <!--
28
+ You can add anything you want here, an explanation on the way you built your implementation,
29
+ precisions on the origin of the bug, gotchas you need to mention.
30
+ -->
@@ -3,3 +3,4 @@ require 'upfluence/endpoint/api_endpoint'
3
3
  require 'upfluence/mixin/strong_parameters'
4
4
  require 'upfluence/mixin/pagination'
5
5
  require 'upfluence/base/exceptions/validation_error'
6
+ require 'upfluence/resources'
@@ -0,0 +1 @@
1
+ require 'upfluence/resources/countries'
@@ -0,0 +1,23 @@
1
+ module Upfluence
2
+ module Ressources
3
+ COUNTRIES = %w[
4
+ US FR GB DE CH AF AL DZ AS AD AO AI
5
+ AG AR AM AW AU AT AZ BS BH BD BB BY
6
+ BE BZ BJ BM BT BO BA BW BR BN BG BF
7
+ BI CV KH CM CA KY CF TD CL CN CO KM
8
+ CG CD CK CI HR CU CY CZ DK DJ DM DO
9
+ GW GY HT VA HN HK HU IS IN ID IR IQ
10
+ IE IM IL IT JM JP JE JO KZ KE KI KP
11
+ KR KW KG LA LV LB LI LS LR LY LT LU
12
+ MO MK MG MW MY MV ML MT MH MQ MR MU
13
+ MX FM MD MC MN ME MS MA MZ MM NA NR
14
+ NP NL NC NZ NI NE NG NO OM PK PW PS
15
+ PA PG PY PE PH PL PT PR QA RE RO RU
16
+ RW KN LC VC WS SM ST SA SN RS SC SL
17
+ SG SK SI SB SO ZA ES LK SD SR SZ SE
18
+ SY TW TJ TZ TH TL TG TO TT TN TR TM
19
+ TC TV UG UA AE GB UY UZ VU VE VN VG
20
+ VI EH YE ZM ZW CR
21
+ ].freeze
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  module Upfluence
2
2
  module Utils
3
- VERSION = '0.8.1'.freeze
3
+ VERSION = '0.8.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upfluence-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Upfluence
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-24 00:00:00.000000000 Z
11
+ date: 2020-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -234,13 +234,14 @@ dependencies:
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
- description:
237
+ description:
238
238
  email:
239
239
  - dev@upfluence.com
240
240
  executables: []
241
241
  extensions: []
242
242
  extra_rdoc_files: []
243
243
  files:
244
+ - ".github/pull_request_template.md"
244
245
  - ".gitignore"
245
246
  - ".rspec"
246
247
  - ".travis.yml"
@@ -272,6 +273,8 @@ files:
272
273
  - lib/upfluence/mixin/strong_parameters.rb
273
274
  - lib/upfluence/peer.rb
274
275
  - lib/upfluence/pool.rb
276
+ - lib/upfluence/resources.rb
277
+ - lib/upfluence/resources/countries.rb
275
278
  - lib/upfluence/utils.rb
276
279
  - lib/upfluence/utils/http/middleware/null.rb
277
280
  - lib/upfluence/utils/semaphore.rb
@@ -288,7 +291,7 @@ homepage: https://github.com/upfluence/rbutils
288
291
  licenses:
289
292
  - MIT
290
293
  metadata: {}
291
- post_install_message:
294
+ post_install_message:
292
295
  rdoc_options: []
293
296
  require_paths:
294
297
  - lib
@@ -303,8 +306,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
306
  - !ruby/object:Gem::Version
304
307
  version: '0'
305
308
  requirements: []
306
- rubygems_version: 3.0.3
307
- signing_key:
309
+ rubygems_version: 3.1.4
310
+ signing_key:
308
311
  specification_version: 4
309
312
  summary: Upfluence common utils for Ruby projects
310
313
  test_files: []