mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-23 03:22:31 +01:00
Bump ruby and gems
This commit is contained in:
parent
9d51c304d7
commit
ca0ceb376a
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -5,30 +5,30 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:3.2.1
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:15
|
||||
image: postgres:17
|
||||
env:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
ports:
|
||||
- 5432:5432
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
bundler-cache: true
|
||||
- run: gem install bundler
|
||||
- run: bundle install --jobs 4 --retry 3
|
||||
- run: bundle install
|
||||
- run: bundle exec rake
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||
|
||||
DATABASE_URL: postgres://postgres@localhost/postgres
|
||||
publish:
|
||||
needs: test
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: elgohr/Publish-Docker-Github-Action@v5
|
||||
with:
|
||||
name: hakanensari/frankfurter
|
||||
|
@ -1 +1 @@
|
||||
3.2.1
|
||||
3.3.5
|
||||
|
67
Gemfile.lock
67
Gemfile.lock
@ -1,63 +1,69 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.8.1)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
addressable (2.8.7)
|
||||
public_suffix (>= 2.0.2, < 7.0)
|
||||
ast (2.4.2)
|
||||
base64 (0.2.0)
|
||||
bigdecimal (3.1.8)
|
||||
byebug (11.1.3)
|
||||
coderay (1.1.3)
|
||||
concurrent-ruby (1.3.4)
|
||||
crack (0.4.5)
|
||||
crack (1.0.0)
|
||||
bigdecimal
|
||||
rexml
|
||||
docile (1.4.0)
|
||||
docile (1.4.1)
|
||||
et-orbi (1.2.11)
|
||||
tzinfo
|
||||
fugit (1.11.1)
|
||||
et-orbi (~> 1, >= 1.2.11)
|
||||
raabro (~> 1.4)
|
||||
hashdiff (1.0.1)
|
||||
i18n (1.12.0)
|
||||
hashdiff (1.1.1)
|
||||
i18n (1.14.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
json (2.7.2)
|
||||
kgio (2.11.4)
|
||||
language_server-protocol (3.17.0.3)
|
||||
method_source (1.0.0)
|
||||
minitest (5.17.0)
|
||||
method_source (1.1.0)
|
||||
minitest (5.25.1)
|
||||
minitest-around (0.5.0)
|
||||
minitest (~> 5.0)
|
||||
minitest-focus (1.3.1)
|
||||
minitest-focus (1.4.0)
|
||||
minitest (>= 4, < 6)
|
||||
money (6.16.0)
|
||||
money (6.19.0)
|
||||
i18n (>= 0.6.4, <= 2)
|
||||
oj (3.14.2)
|
||||
ox (2.14.14)
|
||||
oj (3.16.6)
|
||||
bigdecimal (>= 3.0)
|
||||
ostruct (>= 0.2)
|
||||
ostruct (0.6.0)
|
||||
ox (2.14.18)
|
||||
parallel (1.26.3)
|
||||
parser (3.3.5.0)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
pg (1.4.6)
|
||||
pg (1.5.8)
|
||||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
pry-byebug (3.10.1)
|
||||
byebug (~> 11.0)
|
||||
pry (>= 0.13, < 0.15)
|
||||
public_suffix (5.0.1)
|
||||
public_suffix (6.0.1)
|
||||
raabro (1.4.0)
|
||||
racc (1.8.1)
|
||||
rack (3.0.11)
|
||||
rack (3.1.7)
|
||||
rack-contrib (2.5.0)
|
||||
rack (< 4)
|
||||
rack-cors (2.0.0)
|
||||
rack-cors (2.0.2)
|
||||
rack (>= 2.0.0)
|
||||
rack-test (2.0.2)
|
||||
rack-test (2.1.0)
|
||||
rack (>= 1.3)
|
||||
rainbow (3.1.1)
|
||||
raindrops (0.20.1)
|
||||
rake (13.0.6)
|
||||
rake (13.2.1)
|
||||
regexp_parser (2.9.2)
|
||||
rexml (3.3.7)
|
||||
roda (3.65.0)
|
||||
rexml (3.3.8)
|
||||
roda (3.84.0)
|
||||
rack
|
||||
rubocop (1.66.1)
|
||||
json (~> 2.3)
|
||||
@ -71,8 +77,9 @@ GEM
|
||||
unicode-display_width (>= 2.4.0, < 3.0)
|
||||
rubocop-ast (1.32.3)
|
||||
parser (>= 3.3.1.0)
|
||||
rubocop-minitest (0.28.0)
|
||||
rubocop (>= 1.39, < 2.0)
|
||||
rubocop-minitest (0.36.0)
|
||||
rubocop (>= 1.61, < 2.0)
|
||||
rubocop-ast (>= 1.31.1, < 2.0)
|
||||
rubocop-performance (1.22.1)
|
||||
rubocop (>= 1.48.1, < 2.0)
|
||||
rubocop-ast (>= 1.31.1, < 2.0)
|
||||
@ -81,9 +88,10 @@ GEM
|
||||
rubocop-sequel (0.3.4)
|
||||
rubocop (~> 1.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
rufus-scheduler (3.8.2)
|
||||
fugit (~> 1.1, >= 1.1.6)
|
||||
sequel (5.65.0)
|
||||
rufus-scheduler (3.9.2)
|
||||
fugit (~> 1.1, >= 1.11.1)
|
||||
sequel (5.85.0)
|
||||
bigdecimal
|
||||
sequel_pg (1.17.1)
|
||||
pg (>= 0.18.0, != 1.2.0)
|
||||
sequel (>= 4.38.0)
|
||||
@ -91,7 +99,7 @@ GEM
|
||||
docile (~> 1.1)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov-html (0.13.1)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
@ -99,8 +107,9 @@ GEM
|
||||
unicorn (6.1.0)
|
||||
kgio (~> 2.6)
|
||||
raindrops (~> 0.7)
|
||||
vcr (6.1.0)
|
||||
webmock (3.18.1)
|
||||
vcr (6.3.1)
|
||||
base64
|
||||
webmock (3.24.0)
|
||||
addressable (>= 2.8.0)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
@ -133,7 +142,7 @@ DEPENDENCIES
|
||||
webmock
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.2.1p31
|
||||
ruby 3.3.5p100
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.6
|
||||
|
@ -15,4 +15,4 @@ end
|
||||
|
||||
RuboCop::RakeTask.new
|
||||
|
||||
task default: %w[db:test:prepare test rubocop]
|
||||
task default: %w[rubocop db:test:prepare test]
|
||||
|
@ -37,7 +37,7 @@ describe Roundable do
|
||||
skip "We don't conform ¯_(ツ)_/¯"
|
||||
require 'day'
|
||||
rates = Day.all.sample.rates.to_a
|
||||
rates.shuffle.each do |_currency, rate|
|
||||
rates.shuffle.each_value do |rate|
|
||||
_(round(rate)).must_equal rate
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user