rake-deveiate 0.7.0 → 0.8.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.tar.gz.sig +0 -0
- data/History.md +12 -0
- data/lib/rake/deveiate.rb +1 -1
- data/lib/rake/deveiate/gemspec.rb +14 -0
- data/lib/rake/deveiate/packaging.rb +0 -1
- metadata +4 -4
- 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: 826863a6d2e723f65d7b5b00e255b1223ef2c1028c1e7b29d33eec53104b5e7c
|
4
|
+
data.tar.gz: 1f8c28b641a9a2eacdeb251612949f434c793721d17a8eb854418eb73bd57653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f36bc543901df4b879a2bd7333ab6f38a68d8d145ab8295b634f73a164f2edc0db650e87edf7746648bd4f6319330074131868d94b69d6e98486ad26b0c9d1f4
|
7
|
+
data.tar.gz: 075fd8f23290d83fc1e928b9e972d7d263d3e2adbd0b5a21bdead917e1501d65b405d6b7211f434849590bb10316f6d58c54f4b5c9436c5be0cff410f04e0fa7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# Release History for rake-deveiate
|
2
2
|
|
3
3
|
---
|
4
|
+
|
5
|
+
## v0.8.0 [2020-01-22] Michael Granger <ged@FaerieMUD.org>
|
6
|
+
|
7
|
+
Bugfixes:
|
8
|
+
|
9
|
+
- Fix a `clean` task that was breaking release builds
|
10
|
+
|
11
|
+
Improvements:
|
12
|
+
|
13
|
+
- Add `post_install_message` gemspec accessor
|
14
|
+
|
15
|
+
|
4
16
|
## v0.7.0 [2020-01-09] Michael Granger <ged@FaerieMUD.org>
|
5
17
|
|
6
18
|
Improvements:
|
data/lib/rake/deveiate.rb
CHANGED
@@ -34,7 +34,7 @@ class Rake::DevEiate < Rake::TaskLib
|
|
34
34
|
VERSION_PATTERN = /VERSION\s*=\s*(?<quote>['"])(?<version>\d+(\.\d+){2}.*)\k<quote>/
|
35
35
|
|
36
36
|
# The version of this library
|
37
|
-
VERSION = '0.
|
37
|
+
VERSION = '0.8.0'
|
38
38
|
|
39
39
|
# The server to release to by default
|
40
40
|
DEFAULT_GEMSERVER = 'https://rubygems.org/'
|
@@ -26,15 +26,22 @@ module Rake::DevEiate::Gemspec
|
|
26
26
|
super if defined?( super )
|
27
27
|
|
28
28
|
@signing_key = options[:signing_key] || Gem.default_key_path
|
29
|
+
@post_install_message = options[:post_install_message]
|
29
30
|
|
30
31
|
@gemspec = nil
|
31
32
|
end
|
32
33
|
|
33
34
|
|
35
|
+
##
|
36
|
+
# A message to be displayed after the gem is installed.
|
37
|
+
attr_accessor :post_install_message
|
38
|
+
|
39
|
+
|
34
40
|
### Reset any cached data when project attributes change.
|
35
41
|
def reset
|
36
42
|
super if defined?( super )
|
37
43
|
@gemspec = nil
|
44
|
+
@post_install_message = nil
|
38
45
|
end
|
39
46
|
|
40
47
|
|
@@ -78,6 +85,12 @@ module Rake::DevEiate::Gemspec
|
|
78
85
|
gemspec = self.gemspec
|
79
86
|
gemspec_src = gemspec.to_yaml
|
80
87
|
|
88
|
+
if self.post_install_message
|
89
|
+
self.prompt.say( "Post-install message:", color: :bright_green )
|
90
|
+
self.prompt.say( self.indent(self.post_install_message, 4) )
|
91
|
+
self.prompt.say( "\n" )
|
92
|
+
end
|
93
|
+
|
81
94
|
self.prompt.say( "Gemspec:", color: :bright_green )
|
82
95
|
self.prompt.say( self.indent(gemspec_src, 4) )
|
83
96
|
self.prompt.say( "\n" )
|
@@ -115,6 +128,7 @@ module Rake::DevEiate::Gemspec
|
|
115
128
|
spec.required_ruby_version = self.required_ruby_version if
|
116
129
|
self.required_ruby_version
|
117
130
|
spec.metadata['allowed_push_host'] = self.allowed_push_host if self.allowed_push_host
|
131
|
+
spec.post_install_message = self.post_install_message
|
118
132
|
|
119
133
|
self.authors.each do |author|
|
120
134
|
if ( m = author.match(AUTHOR_PATTERN) )
|
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.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
jBZSA+N+xUTgUWpXjjwsLZjzJkhWATJWq+krNXcqpwXo6HsjmdUxoFMt63RBb+sI
|
35
35
|
XrxOxp8o0uOkU7FdLSGsyqJ2LzsR4obN
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2020-01-
|
37
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rake
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0.
|
87
|
+
version: '0.8'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '0.
|
94
|
+
version: '0.8'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: tty-prompt
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|