rggen-core 0.14.0 → 0.15.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: 2ad3c3965e2c0ac0bea5b0ef6d96ee5edeabb686d6eef675a9331e2754e26ffc
4
- data.tar.gz: 56a3a6ceae64abc9d4f7f0398b3b3cbeb79c80350aef7dfb094c04989497830a
3
+ metadata.gz: ec4c2a7ada4a8af68c0969d9c13ef4b54ff80f176720a88fb52b03d2ad92fbba
4
+ data.tar.gz: 807e8ca8ef6593a44de7f033ddb9ffdbf277715c94cda70ba65556842f39f55c
5
5
  SHA512:
6
- metadata.gz: 4a7bf7db44471e1d49fcec8f9e68d3619a0b63224854332255f4a4f8b0dc6e9f66be4142a25c374dd50d988401c9042fc7610d3ea0d2eaf3c34d83c9b6228f95
7
- data.tar.gz: fea70cddb6c3b99904a7d0bdb20e9f71d112684bf52ebd847314b1368370863a2f05d878b153e638339c0de2bc6e64d9f90aa9a800c493a51eff47dcbe916016
6
+ metadata.gz: 400ddb69015ddc339db84803976e8bbf5e427bc76014288cfb577ef4f817b16dee8ccf529a89371562169d79582092e7a5b96ac1e9dec903c89877890d0fb6da
7
+ data.tar.gz: 95e434257b80b8b27204e6fcb9f366413847f47b5fef71972fbe47fcf8e905f0006dab15a6e9729e1c6f198ca8b0ee3ef96c4e5fab71ad5b91c9618685d511fa
@@ -37,6 +37,10 @@ module RgGen
37
37
  end
38
38
  end
39
39
 
40
+ def version_info
41
+ "#{name} #{version}"
42
+ end
43
+
40
44
  private
41
45
 
42
46
  def extract_version(plugin_module)
@@ -64,8 +68,8 @@ module RgGen
64
68
  @plugins.each { |plugin| plugin.optional_setup(builder) }
65
69
  end
66
70
 
67
- def plugin_versions
68
- @plugins.map { |plugin| [plugin.name, plugin.version] }.to_h
71
+ def version_info
72
+ @plugins.map(&:version_info)
69
73
  end
70
74
  end
71
75
  end
@@ -44,9 +44,8 @@ module RgGen
44
44
  end
45
45
 
46
46
  def verbose_version(builder)
47
- { core: Core::VERSION }
48
- .merge(builder.plugins.plugin_versions)
49
- .map { |(name, version)| " - rggen-#{name} #{version}" }
47
+ ["rggen-core #{Core::VERSION}", *builder.plugins.version_info]
48
+ .map { |version_info| " - #{version_info}" }
50
49
  end
51
50
  end
52
51
  end
@@ -3,7 +3,7 @@
3
3
  module RgGen
4
4
  module Core
5
5
  MAJOR = 0
6
- MINOR = 14
6
+ MINOR = 15
7
7
  PATCH = 0
8
8
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
9
9
  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.14.0
4
+ version: 0.15.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: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2019-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docile
@@ -187,5 +187,5 @@ requirements: []
187
187
  rubygems_version: 3.0.3
188
188
  signing_key:
189
189
  specification_version: 4
190
- summary: rggen-core-0.14.0
190
+ summary: rggen-core-0.15.0
191
191
  test_files: []