k_util 0.0.27 → 0.0.28

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: c613a872941e5e87f4e7de5f4d8572ab1347da1e107c34b26438c7691e1aca43
4
- data.tar.gz: f1c0a56ffb60871e82b0fe4dbe9d7ae7c1d370c6f9b7e8b0dcc463d70bf4eec2
3
+ metadata.gz: 56357183b8ad499df1c975d89323ccadb36320ca5bd0dd8fa32b45189cd50ed8
4
+ data.tar.gz: 8febfec303b8f12ab406b141141e05df8f5110db0425cccf2b27d429a0b1f26a
5
5
  SHA512:
6
- metadata.gz: 01d75ddf3b0b7d500d3fbd3e0c3f9c6ee7421b058560cdfaff2144e2f07ab43f9f9e01dc92f68aff6001a555b6fd70f3166b26230452c5d1856faaef52fd8b98
7
- data.tar.gz: abeb63578932c2e8330c672c3ddd62b5d2ca0661d2e038d9b9f20ec49fbea478b49b2d592750adcc7e4b882fa19d2b377fb2d7ec320b749e6860ac9bd313a1b2
6
+ metadata.gz: d5758d9688a7349352fc3e69255ab50d436dc223c36e061e46fa4a36e6b083fe25ef3f7e6c4ffcbb64ca23f3c84c0dfa73b7e586b24a87c01746388ccfd94a9a
7
+ data.tar.gz: bc915741dbda3cf1d88b9db325aa5d9d70874d61e46e0e042cd5663550a2a08c46deaca5672d9afecc6fca66db7773333ea1732d9dbae4cddc1e2f7bd753bd6c
data/.rubocop.yml CHANGED
@@ -38,7 +38,7 @@ Metrics/MethodLength:
38
38
  Layout/LineLength:
39
39
  Max: 200
40
40
  # Ignores annotate output
41
- IgnoredPatterns: ['\A# \*\*']
41
+ AllowedPatterns: ['\A# \*\*']
42
42
  IgnoreCopDirectives: true
43
43
 
44
44
  Lint/UnusedMethodArgument:
@@ -80,3 +80,7 @@ Style/AccessorGrouping:
80
80
  Layout/SpaceBeforeComma:
81
81
  Enabled: false
82
82
  # My Preferences - End
83
+
84
+ Style/OpenStructUse:
85
+ Exclude:
86
+ - "**/*"
data/Gemfile CHANGED
@@ -16,7 +16,7 @@ group :development, :test do
16
16
  gem 'guard-bundler'
17
17
  gem 'guard-rspec'
18
18
  gem 'guard-rubocop'
19
- gem 'rake', '~> 12.0'
19
+ gem 'rake'
20
20
  gem 'rake-compiler', require: false
21
21
  gem 'rspec', '~> 3.0'
22
22
  gem 'rubocop'
data/hooks/update-version CHANGED
@@ -30,4 +30,4 @@ end
30
30
  output.push('')
31
31
 
32
32
  printf "%-25<label>s : %<version>s\n", label: 'GEM VERSION', version: version
33
- File.open('lib/k_util/version.rb', 'w+') { |f| f.write(output.join("\n")) }
33
+ File.write('lib/k_util/version.rb', output.join("\n"))
data/k_util.gemspec CHANGED
@@ -39,4 +39,5 @@ Gem::Specification.new do |spec|
39
39
  # spec.extensions = ['ext/k_util/extconf.rb']
40
40
 
41
41
  # spec.add_dependency 'tty-box', '~> 0.5.0'
42
+ spec.metadata['rubygems_mfa_required'] = 'true'
42
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KUtil
4
- VERSION = '0.0.27'
4
+ VERSION = '0.0.28'
5
5
  end
data/lib/k_util.rb CHANGED
@@ -27,7 +27,7 @@ module KUtil
27
27
  KUtil.open3 = KUtil::Open3Helper.new
28
28
  end
29
29
 
30
- if ENV['KLUE_DEBUG']&.to_s&.downcase == 'true'
30
+ if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
31
31
  namespace = 'KUtil::Version'
32
32
  file_path = $LOADED_FEATURES.find { |f| f.include?('k_util/version') }
33
33
  version = KUtil::VERSION.ljust(9)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-04 00:00:00.000000000 Z
11
+ date: 2022-06-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " KUtil provides simple utility methods, such as file helpers, data
14
14
  object helpers and more.\n"
@@ -52,6 +52,7 @@ metadata:
52
52
  homepage_uri: http://appydave.com/gems/k-util
53
53
  source_code_uri: https://github.com/klueless-io/k_util
54
54
  changelog_uri: https://github.com/klueless-io/k_util/commits/master
55
+ rubygems_mfa_required: 'true'
55
56
  post_install_message:
56
57
  rdoc_options: []
57
58
  require_paths:
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
70
  requirements: []
70
- rubygems_version: 3.2.33
71
+ rubygems_version: 3.1.6
71
72
  signing_key:
72
73
  specification_version: 4
73
74
  summary: KUtil provides simple utility methods