Skip to content

Commit dc43f64

Browse files
authored
Version 1.0.0 (#247)
Update minimum ruby to 2.6, update the CI workflow.
1 parent 5e641fa commit dc43f64

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
87
- main
98

109
jobs:
@@ -14,13 +13,13 @@ jobs:
1413
strategy:
1514
matrix:
1615
ruby:
17-
- 2.5
18-
- 2.6
19-
- 2.7
20-
- 3.0
16+
- '2.6'
17+
- '2.7'
18+
- '3.0'
19+
- '3.1'
2120

2221
steps:
23-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2423

2524
- name: Setup ruby
2625
uses: ruby/setup-ruby@v1
@@ -35,15 +34,15 @@ jobs:
3534
run: bundle exec rake test
3635

3736
publish:
38-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
37+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3938
needs: build
4039
runs-on: ubuntu-latest
4140

4241
steps:
43-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v3
4443

4544
- name: Release Gem
46-
uses: discourse/publish-rubygems-action@v2-beta
45+
uses: discourse/publish-rubygems-action@v2
4746
env:
4847
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
4948
GIT_EMAIL: team@discourse.org

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.0.0] - 2022-05-01
10+
### Changed
11+
- The package now requires ruby 2.6+
12+
913
## [0.48.1] - 2022-04-13
1014
### Added
1115
- New attributes for Discourse Connect (aka SSO)
@@ -65,7 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6569

6670
## [0.43.1] - 2020-11-04
6771
### Fixed
68-
- Tagged version 0.43.0 got pushed without commmit due to new master branch
72+
- Tagged version 0.43.0 got pushed without commit due to new master branch
6973
protections in github. No, code changes here just making sure tags align with
7074
commits.
7175

@@ -118,7 +122,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
118122
## [0.38.0] - 2019-10-18
119123
### Added
120124
- Allow setting locale in SingleSignOn
121-
- Optional param to group memebrs to include owners as well as members
125+
- Optional param to group members to include owners as well as members
122126

123127
## [0.37.0] - 2019-09-23
124128
### Added
@@ -131,7 +135,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
131135
- Added poll methods
132136
### Fixed
133137
- Updated create topic example
134-
- Fixed capialization for header auth keys
138+
- Fixed capitalization for header auth keys
135139

136140
## [0.35.0] - 2019-05-15
137141
### Added
@@ -293,7 +297,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
293297
- group_members: Allows you to retrieve more than 100 users with pagination (offset &
294298
limit)
295299
### Fixed
296-
- Deprication warning with SimpleCov
300+
- Deprecation warning with SimpleCov
297301
- updated rack dependency and added ruby 2.3 to travis config
298302

299303
## [0.9.1] - 2016-03-23

discourse_api.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
3030
spec.add_development_dependency 'rspec', '~> 3.4'
3131
spec.add_development_dependency 'simplecov', '~> 0.11'
3232
spec.add_development_dependency 'webmock', '~> 3.0'
33-
spec.add_development_dependency 'rubocop-discourse', '~> 2.4.1'
33+
spec.add_development_dependency 'rubocop-discourse', '~> 2.5.0'
3434

35-
spec.required_ruby_version = '>= 2.5.0'
35+
spec.required_ruby_version = '>= 2.6.0'
3636
end

lib/discourse_api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22
module DiscourseApi
3-
VERSION = "0.48.1"
3+
VERSION = "1.0.0"
44
end

0 commit comments

Comments
 (0)