discharger 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/discharger/task.rb +9 -0
- data/lib/discharger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17e1cf49832de6e2bbcf990289907684435990aa6b249e9dcba721a2f9c59ab0
|
4
|
+
data.tar.gz: dc11af6aa1fe45414c9e2dcd953ec900f54142bbbcc9ed527894b62aedb8c2db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb76119976ac98d572e4aeb634a552e955d02e67978c9836e146754e03745def4366efc65962a540baf1bcc80b0a209d36cb4d2298aab9c406e25d7908504191
|
7
|
+
data.tar.gz: 8fc37f62ff0cff71f49faf68399405ed054605a504050a395ef0a2fb103b0c6b34d620474711bc11fc522ecba6e44669baf0d02f44de1b9fbb7d662bbfcea534
|
data/lib/discharger/task.rb
CHANGED
@@ -8,6 +8,15 @@ module Discharger
|
|
8
8
|
def self.create(name = :release, &block)
|
9
9
|
task = new(name)
|
10
10
|
task.instance_eval(&block) if block
|
11
|
+
Reissue::Task.create do |reissue|
|
12
|
+
reissue.version_file = task.version_file
|
13
|
+
reissue.version_limit = task.version_limit
|
14
|
+
reissue.version_redo_proc = task.version_redo_proc
|
15
|
+
reissue.changelog_file = task.changelog_file
|
16
|
+
reissue.updated_paths = task.updated_paths
|
17
|
+
reissue.commit = task.commit
|
18
|
+
reissue.commit_finalize = task.commit
|
19
|
+
end
|
11
20
|
task.define
|
12
21
|
task
|
13
22
|
end
|
data/lib/discharger/version.rb
CHANGED