btfy_client 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +40 -1
- data/btfy_client.gemspec +1 -0
- data/lib/btfy_client.rb +5 -0
- data/lib/btfy_client/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdb20302106d84743fa1bd30d5b635770e75e85926aea2f561751893798d44db
|
4
|
+
data.tar.gz: 931dfefe497064f7104d31225a71e5e6615475d7745726ca8c320c2cba688c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6794e52f3c6bbda610f5c38958bfc90077a56ec62c530db2f67ed955312bc5b2ebb63eaed32ee0e0ca8af5db65f179a6518cf1c8d0983716bd2649085b48d09a
|
7
|
+
data.tar.gz: 73bf8938efe70bf93ac1a7495e00820df5213b97af3cdd33e258a7aec8b2c83d1cd8fa09b741dac000d1171ce8934003263c2ee88690e39362e756106bb5acfd
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.5.0] - 2020-09-06
|
8
|
+
### Changed
|
9
|
+
- require `destination_url` when calling `create_link`
|
10
|
+
|
7
11
|
## [0.4.0] - 2020-09-06
|
8
12
|
### Changed
|
9
13
|
- add `BaseRequest` for reuse
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
btfy_client (0.
|
4
|
+
btfy_client (0.5.0)
|
5
5
|
api_client_base
|
6
|
+
dry-validation
|
6
7
|
typhoeus
|
7
8
|
|
8
9
|
GEM
|
@@ -33,6 +34,44 @@ GEM
|
|
33
34
|
descendants_tracker (0.0.4)
|
34
35
|
thread_safe (~> 0.3, >= 0.3.1)
|
35
36
|
diff-lcs (1.4.4)
|
37
|
+
dry-configurable (0.11.6)
|
38
|
+
concurrent-ruby (~> 1.0)
|
39
|
+
dry-core (~> 0.4, >= 0.4.7)
|
40
|
+
dry-equalizer (~> 0.2)
|
41
|
+
dry-container (0.7.2)
|
42
|
+
concurrent-ruby (~> 1.0)
|
43
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
44
|
+
dry-core (0.4.9)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
dry-equalizer (0.3.0)
|
47
|
+
dry-inflector (0.2.0)
|
48
|
+
dry-initializer (3.0.3)
|
49
|
+
dry-logic (1.0.7)
|
50
|
+
concurrent-ruby (~> 1.0)
|
51
|
+
dry-core (~> 0.2)
|
52
|
+
dry-equalizer (~> 0.2)
|
53
|
+
dry-schema (1.5.4)
|
54
|
+
concurrent-ruby (~> 1.0)
|
55
|
+
dry-configurable (~> 0.8, >= 0.8.3)
|
56
|
+
dry-core (~> 0.4)
|
57
|
+
dry-equalizer (~> 0.2)
|
58
|
+
dry-initializer (~> 3.0)
|
59
|
+
dry-logic (~> 1.0)
|
60
|
+
dry-types (~> 1.4)
|
61
|
+
dry-types (1.4.0)
|
62
|
+
concurrent-ruby (~> 1.0)
|
63
|
+
dry-container (~> 0.3)
|
64
|
+
dry-core (~> 0.4, >= 0.4.4)
|
65
|
+
dry-equalizer (~> 0.3)
|
66
|
+
dry-inflector (~> 0.1, >= 0.1.2)
|
67
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
68
|
+
dry-validation (1.5.6)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
dry-container (~> 0.7, >= 0.7.1)
|
71
|
+
dry-core (~> 0.4)
|
72
|
+
dry-equalizer (~> 0.2)
|
73
|
+
dry-initializer (~> 3.0)
|
74
|
+
dry-schema (~> 1.5, >= 1.5.2)
|
36
75
|
equalizer (0.0.11)
|
37
76
|
ethon (0.12.0)
|
38
77
|
ffi (>= 1.3.0)
|
data/btfy_client.gemspec
CHANGED
data/lib/btfy_client.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "json"
|
2
2
|
require "api_client_base"
|
3
|
+
require "dry-validation"
|
3
4
|
|
4
5
|
require "btfy_client/version"
|
5
6
|
require "btfy_client/client"
|
@@ -25,4 +26,8 @@ module BtfyClient
|
|
25
26
|
has :api_token, classes: String
|
26
27
|
end
|
27
28
|
|
29
|
+
CreateLinkRequestSchema = Dry::Schema.Params do
|
30
|
+
required(:destination_url).value(:string)
|
31
|
+
end
|
32
|
+
|
28
33
|
end
|
data/lib/btfy_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: btfy_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Chavez
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dry-validation
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: pry
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|