rubocop_rules 1.0.1 → 1.0.2

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: b6118dc53f3cc87ec1fd8ea6da3cd4ccc487c857
4
- data.tar.gz: 5b9a2bf8bf2510f0536d6fa12564ac1ff72626e2
3
+ metadata.gz: 3b8336ab0273eaa5a7c4a0d088bc7ac9810a741e
4
+ data.tar.gz: 922465650ca90d1b9446ea248baeea1bdb05c1ae
5
5
  SHA512:
6
- metadata.gz: fdbc3c77c46f56ade2c25d836908e05977b5efece039e5f12c7d51573ddff9aebe6247a3d5dd7f686bac431a731254b1f194fc7aa1eacacfa08211d4c84d148b
7
- data.tar.gz: 94844afd9174e62868916a6909f650d1f1fd425b5dba2b19a5652fef4f1ae49e17144d5dc311eaf17f2e17476eef01d5a7dde5cea5c6f50385ba88a7dea798ef
6
+ metadata.gz: 868353dd4492d90ee7d19ce9921b61ba227ee93d48b19eb8868525bde7a302ed414c436c36be35214f3d2b3dad3ca98bf9379cd2b946ebe116b2457ef2e8087b
7
+ data.tar.gz: 42f7691892bc591236b633b3de76b6d3c2e38f425541741c027e4a2964e3dd063c1cf1232eb450621025521b2e0e9f8c4ddfcc3f55ec0fe343c11503e3fa8562
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.2] - 2017-11-09
10
+ ### Changed
11
+ - spec/lint_spec.rb was not packaged
12
+
9
13
  ## [1.0.1] - 2017-11-09
10
14
  ### Added
11
15
  - rubocop-rules init
@@ -21,6 +21,7 @@ module RubocopRules
21
21
 
22
22
  desc 'init', 'Initialize RubocopRules in your project'
23
23
  def init
24
+ puts 'Copying config... '
24
25
  copy_file '.rubocop_common.yml', '.rubocop_common.yml'
25
26
  copy_file '.rubocop.yml', '.rubocop.yml'
26
27
  copy_file 'spec/lint_spec.rb', 'spec/lint_spec.rb'
@@ -31,7 +32,7 @@ module RubocopRules
31
32
  print 'Generating rubocop_todo... '
32
33
  run_process(command: 'rubocop --auto-gen-config')
33
34
 
34
- print 'Adding rubocop_todo to configuration... '
35
+ puts 'Adding rubocop_todo to configuration... '
35
36
  insert_into_file '.rubocop.yml', ' - .rubocop_todo.yml', after: " - .rubocop_common.yml\n"
36
37
  end
37
38
 
@@ -1,3 +1,3 @@
1
1
  module RubocopRules
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
@@ -27,6 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
28
28
  f.match(%r{^(test|spec|features)/})
29
29
  end
30
+ spec.files << 'spec/lint_spec.rb'
31
+
30
32
  spec.bindir = 'bin'
31
33
  spec.executables = spec.files.grep(%r{^bin/rubocop-rules}) { |f| File.basename(f) }
32
34
  spec.require_paths = ['lib']
data/spec/lint_spec.rb ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe 'check that the files we have changed have correct syntax' do
6
+ it 'rubocop is satisfied' do
7
+ result = `rubocop --parallel`
8
+ expect(result).to_not match(/Offenses/)
9
+ end
10
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Klippinge
@@ -122,6 +122,7 @@ files:
122
122
  - lib/rubocop_rules/cli.rb
123
123
  - lib/rubocop_rules/version.rb
124
124
  - rubocop-rules.gemspec
125
+ - spec/lint_spec.rb
125
126
  homepage:
126
127
  licenses: []
127
128
  metadata: