drumherum 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/drumherum/smart_init.rb +5 -1
  2. data/version.rb +1 -1
  3. metadata +2 -2
@@ -76,7 +76,11 @@ module Drumherum
76
76
  # @return [Array]
77
77
  #
78
78
  def directory_main
79
- @directory_main || []
79
+ if defined? @directory_main
80
+ @directory_main
81
+ else
82
+ []
83
+ end
80
84
  end
81
85
 
82
86
 
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Drumherum
3
3
 
4
- VERSION = '0.1.24'
4
+ VERSION = '0.1.25'
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drumherum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2012-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc