rill 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rill.rb +3 -3
  2. metadata +1 -1
@@ -5,13 +5,13 @@ class Rill
5
5
  DEFAULT_CONFIG = {
6
6
  :base => Dir.pwd,
7
7
  :preloads => []
8
- }
8
+ }.freeze
9
9
 
10
10
  def initialize(attrs = nil)
11
- attrs ||= DEFAULT_CONFIG.dup
11
+ attrs = DEFAULT_CONFIG.merge(attrs || {})
12
12
 
13
13
  @base = attrs[:base]
14
- @preloads = attrs[:preloads] || []
14
+ @preloads = attrs[:preloads]
15
15
  end
16
16
 
17
17
  def modules
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: