Skip to content

Commit

Permalink
Rails default branch name changed from master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Jan 17, 2021
1 parent c616633 commit 5a861da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- 2.6.6
env:
DB: sqlite3
RAILS: master
RAILS: main
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand All @@ -39,7 +39,7 @@ jobs:
- 2.6.6
env:
DB: mysql
RAILS: master
RAILS: main
MYSQL_USERNAME: root
MYSQL_PASSWORD: root
steps:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- 2.6.6
env:
DB: postgres
RAILS: master
RAILS: main
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: 127.0.0.1
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rails_version = case rails
end

gem 'faker', '~> 2.0'
gem 'sqlite3', ::Gem::Version.new(rails_version == 'master' ? '6.2.0.alpha' : rails_version) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
gem 'sqlite3', ::Gem::Version.new(rails_version == 'main' ? '6.2.0.alpha' : rails_version) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
gem 'pg', '~> 1.0'
gem 'pry', '~> 0.12.2'
gem 'byebug'
Expand Down

0 comments on commit 5a861da

Please sign in to comment.