rake-deveiate 0.20.0 → 0.21.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: dc827bc096818d17f2b328faaa1f4029ca3b48c032ecb83570f1c8f6be9be276
4
- data.tar.gz: 3b39a9f41c38b1cd07788b1001ae341156c6cacaa409dab080d50f4114b66bd8
3
+ metadata.gz: 65b5ce71002a57f74d05e7696e64f28b3c7ba93ced61656801c5c8d8fe2f2d17
4
+ data.tar.gz: ea28a7eabf415fe52b9535543a4db6e864461d94c5280c9f50239c3ac939933f
5
5
  SHA512:
6
- metadata.gz: 8a8cd73c09517c845067304b1dfc49bb6d1c854fce930f4e23403f459687e0020cf9297187f6a1aa1edb930a1701e92e220478457702b85b1915205af55aa195
7
- data.tar.gz: 7aefe2e0694e8f27eacf25f261d95fad3b95d18d042075083f56503b3beeacf87fdbac2c74030222b02aab88913c272af27c94b8fcc2c339044a2d13eabeafd4
6
+ metadata.gz: 1cbeced71ac02a8768b5cefd890884a406fc2338bb079517ce9ec953fb351ded3ef1d0d3d2c996a5390efed0160fcf6bec2020efcbe5871fa70d0179fcf7fcd5
7
+ data.tar.gz: cd53b12bfead7667c4df31ecbf833ffa156d2aa8bcf0d233af3777919e095c771fc5f22bf7dd0621cd9d4e03dfeb085f4126e01b35ee4e609dafe83e908e4e5c
checksums.yaml.gz.sig CHANGED
Binary file
data/History.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Release History for rake-deveiate
2
2
 
3
3
  ---
4
+
5
+ ## v0.21.0 [2022-11-14] Michael Granger <ged@FaerieMUD.org>
6
+
7
+ Improvements:
8
+
9
+ - Only include plain files in the manifest
10
+ - Allow declaration of alternative RDoc generator
11
+
12
+
4
13
  ## v0.20.0 [2022-09-19] Michael Granger <ged@FaerieMUD.org>
5
14
 
6
15
  Improvements:
@@ -22,7 +22,7 @@ module Rake::DevEiate::Docs
22
22
  RDoc::Task.new( 'docs' ) do |rdoc|
23
23
  rdoc.main = self.readme_file.to_s
24
24
  rdoc.rdoc_files = self.rdoc_files
25
- rdoc.generator = :fivefish
25
+ rdoc.generator = self.rdoc_generator
26
26
  rdoc.title = self.title
27
27
  rdoc.rdoc_dir = Rake::DevEiate::DOCS_DIR.to_s
28
28
  end
@@ -128,7 +128,7 @@ module Rake::DevEiate::Generate
128
128
  ### Task body for the `diff_manifest` task
129
129
  def do_diff_manifest( task, args )
130
130
  Tempfile.open( ['Manifest','.txt'], Rake::DevEiate::PROJECT_DIR ) do |io|
131
- file_list = self.default_manifest.to_a.sort
131
+ file_list = self.default_manifest.select {|pn| File.file?(pn) }.sort
132
132
 
133
133
  io.puts( *file_list )
134
134
  io.flush
data/lib/rake/deveiate.rb CHANGED
@@ -35,7 +35,7 @@ class Rake::DevEiate < Rake::TaskLib
35
35
  VERSION_PATTERN = /VERSION\s*=\s*(?<quote>['"])(?<version>\d+(\.\d+){2}.*)\k<quote>/
36
36
 
37
37
  # The version of this library
38
- VERSION = '0.20.0'
38
+ VERSION = '0.21.0'
39
39
 
40
40
  # The server to release to by default
41
41
  DEFAULT_GEMSERVER = 'https://rubygems.org/'
@@ -149,37 +149,38 @@ class Rake::DevEiate < Rake::TaskLib
149
149
 
150
150
  ### Create the devEiate tasks for a gem with the given +name+.
151
151
  def initialize( name, **options, &block )
152
- @name = validate_gemname( name )
153
- @options = options
154
-
155
- @rakefile = PROJECT_DIR + 'Rakefile'
156
- @manifest_file = DEFAULT_MANIFEST_FILE.dup
157
- @project_files = self.read_manifest
158
- @executables = self.find_executables
159
- @readme_file = self.find_readme
160
- @history_file = self.find_history_file
161
- @readme = self.parse_readme
162
- @rdoc_files = self.make_rdoc_filelist
163
- @cert_files = Rake::FileList[ CERTS_DIR + '*.pem' ]
164
- @licenses = [ DEFAULT_LICENSE ]
165
- @version_from = env( :version_from, as_pathname: true ) ||
152
+ @name = validate_gemname( name )
153
+ @options = options
154
+
155
+ @rakefile = PROJECT_DIR + 'Rakefile'
156
+ @manifest_file = DEFAULT_MANIFEST_FILE.dup
157
+ @project_files = self.read_manifest
158
+ @executables = self.find_executables
159
+ @readme_file = self.find_readme
160
+ @history_file = self.find_history_file
161
+ @readme = self.parse_readme
162
+ @rdoc_files = self.make_rdoc_filelist
163
+ @rdoc_generator = :fivefish
164
+ @cert_files = Rake::FileList[ CERTS_DIR + '*.pem' ]
165
+ @licenses = [ DEFAULT_LICENSE ]
166
+ @version_from = env( :version_from, as_pathname: true ) ||
166
167
  LIB_DIR + "%s.rb" % [ version_file_from(name) ]
167
- @release_tag_prefix = DEFAULT_RELEASE_TAG_PREFIX
168
+ @release_tag_prefix = DEFAULT_RELEASE_TAG_PREFIX
168
169
 
169
- @docs_dir = DOCS_DIR.dup
170
+ @docs_dir = DOCS_DIR.dup
170
171
 
171
- @title = self.extract_default_title
172
- @authors = self.extract_authors
173
- @homepage = self.extract_homepage
174
- @description = self.extract_description || DEFAULT_DESCRIPTION
175
- @summary = nil
176
- @dependencies = self.find_dependencies
177
- @extensions = Rake::FileList.new
172
+ @title = self.extract_default_title
173
+ @authors = self.extract_authors
174
+ @homepage = self.extract_homepage
175
+ @description = self.extract_description || DEFAULT_DESCRIPTION
176
+ @summary = nil
177
+ @dependencies = self.find_dependencies
178
+ @extensions = Rake::FileList.new
178
179
 
179
- @default_manifest = DEFAULT_PROJECT_FILES.dup
180
+ @default_manifest = DEFAULT_PROJECT_FILES.dup
180
181
 
181
- @version = nil
182
- @publish_to = nil
182
+ @version = nil
183
+ @publish_to = nil
183
184
  @required_ruby_version = nil
184
185
 
185
186
  super()
@@ -256,6 +257,11 @@ class Rake::DevEiate < Rake::TaskLib
256
257
  # The files which should be used to generate documentation as a Rake::FileList
257
258
  attr_accessor :rdoc_files
258
259
 
260
+ ##
261
+ # The name of the RDoc generator to use (assumes any necessary dependencies are
262
+ # installed)
263
+ attr_accessor :rdoc_generator
264
+
259
265
  ##
260
266
  # The public cetificates that can be used to verify signed gems
261
267
  attr_accessor :cert_files
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-deveiate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -33,7 +33,7 @@ cert_chain:
33
33
  P5YP5BAbNW+gvd3QHRiWTTuhgHrdDnGdXg93N2M5KHn1ug8BtPLQwlcFwEpKnlLn
34
34
  btEP+7EplFuoiMfd
35
35
  -----END CERTIFICATE-----
36
- date: 2022-09-19 00:00:00.000000000 Z
36
+ date: 2022-11-14 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rake
metadata.gz.sig CHANGED
Binary file