advertilecop 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +17 -0
- data/README.md +1 -1
- data/Rakefile +2 -4
- data/advertilecop.gemspec +2 -2
- data/bin/advertilecop +1 -3
- data/lib/advertilecop.rb +0 -2
- data/lib/advertilecop/rake_task.rb +1 -3
- data/lib/advertilecop/version.rb +1 -3
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf69c6bccc2dd7b7bd8599422a4548eb33f45b94
|
4
|
+
data.tar.gz: 4584564a96ba232e3e998ffdb8ec2999316d6243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba06383ca93b054605cb9712164a0c76fb315c667192cc5ffd2987a5364d4eedfb04f64b3cab0f089a8133e1a5a98d5a3892b5e102ea74c8bf64c37a1ea3e379
|
7
|
+
data.tar.gz: 620a637d0d3d64704593d561cce31254c0c4a6332239d67dae6ad2f22baf96792834ae8be28b62d202155d3650525c89c3ba7029316b69d617eb497e966e74e8
|
data/.gitlab-ci.yml
ADDED
data/README.md
CHANGED
@@ -60,7 +60,7 @@ Anything that can be auto corrected will be, this will save you a lot of time!
|
|
60
60
|
|
61
61
|
## Overriding tests
|
62
62
|
|
63
|
-
It is possible to override specific Rubocop settings by having a _.rubocop.yml_ in the project root. When present, advertilecop uses this file instead of _advertilecop.yml_. This file can, however, the settings of _advertilecop.yml_ by having the following lines:
|
63
|
+
It is possible to override specific Rubocop settings by having a _.rubocop.yml_ in the project root. When present, advertilecop uses this file instead of _advertilecop.yml_. This file can, however, inherit the settings of _advertilecop.yml_ by having the following lines:
|
64
64
|
|
65
65
|
```yml
|
66
66
|
inherit_gem:
|
data/Rakefile
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
require "bundler/gem_tasks"
|
4
2
|
require "advertilecop/rake_task"
|
5
3
|
|
@@ -9,5 +7,5 @@ task :advertilecop_cli do
|
|
9
7
|
sh "bin/advertilecop"
|
10
8
|
end
|
11
9
|
|
12
|
-
task default: [
|
13
|
-
task build: [
|
10
|
+
task default: %i[advertilecop advertilecop_cli]
|
11
|
+
task build: %i[advertilecop advertilecop_cli]
|
data/advertilecop.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require "advertilecop/version"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "rubocop"
|
21
|
+
spec.add_dependency "rubocop", "< 0.53.0"
|
22
22
|
spec.add_development_dependency "bundler"
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
end
|
data/bin/advertilecop
CHANGED
data/lib/advertilecop.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
require "rubocop/rake_task"
|
4
2
|
|
5
3
|
module AdvertileCop
|
6
4
|
class RakeTask < RuboCop::RakeTask
|
7
|
-
def initialize(name, *args, &task_block)
|
5
|
+
def initialize(name, *args, &task_block)
|
8
6
|
setup_ivars(args)
|
9
7
|
|
10
8
|
desc "Run RuboCop" unless ::Rake.application.last_description
|
data/lib/advertilecop/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: advertilecop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mika Hel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.53.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.53.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,6 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
+
- ".gitlab-ci.yml"
|
64
65
|
- Gemfile
|
65
66
|
- LICENSE.txt
|
66
67
|
- README.md
|