pronto-rubocop 0.6.1 → 0.6.2

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
  SHA1:
3
- metadata.gz: 70f4321534aee21596156f7a437048b88f95a4a0
4
- data.tar.gz: f20f6bf08dad96a47556ade299e8b067366eef23
3
+ metadata.gz: 8c715d4b220979327b1f70f0472379497b07c8a2
4
+ data.tar.gz: ebb0b14644c8bff2dacb3ba5665620d6220cc239
5
5
  SHA512:
6
- metadata.gz: 9b251747d531f9293b9c5aaa54f86d8398867da04ed9b3cb465c445f025341debea50add99171c16396a55e45a5c07073002ad1395e0cbe0003c9470b8c71a13
7
- data.tar.gz: 8b0842d0971f1778860a71d1dab2cfc2345972f31fb8b112adb3f45b9a6948746a6cfb9683e3b6b2b81b16e42ff1bb54ae2e21c3d94a91e5b1665c0744032db9
6
+ metadata.gz: 7d2598fd8584a6c0d653d11a897cb0ec6b80fe0f502a133ed34ae27e1e5f660149d06ffffd6d9c78bfabb5c1b1e069eb51ac724e2c54b65ec93e18eae803f4ec
7
+ data.tar.gz: 5383d766e99cb6a1c7434d382a27361ca8412000fc8d80dab1e2eb67860b7bb3f2938606c000c4509f31b0893a9bdd6f6a4fce891472a7dd2fd2467cbc38ed51
data/README.md CHANGED
@@ -10,3 +10,4 @@ Pronto runner for [Rubocop](https://github.com/bbatsov/rubocop), ruby code analy
10
10
  ## Configuration
11
11
 
12
12
  Configuring Rubocop via .rubocop.yml will work just fine with pronto-rubocop.
13
+ You can also specify a custom `.rubocop.yml` location with the environment variable `RUBOCOP_CONFIG`
@@ -7,6 +7,7 @@ module Pronto
7
7
  super
8
8
 
9
9
  @config_store = ::RuboCop::ConfigStore.new
10
+ @config_store.options_config = ENV['RUBOCOP_CONFIG'] if ENV['RUBOCOP_CONFIG']
10
11
  @inspector = ::RuboCop::Runner.new({}, @config_store)
11
12
  end
12
13
 
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RubocopVersion
3
- VERSION = '0.6.1'.freeze
3
+ VERSION = '0.6.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-13 00:00:00.000000000 Z
11
+ date: 2016-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop