Skip to content

Commit

Permalink
Update foreman dependencies & CI actions (#53)
Browse files Browse the repository at this point in the history
* Update foreman dependencies

* Cleanup github actions

* Bump version to 0.0.2
  • Loading branch information
stejskalleos authored Oct 6, 2022
1 parent 4b102d3 commit 6b46271
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
ruby-version: 2.7
bundler-cache: true
- name: Run rubocop
if: github.event_name != 'push'
Expand All @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
foreman-core-branch: [develop]
ruby-version: [2.5, 2.7]
ruby-version: [2.7]
node-version: [12]
steps:
- run: sudo apt-get update
Expand Down Expand Up @@ -76,4 +76,5 @@ jobs:
- name: Run plugin tests
if: github.event_name != 'push'
run: |
bundle exec rake test:foreman_google
bundle exec rake test:foreman_google -v --trace
bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb" -v --trace
2 changes: 1 addition & 1 deletion lib/foreman_google/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Engine < ::Rails::Engine

initializer 'foreman_google.register_plugin', before: :finisher_hook do |_app|
Foreman::Plugin.register :foreman_google do
requires_foreman '>= 2.4.0'
requires_foreman '>= 3.5.0'
register_global_js_file 'global'

in_to_prepare do
Expand Down
2 changes: 1 addition & 1 deletion lib/foreman_google/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ForemanGoogle
VERSION = '0.0.1'.freeze
VERSION = '0.0.2'.freeze
end
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
"url": "http://projects.theforeman.org/projects/foreman_google/issues"
},
"peerDependencies": {
"@theforeman/vendor": ">= 6.0.0"
"@theforeman/vendor": ">= 8.16.0"
},
"dependencies": {
"react-intl": "^2.8.0"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@sheerun/mutationobserver-shim": "^0.3.3",
"@theforeman/builder": "^6.0.0",
"@theforeman/eslint-plugin-foreman": "6.0.0",
"@theforeman/find-foreman": "^4.8.0",
"@theforeman/stories": "^7.0.0",
"@theforeman/test": "^8.0.0",
"@theforeman/vendor-dev": "^6.0.0",
"@theforeman/builder": "^10.0",
"@theforeman/eslint-plugin-foreman": "^10.0",
"@theforeman/find-foreman": "^10.0",
"@theforeman/stories": "^10.0",
"@theforeman/test": "^10.0",
"@theforeman/vendor-dev": "^10.0",
"babel-eslint": "^10.0.3",
"eslint": "^6.7.2",
"prettier": "^1.19.1",
Expand Down

0 comments on commit 6b46271

Please sign in to comment.