Skip to content

Commit

Permalink
Merge pull request #147 from tvdeyen/code-climate-gh-action
Browse files Browse the repository at this point in the history
use code climate gh action
  • Loading branch information
tvdeyen authored Jul 10, 2022
2 parents b8d3ba6 + 08983b4 commit ad79ebf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,12 @@ jobs:
${{ runner.os }}-yarn-dummy-
- name: Prepare database
run: bundle exec rake alchemy:spec:prepare
- name: Run tests
run: bundle exec rspec
- name: Run tests & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 8908e9226a16b7c4537ed07da25d09b086dfc7135b4f4c583603e043401288e8
with:
coverageCommand: bundle exec rspec
- uses: actions/upload-artifact@main
if: failure()
with:
Expand Down
24 changes: 12 additions & 12 deletions alchemy-devise.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ require "alchemy/devise/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "alchemy-devise"
s.version = Alchemy::Devise::VERSION
s.authors = ["Thomas von Deyen"]
s.email = ["[email protected]"]
s.homepage = "http://alchemy-cms.com"
s.summary = "Devise based user authentication for AlchemyCMS."
s.name = "alchemy-devise"
s.version = Alchemy::Devise::VERSION
s.authors = ["Thomas von Deyen"]
s.email = ["[email protected]"]
s.homepage = "https://alchemy-cms.com"
s.summary = "Devise based user authentication for AlchemyCMS."
s.description = "Devise based user authentication for AlchemyCMS."

s.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "CHANGELOG.md", "README.md"]

s.add_dependency "alchemy_cms", [">= 5.0.0", "< 6.1"]
s.add_dependency "devise", [">= 4.7.1", "< 5"]
s.add_dependency "devise", [">= 4.7.1", "< 5"]

s.add_development_dependency "capybara"
s.add_development_dependency "factory_bot_rails"
s.add_development_dependency "rails-controller-testing"
s.add_development_dependency "rspec-activemodel-mocks", "~> 1.0"
s.add_development_dependency "rspec-rails", "~> 5.1.2"
s.add_development_dependency "rspec-rails", "~> 5.1.2"
s.add_development_dependency "simplecov"

s.post_install_message =<<-MSG
In order to complete the installation or the upgrade of Alchemy::Devise run:
s.post_install_message = <<~MSG
In order to complete the installation or the upgrade of Alchemy::Devise run:
$ bin/rails g alchemy:devise:install
$ bin/rails g alchemy:devise:install
MSG
MSG
end

0 comments on commit ad79ebf

Please sign in to comment.