scout 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/Rakefile +3 -4
- data/lib/scout.rb +1 -1
- data/lib/scout/server.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -10,7 +10,6 @@ require "rubyforge"
|
|
10
10
|
dir = File.dirname(__FILE__)
|
11
11
|
lib = File.join(dir, "lib", "scout.rb")
|
12
12
|
version = File.read(lib)[/^\s*VERSION\s*=\s*(['"])(\d\.\d\.\d)\1/, 2]
|
13
|
-
puts version
|
14
13
|
history = File.read("CHANGELOG").split(/^(===.*)/)
|
15
14
|
changes ||= history[0..2].join.strip
|
16
15
|
|
@@ -80,7 +79,7 @@ end
|
|
80
79
|
|
81
80
|
desc "Publish Gem to Scout Gem Server"
|
82
81
|
task :publish => [:package] do
|
83
|
-
pkg = "pkg/#{spec.name}-#{
|
82
|
+
pkg = "pkg/#{spec.name}-#{version}"
|
84
83
|
|
85
84
|
if $DEBUG then
|
86
85
|
puts "release_id = rf.add_release #{spec.rubyforge_project.inspect}, #{spec.name.inspect}, #{spec.version.inspect}, \"#{pkg}.tgz\""
|
@@ -101,8 +100,8 @@ task :publish => [:package] do
|
|
101
100
|
(need_zip ? "#{pkg}.zip" : nil),
|
102
101
|
"#{pkg}.gem"].compact
|
103
102
|
|
104
|
-
puts "Releasing #{spec.name} v. #{
|
105
|
-
rf.add_release spec.rubyforge_project, spec.name,
|
103
|
+
puts "Releasing #{spec.name} v. #{version}"
|
104
|
+
rf.add_release spec.rubyforge_project, spec.name, version, *files
|
106
105
|
|
107
106
|
puts "Publishing on Scout Server"
|
108
107
|
sh "scp -r pkg/*.gem " +
|
data/lib/scout.rb
CHANGED
data/lib/scout/server.rb
CHANGED
@@ -82,7 +82,7 @@ module Scout
|
|
82
82
|
last_run = @history["last_runs"][plugin[:name]]
|
83
83
|
memory = @history["memory"][plugin[:name]]
|
84
84
|
run_time = Time.now
|
85
|
-
if last_run.nil? or run_time
|
85
|
+
if last_run.nil? or run_time >= last_run + plugin[:interval]
|
86
86
|
debug "Plugin is past interval and needs to be run. " +
|
87
87
|
"(last run: #{last_run || 'nil'})"
|
88
88
|
debug "Compiling plugin..."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Highgroove Studios
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-03-
|
12
|
+
date: 2008-03-18 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|