rubocop-yast 0.0.1 → 0.0.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: e63535b7478f815aac43bfe5da02c56006678682
4
- data.tar.gz: 11b6d89cf12d0db91b630f05a7d9baaff6e5b020
3
+ metadata.gz: d341fded19f14ab6e0eb77ab182837c58d2721e3
4
+ data.tar.gz: 6616bbcc871f6476a4d7f68c4866e876ff6da0c6
5
5
  SHA512:
6
- metadata.gz: 1ef0b777751ab6bc35a86a28be492e463d2a247f8f04ce349ec5c8a352f084077e96281dc97477781e337765ecebf11e4cb4379c6d4be53a29f2b99474a89121
7
- data.tar.gz: b05076a39ab723d61b0579be49cb973236ebfbca00628bf4a18a9bd48a4c5432064d2d87537a45a1a5c4ff1ca5329d77dfc9cb07cc405e4328fe80639ddaed89
6
+ metadata.gz: 75e240206d5269e760688b2a369b221ba6f75a9e88385249a8721648549876c51daf9485d110e7488a98a34e025de6dd0b555594c76e8fd5df6f8a727c935ac7
7
+ data.tar.gz: 59999ea017b585fc7db161977a9627bf835c1c8bb5e0e26109fadbfc9ec3ae096bb15e9bbd56c673665f04abf12f0774ca0d12a549268324a4a3ababe98cb6bd
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  rubocop-yast
2
2
  ============
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/rubocop-yast.svg)](http://badge.fury.io/rb/rubocop-yast)
5
+ [![Dependency Status](https://gemnasium.com/lslezak/rubocop-yast.svg)](https://gemnasium.com/lslezak/rubocop-yast)
4
6
  [![Travis Build](https://travis-ci.org/lslezak/rubocop-yast.svg?branch=master)](https://travis-ci.org/lslezak/rubocop-yast)
5
7
  [![Coverage Status](https://img.shields.io/coveralls/lslezak/rubocop-yast.svg)](https://coveralls.io/r/lslezak/rubocop-yast?branch=master)
6
8
  [![Code Climate](https://codeclimate.com/github/lslezak/rubocop-yast/badges/gpa.svg)](https://codeclimate.com/github/lslezak/rubocop-yast)
@@ -3,6 +3,6 @@
3
3
  module RuboCop
4
4
  # Yast plugin settings
5
5
  module Yast
6
- VERSION = "0.0.1"
6
+ VERSION = "0.0.2"
7
7
  end
8
8
  end
@@ -6,8 +6,8 @@ require "rubocop/yast/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rubocop-yast"
8
8
  spec.summary = "Specific YaST Rubocop checks"
9
- spec.description = "A plugin for the RuboCop code style checker\n" \
10
- "This Rubocop plugin checks for YaST specific issues."
9
+ spec.description = "This is a plugin for the RuboCop code style checker.\n" \
10
+ "It checks for YaST specific issues."
11
11
  spec.homepage = "http://github.com/yast/rubocop-yast"
12
12
  spec.authors = ["Ladislav Slezák"]
13
13
  spec.email = ["lslezak@suse.cz"]
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_development_dependency("rubocop", "~> 0.27")
32
32
  spec.add_development_dependency("rake")
33
- spec.add_development_dependency("rspec", "~> 2.14.1")
33
+ spec.add_development_dependency("rspec", "~> 3.1.0")
34
34
  spec.add_development_dependency("simplecov")
35
35
  end
@@ -8,7 +8,7 @@ describe RuboCop::Cop::Yast::Builtins do
8
8
  it "reports Builtins.* call" do
9
9
  inspect_source(cop, ['Builtins.y2milestone("foo")'])
10
10
 
11
- expect(cop.offenses).to have(1).item
11
+ expect(cop.offenses.size).to eq(1)
12
12
  expect(cop.offenses.first.line).to eq(1)
13
13
  expect(cop.messages).to eq(["Builtin call `y2milestone` is obsolete, " \
14
14
  "use native Ruby function instead."])
@@ -20,8 +20,6 @@ end
20
20
 
21
21
  # allow only the new "expect" RSpec syntax
22
22
  RSpec.configure do |config|
23
- config.treat_symbols_as_metadata_keys_with_true_values = true
24
-
25
23
  config.expect_with :rspec do |c|
26
24
  c.syntax = :expect
27
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-yast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ladislav Slezák
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.14.1
47
+ version: 3.1.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.14.1
54
+ version: 3.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: simplecov
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,8 +67,8 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: |-
70
- A plugin for the RuboCop code style checker
71
- This Rubocop plugin checks for YaST specific issues.
70
+ This is a plugin for the RuboCop code style checker.
71
+ It checks for YaST specific issues.
72
72
  email:
73
73
  - lslezak@suse.cz
74
74
  executables: []