Skip to content

Commit

Permalink
Merge pull request #8 from mitosch/fix-gh-actions
Browse files Browse the repository at this point in the history
Fix github actions
  • Loading branch information
mitosch authored Sep 13, 2024
2 parents 23cff7f + 52b7ec4 commit 1485ddb
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 71 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0']
# ruby: ['2.5', '2.6', '2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down
6 changes: 2 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ AllCops:
NewCops: enable
Exclude:
- prawn-swiss_qr_bill.gemspec
- vendor/bundle/**/*

# Prawn is descriptive and needs more branches (methods)
Metrics/AbcSize:
Expand All @@ -23,11 +24,8 @@ RSpec/ExampleLength:

# Unlimited block length for specs
Metrics/BlockLength:
AllowedMethods: ['describe']
IgnoredMethods: ['describe']

Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*'

RSpec/NoExpectationExample:
Enabled: false
106 changes: 43 additions & 63 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,98 +10,79 @@ PATH
GEM
remote: http://rubygems.org/
specs:
Ascii85 (1.1.1)
Ascii85 (1.1.0)
afm (0.2.2)
ast (2.4.2)
bigdecimal (3.1.8)
chunky_png (1.4.0)
concurrent-ruby (1.3.4)
diff-lcs (1.5.1)
docile (1.4.1)
diff-lcs (1.5.0)
docile (1.4.0)
hashery (2.1.2)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
matrix (0.4.2)
parallel (1.26.3)
parser (3.3.5.0)
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
racc
pdf-core (0.10.0)
pdf-reader (2.12.0)
pdf-core (0.9.0)
pdf-reader (2.9.1)
Ascii85 (~> 1.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
prawn (2.5.0)
matrix (~> 0.4)
pdf-core (~> 0.10.0)
ttfunk (~> 1.8)
racc (1.8.1)
prawn (2.4.0)
pdf-core (~> 0.9.0)
ttfunk (~> 1.7)
rainbow (3.1.1)
regexp_parser (2.9.2)
rexml (3.3.7)
regexp_parser (2.2.0)
rexml (3.2.5)
rqrcode (2.2.0)
chunky_png (~> 1.0)
rqrcode_core (~> 1.0)
rqrcode_core (1.2.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 3.3.0.2)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.31.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.29.1)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.1)
parser (>= 3.0.1.1)
rubocop-performance (1.13.2)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.8.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
ruby-rc4 (0.1.5)
simplecov (0.22.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
unicode-display_width (2.5.0)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
ttfunk (1.7.0)
unicode-display_width (2.1.0)

PLATFORMS
x86_64-linux
Expand All @@ -112,10 +93,9 @@ DEPENDENCIES
rspec (~> 3.0)
rubocop (~> 1.0)
rubocop-performance (~> 1.5)
rubocop-rake (~> 0.6.0)
rubocop-rspec (~> 2.8)
simplecov (~> 0.16)
simplecov-cobertura (~> 2.0)

BUNDLED WITH
2.4.19
2.3.7
4 changes: 2 additions & 2 deletions lib/prawn/swiss_qr_bill/specifications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ class Specifications
height: Spec.new(nil, ->(v) { from_mm(v) }),
content_font_size: Spec.new,
content_font_leading: Spec.new(0),
content_font_style: Spec.new(:normal, lambda(&:to_sym)),
content_font_style: Spec.new(:normal, :to_sym),
label_font_size: Spec.new,
label_font_leading: Spec.new(0),
label_font_style: Spec.new(:bold, lambda(&:to_sym))
label_font_style: Spec.new(:bold, :to_sym)
}.freeze

def initialize
Expand Down
1 change: 0 additions & 1 deletion prawn-swiss_qr_bill.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 1.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.5'
spec.add_development_dependency 'rubocop-rspec', '~> 2.8'
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
spec.add_development_dependency 'simplecov', '~> 0.16'
spec.add_development_dependency 'simplecov-cobertura', '~> 2.0'

Expand Down

0 comments on commit 1485ddb

Please sign in to comment.