bootic_client 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bootic_client.gemspec +0 -1
- data/lib/bootic_client/client.rb +2 -0
- data/lib/bootic_client/configuration.rb +2 -0
- data/lib/bootic_client/entity.rb +2 -0
- data/lib/bootic_client/errors.rb +2 -0
- data/lib/bootic_client/relation.rb +2 -0
- data/lib/bootic_client/response_handlers.rb +2 -0
- data/lib/bootic_client/strategies/authorized.rb +2 -0
- data/lib/bootic_client/strategies/basic_auth.rb +2 -0
- data/lib/bootic_client/strategies/bearer.rb +2 -0
- data/lib/bootic_client/strategies/client_credentials.rb +2 -0
- data/lib/bootic_client/strategies/oauth2_strategy.rb +2 -0
- data/lib/bootic_client/strategies/strategy.rb +2 -0
- data/lib/bootic_client/version.rb +3 -1
- data/lib/bootic_client/whiny_uri.rb +3 -1
- metadata +3 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae24e3741f7d01f738c18dd5cf46d8de303e40bf10c6d8b7be7c511b8bbef8d6
|
4
|
+
data.tar.gz: 7a1d8b7c341e89bb65d416748d5c786bc3e664fe0c2bb403595f7f1a2895c0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99198aa00ac502e646d221a4d2b60414fb547b8e4cbf3adaff0be18aa764075f08494efd68713bd47f349dc15dab37b7308b8c220c11343a0124346f821bc94
|
7
|
+
data.tar.gz: c254f93d50e7a023d04967c40708933ed8b32585f46da52dd9a7f3096d677296171eb0bca930caf4966597ea427ef2ac06c201ce48be07081946e9700dc17600
|
data/bootic_client.gemspec
CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "net-http-persistent", '~> 3.0'
|
24
24
|
spec.add_dependency "oauth2", "~> 1.4"
|
25
25
|
|
26
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
27
26
|
spec.add_development_dependency "rake"
|
28
27
|
spec.add_development_dependency "rspec", "3.5.0"
|
29
28
|
spec.add_development_dependency "jwt", "~> 1.5"
|
data/lib/bootic_client/client.rb
CHANGED
data/lib/bootic_client/entity.rb
CHANGED
data/lib/bootic_client/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'uri_template'
|
2
4
|
|
3
5
|
module BooticClient
|
@@ -35,7 +37,7 @@ module BooticClient
|
|
35
37
|
def path_variables
|
36
38
|
@path_variables ||= (
|
37
39
|
variables.find_all{ |v|
|
38
|
-
|
40
|
+
!!(href["{#{v}}"]) || !!(href["{/#{v}}"])
|
39
41
|
}
|
40
42
|
)
|
41
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootic_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismael Celis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.4'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.3'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.3'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rake
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,8 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
204
|
- !ruby/object:Gem::Version
|
219
205
|
version: '0'
|
220
206
|
requirements: []
|
221
|
-
|
222
|
-
rubygems_version: 2.7.3
|
207
|
+
rubygems_version: 3.1.2
|
223
208
|
signing_key:
|
224
209
|
specification_version: 4
|
225
210
|
summary: Official Ruby client for the Bootic API
|