breadboard 1.1.0.rc2 → 1.1.0.rc3

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/breadboard/breadboard.rb +1 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0.rc2
1
+ 1.1.0.rc3
@@ -19,9 +19,7 @@ module Breadboard
19
19
  model_superclass_chain.each do |klass|
20
20
  klass_symbol = klass.to_s.to_sym
21
21
  site = config.send(klass_symbol).send(environment) || config.send(klass_symbol).send(:all)
22
- if site and !site.empty?
23
- return site
24
- end
22
+ return site if site
25
23
  end
26
24
  return config.default.send(environment) || config.default.send(:all)
27
25
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breadboard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424033
4
+ hash: 15424035
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 0
10
10
  - rc
11
- - 2
12
- version: 1.1.0.rc2
11
+ - 3
12
+ version: 1.1.0.rc3
13
13
  platform: ruby
14
14
  authors:
15
15
  - Matt Parker