-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from kpumuk/standard
Switching to standard gem for Ruby styling
- Loading branch information
Showing
43 changed files
with
1,022 additions
and
1,164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: StandardRB | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: StandardRB Linter | ||
uses: andrewmcodes/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in meta-tags.gemspec | ||
gemspec | ||
|
||
if ENV['RAILS_VERSION'] | ||
if ENV["RAILS_VERSION"] | ||
# Install specified version of actionpack if requested | ||
gem 'railties', "~> #{ENV['RAILS_VERSION']}" | ||
gem "railties", "~> #{ENV["RAILS_VERSION"]}" | ||
end | ||
|
||
unless ENV["NO_STEEP"] == '1' | ||
unless ENV["NO_STEEP"] == "1" | ||
# Ruby typings | ||
gem 'steep', '~> 1.1.1', platform: :mri | ||
gem "steep", "~> 1.1.1", platform: :mri | ||
end | ||
|
||
group :test do | ||
# Lock rubocop to a specific version we use on CI. If you update this, | ||
# don't forget to switch rubocop channel in the .codeclimate.yml | ||
gem 'rubocop', '= 1.31.0' | ||
# Ruby Style Guide, with linter & automatic code fixer | ||
gem "standard" | ||
# Cops for rails apps | ||
gem 'rubocop-rails' | ||
gem "rubocop-rails" | ||
# Cops for rake tasks | ||
gem "rubocop-rake" | ||
# Apply RSpec rubocop cops | ||
gem 'rubocop-rspec', require: false | ||
gem "rubocop-rspec", require: false | ||
# We use this gem on CI to calculate code coverage. | ||
gem 'simplecov', '~> 0.21.2' | ||
gem "simplecov", "~> 0.21.2" | ||
# Format RSpec output for CircleCI | ||
gem 'rspec_junit_formatter' | ||
gem "rspec_junit_formatter" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'meta_tags' | ||
require "meta_tags" |
Oops, something went wrong.