ftc_events_client 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d0a58052bbf8805ac0c78a57ad8ee027683dab1e82fdbd905c8e6235044b13c
4
- data.tar.gz: d918c860dbab90a333356b3e4996045ade37d85e7c8ce574660001c382a34c14
3
+ metadata.gz: 2f1ff37553643108690c3f1a77d5330ecd4caca92b678fdb773140af59ea06d7
4
+ data.tar.gz: 9bd000973ff4f627def9e167b823b2251d32a504af9def11bba7132ca9853976
5
5
  SHA512:
6
- metadata.gz: d437891051416c0f17d18cc0511686fd772c428774ffd0a4af95137c30136f40f71afa1b25d2a37ebbd40f5951d07393e3e29bed561d3a3df0fee098fcea82f2
7
- data.tar.gz: a85a20f01cec2d2e84fc9379bb459a135614af286fcef929eef5e9306d7ab36cd88f0079fb7e268742721e5e044379e6ccad1921adcaa293b051a2b63ac13c46
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.0
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.0.gem
26
+ gem install ./ftc_events_client-0.3.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./ftc_events_client-0.3.0.gem` to install the development dependencies)
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.0'
34
+ gem 'ftc_events_client', '~> 0.3.1'
35
35
 
36
36
  ### Install from Git
37
37
 
data/config.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "gemVersion": "0.3.0",
2
+ "gemVersion": "0.3.1",
3
3
  "gemName": "ftc_events_client",
4
4
  "moduleName": "FtcEventsClient",
5
5
  "gemRequiredRubyVersion": ">= 2.4",
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 = 'http://ftc-api.firstinspires.org'
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 = '' if @base_path == '/'
170
+ @base_path = nil
171
171
  end
172
172
 
173
173
  def base_url
@@ -10,5 +10,5 @@ Swagger Codegen version: 3.0.52
10
10
  =end
11
11
 
12
12
  module FtcEventsClient
13
- VERSION = '0.3.0'
13
+ VERSION = '0.3.1'
14
14
  end
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/@server_index = 0/@server_index = nil/g" lib/ftc_events_client/configuration.rb > .tmpsedfile && mv .tmpsedfile lib/ftc_events_client/configuration.rb
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.0
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