messagex 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/.rubocop.yml +115 -0
- data/.rubocop_todo.yml +130 -0
- data/Gemfile.lock +54 -0
- data/lib/messagex/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d874518ab253a98c7b456cac7857a9c7b6d1b94dc82e503e1c53da01c21006e7
|
4
|
+
data.tar.gz: 20b9c9ad9f91561efad50d326327dfac295c58f82cc8e972af2f6fca6ed8f3c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fef450345e68f715e753eb6eedea464294ee821e5fa381079e5cc040f3afacdc054c5b8bac0702af338388a733ecafd0dd714eac8b2c7bf50a4027d64b43cbdc
|
7
|
+
data.tar.gz: 6cd2a79c702fde0d94a0ded94daeaf495de6676ab26ef98bb7480a41965cc4492f46dc2feb8e6246c2b7f912e2f4b791d1c6d4f4b1d0ec4e2484aba6f66317a3
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
TargetRubyVersion: 2.5
|
5
|
+
DisplayCopNames: true
|
6
|
+
#
|
7
|
+
StyleGuideBaseURL: https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md
|
8
|
+
#
|
9
|
+
Exclude:
|
10
|
+
- "Rakefile"
|
11
|
+
- "*.gemspec"
|
12
|
+
- "vendor/**/*"
|
13
|
+
- "spec/*.rb"
|
14
|
+
- 'bin/console'
|
15
|
+
- 'bin/setup'
|
16
|
+
|
17
|
+
Layout/ExtraSpacing:
|
18
|
+
AllowForAlignment: true
|
19
|
+
Layout/SpaceInsideBlockBraces:
|
20
|
+
EnforcedStyle: space
|
21
|
+
SpaceBeforeBlockParameters: false
|
22
|
+
Layout/MultilineMethodCallIndentation:
|
23
|
+
EnforcedStyle: indented
|
24
|
+
Layout/EmptyLineAfterGuardClause:
|
25
|
+
Enabled: false
|
26
|
+
Layout/MultilineOperationIndentation:
|
27
|
+
EnforcedStyle: indented
|
28
|
+
|
29
|
+
Lint/UnderscorePrefixedVariableName:
|
30
|
+
Enabled: false
|
31
|
+
Lint/UnusedMethodArgument:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Metrics/LineLength:
|
35
|
+
Enabled: false
|
36
|
+
Metrics/ClassLength:
|
37
|
+
Exclude:
|
38
|
+
- "test/**/*.rb"
|
39
|
+
Metrics/ParameterLists:
|
40
|
+
Max: 7
|
41
|
+
Metrics/MethodLength:
|
42
|
+
Max: 30
|
43
|
+
|
44
|
+
Naming/FileName:
|
45
|
+
Enabled: false
|
46
|
+
Naming/UncommunicativeMethodParamName:
|
47
|
+
AllowedNames:
|
48
|
+
- z
|
49
|
+
|
50
|
+
Style/AsciiComments:
|
51
|
+
Enabled: false
|
52
|
+
Style/HashSyntax:
|
53
|
+
Exclude:
|
54
|
+
- "**/*.rake"
|
55
|
+
- "Rakefile"
|
56
|
+
Style/EmptyMethod:
|
57
|
+
Enabled: false
|
58
|
+
Style/FrozenStringLiteralComment:
|
59
|
+
Enabled: false
|
60
|
+
Style/NumericLiterals:
|
61
|
+
Enabled: false
|
62
|
+
Style/StringLiterals:
|
63
|
+
EnforcedStyle: double_quotes
|
64
|
+
Style/TrailingCommaInArrayLiteral:
|
65
|
+
Enabled: false
|
66
|
+
Style/TrailingCommaInHashLiteral:
|
67
|
+
Enabled: false
|
68
|
+
Style/TrailingCommaInArguments:
|
69
|
+
Enabled: false
|
70
|
+
Style/Documentation:
|
71
|
+
Enabled: false
|
72
|
+
Style/WordArray:
|
73
|
+
Enabled: false
|
74
|
+
Style/BarePercentLiterals:
|
75
|
+
EnforcedStyle: percent_q
|
76
|
+
Style/BracesAroundHashParameters:
|
77
|
+
Enabled: false
|
78
|
+
Style/PercentQLiterals:
|
79
|
+
Enabled: false
|
80
|
+
Style/UnneededPercentQ:
|
81
|
+
Enabled: false
|
82
|
+
Style/IfUnlessModifier:
|
83
|
+
Enabled: false
|
84
|
+
Style/NumericPredicate:
|
85
|
+
Enabled: false
|
86
|
+
Style/MutableConstant:
|
87
|
+
Enabled: false
|
88
|
+
Style/SymbolArray:
|
89
|
+
Enabled: false
|
90
|
+
Style/FormatString:
|
91
|
+
Enabled: false
|
92
|
+
Style/ConditionalAssignment:
|
93
|
+
Enabled: false
|
94
|
+
Style/WhileUntilModifier:
|
95
|
+
Enabled: false
|
96
|
+
Style/RedundantBegin:
|
97
|
+
Enabled: false
|
98
|
+
Style/YodaCondition:
|
99
|
+
EnforcedStyle: forbid_for_equality_operators_only
|
100
|
+
Style/TernaryParentheses:
|
101
|
+
EnforcedStyle: require_parentheses_when_complex
|
102
|
+
Style/MethodCallWithArgsParentheses:
|
103
|
+
Exclude:
|
104
|
+
- "**/*.rake"
|
105
|
+
- "Rakefile"
|
106
|
+
- "Gemfile"
|
107
|
+
Enabled: true
|
108
|
+
IgnoredMethods:
|
109
|
+
- p
|
110
|
+
- pp
|
111
|
+
- puts
|
112
|
+
- print
|
113
|
+
- printf
|
114
|
+
- raise
|
115
|
+
- require
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config --exclude-limit 9999 --no-offense-counts --no-auto-gen-timestamp`
|
3
|
+
# using RuboCop version 0.68.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Cop supports --auto-correct.
|
10
|
+
Layout/CommentIndentation:
|
11
|
+
Exclude:
|
12
|
+
# - 'lib/messagex.rb'
|
13
|
+
# - 'lib/messagex/loggerx.rb'
|
14
|
+
|
15
|
+
# Cop supports --auto-correct.
|
16
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
17
|
+
Layout/ExtraSpacing:
|
18
|
+
Exclude:
|
19
|
+
# - 'lib/messagex.rb'
|
20
|
+
|
21
|
+
# Cop supports --auto-correct.
|
22
|
+
Layout/LeadingCommentSpace:
|
23
|
+
Exclude:
|
24
|
+
# - 'lib/messagex.rb'
|
25
|
+
|
26
|
+
# Cop supports --auto-correct.
|
27
|
+
# Configuration parameters: .
|
28
|
+
# SupportedStyles: space, no_space
|
29
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
30
|
+
EnforcedStyle: no_space
|
31
|
+
|
32
|
+
# Cop supports --auto-correct.
|
33
|
+
# Configuration parameters: AllowForAlignment.
|
34
|
+
Layout/SpaceAroundOperators:
|
35
|
+
Exclude:
|
36
|
+
# - 'lib/messagex.rb'
|
37
|
+
# - 'lib/messagex/loggerx.rb'
|
38
|
+
|
39
|
+
# Cop supports --auto-correct.
|
40
|
+
Layout/SpaceBeforeComma:
|
41
|
+
Exclude:
|
42
|
+
# - 'lib/messagex/loggerx.rb'
|
43
|
+
|
44
|
+
# Cop supports --auto-correct.
|
45
|
+
# Configuration parameters: EnforcedStyle.
|
46
|
+
# SupportedStyles: space, no_space
|
47
|
+
Layout/SpaceInsideParens:
|
48
|
+
Exclude:
|
49
|
+
# - 'lib/messagex/loggerx.rb'
|
50
|
+
|
51
|
+
# Cop supports --auto-correct.
|
52
|
+
# Configuration parameters: AllowInHeredoc.
|
53
|
+
Layout/TrailingWhitespace:
|
54
|
+
Exclude:
|
55
|
+
# - 'lib/messagex.rb'
|
56
|
+
# - 'lib/messagex/loggerx.rb'
|
57
|
+
|
58
|
+
# Cop supports --auto-correct.
|
59
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
60
|
+
Lint/UnusedBlockArgument:
|
61
|
+
Exclude:
|
62
|
+
# - 'lib/messagex.rb'
|
63
|
+
# - 'lib/messagex/loggerx.rb'
|
64
|
+
|
65
|
+
Metrics/AbcSize:
|
66
|
+
Max: 17
|
67
|
+
|
68
|
+
# Configuration parameters: CountComments.
|
69
|
+
Metrics/ClassLength:
|
70
|
+
Max: 138
|
71
|
+
|
72
|
+
Naming/AccessorMethodName:
|
73
|
+
Exclude:
|
74
|
+
# - 'lib/messagex/loggerx.rb'
|
75
|
+
|
76
|
+
# Configuration parameters: EnforcedStyle.
|
77
|
+
# SupportedStyles: snake_case, camelCase
|
78
|
+
Naming/MethodName:
|
79
|
+
Exclude:
|
80
|
+
- 'lib/messagex.rb'
|
81
|
+
|
82
|
+
# Cop supports --auto-correct.
|
83
|
+
# Configuration parameters: PreferredName.
|
84
|
+
Naming/RescuedExceptionsVariableName:
|
85
|
+
Exclude:
|
86
|
+
# - 'lib/messagex.rb'
|
87
|
+
|
88
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
89
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
90
|
+
Naming/UncommunicativeMethodParamName:
|
91
|
+
Exclude:
|
92
|
+
- 'lib/messagex.rb'
|
93
|
+
|
94
|
+
# Configuration parameters: EnforcedStyle.
|
95
|
+
# SupportedStyles: snake_case, camelCase
|
96
|
+
Naming/VariableName:
|
97
|
+
Exclude:
|
98
|
+
- 'lib/messagex.rb'
|
99
|
+
- 'lib/messagex/loggerx.rb'
|
100
|
+
|
101
|
+
# Cop supports --auto-correct.
|
102
|
+
# Configuration parameters: EnforcedStyle.
|
103
|
+
# SupportedStyles: always, conditionals
|
104
|
+
Style/AndOr:
|
105
|
+
Exclude:
|
106
|
+
# - 'lib/messagex.rb'
|
107
|
+
|
108
|
+
# Configuration parameters: MinBodyLength.
|
109
|
+
Style/GuardClause:
|
110
|
+
Exclude:
|
111
|
+
# - 'lib/messagex.rb'
|
112
|
+
|
113
|
+
# Cop supports --auto-correct.
|
114
|
+
# Configuration parameters: IncludeSemanticChanges.
|
115
|
+
Style/NonNilCheck:
|
116
|
+
Exclude:
|
117
|
+
# - 'lib/messagex.rb'
|
118
|
+
|
119
|
+
# Cop supports --auto-correct.
|
120
|
+
Style/StderrPuts:
|
121
|
+
Exclude:
|
122
|
+
# - 'lib/messagex.rb'
|
123
|
+
|
124
|
+
# Cop supports --auto-correct.
|
125
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
126
|
+
# SupportedStyles: single_quotes, double_quotes
|
127
|
+
Style/StringLiterals:
|
128
|
+
Exclude:
|
129
|
+
# - 'lib/messagex.rb'
|
130
|
+
# - 'lib/messagex/loggerx.rb'
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
messagex (0.1.2)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ast (2.4.0)
|
10
|
+
diff-lcs (1.3)
|
11
|
+
jaro_winkler (1.5.2)
|
12
|
+
parallel (1.17.0)
|
13
|
+
parser (2.6.3.0)
|
14
|
+
ast (~> 2.4.0)
|
15
|
+
rainbow (3.0.0)
|
16
|
+
rake (10.5.0)
|
17
|
+
rspec (3.8.0)
|
18
|
+
rspec-core (~> 3.8.0)
|
19
|
+
rspec-expectations (~> 3.8.0)
|
20
|
+
rspec-mocks (~> 3.8.0)
|
21
|
+
rspec-core (3.8.0)
|
22
|
+
rspec-support (~> 3.8.0)
|
23
|
+
rspec-expectations (3.8.2)
|
24
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
+
rspec-support (~> 3.8.0)
|
26
|
+
rspec-mocks (3.8.0)
|
27
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
28
|
+
rspec-support (~> 3.8.0)
|
29
|
+
rspec-support (3.8.0)
|
30
|
+
rubocop (0.68.1)
|
31
|
+
jaro_winkler (~> 1.5.1)
|
32
|
+
parallel (~> 1.10)
|
33
|
+
parser (>= 2.5, != 2.5.1.1)
|
34
|
+
rainbow (>= 2.2.2, < 4.0)
|
35
|
+
ruby-progressbar (~> 1.7)
|
36
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
37
|
+
rubocop-performance (1.2.0)
|
38
|
+
rubocop (>= 0.68.0)
|
39
|
+
ruby-progressbar (1.10.0)
|
40
|
+
unicode-display_width (1.5.0)
|
41
|
+
|
42
|
+
PLATFORMS
|
43
|
+
ruby
|
44
|
+
|
45
|
+
DEPENDENCIES
|
46
|
+
bundler (~> 2.0)
|
47
|
+
messagex!
|
48
|
+
rake (~> 10.0)
|
49
|
+
rspec (~> 3.0)
|
50
|
+
rubocop
|
51
|
+
rubocop-performance
|
52
|
+
|
53
|
+
BUNDLED WITH
|
54
|
+
2.0.1
|
data/lib/messagex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messagex
|
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
|
- yasuo kominami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -89,8 +89,11 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- ".gitignore"
|
91
91
|
- ".rspec"
|
92
|
+
- ".rubocop.yml"
|
93
|
+
- ".rubocop_todo.yml"
|
92
94
|
- ".travis.yml"
|
93
95
|
- Gemfile
|
96
|
+
- Gemfile.lock
|
94
97
|
- LICENSE.txt
|
95
98
|
- README.md
|
96
99
|
- Rakefile
|