rubocop_challenger 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ba8deecbf49b350474a9144e4a1bf8f31d50d287e5dd51f0c3685ad01f86c17
4
- data.tar.gz: 4c8eef6d0c2d989a8b566b9989364a594f9d874f4c2750096b73dafa8954f6dd
3
+ metadata.gz: 9fff84726b4d75435e86fbf6fbb5b1fd952342b551b176da80bc16a10714e8b1
4
+ data.tar.gz: 904703215d563c6e455a15041855fe64e2581fbbbf18f0fca66ba799590f9144
5
5
  SHA512:
6
- metadata.gz: eb9a03b11502c7d5169d8082af81af23d603480ca2de1d2bf216fb40fdcc7caf3142466121a93065f4e3754f43ec6c2a3a2fa8c8b166ad2745a9c2c656f38acc
7
- data.tar.gz: ec425dcd9f57d26241be0e304f983c656db68cef4e6a9386bc7ef1685ff6700efa1927a14290d6b1558106244e426f4ced6561039f7f669d2be2e4937782b515
6
+ metadata.gz: 963adadcbabc1afbbbee442e8120a0c996920652ba4145d8f6cc30c632683eaca3132238007abff45287321e6dd4c12d28afbe2e4bfa27bb8f2aecaeffca2879
7
+ data.tar.gz: af5eff9a6f6b52974059b4990ba80f2f55a5c30069c94a694c39957d1c6a6ff13645072276865c2f8511d869802982b9c247b32ebe3b649924323568c1e2c591
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop_challenger (0.2.0)
4
+ rubocop_challenger (0.2.1)
5
5
  pr-daikou (~> 0.2.0)
6
6
  rubocop
7
7
  rubocop-rspec
@@ -4,7 +4,7 @@ module RubocopChallenger
4
4
  module Github
5
5
  class PrTemplate
6
6
  def initialize(rule, template_path = nil)
7
- template_path ||= './lib/templates/default.md.erb'
7
+ template_path ||= File.expand_path('../../templates/default.md.erb', __dir__)
8
8
  @template = File.read(template_path)
9
9
  @rule = rule
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopChallenger
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_challenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryosuke_sato