diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index 14e5879..5a4dba5 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -4,7 +4,7 @@ jobs: danger: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Ruby diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8f74bc..d98b39b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,11 +9,12 @@ jobs: - { ruby: "2.7" } - { ruby: "3.0" } - { ruby: "3.1" } + - { ruby: "3.2" } - { ruby: ruby-head, ignore: true } - { ruby: jruby-head, ignore: true } name: Test (ruby=${{ matrix.entry.ruby }}) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Ruby uses: ruby/setup-ruby@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 02e3d3a..f486c2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,7 @@ ### 0.3.0 (Next) -* Removes default values for Faraday’s SSL settings `ca_file` and `ca_path`. - - If you previously relied on `OpenSSL::X509::DEFAULT_CERT_FILE` or `OpenSSL::X509::DEFAULT_CERT_DIR` to set these values you must now do so explicitly. E.g.: - - ```ruby - OpenWeather::Client.configure do |config| - config.ca_path = OpenSSL::X509::DEFAULT_CERT_DIR - config.ca_file = OpenSSL::X509::DEFAULT_CERT_FILE - end - ``` +* [#30](https://github.com/dblock/open-weather-ruby-client/pull/30): Added support for Ruby 3.2 - [@petergoldstein](https://github.com/petergoldstein). +* [#27](https://github.com/dblock/open-weather-ruby-client/pull/27): Removed default values for Faraday’s SSL settings ca_file and ca_path - [@sunny](https://github.com/sunny). * [#21](https://github.com/dblock/open-weather-ruby-client/pull/21), [#20](https://github.com/dblock/open-weather-ruby-client/pull/20), [#19](https://github.com/dblock/open-weather-ruby-client/pull/19), [#18](https://github.com/dblock/open-weather-ruby-client/pull/18): Added support for Stations API - [@wasabigeek](https://github.com/wasabigeek). * [#22](https://github.com/dblock/open-weather-ruby-client/pull/23): Removed API version from `Config#endpoint` - [@dblock](https://github.com/dblock). * Your contribution here. diff --git a/UPGRADING.md b/UPGRADING.md new file mode 100644 index 0000000..aaddaaf --- /dev/null +++ b/UPGRADING.md @@ -0,0 +1,15 @@ +Upgrading OpenWeather Ruby Client +================================= + +### Upgrading to >= 0.3.0 + +[#27](https://github.com/dblock/open-weather-ruby-client/pull/27) Removes default values for Faraday's SSL settings `ca_file` and `ca_path`. + +If you previously relied on `OpenSSL::X509::DEFAULT_CERT_FILE` or `OpenSSL::X509::DEFAULT_CERT_DIR` to set these values you must now do so explicitly. E.g.: + +```ruby +OpenWeather::Client.configure do |config| + config.ca_path = OpenSSL::X509::DEFAULT_CERT_DIR + config.ca_file = OpenSSL::X509::DEFAULT_CERT_FILE +end +```