yoshiki 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3b48a470c145060a17f87cd57f6557484d31a393
4
+ data.tar.gz: dcd49b6ff71b3c1568069bf0bb4289cbce3591bf
5
+ SHA512:
6
+ metadata.gz: 2aa9688bb6f80cc8d834b5236ac69f33a39c72c5c4cf27e86493c7608c0db2c996ea5c974fab89129feb867e1bcfbe39501d35229672333950a93eb96b29b95e
7
+ data.tar.gz: db049b3fce0b17da40dbb3de83c45231e67bf4b974940035768d649f6ae365c56fcb638edaf9d1a1f970a7bbb4f59f60a3db8b55e5cf60e53e6132b70cbb4d32
@@ -0,0 +1,178 @@
1
+ require: rubocop-rspec
2
+
3
+ AllCops:
4
+ DisplayCopNames: true
5
+ DisplayStyleGuide: true
6
+ ExtraDetails: true
7
+ Exclude:
8
+ - bin/**/*
9
+ - db/schema.rb
10
+ - Gemfile.lock
11
+ - vendor/**/*
12
+
13
+ Rails:
14
+ Enabled: true
15
+
16
+ Lint/AmbiguousOperator:
17
+ Enabled: false
18
+
19
+ Lint/AssignmentInCondition:
20
+ Enabled: false
21
+
22
+ Lint/EndAlignment:
23
+ AlignWith: variable
24
+ AutoCorrect: true
25
+
26
+ Lint/DefEndAlignment:
27
+ AlignWith: start_of_line
28
+ AutoCorrect: true
29
+
30
+ Lint/Void:
31
+ Exclude:
32
+ - spec/**/*.rb
33
+
34
+ Metrics/LineLength:
35
+ Max: 120
36
+
37
+ Rails/Output:
38
+ Exclude:
39
+ - 'config/unicorn.rb'
40
+
41
+ RSpec/DescribeClass:
42
+ Exclude:
43
+ - 'spec/features/**/*'
44
+
45
+ Style/AccessModifierIndentation:
46
+ EnforcedStyle: outdent
47
+
48
+ Style/AlignHash:
49
+ EnforcedHashRocketStyle: table
50
+ EnforcedColonStyle: table
51
+
52
+ Style/AndOr:
53
+ Enabled: false
54
+
55
+ Style/AsciiComments:
56
+ Enabled: false
57
+
58
+ Style/AsciiIdentifiers:
59
+ Enabled: false
60
+
61
+ Style/BarePercentLiterals:
62
+ EnforcedStyle: percent_q
63
+
64
+ Style/BlockDelimiters:
65
+ Exclude:
66
+ - spec/**/*.rb
67
+
68
+ Style/CaseIndentation:
69
+ IndentOneStep: true
70
+ IndentWhenRelativeTo: end
71
+
72
+ Style/CommandLiteral:
73
+ EnforcedStyle: mixed
74
+
75
+ Style/Documentation:
76
+ Exclude:
77
+ - 'db/migrate/**/*'
78
+ - 'spec/**/*'
79
+ - 'test/**/*'
80
+
81
+ Style/DoubleNegation:
82
+ Enabled: false
83
+
84
+ Style/EachWithObject:
85
+ Enabled: false
86
+
87
+ Style/ElseAlignment:
88
+ Enabled: false
89
+
90
+ Style/EmptyLinesAroundBlockBody:
91
+ EnforcedStyle: no_empty_lines
92
+ Exclude:
93
+ - spec/**/*
94
+ - '**/*.rake'
95
+
96
+ Style/EmptyLinesAroundClassBody:
97
+ EnforcedStyle: empty_lines
98
+
99
+ Style/EmptyLinesAroundModuleBody:
100
+ EnforcedStyle: empty_lines
101
+
102
+ Style/EmptyLineBetweenDefs:
103
+ AllowAdjacentOneLineDefs: true
104
+
105
+ Style/ExtraSpacing:
106
+ AllowForAlignment: true
107
+ ForceEqualSignAlignment: true
108
+ Exclude:
109
+ - Gemfile
110
+
111
+ Style/HashSyntax:
112
+ EnforcedStyle: ruby19
113
+ # NOTE: this option forces hashrockets for all keys if any value is a symbol
114
+ # instead of only forcing hashrockets for the key whose value is a symbol
115
+ # like the name suggests :( - BM5k
116
+ # UseHashRocketsWithSymbolValues: true
117
+
118
+ Style/MethodDefParentheses:
119
+ EnforcedStyle: require_no_parentheses
120
+
121
+ Style/MultilineOperationIndentation:
122
+ EnforcedStyle: indented
123
+
124
+ Style/Not:
125
+ Enabled: false
126
+
127
+ Style/OptionHash:
128
+ Enabled: true
129
+
130
+ Style/PerlBackrefs:
131
+ Enabled: false
132
+
133
+ Style/PercentLiteralDelimiters:
134
+ PreferredDelimiters:
135
+ '%': '[]'
136
+ '%i': '[]'
137
+ '%Q': '{}'
138
+ '%q': '{}'
139
+ '%r': '{}'
140
+ '%s': '[]'
141
+ '%w': '[]'
142
+ '%W': '[]'
143
+ '%x': '[]'
144
+
145
+ Style/PredicateName:
146
+ NamePrefix:
147
+ - is_
148
+ - has_
149
+ - have_
150
+ NamePrefixBlacklist:
151
+ - is_
152
+ - have_
153
+ NameWhitelist:
154
+ - is_a?
155
+
156
+ Style/RegexpLiteral:
157
+ EnforcedStyle: mixed
158
+
159
+ Style/RescueModifier:
160
+ Enabled: false
161
+
162
+ Style/Semicolon:
163
+ AllowAsExpressionSeparator: true
164
+
165
+ Style/SpaceInsideBrackets:
166
+ Enabled: false
167
+
168
+ Style/SpaceInsideStringInterpolation:
169
+ EnforcedStyle: space
170
+
171
+ Style/SingleLineBlockParams:
172
+ Methods:
173
+ - inject:
174
+ - a
175
+ - t
176
+
177
+ Style/SymbolArray:
178
+ Enabled: true
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/.rubocop.yml ADDED
@@ -0,0 +1,11 @@
1
+ inherit_from:
2
+ - .devfu-rubocop.yml
3
+
4
+ Style/ExtraSpacing:
5
+ Exclude:
6
+ - "*.gemspec"
7
+
8
+ Style/FileName:
9
+ Exclude:
10
+ - lib/yoshiki.rb
11
+ - spec/yoshiki_spec.rb
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in yoshiki.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 BM5k
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,14 @@
1
+ Yōshiki
2
+ =======
3
+
4
+ Dev Fu! Style
5
+
6
+ Because ruby code should be:
7
+ Readable.
8
+ Elegant.
9
+ Easily read by humans.
10
+ Approchable by newbs.
11
+ Clear to developers.
12
+ Profound to rubyists.
13
+
14
+ Make it so.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rubocop/rake_task'
3
+
4
+ RuboCop::RakeTask.new :rubocop
5
+
6
+ task default: :rubocop
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'yoshiki'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ require 'pry'
11
+ Pry.start
@@ -0,0 +1,5 @@
1
+ module Yoshiki
2
+
3
+ VERSION = '0.0.1'.freeze
4
+
5
+ end
data/lib/yoshiki.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'yoshiki/version'
2
+
3
+ # Dev Fu! Style
4
+ module Yoshiki
5
+ end
data/yoshiki.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ lib = File.expand_path '../lib', __FILE__
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'yoshiki/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'yoshiki'
7
+ spec.version = Yoshiki::VERSION
8
+ spec.authors = ['BM5k']
9
+ spec.email = %w[ me@bm5k.com ]
10
+ spec.summary = 'Dev Fu! Style'
11
+ spec.description = 'Today ruby, tomorrow the world!'
12
+ spec.homepage = 'https://gitlab.devfu.com/devfu/yoshiki'
13
+ spec.license = 'MIT'
14
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match %r{^(test|spec|features)/} }
15
+ spec.bindir = 'exe'
16
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename f }
17
+ spec.require_paths = %w[ lib ]
18
+
19
+ spec.add_dependency 'rubocop-rspec', '1.4.0'
20
+ spec.add_dependency 'rubocop', '0.37.2'
21
+
22
+ spec.add_development_dependency 'bundler'
23
+ spec.add_development_dependency 'rake'
24
+ spec.add_development_dependency 'pry'
25
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yoshiki
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - BM5k
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop-rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.4.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.37.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.37.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Today ruby, tomorrow the world!
84
+ email:
85
+ - me@bm5k.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".devfu-rubocop.yml"
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".rubocop.yml"
94
+ - Gemfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - bin/console
99
+ - lib/yoshiki.rb
100
+ - lib/yoshiki/version.rb
101
+ - yoshiki.gemspec
102
+ homepage: https://gitlab.devfu.com/devfu/yoshiki
103
+ licenses:
104
+ - MIT
105
+ metadata: {}
106
+ post_install_message:
107
+ rdoc_options: []
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ requirements: []
121
+ rubyforge_project:
122
+ rubygems_version: 2.5.1
123
+ signing_key:
124
+ specification_version: 4
125
+ summary: Dev Fu! Style
126
+ test_files: []