ykxutils 0.1.11 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40a9c8960f5a5f9fdd20a1ffa620987f76c61b90f602c9beae391290232bd224
4
- data.tar.gz: ab77e98dc0de6d80a062e5d263d0d31b5034c1be47754612a3b32a6a86e04953
3
+ metadata.gz: 167c4be663f6870f3b32073e6cf4d31d697d112054653915c5a29f2ce202fd1f
4
+ data.tar.gz: 12214c5815e3bc0c6fdf4c89f4b211097e4bd270fb6dd9fabca1ed65ed1d7fde
5
5
  SHA512:
6
- metadata.gz: 70e64fc12c1bf0b45fc1cdbb7ae8254e962731f707351f3a47293422096ec3049c73fc09eb6ded2a7172bb3909e552712163202ae2e489d8cb5827561714e47b
7
- data.tar.gz: fc0a7733b0c29d19a1872e877e67213d7826e7dda7e5f1c464f568bd968a1114465f073b981c0b3de8576704e7c5d7627548e8564c9187d79eb85a84af58bc19
6
+ metadata.gz: 6e6b44e3fce399d7901b1ab2383449a58126a63bc5b1b3c6fea0c166cb4ad4eb41398ba40ae442ee05677b3525df579b44e3fb765e0d671eb9eb8de9233338d1
7
+ data.tar.gz: d98737567d4c85da02084275c5db7a0570792f968b6ab27ffa5e4cb9e0de8a60bdd68cd26f7a06a29d2d44458dbd98cb94cb2fcd3f98ef31a8346e40922a92f4
data/.rubocop.yml CHANGED
@@ -27,3 +27,12 @@ Layout/LineLength:
27
27
 
28
28
  Style/Documentation:
29
29
  Enabled: false
30
+
31
+ #追加
32
+ #
33
+ Style/StringConcatenation:
34
+ Enabled: false
35
+ #
36
+ Naming/AccessorMethodName:
37
+ Enabled: false
38
+
data/.rubocop_todo.yml CHANGED
@@ -1,156 +1,49 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2023-12-12 09:49:25 UTC using RuboCop version 1.36.0.
3
+ # on 2024-02-06 17:44:56 UTC using RuboCop version 1.59.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: IgnoreImplicitReferences.
11
- Lint/ShadowedArgument:
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13
+ Bundler/OrderedGems:
12
14
  Exclude:
13
- # - 'lib/ykxutils/yamlx.rb'
15
+ # - 'Gemfile'
14
16
 
15
17
  # Offense count: 1
16
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
18
+ # This cop supports safe autocorrection (--autocorrect).
19
+ # Configuration parameters: EnforcedStyle.
20
+ # SupportedStyles: final_newline, final_blank_line
21
+ Layout/TrailingEmptyLines:
22
+ Exclude:
23
+ # - 'Gemfile'
24
+
25
+ # Offense count: 1
26
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
17
27
  Metrics/AbcSize:
18
28
  Max: 19
19
29
 
20
30
  # Offense count: 3
21
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
31
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
22
32
  Metrics/MethodLength:
23
- Max: 15
33
+ Max: 14
24
34
 
25
35
  # Offense count: 1
26
36
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
27
37
  Metrics/ParameterLists:
28
38
  Max: 6
29
39
 
30
- # Offense count: 1
31
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
32
- # AllowedNames: as, at, by, db, id, in, io, ip, of, on, os, pp, to
33
- Naming/MethodParameterName:
34
- Exclude:
35
- # - 'lib/ykxutils/nginxconfigfiles.rb'
36
-
37
- # Offense count: 1
38
- # This cop supports safe autocorrection (--autocorrect).
39
- # Configuration parameters: EnforcedStyle.
40
- # SupportedStyles: be, be_nil
41
- RSpec/BeNil:
42
- Exclude:
43
- # - 'spec/ykxutils_spec.rb'
44
-
45
- # Offense count: 1
46
- RSpec/BeforeAfterAll:
47
- Exclude:
48
- # - 'spec/spec_helper.rb'
49
- # - 'spec/rails_helper.rb'
50
- # - 'spec/support/**/*.rb'
51
- # - 'spec/ykxutils_spec.rb'
52
-
53
40
  # Offense count: 2
54
41
  # Configuration parameters: CountAsOne.
55
42
  RSpec/ExampleLength:
56
- Max: 9
43
+ Max: 8
57
44
 
58
45
  # Offense count: 1
59
46
  # Configuration parameters: AssignmentOnly.
60
47
  RSpec/InstanceVariable:
61
48
  Exclude:
62
49
  # - 'spec/ykxutils_spec.rb'
63
-
64
- # Offense count: 1
65
- RSpec/NoExpectationExample:
66
- Exclude:
67
- # - 'spec/ykxutils_spec.rb'
68
-
69
- # Offense count: 1
70
- # This cop supports safe autocorrection (--autocorrect).
71
- # Configuration parameters: EnforcedStyle.
72
- # SupportedStyles: not_to, to_not
73
- RSpec/NotToNot:
74
- Exclude:
75
- # - 'spec/ykxutils_spec.rb'
76
-
77
- # Offense count: 8
78
- # This cop supports safe autocorrection (--autocorrect).
79
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
80
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
81
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
82
- # FunctionalMethods: let, let!, subject, watch
83
- # AllowedMethods: lambda, proc, it
84
- Style/BlockDelimiters:
85
- Exclude:
86
- # - 'lib/ykxutils/erubyx.rb'
87
- # - 'lib/ykxutils/gridlist.rb'
88
- # - 'lib/ykxutils/nginxconfig.rb'
89
- # - 'lib/ykxutils/nginxconfigfiles.rb'
90
- # - 'spec/ykxutils_spec.rb'
91
-
92
- # Offense count: 5
93
- # This cop supports safe autocorrection (--autocorrect).
94
- Style/ColonMethodCall:
95
- Exclude:
96
- # - 'lib/ykxutils/gridlist.rb'
97
- # - 'lib/ykxutils/nginxconfig.rb'
98
- # - 'spec/ykxutils_spec.rb'
99
-
100
- # Offense count: 1
101
- # This cop supports safe autocorrection (--autocorrect).
102
- Style/EachWithObject:
103
- Exclude:
104
- # - 'spec/ykxutils_spec.rb'
105
-
106
- # Offense count: 3
107
- # This cop supports safe autocorrection (--autocorrect).
108
- # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
109
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
110
- # SupportedShorthandSyntax: always, never, either, consistent
111
- Style/HashSyntax:
112
- Exclude:
113
- # - 'lib/ykxutils/gridlist.rb'
114
-
115
- # Offense count: 2
116
- # This cop supports safe autocorrection (--autocorrect).
117
- Style/IfUnlessModifier:
118
- Exclude:
119
- # - 'lib/ykxutils/erubyx.rb'
120
- # - 'lib/ykxutils/gridlist.rb'
121
-
122
- # Offense count: 1
123
- # This cop supports unsafe autocorrection (--autocorrect-all).
124
- # Configuration parameters: EnforcedStyle.
125
- # SupportedStyles: literals, strict
126
- Style/MutableConstant:
127
- Exclude:
128
- # - 'lib/ykxutils/gridlist.rb'
129
-
130
- # Offense count: 2
131
- # This cop supports safe autocorrection (--autocorrect).
132
- # Configuration parameters: EnforcedStyle, MinBodyLength.
133
- # SupportedStyles: skip_modifier_ifs, always
134
- Style/Next:
135
- Exclude:
136
- # - 'lib/ykxutils/nginxconfig.rb'
137
- # - 'lib/ykxutils/nginxconfigfiles.rb'
138
-
139
- # Offense count: 1
140
- # This cop supports safe autocorrection (--autocorrect).
141
- # Configuration parameters: PreferredDelimiters.
142
- Style/PercentLiteralDelimiters:
143
- Exclude:
144
- # - 'lib/ykxutils/gridlist.rb'
145
-
146
- # Offense count: 45
147
- # This cop supports safe autocorrection (--autocorrect).
148
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
149
- # SupportedStyles: single_quotes, double_quotes
150
- Style/StringLiterals:
151
- Exclude:
152
- # - 'Gemfile'
153
- # - 'lib/ykxutils/erubyx.rb'
154
- # - 'lib/ykxutils/gridlist.rb'
155
- # - 'lib/ykxutils/nginxconfigfiles.rb'
156
- # - 'ykxutils.gemspec'
data/Gemfile CHANGED
@@ -11,12 +11,14 @@ gem "rake", "~> 13.1"
11
11
  gem "tilt"
12
12
 
13
13
  group :development do
14
+ gem "debug"
14
15
  gem "yard"
15
16
  end
16
17
 
17
18
  group :test do
18
19
  gem "rspec", "~> 3.12"
19
20
  gem "rubocop"
21
+ gem "rubocop-performance"
20
22
  gem "rubocop-rake", require: false
21
23
  gem "rubocop-rspec", require: false
22
24
  end
data/Gemfile.lock CHANGED
@@ -1,28 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ykxutils (0.1.10)
5
- bundler
4
+ ykxutils (0.1.13)
6
5
  erubi
7
- rake (~> 13.0)
8
6
  tilt
9
7
 
10
8
  GEM
11
9
  remote: https://rubygems.org/
12
10
  specs:
13
11
  ast (2.4.2)
12
+ debug (1.9.1)
13
+ irb (~> 1.10)
14
+ reline (>= 0.3.8)
14
15
  diff-lcs (1.5.0)
15
16
  erubi (1.12.0)
17
+ io-console (0.7.2)
18
+ irb (1.11.1)
19
+ rdoc
20
+ reline (>= 0.4.2)
16
21
  json (2.7.1)
17
22
  language_server-protocol (3.17.0.3)
18
23
  parallel (1.24.0)
19
24
  parser (3.2.2.4)
20
25
  ast (~> 2.4.1)
21
26
  racc
27
+ psych (5.1.2)
28
+ stringio
22
29
  racc (1.7.3)
23
30
  rainbow (3.1.1)
24
31
  rake (13.1.0)
32
+ rdoc (6.6.2)
33
+ psych (>= 4.0.0)
25
34
  regexp_parser (2.8.3)
35
+ reline (0.4.2)
36
+ io-console (~> 0.5)
26
37
  rexml (3.2.6)
27
38
  rspec (3.12.0)
28
39
  rspec-core (~> 3.12.0)
@@ -64,6 +75,7 @@ GEM
64
75
  rubocop-capybara (~> 2.17)
65
76
  rubocop-factory_bot (~> 2.22)
66
77
  ruby-progressbar (1.13.0)
78
+ stringio (3.1.0)
67
79
  tilt (2.3.0)
68
80
  unicode-display_width (2.5.0)
69
81
  yard (0.9.34)
@@ -73,6 +85,7 @@ PLATFORMS
73
85
 
74
86
  DEPENDENCIES
75
87
  bundler
88
+ debug
76
89
  erubi
77
90
  rake (~> 13.1)
78
91
  rspec (~> 3.12)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ykxutils
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.13"
5
5
  end
@@ -4,7 +4,7 @@ module Ykxutils
4
4
  SUCCESS = 0
5
5
  ARGUMENT_ERROR = 1
6
6
  STANDARD_ERROR = 2
7
-
7
+
8
8
  module_function
9
9
 
10
10
  def yaml_load_file_aliases(yaml_file_path, use_aliases: true)
data/ykxutils.gemspec CHANGED
@@ -31,19 +31,19 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- spec.add_runtime_dependency "bundler"
34
+ # spec.add_runtime_dependency "bundler"
35
35
  # spec.add_runtime_dependency 'debug'
36
36
  spec.add_runtime_dependency "erubi"
37
- spec.add_runtime_dependency "rake", "~> 13.0"
37
+ # spec.add_runtime_dependency "rake", "~> 13.0"
38
38
  spec.add_runtime_dependency "tilt"
39
39
 
40
- spec.add_development_dependency "rspec", "~> 3.0"
41
- spec.add_development_dependency "rubocop"
42
- spec.add_development_dependency "rubocop-performance"
43
- spec.add_development_dependency "rubocop-rake"
44
- spec.add_development_dependency "rubocop-rspec"
40
+ # spec.add_development_dependency "rspec", "~> 3.0"
41
+ # spec.add_development_dependency "rubocop"
42
+ # spec.add_development_dependency "rubocop-performance"
43
+ # spec.add_development_dependency "rubocop-rake"
44
+ # spec.add_development_dependency "rubocop-rspec"
45
45
 
46
- spec.add_development_dependency "yard"
46
+ # spec.add_development_dependency "yard"
47
47
 
48
48
  # Uncomment to register a new dependency of your gem
49
49
  # spec.add_dependency "example-gem", "~> 1.0"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ykxutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - ykominami
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
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: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: erubi
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +24,6 @@ dependencies:
38
24
  - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '13.0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '13.0'
55
27
  - !ruby/object:Gem::Dependency
56
28
  name: tilt
57
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,90 +38,6 @@ dependencies:
66
38
  - - ">="
67
39
  - !ruby/object:Gem::Version
68
40
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.0'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rubocop-performance
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop-rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rubocop-rspec
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: yard
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
41
  description: New version of utilty function created by yk.
154
42
  email:
155
43
  - ykominami@gmail.com
@@ -214,7 +102,7 @@ metadata:
214
102
  homepage_uri: https://ykominami.github.io/ykxutils
215
103
  source_code_uri: https://github.com/ykominami/ykxutils
216
104
  rubygems_mfa_required: 'true'
217
- post_install_message:
105
+ post_install_message:
218
106
  rdoc_options: []
219
107
  require_paths:
220
108
  - lib
@@ -229,8 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
117
  - !ruby/object:Gem::Version
230
118
  version: '0'
231
119
  requirements: []
232
- rubygems_version: 3.3.26
233
- signing_key:
120
+ rubygems_version: 3.5.11
121
+ signing_key:
234
122
  specification_version: 4
235
123
  summary: New version of utilty function created by yk.
236
124
  test_files: []