ftc_events_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_events_client-0.3.0.gem +0 -0
- data/lib/ftc_events_client/configuration.rb +2 -2
- data/lib/ftc_events_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f1ff37553643108690c3f1a77d5330ecd4caca92b678fdb773140af59ea06d7
|
|
4
|
+
data.tar.gz: 9bd000973ff4f627def9e167b823b2251d32a504af9def11bba7132ca9853976
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7565a332299e8115e9e5c2add5651a631324ef7b64d6f0a8ddde464ff7a1e4b31263a3db9f2751db36c922b8750c00460957752c25d0cf6749ec350182df03bb
|
|
7
|
+
data.tar.gz: dc0438b5bf4797b4398dcb6e032e56e3df22f53d964c8dfed1b6d8fdaf41897cec9ca08e3d90f1ff1fe108c78b3cc043d567009ca0c9ff34c7023578a23f03d4
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ FTC Events API is a service to return relevant information about the _FIRST_ Tec
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: v2.0
|
|
10
|
-
- Package version: 0.3.
|
|
10
|
+
- Package version: 0.3.1
|
|
11
11
|
- Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,15 +23,15 @@ gem build ftc_events_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./ftc_events_client-0.3.
|
|
26
|
+
gem install ./ftc_events_client-0.3.1.gem
|
|
27
27
|
```
|
|
28
|
-
(for development, run `gem install --dev ./ftc_events_client-0.3.
|
|
28
|
+
(for development, run `gem install --dev ./ftc_events_client-0.3.1.gem` to install the development dependencies)
|
|
29
29
|
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
31
31
|
|
|
32
32
|
Finally add this to the Gemfile:
|
|
33
33
|
|
|
34
|
-
gem 'ftc_events_client', '~> 0.3.
|
|
34
|
+
gem 'ftc_events_client', '~> 0.3.1'
|
|
35
35
|
|
|
36
36
|
### Install from Git
|
|
37
37
|
|
data/config.json
CHANGED
|
Binary file
|
|
@@ -127,7 +127,7 @@ module FtcEventsClient
|
|
|
127
127
|
def initialize
|
|
128
128
|
@scheme = 'https'
|
|
129
129
|
@host = 'ftc-api.firstinspires.org'
|
|
130
|
-
@base_path =
|
|
130
|
+
@base_path = nil
|
|
131
131
|
@api_key = {}
|
|
132
132
|
@api_key_prefix = {}
|
|
133
133
|
@timeout = 0
|
|
@@ -167,7 +167,7 @@ module FtcEventsClient
|
|
|
167
167
|
def base_path=(base_path)
|
|
168
168
|
# Add leading and trailing slashes to base_path
|
|
169
169
|
@base_path = "/#{base_path}".gsub(/\/+/, '/')
|
|
170
|
-
@base_path =
|
|
170
|
+
@base_path = nil
|
|
171
171
|
end
|
|
172
172
|
|
|
173
173
|
def base_url
|
data/update.sh
CHANGED
|
@@ -5,4 +5,4 @@ swagger-codegen generate -i https://ftc-events.firstinspires.org/swagger/v2.0/sw
|
|
|
5
5
|
|
|
6
6
|
sed "s/@scheme = 'http'/@scheme = 'https'/g" lib/ftc_events_client/configuration.rb > .tmpsedfile && mv .tmpsedfile lib/ftc_events_client/configuration.rb
|
|
7
7
|
sed "s/@host = 'localhost'/@host = 'ftc-api.firstinspires.org'/g" lib/ftc_events_client/configuration.rb > .tmpsedfile && mv .tmpsedfile lib/ftc_events_client/configuration.rb
|
|
8
|
-
sed "s/@
|
|
8
|
+
sed "s/@base_path = '.*'/@base_path = nil/g" lib/ftc_events_client/configuration.rb > .tmpsedfile && mv .tmpsedfile lib/ftc_events_client/configuration.rb
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ftc_events_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Swagger-Codegen
|
|
@@ -171,6 +171,7 @@ files:
|
|
|
171
171
|
- docs/Stone.md
|
|
172
172
|
- docs/TeamRankingModel.md
|
|
173
173
|
- docs/TournamentLevel.md
|
|
174
|
+
- ftc_events_client-0.3.0.gem
|
|
174
175
|
- ftc_events_client.gemspec
|
|
175
176
|
- git_push.sh
|
|
176
177
|
- lib/ftc_events_client.rb
|