hoe-manns 1.3.0 → 1.4.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.rdoc +6 -0
- data/VERSION +1 -1
- data/lib/hoe/manns.rb +22 -2
- data/recipes/recipe.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d67669c8d0e1b2747188a19facfc57bcb10b5b0
|
4
|
+
data.tar.gz: b1448fb1910462f7b1a0230590a970f9ffb014cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5718e83b23eb4ee3fe7638287eaf2b8716d54f8542aadb51ef2a027d880b4aaec93d2b59df3f52b704fecd9d3de4a9f38022a650e7b7020a449a8b8f65ffb569
|
7
|
+
data.tar.gz: ee8baa594f49b981405f507a103c858a43e3581b9766105e67b42f6fca2bff8d21faa90d7017d2fe0fcecd453bb16cc5bb37a552b217ac09163273e9bab466d7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
data/lib/hoe/manns.rb
CHANGED
@@ -11,11 +11,12 @@
|
|
11
11
|
# Main module for hoe-manns
|
12
12
|
module Hoe::Manns
|
13
13
|
# Version constant for HOE::Manns
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.4.0'
|
15
15
|
|
16
16
|
attr_accessor :remove_pre_gemspec
|
17
17
|
attr_accessor :update_index
|
18
18
|
attr_accessor :copy_manuals
|
19
|
+
attr_accessor :copy_master
|
19
20
|
attr_accessor :copy_mirror
|
20
21
|
attr_accessor :copy_wiki
|
21
22
|
attr_accessor :run_before_release
|
@@ -78,10 +79,16 @@ module Hoe::Manns
|
|
78
79
|
Hoe::Manns.copy_mirror_method
|
79
80
|
end
|
80
81
|
|
82
|
+
# Rake Task for git tag
|
83
|
+
desc 'Copy master'
|
84
|
+
task :copy_master do
|
85
|
+
Hoe::Manns.copy_master
|
86
|
+
end
|
87
|
+
|
81
88
|
# Rake Task for running needed Rake Tasks before running rake release
|
82
89
|
desc 'Run all tasks before rake release'
|
83
90
|
task :run_before_release => %w(git:manifest bundler:gemfile bundler:gemfile_lock update_index gem:spec_remove
|
84
|
-
update_workspace bundle_audit:run copy_mirror) do
|
91
|
+
update_workspace bundle_audit:run copy_mirror copy_master) do
|
85
92
|
puts 'Ready to run rake release VERSION=x.y.z'.colour(:green)
|
86
93
|
end
|
87
94
|
|
@@ -216,6 +223,19 @@ README.rdoc VERSION).each do |i|
|
|
216
223
|
puts 'Copied wiki content'.colour(:green)
|
217
224
|
end
|
218
225
|
|
226
|
+
# Method for git tag
|
227
|
+
def self.copy_master
|
228
|
+
puts 'Checking out master'.colour(:yellow)
|
229
|
+
system('git checkout master')
|
230
|
+
puts 'Merging master with develop'.colour(:yellow)
|
231
|
+
system('git merge develop')
|
232
|
+
puts 'Pushing master to origin'.colour(:yellow)
|
233
|
+
system('git push')
|
234
|
+
puts 'Checking out develop again'.colour(:yellow)
|
235
|
+
system('git checkout develop')
|
236
|
+
puts 'Done'.colour(:green)
|
237
|
+
end
|
238
|
+
|
219
239
|
# Method for getting the project name
|
220
240
|
def self.get_projectname
|
221
241
|
pnameraw = File.open(*Dir.glob('README.*')) { |f| f.readline }
|
data/recipes/recipe.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|