Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
Expand All @@ -14,13 +13,13 @@ jobs:
strategy:
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- 3.0
- '2.6'
- '2.7'
- '3.0'
- '3.1'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup ruby
uses: ruby/setup-ruby@v1
Expand All @@ -35,15 +34,15 @@ jobs:
run: bundle exec rake test

publish:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Release Gem
uses: discourse/publish-rubygems-action@v2-beta
uses: discourse/publish-rubygems-action@v2
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
GIT_EMAIL: team@discourse.org
Expand Down
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2022-05-01
### Changed
- The package now requires ruby 2.6+

## [0.48.1] - 2022-04-13
### Added
- New attributes for Discourse Connect (aka SSO)
Expand Down Expand Up @@ -65,7 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

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

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

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

## [0.9.1] - 2016-03-23
Expand Down
4 changes: 2 additions & 2 deletions discourse_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.4'
spec.add_development_dependency 'simplecov', '~> 0.11'
spec.add_development_dependency 'webmock', '~> 3.0'
spec.add_development_dependency 'rubocop-discourse', '~> 2.4.1'
spec.add_development_dependency 'rubocop-discourse', '~> 2.5.0'

spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'
end
2 changes: 1 addition & 1 deletion lib/discourse_api/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module DiscourseApi
VERSION = "0.48.1"
VERSION = "1.0.0"
end