deputy 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/deputy.gemspec +1 -1
  3. data/lib/deputy.rb +2 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
data/deputy.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deputy}
8
- s.version = "0.1.12"
8
+ s.version = "0.1.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
data/lib/deputy.rb CHANGED
@@ -45,7 +45,8 @@ class Scout
45
45
  end
46
46
 
47
47
  def self.plugin_in_container(container)
48
- container.constants.map{|constant_name| container.const_get(constant_name)}.first
48
+ constants = container.constants.map{|constant_name| container.const_get(constant_name)}
49
+ constants.detect{|c| c.instance_methods.map{|m| m.to_s}.include?('build_report') }
49
50
  end
50
51
  end
51
52
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 12
9
- version: 0.1.12
8
+ - 13
9
+ version: 0.1.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser