http-client-generator 0.1.27 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/http_client_generator/plugs/set_bearer_token.rb +0 -1
- data/lib/http_client_generator/plugs/validate_request.rb +0 -1
- data/lib/http_client_generator/plugs/validate_response.rb +0 -1
- data/lib/http_client_generator/url_builder.rb +15 -0
- data/lib/http_client_generator/version.rb +1 -1
- data/lib/http_client_generator.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfb3c191569bc0574276bb2e6ad52cd246a4d16f284551e8371830d8acde85db
|
4
|
+
data.tar.gz: fe6cfa627ae6336503755291262d3f8e74ed46f6c03e29b361f384bc96b504e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9eb9a3e4c08307ae3e73b4661089adf9bf3e297771be838ce810b84aa876e8d2161bb0df3373847877cf7b85cba5ee1aff9a929b4a13c9141145f7fa1b7b1c1
|
7
|
+
data.tar.gz: 935b816317d16a559bb167ba25a18772f72d06ac9b6cff9909a298f668cb3b0343be983518c1f0912c1b5864290f2810748dfb1032f49ba85fbbb7b2c27bc834
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module HttpClientGenerator
|
4
|
+
module UrlBuilder
|
5
|
+
def self.included(base)
|
6
|
+
super
|
7
|
+
base.extend(self)
|
8
|
+
end
|
9
|
+
|
10
|
+
def url_for(name, &block)
|
11
|
+
define_singleton_method(name, &block)
|
12
|
+
define_method(name, &block)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http-client-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Egorov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- lib/http_client_generator/resource.rb
|
62
62
|
- lib/http_client_generator/resources_definition.rb
|
63
63
|
- lib/http_client_generator/schema_builder.rb
|
64
|
+
- lib/http_client_generator/url_builder.rb
|
64
65
|
- lib/http_client_generator/version.rb
|
65
66
|
homepage:
|
66
67
|
licenses: []
|