rubber 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubber/environment.rb +8 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -125,14 +125,20 @@ module Rubber
125
125
  class BoundEnv < HashValueProxy
126
126
  attr_reader :roles
127
127
  attr_reader :host
128
- attr_reader :full_host
129
128
 
130
129
  def initialize(global, roles, host)
131
130
  @roles = roles
132
131
  @host = host
133
132
  bound_global = bind_config(global)
134
133
  super(nil, bound_global)
135
- @full_host = "#{host}.#{domain}" rescue nil
134
+ end
135
+
136
+ def full_host
137
+ @full_host ||= "#{host}.#{domain}" rescue nil
138
+ end
139
+
140
+ def rubber_instances
141
+ @rubber_instances ||= Rubber::Configuration::rubber_instances
136
142
  end
137
143
 
138
144
  # Forces role/host overrides into config
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Conway