Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4c98e17
Version should only be bumped on release
benlangfeld Sep 4, 2024
1279a42
Document how to set title/subtitle/body for apns (#640)
osheroff Sep 5, 2024
ef13b40
Revert "Fix silent APNS notifications for Apns2 and Apnsp8" (#684)
benlangfeld Sep 5, 2024
7fb4788
Upgrade locked deps
benlangfeld Sep 6, 2024
d801048
Release v8.0.0 (#685)
benlangfeld Sep 6, 2024
3f3b4f2
Changelog typo
benlangfeld Sep 6, 2024
5e6c16b
Drop support for Ruby 2.x (#672)
benlangfeld Sep 6, 2024
82738ab
Remove APNSv1 implementation (#680)
benlangfeld Sep 6, 2024
f009099
Another changelog typo (#687)
benlangfeld Sep 6, 2024
4eda5c7
Remove GCM implementation (#688)
benlangfeld Sep 6, 2024
925d5b3
Test on newer rubies (#679)
benlangfeld Sep 6, 2024
8b2ab0d
Run rubocop in CI (#686)
benlangfeld Sep 6, 2024
b51f861
Apply rubocop rules for rake, rspec and rails (#690)
benlangfeld Sep 6, 2024
3733761
Release version 9.0.0 (#694)
benlangfeld Sep 9, 2024
ab9301e
feat: fcm add iOS badge support (#704)
WoutDev Sep 18, 2024
12d9251
Support Rails 7.1 (#675)
benlangfeld Sep 19, 2024
54c9e88
Enable running tests on sqlite3 (#705)
benlangfeld Sep 24, 2024
fe0deca
Release 9.1.0 (#707)
benlangfeld Sep 24, 2024
de06535
Update FCM steps in README.md (#711)
nebbii Nov 23, 2024
152a36a
Stop running Rubocop in CI for now (#719)
benlangfeld Nov 27, 2024
83812d4
Support Rails 7.2 (#706)
benlangfeld Nov 28, 2024
a436eb4
Remove duplicate block (#717)
J-Swift Nov 28, 2024
4e9ca73
Release gem on GitHub (#712)
erickguan Nov 28, 2024
a299e24
Release 9.2.0 (#721)
benlangfeld Nov 28, 2024
3c812dc
Upgraded Bundler
benlangfeld Nov 28, 2024
ea50839
Use ActiveRecord to fetch Apps instead of Redis.
Apr 18, 2019
276edac
TA-28669. Stop saving all rpush IDs to set.
Feb 6, 2020
ebf4371
TA-28669. Stop saving all rpush feedback IDs to set.
Jan 19, 2022
b5f9b8e
Add temp logging to debug SSL error.
Jan 19, 2022
b4e45d9
BUGS-1850. Retry after Errno::ECONNRESET
yanithx Jul 31, 2024
060ca4b
Retry apnsp8 frames dropped by a mid-flight connection reset, and add…
rstojano Aug 21, 2026
693ed0f
Retry APNs2 frames dropped by a mid-flight connection reset (#9)
drn Aug 21, 2026
f34d5da
Merge branch 'master' into rstojano/rpush-fork-diff
rstojano Aug 21, 2026
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
42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

on:
workflow_dispatch: # allow repo collaborators to publish gem

permissions:
contents: write # required for `rake release` to push the release tag
id-token: write # required for workflow to publish gem

jobs:
release:
if: github.repository == 'rpush/rpush' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

# required to run `rake release`.
- name: Setup Ruby and install dependencies
uses: ruby/setup-ruby@v1
with:
# setup-ruby implicitly uses .ruby-version
bundler-cache: true

# Run `rake release` to create git tag and push to repository based on `lib/rpush/version.rb`.
# Then publish the new gem via trusted publishing
# Read more on https://guides.rubygems.org/trusted-publishing/releasing-gems/
- name: Publish gem
uses: rubygems/release-gem@v1

- name: Create GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="v$(bundle exec ruby -e 'puts Rpush::VERSION.to_s.chomp')"

gh release create \
$VERSION \
--verify-tag \
--generate-notes \
--latest
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

services:
postgres:
Expand Down Expand Up @@ -52,21 +52,21 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: ['rails_6.0', 'rails_6.1', 'rails_7.0']
gemfile: ['rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1', 'rails_7.2']

ruby: ['2.7', '3.0', '3.1']
ruby: ['3.0', '3.1', '3.2', '3.3']

client: ['active_record', 'redis']

exclude:
- ruby: '2.7'
gemfile: 'rails_7.0'
- ruby: '3.0'
gemfile: 'rails_7.2'

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

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

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
inherit_from: .rubocop_todo.yml

require: rubocop-performance
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-rails

AllCops:
Exclude:
- lib/generators/**/*
- vendor/bundle/**/*
NewCops: enable
TargetRubyVersion: 2.4
TargetRubyVersion: 3.0

Layout/LineLength:
Enabled: false
Expand Down
Loading
Loading