librex 0.0.27 → 0.0.28
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 +7 -5
- metadata +2 -2
data/Rakefile
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
task :build => :update do
|
|
4
4
|
Rake::Task['clean'].execute
|
|
5
|
-
|
|
5
|
+
puts "[*] Building librex.gemspec"
|
|
6
|
+
system "gem build librex.gemspec &> /dev/null"
|
|
6
7
|
end
|
|
7
8
|
|
|
8
9
|
task :release => :build do
|
|
9
|
-
|
|
10
|
+
puts "[*] Pushing librex to rubygems.org"
|
|
11
|
+
system "gem push librex-*.gem &> /dev/null"
|
|
10
12
|
Rake::Task['clean'].execute
|
|
11
13
|
end
|
|
12
14
|
|
|
@@ -40,7 +42,7 @@ task :update do
|
|
|
40
42
|
|
|
41
43
|
version = ""
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
print "[*] Updating librex.gemspec with new Version and Revision Number"
|
|
44
46
|
File.open("librex.gemspec.1", "w+") do |output|
|
|
45
47
|
File.open("librex.gemspec", "r") do |input|
|
|
46
48
|
while (line = input.gets)
|
|
@@ -50,7 +52,7 @@ task :update do
|
|
|
50
52
|
version[2] = version[2].to_i + 1
|
|
51
53
|
version = version.join(".")
|
|
52
54
|
|
|
53
|
-
print "#{version}"
|
|
55
|
+
print "#{version}\n"
|
|
54
56
|
|
|
55
57
|
line = "VERSION = \"#{version}\"\n"
|
|
56
58
|
elsif line =~ /^REVISION = (.*)$/
|
|
@@ -84,7 +86,7 @@ task :update do
|
|
|
84
86
|
system "mv README.markdown.1 README.markdown &> /dev/null"
|
|
85
87
|
|
|
86
88
|
system "git commit -a -m \"Updated for Revision #{rev[1]}\" &> /dev/null"
|
|
87
|
-
puts "Commiting and Pushing Updates for Revision #{rev[1]}
|
|
89
|
+
puts "Commiting and Pushing Updates for Revision #{rev[1]}"
|
|
88
90
|
system "git push &> /dev/null"
|
|
89
91
|
|
|
90
92
|
#Twitter tweet for the update, I am that lazy yes.
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: librex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.28
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Metasploit Development Team
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2011-04-
|
|
14
|
+
date: 2011-04-11 00:00:00 -05:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies: []
|
|
17
17
|
|