rig 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ module Rig
33
33
 
34
34
  def find_by_nick(name)
35
35
  (role, env) = name.match(/(\w+)\.(\w+)/)[1..2]
36
- find_by_role_and_environment(role, env).select {|s| s.tags['Name'] =~ /^#{role}/ }
36
+ find_by_environment(env).select {|s| s.tags['Name'] =~ /^#{role}/ }
37
37
  end
38
38
 
39
39
  def create(opts, tags={})
data/lib/rig/version.rb CHANGED
@@ -3,7 +3,7 @@ unless defined?(Rig::Version)
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- TINY = 2
6
+ TINY = 3
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: