Skip to content

Commit

Permalink
Merge branch 'master' into ch138081
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-fantham committed Sep 24, 2024
2 parents c266f61 + f809444 commit 594f264
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 33 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/gem_push_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ on: [pull_request]

env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

jobs:
build:
name: Test + Build + Publish
runs-on: ubuntu-20.04
env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

services:
redis:
Expand All @@ -21,22 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Ruby 3.2.4
- name: Set up Ruby
uses: ruby/setup-ruby@v1

- name: Configure Gem Cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
bundler-cache: true

- name: Setup Tests
run: |
gem install bundler:1.17.3
bundle config rubygems.pkg.github.com x-access-token:$BUNDLER_ACCESS_TOKEN
make setup
run: make setup

- name: Test
run: make test
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/gem_push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: [ master ]

env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

jobs:
build:
name: Build + Publish
Expand All @@ -12,8 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Ruby 3.2.4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Publish to GPR
run: |
Expand Down
31 changes: 15 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
PATH
remote: .
specs:
bureaucrat-sc (4.0.0)
activesupport (~> 6.0.4)
bureaucrat-sc (3.1.1)
activesupport (>= 6.0.4, < 7.0)
i18n

GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.6.1)
activesupport (6.1.7.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
concurrent-ruby (1.2.3)
diff-lcs (1.5.1)
i18n (1.14.4)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
concurrent-ruby (1.3.3)
diff-lcs (1.3)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.22.3)
minitest (5.24.1)
rake (12.0.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
Expand All @@ -33,10 +33,9 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
thread_safe (0.3.6)
tzinfo (1.2.11)
thread_safe (~> 0.1)
zeitwerk (2.6.13)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.16)

PLATFORMS
ruby
Expand All @@ -47,4 +46,4 @@ DEPENDENCIES
rspec (= 3.6.0)

BUNDLED WITH
2.4.19
2.5.19
2 changes: 1 addition & 1 deletion bureaucrat-sc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.metadata = { "github_repo" => "ssh://github.com/sittercity/bureaucrat" }

s.add_runtime_dependency 'i18n'
s.add_runtime_dependency 'activesupport', '~> 6.0.4'
s.add_runtime_dependency 'activesupport', '>= 6.0.4', '< 7.0'

s.add_development_dependency 'rake', '12.0.0'
s.add_development_dependency 'rspec', '3.6.0'
Expand Down
2 changes: 1 addition & 1 deletion lib/bureaucrat/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bureaucrat
VERSION = '4.0.0'
VERSION = '3.1.1'
end

0 comments on commit 594f264

Please sign in to comment.