net-dns 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -16
- data/VERSION.yml +2 -2
- data/net-dns.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -27,6 +27,7 @@ end
|
|
27
27
|
|
28
28
|
require 'rake/testtask'
|
29
29
|
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.test_files = FileList.new('test/**/test_*.rb')
|
30
31
|
test.libs << 'lib' << 'test'
|
31
32
|
test.pattern = 'test/**/*_test.rb'
|
32
33
|
test.verbose = true
|
@@ -34,7 +35,7 @@ end
|
|
34
35
|
|
35
36
|
begin
|
36
37
|
require 'rcov/rcovtask'
|
37
|
-
Rcov::RcovTask.new do |test|
|
38
|
+
Rcov::RcovTask.new(:rcov) do |test|
|
38
39
|
test.libs << 'test'
|
39
40
|
test.pattern = 'test/**/*_test.rb'
|
40
41
|
test.verbose = true
|
@@ -89,21 +90,6 @@ rescue LoadError
|
|
89
90
|
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
90
91
|
end
|
91
92
|
|
92
|
-
begin
|
93
|
-
require 'rake/contrib/rubyforgepublisher'
|
94
|
-
|
95
|
-
namespace :rubyforge do
|
96
|
-
|
97
|
-
desc "Upload project on RubyForge"
|
98
|
-
task :upload => [:release] do
|
99
|
-
rubyforge = Rake::RubyForgePublisher.new("net-dns","bluemonk")
|
100
|
-
rubyforge.upload
|
101
|
-
end
|
102
|
-
end
|
103
|
-
rescue LoadError
|
104
|
-
puts "Rake rubyforgePublisher is unavailable or your rubyforge environment is not configured."
|
105
|
-
end
|
106
|
-
|
107
93
|
def egrep(pattern)
|
108
94
|
Dir['**/*.rb'].each do |fn|
|
109
95
|
count = 0
|
data/VERSION.yml
CHANGED
data/net-dns.gemspec
CHANGED