forked from influitive/apartment
-
Notifications
You must be signed in to change notification settings - Fork 0
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 influitive#131 from rails-on-services/development
Prepare Release - 2.8.1 **Implemented enhancements:** **Fixed bugs:** - New version raises an error with ActiveSupport::LogSubscriber [influitive#128](rails-on-services/apartment#128) - Weird logs when tenant fails to create [influitive#127](<rails-on-services/apartment#127>) **Closed issues:** - Removed travis and slim configured circleci [influitive#130](rails-on-services/apartment#130)
- Loading branch information
Showing
21 changed files
with
184 additions
and
83 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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
rubocop: hanachin/rubocop@0.0.6 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/<< parameters.ruby_version >> | ||
- image: circleci/postgres:9.6.2-alpine | ||
- image: circleci/mysql:5.7 | ||
environment: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes" | ||
parameters: | ||
ruby_version: | ||
type: string | ||
gemfile: | ||
type: string | ||
environment: | ||
BUNDLE_GEMFILE: << parameters.gemfile >> | ||
steps: | ||
- checkout | ||
# Restore Cached Dependencies | ||
# - restore_cache: | ||
# keys: | ||
# - gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "<< parameters.gemfile >>.lock" }} | ||
# - gem-cache-v1-{{ arch }}-{{ .Branch }} | ||
# - gem-cache-v1 | ||
|
||
- run: bundle install --path vendor/bundle | ||
|
||
# - save_cache: | ||
# key: gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "<< parameters.gemfile >>.lock" }} | ||
# paths: | ||
# - vendor/bundle | ||
|
||
- run: | ||
name: Install postgres client | ||
command: sudo apt install -y postgresql-client | ||
|
||
- run: | ||
name: Install mysql client | ||
command: sudo apt install -y default-mysql-client | ||
|
||
- run: | ||
name: Configure config database.yml | ||
command: bundle exec rake db:copy_credentials | ||
|
||
- run: | ||
name: wait for postgresql | ||
command: dockerize -wait tcp://localhost:5432 -timeout 1m | ||
|
||
- run: | ||
name: wait for mysql | ||
command: dockerize -wait tcp://localhost:3306 -timeout 1m | ||
|
||
- run: | ||
name: Database Setup | ||
command: | | ||
bundle exec rake db:test:prepare | ||
- run: | ||
name: Run tests | ||
command: bundle exec rspec | ||
|
||
workflows: | ||
tests: | ||
jobs: | ||
- build: | ||
matrix: | ||
parameters: | ||
ruby_version: ["ruby:2.6-buster", "ruby:2.7-buster"] | ||
gemfile: ["gemfiles/rails_5_2.gemfile", "gemfiles/rails_6_0.gemfile"] | ||
|
||
rubocop: | ||
jobs: | ||
- rubocop/rubocop: | ||
version: 0.88.0 |
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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Apartment | ||
VERSION = '2.8.0' | ||
VERSION = '2.8.1.rc2' | ||
end |
Oops, something went wrong.