otacop 0.2.0 → 0.3.0

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: ea72da7783f3597cede2318d2590a376db9adacc
4
- data.tar.gz: 9377086aa0d9502267b7631716c5069c88585aa4
3
+ metadata.gz: f69371eb9d86c27e0715d0bcde768e7a9f51d8d6
4
+ data.tar.gz: cb606e76af25eb6c43ca77ec2fd034d8c2eaf918
5
5
  SHA512:
6
- metadata.gz: 4d7ad95ea36d982d24e35ce946ce74edd3b9e0e90ee58305c1393358cec56e57bc724e8c939a395df6bf865656937ad850b4187234e7ddd506673e4ac351e36d
7
- data.tar.gz: f19cdd11f6a952933e0d566ef7198cf2ab9e5fcb7f1a9c2d2bce8868a8c790003a1ad7736b7b8978114e573273e69f7f1d491436c2e3f741cf61cd9c50d9c4c9
6
+ metadata.gz: 701bc5406220c1d491419e4608f3a93c9acdc8b40ae8652e6b5419915fd8b9796f343366c9593f0b56675d5fd6d01a1e8e18fd2ad6051d8c9830ae34686f0512
7
+ data.tar.gz: 14d82b494c41e6283047f3eabc21017eb18cb4d583f563b3acf2557e28ac36501914e8786672b3387cebe91bddaebc3319aab94e3487a947861eb9fa36dc4c36
data/.rubocop.yml CHANGED
@@ -1,2 +1,5 @@
1
1
  inherit_gem:
2
2
  otacop: "config/default.yml"
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Otacop
1
+ # OtaCop [![Gem Version](https://badge.fury.io/rb/otacop.svg)](https://badge.fury.io/rb/otacop) [![Build Status](https://travis-ci.org/otaku-dev/otacop.svg?branch=master)](https://travis-ci.org/otaku-dev/otacop)
2
2
 
3
3
  OtaCop is a RuboCop configration gem. Inspired by onkcop.
4
4
 
@@ -26,6 +26,11 @@ Add the following directive to your .rubocop.yml:
26
26
  inherit_gem:
27
27
  otacop:
28
28
  - "config/default.yml"
29
+ # uncomment if use rails cops
30
+ # - "config/rails.yml"
31
+
32
+ AllCops:
33
+ TargetRubyVersion: 2.3
29
34
  ```
30
35
 
31
36
  ## Contributing
data/config/default.yml CHANGED
@@ -4,4 +4,3 @@ inherit_from:
4
4
 
5
5
  AllCops:
6
6
  DisplayCopNames: true
7
- TargetRubyVersion: 2.3
data/config/rails.yml ADDED
@@ -0,0 +1,2 @@
1
+ Rails:
2
+ Enabled: true
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Otacop
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
data/otacop.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.files = `git ls-files -z`.split("\x0")
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "rubocop", "~> 0.45"
21
+ spec.add_dependency "rubocop", "~> 0.46"
22
22
  spec.add_development_dependency "bundler", "~> 1.13"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: otacop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryoji Yoshioka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-29 00:00:00.000000000 Z
11
+ date: 2016-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.45'
19
+ version: '0.46'
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: '0.45'
26
+ version: '0.46'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +70,7 @@ files:
70
70
  - config/default.yml
71
71
  - config/disabled.yml
72
72
  - config/enabled.yml
73
+ - config/rails.yml
73
74
  - lib/otacop.rb
74
75
  - lib/otacop/version.rb
75
76
  - otacop.gemspec