review-tools 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eeb34722e8a885bf3acb136f58b1cc601f8864c776e26ba1f39b3d40176cdc50
4
- data.tar.gz: 2d0ed0d4f36e2e1fa46074ae3bdc57448cefe84c8f179bd4d370057d0ac3876b
3
+ metadata.gz: ade5a9f9cb16ace9912b5b36263e4299c1ac0b6e0149e403f5a31ad134f07c9d
4
+ data.tar.gz: 8b2e50d95bc804e3e045bd14861a5febe221b938dec92da2f895361a635b8e78
5
5
  SHA512:
6
- metadata.gz: c02392c258022ef29f1f7a7dc8b44905f5b5ff1a4acde56ac42ec6e10936cb6d50e3a47e17d9b7d053b48341f0599720f2717e50cd2cf6720e00d264d44312bc
7
- data.tar.gz: a754e630b1b8cedb9b3241f90d755eefc9d9af1ee4178b77e57663e2b4e5bf0f11d908149a15a1dbcb1473331aa9157192d2314f0b202f089b5d8e980f38ea93
6
+ metadata.gz: 9ece3512583296726455f9366d1ef8be5f2a09aa5929b0784f45167047583a818c9712e6488604f1b3eec010f3f7bc35d637237773ab9de3c47c1f2e993eb46d
7
+ data.tar.gz: '07482148cac023943c04060f85950f680309f352d65968fd9c69e1438c490c945598f0886c394ff288bcbf15b428d82cee4aad6f27a863d982a6e97128a24d6d'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- review-tools (0.2.4)
4
+ review-tools (0.2.5)
5
5
  nokogiri (~> 1.10.4)
6
6
 
7
7
  GEM
@@ -24,16 +24,16 @@ src_branch="$4"
24
24
 
25
25
  check_if_git_dir
26
26
 
27
- if [ -x bin/rails ]; then
27
+ if [ -x bin/rake ]; then
28
28
  dst_routes="/tmp/dst_routes_$$.txt"
29
29
  src_routes="/tmp/src_routes_$$.txt"
30
30
  diff_file="/tmp/changes_of_routes_$$.txt"
31
31
 
32
32
  git checkout "$dst_branch"
33
- bundle exec bin/rake routes > ${dst_routes}
33
+ bundle exec rake routes > ${dst_routes}
34
34
 
35
35
  git checkout "$src_branch"
36
- bundle exec bin/rake routes > ${src_routes}
36
+ bundle exec rake routes > ${src_routes}
37
37
 
38
38
  diff -u ${dst_routes} ${src_routes} > ${diff_file}
39
39
  if [ -s ${diff_file} ]; then
@@ -3,4 +3,4 @@
3
3
  bin_dir = File.expand_path('../bin/', File.dirname(__FILE__))
4
4
  shell_script_path = File.join(bin_dir, 'look_changes_of_routes.sh')
5
5
 
6
- exec(shell_script_path)
6
+ exec("#{shell_script_path} #{ARGV.join(' ')}")
@@ -1,5 +1,5 @@
1
1
  module Review
2
2
  module Tools
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: review-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeru Hagiwara