daimon-deka 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +8 -0
- data/Rakefile +3 -0
- data/config/rubocop.yml +64 -0
- data/daimon-deka.gemspec +23 -0
- data/lib/daimon/deka.rb +7 -0
- data/lib/daimon/deka/version.rb +5 -0
- metadata +81 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 71f6746d498a12133cb57f4fe61cd5da23510c46
|
4
|
+
data.tar.gz: 6b67de812f80e2b8d3ba67c7f8894d935c5e71a4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6b56c99149cc996a618c65a0f193afed537b656a10c807252bf55f3e9350bdab93c21fdca606c6190b0ae4d2532b5b300c5a55f39fd1045a9a19a428236c64d2
|
7
|
+
data.tar.gz: 01fe8ad349d2af0a9169b931e33fce0e7ae4db28bedf8e9d64afa6bb7646a41cc76d62077b1f376304b8f3cd6fa9a74ca61d16d4e78927f121b06fadb9c086d0
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Kenji Okimoto
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# daimon-deka
|
2
|
+
|
3
|
+
daimon-deka is a RuboCop configuration gem.
|
4
|
+
|
5
|
+
"daimon" is "[大門駅 (東京都) - Wikipedia](https://ja.wikipedia.org/wiki/%E5%A4%A7%E9%96%80%E9%A7%85_(%E6%9D%B1%E4%BA%AC%E9%83%BD))".
|
6
|
+
"deka" means "cop" in Japanese slang.
|
7
|
+
|
8
|
+
See also https://ja.wikipedia.org/wiki/%E8%A5%BF%E9%83%A8%E8%AD%A6%E5%AF%9F
|
data/Rakefile
ADDED
data/config/rubocop.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.3
|
3
|
+
DisplayCopNames: true
|
4
|
+
Exclude:
|
5
|
+
- "vendor/**/*"
|
6
|
+
- "db/schema.rb"
|
7
|
+
|
8
|
+
Lint/UnderscorePrefixedVariableName:
|
9
|
+
Enabled: false
|
10
|
+
Lint/UnusedMethodArgument:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
Metrics/LineLength:
|
14
|
+
Enabled: false
|
15
|
+
Metrics/ClassLength:
|
16
|
+
Exclude:
|
17
|
+
- "test/**/*.rb"
|
18
|
+
Metrics/ParameterLists:
|
19
|
+
Max: 7
|
20
|
+
Metrics/MethodLength:
|
21
|
+
Max: 30
|
22
|
+
|
23
|
+
Rails:
|
24
|
+
Enabled: true
|
25
|
+
Rails/FindBy:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Style/AsciiComments:
|
29
|
+
Enabled: false
|
30
|
+
Style/HashSyntax:
|
31
|
+
Exclude:
|
32
|
+
- "**/*.rake"
|
33
|
+
- "Rakefile"
|
34
|
+
Style/FrozenStringLiteralComment:
|
35
|
+
Enabled: false
|
36
|
+
Style/StringLiterals:
|
37
|
+
EnforcedStyle: double_quotes
|
38
|
+
Style/TrailingCommaInLiteral:
|
39
|
+
Enabled: false
|
40
|
+
Style/TrailingCommaInArguments:
|
41
|
+
Enabled: false
|
42
|
+
Style/FileName:
|
43
|
+
Enabled: false
|
44
|
+
Style/Documentation:
|
45
|
+
Enabled: false
|
46
|
+
Style/WordArray:
|
47
|
+
Enabled: false
|
48
|
+
Style/BarePercentLiterals:
|
49
|
+
EnforcedStyle: percent_q
|
50
|
+
Style/SpaceInsideBlockBraces:
|
51
|
+
EnforcedStyle: space
|
52
|
+
SpaceBeforeBlockParameters: false
|
53
|
+
Style/BracesAroundHashParameters:
|
54
|
+
Enabled: false
|
55
|
+
Style/MultilineMethodCallIndentation:
|
56
|
+
EnforcedStyle: indented
|
57
|
+
Style/SpaceInsideHashLiteralBraces:
|
58
|
+
EnforcedStyle: no_space
|
59
|
+
Style/BlockDelimiters:
|
60
|
+
EnforcedStyle: braces_for_chaining
|
61
|
+
Style/ClassAndModuleChildren:
|
62
|
+
Enabled: false
|
63
|
+
Style/EmptyCaseCondition:
|
64
|
+
Enabled: false
|
data/daimon-deka.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "daimon/deka/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "daimon-deka"
|
7
|
+
spec.version = Daimon::Deka::VERSION
|
8
|
+
spec.authors = ["Kenji Okimoto"]
|
9
|
+
spec.email = ["okimoto@clear-code.com"]
|
10
|
+
|
11
|
+
spec.summary = "Daimon::Deka is RuboCop configuration gem"
|
12
|
+
spec.description = "Daimon::Deka is RuboCop configuration gem"
|
13
|
+
spec.homepage = "https://github.com/bm-sms/daimon-deka"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
data/lib/daimon/deka.rb
ADDED
metadata
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: daimon-deka
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kenji Okimoto
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.12'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Daimon::Deka is RuboCop configuration gem
|
42
|
+
email:
|
43
|
+
- okimoto@clear-code.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- config/rubocop.yml
|
54
|
+
- daimon-deka.gemspec
|
55
|
+
- lib/daimon/deka.rb
|
56
|
+
- lib/daimon/deka/version.rb
|
57
|
+
homepage: https://github.com/bm-sms/daimon-deka
|
58
|
+
licenses:
|
59
|
+
- MIT
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
requirements: []
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 2.5.1
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: Daimon::Deka is RuboCop configuration gem
|
81
|
+
test_files: []
|