-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/10.1' into stable/10
- Loading branch information
Showing
2,061 changed files
with
32,975 additions
and
9,428 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
https://github.com/heroku/heroku-buildpack-nodejs.git#v162 | ||
https://github.com/pkgr/heroku-buildpack-ruby.git#v199-1 | ||
https://github.com/pkgr/heroku-buildpack-ruby.git#v206-1 |
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
Large diffs are not rendered by default.
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
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,24 @@ | ||
# Fail if jasmine specs contain fdescribe or fit | ||
fail("jasmine fdescribe left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe|fit' frontend/src/`.length > 1 | ||
|
||
# Search for modified components not being made OnPush | ||
git.modified_files | ||
.select { |path| path.include?('frontend') && path.end_with?('.ts') } | ||
.each do |path| | ||
next unless File.readable?(path) | ||
|
||
lines = File.readlines (path) | ||
|
||
# Ignore non component files | ||
component_line = lines.grep(/@Component/)[0] | ||
next unless component_line | ||
|
||
# Check for missing onPush | ||
unless lines.grep(/changeDetection:\s+ChangeDetectionStrategy.OnPush/).length > 0 | ||
warn( | ||
"Please use `ChangeDetectionStrategy.OnPush` for this component", | ||
file: path, | ||
line: lines.index(component_line) || 0 | ||
) | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM ruby:2.6-stretch | |
MAINTAINER [email protected] | ||
|
||
ENV NODE_VERSION "10.15.0" | ||
ENV BUNDLER_VERSION "2.0.1" | ||
ENV BUNDLER_VERSION "2.0.2" | ||
ENV APP_USER app | ||
ENV APP_PATH /app | ||
ENV APP_DATA_PATH /var/openproject/assets | ||
|
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
Oops, something went wrong.