nhkore 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/lib/nhkore/app.rb +14 -8
- data/lib/nhkore/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a7084fd097785a525cbe62fe59eaaa5a659c84a1673cb8663b3413b70e4e3a9
|
4
|
+
data.tar.gz: 7fd6c701cacc6bcbc2b55d8c33a1f9cefcbff36e39b2ebbb42022ce438188920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e14fa1030416d99ad30c55ecb97b58135641e8008a485fe081104ab3cd177495889c3132015a8310b7aa9eee22e502e83de8378faee48c64785ed502eada4727
|
7
|
+
data.tar.gz: 16a856938c0a598122671cdf39ebaf569a9ec9d260a32f5830b9a21b1a3cf45b0940289c4136c273de1358211653ab3e250dd22bede936d312d4989edbb37cdd
|
data/CHANGELOG.md
CHANGED
@@ -5,10 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
Format is based on [Keep a Changelog v1.0.0](https://keepachangelog.com/en/1.0.0),
|
6
6
|
and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
-
## [[Unreleased]](https://github.com/esotericpig/nhkore/compare/v0.3.
|
8
|
+
## [[Unreleased]](https://github.com/esotericpig/nhkore/compare/v0.3.9...HEAD)
|
9
9
|
-
|
10
10
|
|
11
11
|
|
12
|
+
## [v0.3.9] - 2021-06-26
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
- Reverted `App#refresh_cmd()` back to not copying over the `default_proc` (from v0.3.8). Because the old code didn't know about this, it created some unintended issues with command options. Nothing major, but for example, specifying `output.html` with the `sift` command would not produce HTML output (however, using the `-e html` option still worked). This is the only instance that I know of, but reverting the code back in case of more instances. In the future, I'll need to thoroughly test all CLI options after changing `App#refresh_cmd()` to copy over the `default_proc`, but for now, not worrying about it (as it's not necessary).
|
16
|
+
|
17
|
+
|
12
18
|
## [v0.3.8] - 2021-06-26
|
13
19
|
|
14
20
|
### Fixed
|
data/Gemfile.lock
CHANGED
data/lib/nhkore/app.rb
CHANGED
@@ -506,14 +506,20 @@ module NHKore
|
|
506
506
|
new_opts[key] = value
|
507
507
|
end
|
508
508
|
|
509
|
-
#
|
510
|
-
#
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
509
|
+
# For now don't set the default proc, as the original code
|
510
|
+
# did not have this in mind.
|
511
|
+
# Specifically, SiftCmd.build_sift_filename() is affected by
|
512
|
+
# this due to relying on @cmd_opts[:ext] to be nil.
|
513
|
+
# It's easy to change this one instance, but I'm not sure
|
514
|
+
# at the moment where else might be affected
|
515
|
+
## Cri has a default proc for default values
|
516
|
+
## that doesn't store the keys.
|
517
|
+
#new_opts.default_proc = proc do |hash,key|
|
518
|
+
# # :max_retry => %s(max-retry)
|
519
|
+
# key = key.to_s.gsub('_','-').to_sym
|
520
|
+
#
|
521
|
+
# opts.default_proc.call(hash,key)
|
522
|
+
#end
|
517
523
|
|
518
524
|
@cmd = cmd
|
519
525
|
@cmd_args = args
|
data/lib/nhkore/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nhkore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Bradley Whited
|
@@ -398,7 +398,7 @@ metadata:
|
|
398
398
|
changelog_uri: https://github.com/esotericpig/nhkore/blob/master/CHANGELOG.md
|
399
399
|
post_install_message: |2+
|
400
400
|
|
401
|
-
NHKore v0.3.
|
401
|
+
NHKore v0.3.9
|
402
402
|
|
403
403
|
You can now use [nhkore] on the command line.
|
404
404
|
|
@@ -413,7 +413,7 @@ rdoc_options:
|
|
413
413
|
- "--hyperlink-all"
|
414
414
|
- "--show-hash"
|
415
415
|
- "--title"
|
416
|
-
- NHKore v0.3.
|
416
|
+
- NHKore v0.3.9 Doc
|
417
417
|
- "--main"
|
418
418
|
- README.md
|
419
419
|
require_paths:
|