Skip to content

Commit

Permalink
Add Ruby 3.2 to CI. Update checkout action versions. (#30)
Browse files Browse the repository at this point in the history
* Add Ruby 3.2 to CI.  Update checkout action versions.

* Address CHANGELOG issues and add an UPGRADING

* Add authors
  • Loading branch information
petergoldstein authored Mar 24, 2023
1 parent 7c2fb36 commit 78f60f6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 2 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
15 changes: 15 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 78f60f6

Please sign in to comment.