rggen-core 0.32.0 → 0.33.0

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: dcbb14dd216582b7b503d8375561dba39eefd175b5b4805a413cd300de7a567a
4
- data.tar.gz: ad41cb0b010b50ea9b92589ee5c83b90a797b9c6757f612b789ac64924ecc1ab
3
+ metadata.gz: 2aeafc6b9c5006079ba7092d6546ac9218c70ce3a23177cae0dcd5d1d3311077
4
+ data.tar.gz: 4619ca5a98de243ba83a1181d50d0588818c3d8c28b8d46e41c9af7b50f3c711
5
5
  SHA512:
6
- metadata.gz: f349b6601893afd5d7ca66e841cb0c0476d8ce29ac53a30a1cc47e1d65fc532ed64b9da36d2790542e064a9d93c8a69b9113529f1aaa1414d09c63655c8719f4
7
- data.tar.gz: a4815c7d1b0c1123a9c6438bb110ed760d2f054728b5e81b24eedf2d6f1e948e1ee5b05810b6506833343a6686bd13508abbf79129c69329b3ae7916a602e09a
6
+ metadata.gz: 4dd425f916899d6432598ee00ba5b03f859108bb30f50782fdd66c9fa52b13ea7d2aa33200375e63dc166e9bda63bd607e14a8da7852d11dfa0d26d729631e3c
7
+ data.tar.gz: a258aa368135ae231c015c13a6892fc7e3520aeec5e12296f834ca26278beb3cc61b3e4d48f0ee64d56e1dad64faa02159c220f55ce93dbbb41ad98b17cc5dc2
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2023 Taichi Ishitani
3
+ Copyright (c) 2017-2024 Taichi Ishitani
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -44,7 +44,7 @@ Feedbacks, bug reports, questions and etc. are wellcome! You can post them by us
44
44
 
45
45
  ## Copyright & License
46
46
 
47
- Copyright © 2017-2023 Taichi Ishitani. RgGen::Core is licensed under the [MIT License](https://opensource.org/licenses/MIT), see [LICENSE](LICENSE) for futher details.
47
+ Copyright © 2017-2024 Taichi Ishitani. RgGen::Core is licensed under the [MIT License](https://opensource.org/licenses/MIT), see [LICENSE](LICENSE) for futher details.
48
48
 
49
49
  ## Code of Conduct
50
50
 
@@ -42,7 +42,7 @@ module RgGen
42
42
  end
43
43
 
44
44
  def find_loader(file)
45
- loaders.find { |l| l.support?(file) } ||
45
+ loaders.reverse_each.find { |l| l.support?(file) } ||
46
46
  (raise Core::LoadError.new('unsupported file type', file))
47
47
  end
48
48
 
@@ -105,15 +105,14 @@ module RgGen
105
105
  option.long_option '--no-default-plugins'
106
106
  option.default false
107
107
  option.action { |_, options| options[:no_default_plugins] = true }
108
- option.description 'Do not load default plugins'
108
+ option.description 'Not load default plugins'
109
109
  end
110
110
 
111
111
  Options.add_option(:plugins) do |option|
112
112
  option.long_option '--plugin PLUGIN[:VERSION]'
113
113
  option.default { [] }
114
114
  option.action { |value, options| options[:plugins] << value.split(':', 2) }
115
- option.description 'Load a RgGen plugin ' \
116
- "(name of plugin/path to 'setup.rb' file)"
115
+ option.description 'Load a RgGen plugin (specify plugin name or path)'
117
116
  end
118
117
 
119
118
  Options.add_option(:configuration) do |option|
@@ -134,7 +133,7 @@ module RgGen
134
133
  Options.add_option(:load_only) do |option|
135
134
  option.long_option '--load-only'
136
135
  option.default false
137
- option.description 'Load setup, configuration and register map ' \
136
+ option.description 'Load plugins, configuration file and register map ' \
138
137
  'files only; write no files'
139
138
  end
140
139
 
@@ -176,7 +175,7 @@ module RgGen
176
175
  option.action do |_value, options|
177
176
  options[:runner] = VersionPrinter.new(true)
178
177
  end
179
- option.description 'Load a setup Ruby file and display verbose version'
178
+ option.description 'Display verbose version'
180
179
  end
181
180
 
182
181
  Options.add_option(:help) do |option|
@@ -2,7 +2,7 @@
2
2
 
3
3
  module RgGen
4
4
  module Core
5
- VERSION = '0.32.0'
5
+ VERSION = '0.33.0'
6
6
  MAJOR, MINOR, PATCH = VERSION.split('.').map(&:to_i)
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rggen-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taichi Ishitani
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-28 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docile
@@ -211,5 +211,5 @@ requirements: []
211
211
  rubygems_version: 3.5.3
212
212
  signing_key:
213
213
  specification_version: 4
214
- summary: rggen-core-0.32.0
214
+ summary: rggen-core-0.33.0
215
215
  test_files: []