scout 5.6.0 → 5.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ # 5.6.1
2
+
3
+ * send role names exactly as the user entered - makes it easier to debug role name issues
4
+
1
5
  # 5.6.0
2
6
 
3
7
  * added roles
@@ -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 = (roles || '').gsub(/[^a-zA-Z0-9,]/,'')
39
+ @roles = roles || ''
40
40
  @plugin_plan = []
41
41
  @plugins_with_signature_errors = []
42
42
  @directives = {} # take_snapshots, interval, sleep_interval
@@ -1,3 +1,3 @@
1
1
  module Scout
2
- VERSION = "5.6.0"
2
+ VERSION = "5.6.1"
3
3
  end
@@ -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, :plugin_definitions, :notification_groups
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.plugin_definitions.include?(plugin.plugin_definition), "#{plugin} should be included in the 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.plugin_definitions.include?(plugin.plugin_definition), "#{plugin} should be included in the 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.0
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-02-05 00:00:00 -08:00
14
+ date: 2013-03-04 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency