librex 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +4 -4
- metadata +1 -1
data/Rakefile
CHANGED
|
@@ -50,7 +50,7 @@ task :update do
|
|
|
50
50
|
version[2] = version[2].to_i + 1
|
|
51
51
|
version = version.join(".")
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
print "#{version}"
|
|
54
54
|
|
|
55
55
|
line = "VERSION = \"#{version}\"\n"
|
|
56
56
|
elsif line =~ /^REVISION = (.*)$/
|
|
@@ -83,9 +83,9 @@ task :update do
|
|
|
83
83
|
|
|
84
84
|
system "mv README.markdown.1 README.markdown &> /dev/null"
|
|
85
85
|
|
|
86
|
-
system "git commit -a -m \"Updated for Revision #{rev[1]}\""
|
|
87
|
-
puts "Commiting and Pushing Updates for Revision #{rev[1]}"
|
|
88
|
-
system "git push"
|
|
86
|
+
system "git commit -a -m \"Updated for Revision #{rev[1]}\" &> /dev/null"
|
|
87
|
+
puts "Commiting and Pushing Updates for Revision #{rev[1]} &> /dev/null"
|
|
88
|
+
system "git push &> /dev/null"
|
|
89
89
|
|
|
90
90
|
#Twitter tweet for the update, I am that lazy yes.
|
|
91
91
|
puts "Updated librex to v#{version} based on SVN Revision: #{rev[1]} of the Metasploit rex library. Available in rubygems."
|