scout 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +27 -21
- data/Rakefile +1 -1
- data/bin/scout +1 -1
- data/lib/scout.rb +1 -1
- data/lib/scout/server.rb +9 -7
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
+
== 1.1.4
|
2
|
+
|
3
|
+
* Trim all space from the client key during install
|
4
|
+
* Trying a fix for the plugin removal errors
|
5
|
+
|
1
6
|
== 1.1.3
|
2
7
|
|
3
|
-
* Fixed bug with running plugin using the -p option, new ensure wasn't returning
|
8
|
+
* Fixed bug with running plugin using the -p option, new ensure wasn't returning
|
9
|
+
the data
|
4
10
|
|
5
11
|
== 1.1.2
|
6
12
|
|
@@ -13,16 +19,16 @@
|
|
13
19
|
|
14
20
|
== 1.1.0
|
15
21
|
|
16
|
-
* Using better url.path + url.query if present to properly encode URLs
|
22
|
+
* Using better url.path + url.query if present to properly encode URLs
|
17
23
|
|
18
24
|
== 1.0.9
|
19
25
|
|
20
|
-
* Fixed bug when plugin code would not compile, throws Exception
|
21
|
-
* Added ability to test/call scout on non-https servers (for debugging)
|
22
|
-
* Client now sends client version to server
|
26
|
+
* Fixed bug when plugin code would not compile, throws Exception
|
27
|
+
* Added ability to test/call scout on non-https servers (for debugging)
|
28
|
+
* Client now sends client version to server
|
23
29
|
* Client can send single values (using report, alert, error symbols) or multiple
|
24
|
-
|
25
|
-
* Added test suite, which is now the default rake task
|
30
|
+
values (using reports, alerts, errors symbols)
|
31
|
+
* Added test suite, which is now the default rake task
|
26
32
|
|
27
33
|
== 1.0.8
|
28
34
|
|
@@ -31,41 +37,41 @@
|
|
31
37
|
|
32
38
|
== 1.0.7
|
33
39
|
|
34
|
-
* Increased the plugin timeout to 60 seconds
|
35
|
-
* Added PID file protection to the client so only one copy will run at a time
|
40
|
+
* Increased the plugin timeout to 60 seconds
|
41
|
+
* Added PID file protection to the client so only one copy will run at a time
|
36
42
|
* Fixed a bug that caused the wrong error message to be shown for the case when
|
37
|
-
a plugin times out
|
43
|
+
a plugin times out
|
38
44
|
|
39
45
|
== 1.0.6
|
40
46
|
|
41
|
-
* Improved error backtrace for local testing
|
47
|
+
* Improved error backtrace for local testing
|
42
48
|
|
43
49
|
== 1.0.5
|
44
50
|
|
45
|
-
* Added more documentation to Server and Plugin classes
|
46
|
-
* Fixed an issue where expand_path(~) would not work if HOME was not set
|
47
|
-
|
51
|
+
* Added more documentation to Server and Plugin classes
|
52
|
+
* Fixed an issue where expand_path(~) would not work if HOME was not set, which
|
53
|
+
should help Scout run in OS X's LaunchDaemon using launchd
|
48
54
|
|
49
55
|
== 1.0.4
|
50
56
|
|
51
|
-
* Enhanced the -o option to take a Ruby Hash
|
57
|
+
* Enhanced the -o option to take a Ruby Hash
|
52
58
|
* Fixed an issue where a failed plugin run would cause the client to skip all
|
53
|
-
other plugins
|
59
|
+
other plugins
|
54
60
|
|
55
61
|
== 1.0.3
|
56
62
|
|
57
63
|
* Refactored to allow testing of plugins locally using -p or --plugin option
|
58
|
-
and -o or --plugin-options option
|
64
|
+
and -o or --plugin-options option
|
59
65
|
|
60
66
|
== 1.0.2
|
61
67
|
|
62
|
-
* Updated to use SSL by default for all communication to scout server
|
63
|
-
* Added elif dependency
|
68
|
+
* Updated to use SSL by default for all communication to scout server
|
69
|
+
* Added elif dependency
|
64
70
|
|
65
71
|
== 1.0.1
|
66
72
|
|
67
|
-
* Fixed bug relating to history file – not using specified history file path
|
73
|
+
* Fixed bug relating to history file – not using specified history file path
|
68
74
|
|
69
75
|
== 1.0.0
|
70
76
|
|
71
|
-
* Initial release
|
77
|
+
* Initial release
|
data/Rakefile
CHANGED
@@ -88,7 +88,7 @@ task :publish_scout => [:package] do
|
|
88
88
|
"deploy@gems.scoutapp.com:/var/www/gems/gems"
|
89
89
|
ssh = Net::SSH.start('gems.scoutapp.com','deploy')
|
90
90
|
ssh_shell = ssh.shell.sync
|
91
|
-
ssh_out = ssh_shell.send_command "/usr/bin/
|
91
|
+
ssh_out = ssh_shell.send_command "/usr/bin/gem generate_index -d /var/www/gems"
|
92
92
|
puts "Published, and updated gem server." if ssh_out.stdout.empty? && !ssh_out.stderr
|
93
93
|
end
|
94
94
|
|
data/bin/scout
CHANGED
@@ -127,7 +127,7 @@ if [:client_key, :plugin].all? { |o| options[o].nil? } and
|
|
127
127
|
|
128
128
|
Enter the Client Key:
|
129
129
|
END_INTRO
|
130
|
-
options[:client_key] = gets.to_s.
|
130
|
+
options[:client_key] = gets.to_s.strip
|
131
131
|
|
132
132
|
# puts "Attempting to contact the server..."
|
133
133
|
begin
|
data/lib/scout.rb
CHANGED
data/lib/scout/server.rb
CHANGED
@@ -138,14 +138,16 @@ module Scout
|
|
138
138
|
end
|
139
139
|
data
|
140
140
|
ensure
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
141
|
+
if Plugin.last_defined
|
142
|
+
debug "Removing plugin code..."
|
143
|
+
begin
|
144
|
+
Object.send(:remove_const, Plugin.last_defined.to_s.split("::").first)
|
145
|
+
info "Plugin Removed."
|
146
|
+
rescue
|
147
|
+
error "Unable to remove plugin."
|
148
|
+
end
|
149
|
+
info "Plugin #{plugin[:name]} processing complete."
|
147
150
|
end
|
148
|
-
info "Plugin #{plugin[:name]} processing complete."
|
149
151
|
end
|
150
152
|
|
151
153
|
#
|
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.4
|
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-27 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|