review-tools 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README-ja.md +3 -1
- data/bin/run_review.sh +6 -4
- data/lib/review/tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbfe8961b65acc4f5920b497f362e5749d0f249dd3a295377449ca7ca67ee8a8
|
4
|
+
data.tar.gz: f44f4027a03dc00929c8999cd87ccc8520a873ecf017f146b093b428b835c2c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7297f1aeded423b0f1bafe0a3b0a22bd1555beec64c9b2bfd334ddcce912c5299cd517735c6a850f8932d92630c09101542dd910cbdf6ad428fc414de39f90a
|
7
|
+
data.tar.gz: bddc0792968bb7d9b3c6dd57e426fde6a100846320ecf699c86174fcc243ffad75a9b24ab1fa33639d72e6d7e8e52ed92d4c7da9c67e14f0077ad63bad48b4d4
|
data/Gemfile.lock
CHANGED
data/README-ja.md
CHANGED
@@ -13,7 +13,9 @@ review-tools gem は、 GitHub 上の Rails プロジェクトの pull request
|
|
13
13
|
|
14
14
|
こんな感じのワンライナーで、使用している各 Ruby のバージョンへ gem install できます。
|
15
15
|
|
16
|
-
|
16
|
+
```
|
17
|
+
orig_version=`rbenv version | sed -e 's/ .*$//'`; for rbv in `rbenv versions | sed -e 's/^[* ]*//' | cut -d ' ' -f 1 | grep -v system`; do rbenv global $rbv; gem install review-tools; done; rbenv global $orig_version
|
18
|
+
```
|
17
19
|
|
18
20
|
もしくは Gemfile に加えてしまってもいいでしょう。
|
19
21
|
|
data/bin/run_review.sh
CHANGED
@@ -32,11 +32,13 @@ logifle=~/tmp/run_review_`date +'%Y%m%d-%H%M%S'`.log
|
|
32
32
|
"${script_dir}/prepare_rails_and_frontend.sh" ||
|
33
33
|
show_notification "run_review.sh" "Failed: prepare_rails_and_frontend.sh" $error_exit
|
34
34
|
|
35
|
-
|
36
|
-
|
35
|
+
if [ -z ${RUN_REVIEW_WITH_NO_TEST:-} ]; then
|
36
|
+
"${script_dir}/check_and_test.sh" ||
|
37
|
+
show_notification "run_review.sh" "Failed: check_and_test.sh" $error_exit
|
37
38
|
|
38
|
-
|
39
|
-
|
39
|
+
if [ -r 'coverage/index.html' ]; then
|
40
|
+
analyze_coverage into "$dst_branch" from "$src_branch"
|
41
|
+
fi
|
40
42
|
fi
|
41
43
|
|
42
44
|
) 2>&1 | tee "$logifle"
|
data/lib/review/tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: review-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeru Hagiwara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|