scout 5.6.0 → 5.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/lib/scout/server.rb +1 -1
- data/lib/scout/version.rb +1 -1
- data/test/scout_test.rb +3 -3
- metadata +2 -2
data/CHANGELOG.markdown
CHANGED
data/lib/scout/server.rb
CHANGED
@@ -36,7 +36,7 @@ module Scout
|
|
36
36
|
@server_name = server_name
|
37
37
|
@http_proxy = http_proxy
|
38
38
|
@https_proxy = https_proxy
|
39
|
-
@roles =
|
39
|
+
@roles = roles || ''
|
40
40
|
@plugin_plan = []
|
41
41
|
@plugins_with_signature_errors = []
|
42
42
|
@directives = {} # take_snapshots, interval, sleep_interval
|
data/lib/scout/version.rb
CHANGED
data/test/scout_test.rb
CHANGED
@@ -40,7 +40,7 @@ end
|
|
40
40
|
|
41
41
|
class ScoutTest < Test::Unit::TestCase
|
42
42
|
def setup
|
43
|
-
load_fixtures :clients, :accounts, :plugins, :subscriptions, :plugin_metas, :roles, :
|
43
|
+
load_fixtures :clients, :accounts, :plugins, :subscriptions, :plugin_metas, :roles, :plugin_templates, :notification_groups
|
44
44
|
clear_tables :plugin_activities, :ar_descriptors, :summaries, :clients_roles
|
45
45
|
clear_working_dir
|
46
46
|
|
@@ -547,7 +547,7 @@ mybar=100
|
|
547
547
|
assert_equal 2, client.plugins.count
|
548
548
|
|
549
549
|
client.plugins.each do |plugin|
|
550
|
-
assert @app_role.
|
550
|
+
assert @app_role.plugin_templates.include?(plugin.plugin_definition), "#{plugin} should be included in the app role"
|
551
551
|
end
|
552
552
|
|
553
553
|
# second checkin - add a role
|
@@ -563,7 +563,7 @@ mybar=100
|
|
563
563
|
assert_equal 2, client.plugins.count
|
564
564
|
|
565
565
|
client.plugins.each do |plugin|
|
566
|
-
assert @db_role.
|
566
|
+
assert @db_role.plugin_templates.include?(plugin.plugin_definition), "#{plugin} should be included in the db role"
|
567
567
|
end
|
568
568
|
|
569
569
|
end
|
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: 5.6.
|
4
|
+
version: 5.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andre Lewis
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-03-04 00:00:00 -08:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|