blocks 0.8 → 0.9

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/blocks/builder.rb +1 -1
  2. metadata +3 -3
@@ -19,7 +19,7 @@ module Blocks
19
19
  nil
20
20
  end
21
21
 
22
- def replace(name, options, &block)
22
+ def replace(name, options={}, &block)
23
23
  blocks[name.to_sym] = nil
24
24
  define(name, options, block)
25
25
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blocks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 8
9
- version: "0.8"
8
+ - 9
9
+ version: "0.9"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrew Hunter