firebase_dynamic_link 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +10 -0
- data/firebase_dynamic_link.gemspec +1 -1
- data/gemfiles/version_2016.gemfile +0 -1
- data/gemfiles/version_2016.gemfile.lock +6 -7
- data/gemfiles/version_2017a.gemfile +0 -1
- data/gemfiles/version_2017a.gemfile.lock +4 -5
- data/gemfiles/version_2017b.gemfile +0 -1
- data/gemfiles/version_2017b.gemfile.lock +4 -5
- data/gemfiles/version_2018.gemfile +0 -1
- data/gemfiles/version_2018.gemfile.lock +4 -5
- data/lib/firebase_dynamic_link/client.rb +2 -2
- data/lib/firebase_dynamic_link/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cb0511775f5d991e60eca95d87ab568314d3fc6d3dcd4f50016a94247f0440ef
|
4
|
+
data.tar.gz: a9b13ac72fdaa78a737149dd25069d96f2d1e65ba87b3efa592e0c0922a0ab8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061c0d8d828ac2ad394a772f391fe50dbf06133640e7f4f8f68c87cd7426d645f4c346e23fb5280c6e0e75eb0ac0c05b67f31bfdaadc2f7d79602d783a27b176
|
7
|
+
data.tar.gz: 5a165c697c02cd608bed3e44ac4535cbf14f415a431584edea094d050f82e693a9e251531ff6572477f70e382821f59b0aa1d2f8c19b5b0975c81abd9471cad6
|
data/README.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
- [Configure the HTTP client](#configure-the-http-client)
|
8
8
|
- [Shorten a link](#shorten-a-link)
|
9
9
|
- [Shorten parameters](#shorten-parameters)
|
10
|
+
* [CHANGES](#changes)
|
10
11
|
* [Development](#development)
|
11
12
|
* [Contributing](#contributing)
|
12
13
|
* [License](#license)
|
@@ -25,6 +26,8 @@ Opiniated Ruby Firebase Dynamic Links Short Links client
|
|
25
26
|
|
26
27
|
based on reference https://firebase.google.com/docs/reference/dynamic-links/link-shortener
|
27
28
|
|
29
|
+
This library is considered complete and in maintenance mode. New features will be added if Firebase Dynamic Links released new updates
|
30
|
+
|
28
31
|
## Installation
|
29
32
|
|
30
33
|
Add this line to your application's Gemfile:
|
@@ -147,6 +150,13 @@ or if the request reached daily quota, client will throw `FirebaseDynamicLink::Q
|
|
147
150
|
|
148
151
|
otherwise it will throw `FirebaseDynamicLink::ConnectionError` error, with message = http error message
|
149
152
|
|
153
|
+
## CHANGES
|
154
|
+
|
155
|
+
VERSION:
|
156
|
+
|
157
|
+
* 1.0.3
|
158
|
+
Update Dry-configurable dependencies to version 0.6.0
|
159
|
+
|
150
160
|
## Development
|
151
161
|
|
152
162
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_runtime_dependency "dry-configurable", "~> 0.6", ">= 0.6.0"
|
28
28
|
spec.add_runtime_dependency "faraday", "~> 0.9", ">= 0.9.2"
|
29
|
-
spec.add_runtime_dependency "case_transform2", "~> 0.
|
29
|
+
spec.add_runtime_dependency "case_transform2", "~> 1.0", ">= 1.0.0"
|
30
30
|
|
31
31
|
spec.add_development_dependency "appraisal", "~> 2.2.0"
|
32
32
|
spec.add_development_dependency "bootsnap", "~> 1.3.0"
|
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
firebase_dynamic_link (1.0.
|
5
|
-
case_transform2 (~> 0.
|
4
|
+
firebase_dynamic_link (1.0.3)
|
5
|
+
case_transform2 (~> 1.0, >= 1.0.0)
|
6
6
|
dry-configurable (~> 0.6, >= 0.6.0)
|
7
7
|
faraday (~> 0.9, >= 0.9.2)
|
8
8
|
|
@@ -15,12 +15,12 @@ GEM
|
|
15
15
|
thor (>= 0.14.0)
|
16
16
|
bootsnap (1.3.0)
|
17
17
|
msgpack (~> 1.0)
|
18
|
-
case_transform2 (0.
|
18
|
+
case_transform2 (1.0.0)
|
19
19
|
coderay (1.1.2)
|
20
20
|
concurrent-ruby (1.0.5)
|
21
21
|
diff-lcs (1.3)
|
22
|
-
docile (1.3.
|
23
|
-
dotenv (2.
|
22
|
+
docile (1.3.1)
|
23
|
+
dotenv (2.5.0)
|
24
24
|
dry-configurable (0.6.0)
|
25
25
|
concurrent-ruby (~> 1.0)
|
26
26
|
faraday (0.9.2)
|
@@ -61,7 +61,6 @@ DEPENDENCIES
|
|
61
61
|
appraisal (~> 2.2.0)
|
62
62
|
bootsnap (~> 1.3.0)
|
63
63
|
bundler (~> 1.16)
|
64
|
-
case_transform2 (~> 0.2)
|
65
64
|
dotenv (~> 2.2, >= 2.2.2)
|
66
65
|
dry-configurable (= 0.6.0)
|
67
66
|
faraday (= 0.9.2)
|
@@ -73,4 +72,4 @@ DEPENDENCIES
|
|
73
72
|
vcr (~> 4.0, >= 4.0.0)
|
74
73
|
|
75
74
|
BUNDLED WITH
|
76
|
-
1.16.
|
75
|
+
1.16.2
|
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
firebase_dynamic_link (1.0.
|
5
|
-
case_transform2 (~> 0.
|
4
|
+
firebase_dynamic_link (1.0.3)
|
5
|
+
case_transform2 (~> 1.0, >= 1.0.0)
|
6
6
|
dry-configurable (~> 0.6, >= 0.6.0)
|
7
7
|
faraday (~> 0.9, >= 0.9.2)
|
8
8
|
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
thor (>= 0.14.0)
|
16
16
|
bootsnap (1.3.0)
|
17
17
|
msgpack (~> 1.0)
|
18
|
-
case_transform2 (0.
|
18
|
+
case_transform2 (1.0.0)
|
19
19
|
coderay (1.1.2)
|
20
20
|
concurrent-ruby (1.0.5)
|
21
21
|
diff-lcs (1.3)
|
@@ -61,7 +61,6 @@ DEPENDENCIES
|
|
61
61
|
appraisal (~> 2.2.0)
|
62
62
|
bootsnap (~> 1.3.0)
|
63
63
|
bundler (~> 1.16)
|
64
|
-
case_transform2 (~> 0.2)
|
65
64
|
dotenv (~> 2.2, >= 2.2.2)
|
66
65
|
dry-configurable (= 0.6.0)
|
67
66
|
faraday (= 0.10.1)
|
@@ -73,4 +72,4 @@ DEPENDENCIES
|
|
73
72
|
vcr (~> 4.0, >= 4.0.0)
|
74
73
|
|
75
74
|
BUNDLED WITH
|
76
|
-
1.16.
|
75
|
+
1.16.2
|
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
firebase_dynamic_link (1.0.
|
5
|
-
case_transform2 (~> 0.
|
4
|
+
firebase_dynamic_link (1.0.3)
|
5
|
+
case_transform2 (~> 1.0, >= 1.0.0)
|
6
6
|
dry-configurable (~> 0.6, >= 0.6.0)
|
7
7
|
faraday (~> 0.9, >= 0.9.2)
|
8
8
|
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
thor (>= 0.14.0)
|
16
16
|
bootsnap (1.3.0)
|
17
17
|
msgpack (~> 1.0)
|
18
|
-
case_transform2 (0.
|
18
|
+
case_transform2 (1.0.0)
|
19
19
|
coderay (1.1.2)
|
20
20
|
concurrent-ruby (1.0.5)
|
21
21
|
diff-lcs (1.3)
|
@@ -61,7 +61,6 @@ DEPENDENCIES
|
|
61
61
|
appraisal (~> 2.2.0)
|
62
62
|
bootsnap (~> 1.3.0)
|
63
63
|
bundler (~> 1.16)
|
64
|
-
case_transform2 (~> 0.2)
|
65
64
|
dotenv (~> 2.2, >= 2.2.2)
|
66
65
|
dry-configurable (= 0.6.0)
|
67
66
|
faraday (= 0.11.0)
|
@@ -73,4 +72,4 @@ DEPENDENCIES
|
|
73
72
|
vcr (~> 4.0, >= 4.0.0)
|
74
73
|
|
75
74
|
BUNDLED WITH
|
76
|
-
1.16.
|
75
|
+
1.16.2
|
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
firebase_dynamic_link (1.0.
|
5
|
-
case_transform2 (~> 0.
|
4
|
+
firebase_dynamic_link (1.0.3)
|
5
|
+
case_transform2 (~> 1.0, >= 1.0.0)
|
6
6
|
dry-configurable (~> 0.6, >= 0.6.0)
|
7
7
|
faraday (~> 0.9, >= 0.9.2)
|
8
8
|
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
thor (>= 0.14.0)
|
16
16
|
bootsnap (1.3.0)
|
17
17
|
msgpack (~> 1.0)
|
18
|
-
case_transform2 (0.
|
18
|
+
case_transform2 (1.0.0)
|
19
19
|
coderay (1.1.2)
|
20
20
|
concurrent-ruby (1.0.5)
|
21
21
|
diff-lcs (1.3)
|
@@ -61,7 +61,6 @@ DEPENDENCIES
|
|
61
61
|
appraisal (~> 2.2.0)
|
62
62
|
bootsnap (~> 1.3.0)
|
63
63
|
bundler (~> 1.16)
|
64
|
-
case_transform2 (~> 0.2)
|
65
64
|
dotenv (~> 2.2, >= 2.2.2)
|
66
65
|
dry-configurable (= 0.7.0)
|
67
66
|
faraday (= 0.14.0)
|
@@ -73,4 +72,4 @@ DEPENDENCIES
|
|
73
72
|
vcr (~> 4.0, >= 4.0.0)
|
74
73
|
|
75
74
|
BUNDLED WITH
|
76
|
-
1.16.
|
75
|
+
1.16.2
|
@@ -29,7 +29,7 @@ module FirebaseDynamicLink
|
|
29
29
|
|
30
30
|
suffix_option = options[:suffix_option] if options.key?(:suffix_option)
|
31
31
|
|
32
|
-
params =
|
32
|
+
params = CaseTransform2.camel_lower(long_dynamic_link: build_link(link, options),
|
33
33
|
suffix: {
|
34
34
|
option: suffix_option || config.suffix_option
|
35
35
|
})
|
@@ -133,7 +133,7 @@ module FirebaseDynamicLink
|
|
133
133
|
|
134
134
|
dynamic_link_domain = URI.parse(dynamic_link_domain).host
|
135
135
|
|
136
|
-
params =
|
136
|
+
params = CaseTransform2.camel_lower(dynamic_link_info: params.merge(dynamicLinkDomain: dynamic_link_domain),
|
137
137
|
suffix: {
|
138
138
|
option: suffix_option || config.suffix_option
|
139
139
|
})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firebase_dynamic_link
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- M Saiqul Haq
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05
|
11
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -56,14 +56,20 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0
|
59
|
+
version: '1.0'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.0.0
|
60
63
|
type: :runtime
|
61
64
|
prerelease: false
|
62
65
|
version_requirements: !ruby/object:Gem::Requirement
|
63
66
|
requirements:
|
64
67
|
- - "~>"
|
65
68
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0
|
69
|
+
version: '1.0'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.0.0
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
74
|
name: appraisal
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
265
|
version: '0'
|
260
266
|
requirements: []
|
261
267
|
rubyforge_project:
|
262
|
-
rubygems_version: 2.
|
268
|
+
rubygems_version: 2.7.3
|
263
269
|
signing_key:
|
264
270
|
specification_version: 4
|
265
271
|
summary: Ruby client for Firebase Dynamic Link service
|