Skip to content

Commit

Permalink
BTA-11168 Add an SDK release workflow (#10)
Browse files Browse the repository at this point in the history
* BTA-11168 Add the initial gem release workflow

* BTA-11168 test auto gem release

* BTA-11168 test auto gem release

* BTA-11168 test auto gem release

* BTA-11168 remove the test branch
  • Loading branch information
CodeBuild committed Jan 16, 2024
1 parent c22a23e commit 5b4bc50
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
language: ruby
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build transferzero-sdk.gemspec
- gem install ./transferzero-sdk-1.33.2.gem
- gem install ./transferzero-sdk-1.33.3.gem
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0
- Package version: 1.33.2
- Package version: 1.33.3
- Build package: org.openapitools.codegen.languages.RubyClientCodegen

For more information, please visit:
Expand All @@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
Then either install the gem locally:

```shell
gem install ./transferzero-sdk-1.33.2.gem
gem install ./transferzero-sdk-1.33.3.gem
```
(for development, run `gem install --dev ./transferzero-sdk-1.33.2.gem` to install the development dependencies)
(for development, run `gem install --dev ./transferzero-sdk-1.33.3.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'transferzero-sdk', '~> 1.33.2'
gem 'transferzero-sdk', '~> 1.33.3'

### Install from Git

Expand Down
2 changes: 1 addition & 1 deletion lib/transferzero-sdk/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ApiClient
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
def initialize(config = Configuration.default)
@config = config
@user_agent = "TransferZero-SDK/Ruby/1.33.2"
@user_agent = "TransferZero-SDK/Ruby/1.33.3"
@default_headers = {
'Content-Type' => 'application/json',
'User-Agent' => @user_agent
Expand Down
2 changes: 1 addition & 1 deletion lib/transferzero-sdk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module TransferZero
VERSION = '1.33.2'
VERSION = '1.33.3'
end
2 changes: 1 addition & 1 deletion transferzero-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1'
s.add_runtime_dependency 'json', '>= 1.4'
s.add_runtime_dependency 'activesupport', '>= 4', '< 7'
s.add_runtime_dependency 'activesupport', '>= 4'

s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'

Expand Down

0 comments on commit 5b4bc50

Please sign in to comment.