-
Notifications
You must be signed in to change notification settings - Fork 506
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 #455 from bkeepers/standard
Replace outdated rubocop with standardrb
- Loading branch information
Showing
15 changed files
with
74 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,25 +7,16 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: ['2.5', '2.6', '2.7', '3.0'] | ||
ruby: ['2.7', '3.0', '3.1', '3.2'] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Do some action caching | ||
uses: actions/[email protected] | ||
with: | ||
path: vendor | ||
key: ${{ runner.os }}-gem-${{ hashFiles('Gemfile', '*.gemspec') }} | ||
restore-keys: | | ||
${{ runner.os }}-gem- | ||
- name: Set up Ruby | ||
uses: actions/setup-ruby@v1 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install bundler | ||
run: gem install bundler | ||
- name: Run bundler | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run Rake | ||
run: bundle exec rake |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,12 +2,12 @@ require File.expand_path("../lib/dotenv/version", __FILE__) | |
require "English" | ||
|
||
Gem::Specification.new "dotenv-rails", Dotenv::VERSION do |gem| | ||
gem.authors = ["Brandon Keepers"] | ||
gem.email = ["[email protected]"] | ||
gem.description = gem.summary = "Autoload dotenv in Rails." | ||
gem.homepage = "https:/bkeepers/dotenv" | ||
gem.license = "MIT" | ||
gem.files = `git ls-files lib | grep rails`.split( | ||
gem.authors = ["Brandon Keepers"] | ||
gem.email = ["[email protected]"] | ||
gem.description = gem.summary = "Autoload dotenv in Rails." | ||
gem.homepage = "https:/bkeepers/dotenv" | ||
gem.license = "MIT" | ||
gem.files = `git ls-files lib | grep rails`.split( | ||
$OUTPUT_RECORD_SEPARATOR | ||
) + ["README.md", "LICENSE"] | ||
|
||
|
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 |
---|---|---|
|
@@ -2,17 +2,17 @@ require File.expand_path("../lib/dotenv/version", __FILE__) | |
require "English" | ||
|
||
Gem::Specification.new "dotenv", Dotenv::VERSION do |gem| | ||
gem.authors = ["Brandon Keepers"] | ||
gem.email = ["[email protected]"] | ||
gem.description = gem.summary = "Loads environment variables from `.env`." | ||
gem.homepage = "https:/bkeepers/dotenv" | ||
gem.license = "MIT" | ||
gem.authors = ["Brandon Keepers"] | ||
gem.email = ["[email protected]"] | ||
gem.description = gem.summary = "Loads environment variables from `.env`." | ||
gem.homepage = "https:/bkeepers/dotenv" | ||
gem.license = "MIT" | ||
|
||
gem_files = `git ls-files README.md LICENSE lib bin | grep -v rails` | ||
gem.files = gem_files.split($OUTPUT_RECORD_SEPARATOR) | ||
gem_files = `git ls-files README.md LICENSE lib bin | grep -v rails` | ||
gem.files = gem_files.split($OUTPUT_RECORD_SEPARATOR) | ||
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } | ||
|
||
gem.add_development_dependency "rake" | ||
gem.add_development_dependency "rspec" | ||
gem.add_development_dependency "rubocop", "~>0.40.0" | ||
gem.add_development_dependency "standard" | ||
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
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
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