rubocop-yast 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/rubocop/yast/version.rb +1 -1
- data/rubocop-yast.gemspec +3 -3
- data/spec/builtins_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d341fded19f14ab6e0eb77ab182837c58d2721e3
|
4
|
+
data.tar.gz: 6616bbcc871f6476a4d7f68c4866e876ff6da0c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/rubocop/yast/version.rb
CHANGED
data/rubocop-yast.gemspec
CHANGED
@@ -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 = "
|
10
|
-
"
|
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", "~>
|
33
|
+
spec.add_development_dependency("rspec", "~> 3.1.0")
|
34
34
|
spec.add_development_dependency("simplecov")
|
35
35
|
end
|
data/spec/builtins_spec.rb
CHANGED
@@ -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
|
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."])
|
data/spec/spec_helper.rb
CHANGED
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.
|
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:
|
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:
|
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
|
-
|
71
|
-
|
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: []
|