billomat 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 180de7fa443e577a1b9ee7c88250e9c10df9ae0327c2104353aa64630e5fe5fb
4
- data.tar.gz: 3f83e6588380bb82efa6e20a87a8c3170d30d66964cfe27b0e0ecd8885b5f576
3
+ metadata.gz: aed4a6700eccc72e2dfaff8c1331575792c20feeba7f61b0eaf1e33ab8650da5
4
+ data.tar.gz: 3f9f170fdf636f484f70f0c8f2e9f628f2dd67f83f371a7557277d18f04a1bfe
5
5
  SHA512:
6
- metadata.gz: c24b67e83ab0e4355b1cc125b7783d7067162a812c7682d42ea919d4dd296575d40cc397d32e60e8e7edeb0f5353455012aa125be8d6bc0fb67c81e9951305d7
7
- data.tar.gz: ea46cbab006d9cf79571ce69025ba47c91aa811852393970b6aebb726eb2873fc59b3ff94a7da65fa3554567edb0c129876840eb7e0a77536e4dc79d7d1c8256
6
+ metadata.gz: 2d7407e7cc875133e5b3b45e32db1c37fdf48e9458864050a94b5e6f4f75d309a1c2dd976008463660c1eb2d698434090d73867774c93ea36b72aaab57ac6027
7
+ data.tar.gz: 54544795c527a41fcf292609b580c2674cba950bde5dc90493619b0332519e4b269eed4d9a1865e53410736e6258a77002b5b987ec2278e00e6449740821fae5
@@ -15,26 +15,24 @@ concurrency:
15
15
  jobs:
16
16
  docs:
17
17
  name: Release the gem
18
- runs-on: ubuntu-22.04
18
+ runs-on: ubuntu-24.04
19
19
  timeout-minutes: 10
20
20
  steps:
21
- - uses: actions/checkout@v4
22
-
23
- - name: Install Ruby 3.2
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: 3.2
27
- bundler-cache: true
28
- rubygems: '3.6.9'
29
-
30
- - name: Prepare the virtual environment
31
- uses: hausgold/actions/ci@master
21
+ - name: Prepare the environment
22
+ uses: hausgold/actions/ci@v2
32
23
  with:
33
24
  clone_token: '${{ secrets.CLONE_TOKEN }}'
34
25
  settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
35
26
  settings: '${{ github.repository }}'
36
27
  target: ci/gem-test
37
28
 
29
+ - name: Install Ruby 3.3
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 3.3
33
+ bundler-cache: true
34
+ rubygems: '3.6.9'
35
+
38
36
  - name: Switch to SSH remotes for the Git repository
39
37
  run: git-ssh-remotes
40
38
 
@@ -13,17 +13,23 @@ concurrency:
13
13
  jobs:
14
14
  test:
15
15
  name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})'
16
- runs-on: ubuntu-22.04
16
+ runs-on: ubuntu-24.04
17
17
  timeout-minutes: 5
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['3.2', '3.3', '3.4']
22
- rails: ['7.1', '7.2', '8.0', '8.1']
21
+ ruby: ['3.3', '3.4', '4.0']
22
+ rails: ['7.2', '8.0', '8.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
26
- - uses: actions/checkout@v4
26
+ - name: Prepare the environment
27
+ uses: hausgold/actions/ci@v2
28
+ with:
29
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
30
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
31
+ settings: '${{ github.repository }}'
32
+ target: ci/gem-test
27
33
 
28
34
  - name: Install the correct Ruby version
29
35
  uses: ruby/setup-ruby@v1
@@ -32,14 +38,6 @@ jobs:
32
38
  bundler-cache: true
33
39
  rubygems: '3.6.9'
34
40
 
35
- - name: Prepare the virtual environment
36
- uses: hausgold/actions/ci@master
37
- with:
38
- clone_token: '${{ secrets.CLONE_TOKEN }}'
39
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
40
- settings: '${{ github.repository }}'
41
- target: ci/gem-test
42
-
43
41
  - name: Run the gem tests
44
42
  run: make test
45
43
 
data/.rubocop.yml CHANGED
@@ -2,6 +2,10 @@ inherit_from:
2
2
  - https://potpourri.hausgold.de/config/rubocop.yml
3
3
  - https://potpourri.hausgold.de/config/rubocop-gem.yml
4
4
 
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
8
+
5
9
  plugins:
6
10
  - rubocop-rspec
7
11
  - rubocop-rails
@@ -13,8 +17,8 @@ AllCops:
13
17
  NewCops: enable
14
18
  SuggestExtensions: false
15
19
  DisplayCopNames: true
16
- TargetRubyVersion: 3.2
17
- TargetRailsVersion: 7.1
20
+ TargetRubyVersion: 3.3
21
+ TargetRailsVersion: 7.2
18
22
  Exclude:
19
23
  - bin/**/*
20
24
  - vendor/**/*
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-7.1' do
4
- gem 'activesupport', '~> 7.1.0'
5
- end
6
-
7
3
  appraise 'rails-7.2' do
8
4
  gem 'activesupport', '~> 7.2.0'
9
5
  end
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.4.0 (7 January 2026)
6
+
7
+ * Upgraded to Ubuntu 24.04 on Github Actions ([#41](https://github.com/hausgold/billomat/pull/41))
8
+ * Migrated to hausgold/actions@v2 ([#40](https://github.com/hausgold/billomat/pull/40))
9
+
10
+ ### 2.3.0 (26 December 2025)
11
+
12
+ * Added Ruby 4.0 support ([#39](https://github.com/hausgold/billomat/pull/39))
13
+ * Dropped Ruby 3.2 and Rails 7.1 support ([#38](https://github.com/hausgold/billomat/pull/38))
14
+
5
15
  ### 2.2.0 (19 December 2025)
6
16
 
7
17
  * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#37](https://github.com/hausgold/billomat/pull/37))
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM hausgold/ruby:3.2
1
+ FROM hausgold/ruby:3.3
2
2
  LABEL org.opencontainers.image.authors="containers@hausgold.de"
3
3
 
4
4
  # Update system gem
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
 
8
8
  # Development dependencies
9
9
  gem 'appraisal', '~> 2.4'
10
- gem 'bundler', '~> 2.6'
10
+ gem 'bundler', '>= 2.6', '< 5'
11
11
  gem 'countless', '~> 2.0'
12
12
  gem 'guard-rspec', '~> 4.7'
13
13
  gem 'irb', '~> 1.2'
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 HAUSGOLD | talocasa GmbH
3
+ Copyright (c) 2026 HAUSGOLD | talocasa GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Makefile CHANGED
@@ -90,7 +90,8 @@ all:
90
90
  install:
91
91
  # Install the dependencies
92
92
  @$(MKDIR) -p $(VENDOR_DIR)
93
- @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
93
+ @$(call run-shell,$(BUNDLE) config set --local path '$(VENDOR_DIR)')
94
+ @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install)
94
95
  @$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
95
96
 
96
97
  update:
@@ -127,7 +128,7 @@ test-style: \
127
128
  test-style-ruby:
128
129
  # Run the static code analyzer (rubocop)
129
130
  @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
130
- || ($(TEST) $$($(RUBY_VERSION)) != '3.2' && true))
131
+ || ($(TEST) $$($(RUBY_VERSION)) != '3.3' && true))
131
132
 
132
133
  clean:
133
134
  # Clean the dependencies
data/billomat.gemspec CHANGED
@@ -31,9 +31,9 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
- spec.required_ruby_version = '>= 3.2'
34
+ spec.required_ruby_version = '>= 3.3'
35
35
 
36
- spec.add_dependency 'activesupport', '>= 7.1'
36
+ spec.add_dependency 'activesupport', '>= 7.2'
37
37
  spec.add_dependency 'rest-client', '~> 2.1'
38
38
  spec.add_dependency 'zeitwerk', '~> 2.6'
39
39
  end
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Billomat
5
5
  # The version of the +billomat+ gem
6
- VERSION = '2.2.0'
6
+ VERSION = '2.4.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billomat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '7.1'
19
+ version: '7.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '7.1'
26
+ version: '7.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -87,8 +87,6 @@ files:
87
87
  - config/docker/.inputrc
88
88
  - doc/assets/project.svg
89
89
  - docker-compose.yml
90
- - gemfiles/rails_6.1.gemfile
91
- - gemfiles/rails_7.1.gemfile
92
90
  - gemfiles/rails_7.2.gemfile
93
91
  - gemfiles/rails_8.0.gemfile
94
92
  - gemfiles/rails_8.1.gemfile
@@ -128,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
126
  requirements:
129
127
  - - ">="
130
128
  - !ruby/object:Gem::Version
131
- version: '3.2'
129
+ version: '3.3'
132
130
  required_rubygems_version: !ruby/object:Gem::Requirement
133
131
  requirements:
134
132
  - - ">="
@@ -1,20 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.3"
7
- gem "countless", "~> 1.1"
8
- gem "guard-rspec", "~> 4.7"
9
- gem "irb", "~> 1.2"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.12"
12
- gem "rubocop"
13
- gem "rubocop-rails"
14
- gem "rubocop-rspec"
15
- gem "simplecov", ">= 0.22"
16
- gem "yard", ">= 0.9.28"
17
- gem "yard-activesupport-concern", ">= 0.0.1"
18
- gem "activesupport", "~> 6.1.0"
19
-
20
- gemspec path: "../"
@@ -1,20 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
7
- gem "countless", "~> 2.0"
8
- gem "guard-rspec", "~> 4.7"
9
- gem "irb", "~> 1.2"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.12"
12
- gem "rubocop"
13
- gem "rubocop-rails"
14
- gem "rubocop-rspec"
15
- gem "simplecov", ">= 0.22"
16
- gem "yard", ">= 0.9.28"
17
- gem "yard-activesupport-concern", ">= 0.0.1"
18
- gem "activesupport", "~> 7.1.0"
19
-
20
- gemspec path: "../"