Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ upstream_tag_template: v{version}

actions:
post-upstream-clone:
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/plugins/rubygem-foreman_google/rubygem-foreman_google.spec -O rubygem-foreman_google.spec"
- "wget https://raw.githubusercontent.com/stejskalleos/foreman-packaging/refs/heads/ls/google-ruby33/packages/plugins/rubygem-foreman_google/rubygem-foreman_google.spec -O rubygem-foreman_google.spec"
get-current-version:
- ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("*.gemspec").first).version'
create-archive:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inherit_gem:
- strict.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0

Layout/LineLength:
Enabled: 111 # TODO: discuss and set this
Expand Down
10 changes: 3 additions & 7 deletions foreman_google.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/theforeman/foreman_google'
s.summary = 'Google Compute Engine plugin for the Foreman'
s.description = 'Google Compute Engine plugin for the Foreman'
s.required_ruby_version = '>= 2.7', '< 4'
s.required_ruby_version = '>= 3.0', '< 4'

s.files = Dir['{app,config,db,lib,locale,webpack}/**/*'] + ['LICENSE', 'Rakefile', 'README.md', 'package.json']
s.test_files = Dir['test/**/*'] + Dir['webpack/**/__tests__/*.js']

# Pin Google versions to avoid breaking changes
# Never versions with google-protobuf > 3.25.4
# are failing with `undefined method 'build'` error
s.add_dependency 'google-apis-compute_v1', '0.54.0'
s.add_dependency 'google-cloud-compute', '0.5.0'
s.add_dependency 'google-protobuf', '3.24.3'
s.add_dependency 'google-apis-compute_v1', '0.98.0'
s.add_dependency 'google-cloud-compute', '1.15.0'
end
Loading