diff --git a/.gitignore b/.gitignore index 43b18b7fb..b57239b0b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ .#* .env .rakeTasks -docs \ No newline at end of file +docs +/vendor/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e965333f..942bf1d2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 14.11.1 +- Added a release step to the `Makefile` to purge previously released version of plaid-ruby in the current release. + # 14.11.0 - Updating to OAS 2020-09-14_1.61.0 diff --git a/Gemfile.lock b/Gemfile.lock index 20aa8839a..855b2a6a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plaid (14.11.0) + plaid (14.11.1) faraday (~> 1.0, >= 1.0.1) GEM @@ -10,25 +10,29 @@ GEM ast (2.4.1) diff-lcs (1.4.4) dotenv (2.7.6) - faraday (1.8.0) + faraday (1.9.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) + faraday-net_http_persistent (~> 1.0) faraday-patron (~> 1.0) faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) + faraday-multipart (1.0.3) + multipart-post (>= 1.2, < 3) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) + faraday-retry (1.0.3) minitest (5.14.2) minitest-around (0.5.0) minitest (~> 5.0) diff --git a/Makefile b/Makefile index d033b401a..2c4ee472e 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,11 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=14.11.0 +RUBY_PACKAGE_VERSION=14.11.1 + +.PHONY: release +release: +# Remove previously released versions of plaid-ruby + rm -rf pkg +# Release + bundle config set --local path 'vendor/bundle' && \ + bundle && \ + bundle exec rake release diff --git a/PUBLISH.md b/PUBLISH.md index 480bc0b55..4707a4e6f 100644 --- a/PUBLISH.md +++ b/PUBLISH.md @@ -14,7 +14,7 @@ Publish: 1. `git checkout master` and `git pull` (makes sure your `HEAD` is up-to-date). 2. Check that tests are passing on latest `master` build and (optional) `docker build -t plaid-ruby . && docker run -e PLAID_RUBY_CLIENT_ID=$(CLIENT_ID) -e PLAID_RUBY_SECRET=$(SECRET) plaid-ruby)` run tests locally. -3. `bundle exec rake release` (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub). **NOTE:** if this step hangs indefinitely, you need to set your MFA settings to "UI Only" [here](https://rubygems.org/profile/edit). +3. Run `make release` which runs `bundle exec rake release` (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub). **NOTE:** if this step hangs indefinitely, you need to set your MFA settings to "UI Only" [here](https://rubygems.org/profile/edit). [1]: https://rubygems.org/ [2]: https://rubygems.org/gems/plaid diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 0285a6f83..614cadf44 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -30,7 +30,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v14.11.0" + @user_agent = "Plaid Ruby v14.11.1" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 327e97468..774c3509b 100644 --- a/lib/plaid/version.rb +++ b/lib/plaid/version.rb @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '14.11.0' + VERSION = '14.11.1' end