arbre 1.0.0.rc3 → 1.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,11 +1,16 @@
1
+ ## 1.0.0.rc4
2
+
3
+ * Fix issue where user could call `symbolize_keys!` on a
4
+ HashWithIndifferentAccess which doesn't implement the method
5
+
1
6
  ## 1.0.0.rc3
2
7
 
3
8
  * Implemented `Arbre::HTML::Tag#default_id_for_prefix`
4
9
 
5
10
  ## 1.0.0.rc2
6
11
 
7
- * Fixed bug where Component's build methods were being rendered within the
8
- parent context.
12
+ * Fixed bug where Component's build methods were being rendered within the
13
+ parent context.
9
14
 
10
15
  ## 1.0.0.rc1
11
16
 
data/lib/arbre/context.rb CHANGED
@@ -4,8 +4,9 @@ module Arbre
4
4
  class Context < Element
5
5
 
6
6
  def initialize(assigns = {}, helpers = nil, &block)
7
- @_assigns = assigns || {}
8
- @_assigns.symbolize_keys!
7
+ assigns = assigns || {}
8
+ @_assigns = assigns.symbolize_keys
9
+
9
10
  @_helpers = helpers
10
11
  @_current_arbre_element_buffer = [self]
11
12
 
data/lib/arbre/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Arbre
2
- VERSION = "1.0.0.rc3"
2
+ VERSION = "1.0.0.rc4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arbre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70108108400940 !ruby/object:Gem::Requirement
16
+ requirement: &70152551527460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70108108400940
24
+ version_requirements: *70152551527460
25
25
  description: An Object Oriented DOM Tree in Ruby
26
26
  email:
27
27
  - gregdbell@gmail.com