rubocop-select 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 675258f67f991723a9018e2997dfbf71ff0c220d
4
- data.tar.gz: f48186d89eb393ac6255987f1e993a4838823a49
3
+ metadata.gz: 39ba3db0de1df76d6de761e4da366a0d31863ae5
4
+ data.tar.gz: 412b4e6d414ba9d67f746eee991751adfa260bf6
5
5
  SHA512:
6
- metadata.gz: 137d7228e9df503c1a848ce0acb9e2f2373cf56a82863293c4285caea67e8b517cd87d09f45d33c871f47568474ce4ad82a66d9ceded40c49703f5a57b6cc524
7
- data.tar.gz: 53ae36a19a1f3618089a3cba1e5d0643dcf7eec1741e6588eb1b6c3660fb0feb6067cbf3c767856c4a5e2f73372828ca0decd93cb18a64e2ca00157b1cdefd19
6
+ metadata.gz: afd0caad13983c120a31af8429166e1c9fc285d1594846b2c7f6fc54a2ba8292b2a6565d0b8095295b91a37c6258d8a79efd480eaa57b9c990f0fca57d2debe9
7
+ data.tar.gz: 5097b5a2ca47ac94d7c79cff4b5fd06f8fa17d5b9dc170d8241267cb92c796afa14ca02410df7bb80497322aa9d7299d6694964b7e154fd1cf8611209b9b0feb
@@ -1,9 +1,7 @@
1
- # This configuration was generated by `rubocop --auto-gen-config`
2
- # on 2015-02-12 02:36:39 +0900 using RuboCop version 0.29.0.
3
- # The point is for the user to remove these configuration records
4
- # one by one as the offenses are removed from the code base.
5
- # Note that changes in the inspected code, or installation of new
6
- # versions of RuboCop, may require this file to be generated again.
1
+ AllCops:
2
+ Exclude:
3
+ - 'bundle_bin/*'
4
+ - 'vendor/bundle/**/*'
7
5
 
8
6
  # Offense count: 3
9
7
  # Configuration parameters: AllowURI, URISchemes.
@@ -22,3 +20,4 @@ Style/FileName:
22
20
  Exclude:
23
21
  - bin/*
24
22
  - bundle_bin/*
23
+ - exe/*
@@ -0,0 +1 @@
1
+ strategy: 'none'
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
3
4
  - 1.9
4
5
  - 2.0
data/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  Select file path only executable by RuboCop. **Diff RuboCop** comes!
7
7
 
8
+ You can use `rubocop --force-exclusion` also.
9
+
8
10
  ## Usage
9
11
 
10
12
  Pipe between `git diff` and `rubocop`.
File without changes
data/bin/setup CHANGED
File without changes
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubocop/select'
4
+ require 'rubocop/select/cli'
4
5
 
5
6
  cli = RuboCop::Select::CLI.new
6
7
  result = cli.run
@@ -1,6 +1,6 @@
1
+ require 'rubocop'
1
2
  require 'rubocop/select/version'
2
3
  require 'rubocop/select/file'
3
- require 'rubocop/select/cli'
4
4
 
5
5
  module RuboCop
6
6
  module Select
@@ -1,5 +1,3 @@
1
- require 'rubocop'
2
-
3
1
  module RuboCop
4
2
  module Select
5
3
  class CLI
@@ -1,6 +1,6 @@
1
1
  module RuboCop
2
2
  module Select
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  MSG = '%s (using RuboCop %s, running on %s %s %s)'
6
6
 
@@ -17,10 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`
18
18
  .split("\x0")
19
19
  .reject { |f| f.match(%r{^(test|spec|features)/}) }
20
- spec.executables = spec
21
- .files
22
- .reject { |f| f.match(%r{^bin/(console|setup)}) }
23
- .grep(%r{^(exe|bin)/}) { |f| File.basename(f) }
20
+ spec.bindir = 'exe'
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
22
  spec.require_paths = ['lib']
25
23
 
26
24
  spec.add_runtime_dependency 'rubocop'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -83,6 +83,7 @@ files:
83
83
  - ".gitignore"
84
84
  - ".rspec"
85
85
  - ".rubocop.yml"
86
+ - ".tachikoma.yml"
86
87
  - ".travis.yml"
87
88
  - CODE_OF_CONDUCT.md
88
89
  - Gemfile
@@ -90,9 +91,9 @@ files:
90
91
  - README.md
91
92
  - Rakefile
92
93
  - bin/console
93
- - bin/rubocop-select
94
94
  - bin/setup
95
95
  - example/simple.rb
96
+ - exe/rubocop-select
96
97
  - lib/rubocop/select.rb
97
98
  - lib/rubocop/select/cli.rb
98
99
  - lib/rubocop/select/file.rb