inova_dynamic_link 0.1.0 → 0.2.0

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: 88f1da587f441baa45f5b9e555ab0cc6dff6043962e6885a2b2ad8ad5ae386e6
4
- data.tar.gz: a49f6a6e519d25ed6f061b85b861f1ae7801fe2e21ef14462199ecfa64d87a25
3
+ metadata.gz: 14d6713faeaedfda3450ab4d36f9eda5a4828458bab6431c16e3ad7ab32d47f2
4
+ data.tar.gz: 5b45f6f660ca99475499457bd7ee1861d2dafff0d7d0715952e6b510f6dae0f7
5
5
  SHA512:
6
- metadata.gz: 812f27a66b5550c9274f10457870e12f8b79c53f84288eabe1b5a10abbb6dcc3bac8a50108a2d2c52f547d330fcff5b9cd02d9a80cad53cd1c8fef51f58036c8
7
- data.tar.gz: bf0bc77d53f7db828044c2c40a4ba6a0540cb2748e930cd47c1903e1bb84994d641fc80ab729eb9c0e56d5795db308ea0eb9e546cb1bd68b2e0498e25a07890c
6
+ metadata.gz: ea275b92de08733bdfac4104a3bb92d0a6aee923e0e6aa5e8f5760bc2e39b8a1d378576cda4eb88986543a66d20650d25b8a03d2546f48add0f357aea8ee7772
7
+ data.tar.gz: b7fa9ae07631f5cf150093d8197cd17320283ec31cf9e77f463757b539f9c5a1fc10d22316f5b9c5acbde779ca61ea08d25e422ec3ad46190de588de50cfa84d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.2.0] - 2024-01-10
2
+
3
+ - Return an array of urls from dynamic link bulk_create
4
+
1
5
  ## [0.1.0] - 2024-01-09
2
6
 
3
7
  - Initial release
@@ -44,7 +44,7 @@ module InovaDynamicLink
44
44
  config_hash_array = branch_link_configuration_array.map{|config| config.to_hash}
45
45
  response = HTTParty.post(BRANCH_URI + "/bulk/" + @branch_key, headers: DEFAULT_HEADERS, body: config_hash_array.to_json)
46
46
  raise HTTParty::ResponseError, response unless response.code == 200
47
- JSON.parse(response.body)
47
+ JSON.parse(response.body).map{|resp| resp["url"]}
48
48
  end
49
49
 
50
50
  def get(url)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InovaDynamicLink
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inova_dynamic_link
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed Mos`ad
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.3.7
87
+ rubygems_version: 3.2.3
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Ruby gem to manage dynamic links using branch.io.