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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +9 -0
- data/lib/rake/deveiate/docs.rb +1 -1
- data/lib/rake/deveiate/generate.rb +1 -1
- data/lib/rake/deveiate.rb +33 -27
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65b5ce71002a57f74d05e7696e64f28b3c7ba93ced61656801c5c8d8fe2f2d17
|
4
|
+
data.tar.gz: ea28a7eabf415fe52b9535543a4db6e864461d94c5280c9f50239c3ac939933f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
data/lib/rake/deveiate/docs.rb
CHANGED
@@ -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 =
|
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.
|
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.
|
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
|
153
|
-
@options
|
154
|
-
|
155
|
-
@rakefile
|
156
|
-
@manifest_file
|
157
|
-
@project_files
|
158
|
-
@executables
|
159
|
-
@readme_file
|
160
|
-
@history_file
|
161
|
-
@readme
|
162
|
-
@rdoc_files
|
163
|
-
@
|
164
|
-
@
|
165
|
-
@
|
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
|
168
|
+
@release_tag_prefix = DEFAULT_RELEASE_TAG_PREFIX
|
168
169
|
|
169
|
-
@docs_dir
|
170
|
+
@docs_dir = DOCS_DIR.dup
|
170
171
|
|
171
|
-
@title
|
172
|
-
@authors
|
173
|
-
@homepage
|
174
|
-
@description
|
175
|
-
@summary
|
176
|
-
@dependencies
|
177
|
-
@extensions
|
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
|
180
|
+
@default_manifest = DEFAULT_PROJECT_FILES.dup
|
180
181
|
|
181
|
-
@version
|
182
|
-
@publish_to
|
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.
|
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-
|
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
|