http-client-generator 0.1.27 → 0.1.29
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 +17 -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: dd074a8cbd648b5b594dd0ef0fd9814100c671367d3e08e6de86fc004d209af4
|
4
|
+
data.tar.gz: 31b08db03a1635e2ed14e637b0d21583db65245dfb1948fe0c0fff725aaa431d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2e3ba7c6ac9722ecb4bdd4b85735e78c22fa521451a83ca34f752800d7834b1a9bd79e96ee81afbdddf211679b38e1aadec23c827b6fae25d73738c467dc488
|
7
|
+
data.tar.gz: c2215f837cc1c320c9850236d8c805b6c122c7065cbe650f14a629f31ca24382a5fd428c771695367df4c4468dd4de8cd4d2b70480f2327e1f6a9370e17992e3
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module HttpClientGenerator
|
4
|
+
module UrlBuilder
|
5
|
+
def self.included(base)
|
6
|
+
super
|
7
|
+
|
8
|
+
base.extend(self)
|
9
|
+
base.extend(base)
|
10
|
+
end
|
11
|
+
|
12
|
+
def url_for(name, &block)
|
13
|
+
define_singleton_method(name, &block)
|
14
|
+
define_method(name, &block)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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.29
|
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: []
|