roda-component 0.1.39 → 0.1.40

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b43ec69a980cfcb3ac3da75af17fa08e41450ffb
4
- data.tar.gz: 9b5625b6773ea3d772dd5c3cdfcc0e2e275e9bc9
3
+ metadata.gz: 2a05e69fe508a7b44993e39f9b4f53064012fe64
4
+ data.tar.gz: e0fbce838aa675ca5771a36f7df6f2f182beb2b7
5
5
  SHA512:
6
- metadata.gz: 9bdb0a433398dd2b1000cbec6c65ea5feda114f6ad2746b478acb27e603f3bd2211a7d5b8c996ecfc9ca478a7793c0f897e0528ad10ed69893158762295921ca
7
- data.tar.gz: ba295a1c72ec30415e121720b7dfacd0ca7e2ca054031c593048b9e70af1e1bf6fa35eeca16392940e7ebb21ee0f4491cc8bd9271aebba2507951a5d924cbd4d
6
+ metadata.gz: d6ea6bac8aa57c0725ed5ffae60f7d3786c6a2145a7d2630d34cf09c5fcf927e0e4d84604f5b01df6271835f05ac0771c331f45dd0d3651b07330bb4d81b8800
7
+ data.tar.gz: 4c69dda09a238b08ca58edeb20750c2b36619de47ea9405162ade2494d84038467a986725813f34d5b0d55ae4950f0f37452bf90f36ab13d369e9a8c6c73c3c7
@@ -87,6 +87,7 @@ end
87
87
  class Roda
88
88
  class Component
89
89
  def initialize(data = false)
90
+ self
90
91
  end
91
92
 
92
93
  def _initialize(scope = false)
@@ -116,6 +117,8 @@ class Roda
116
117
  $faye.online = false
117
118
  trigger :disconnect
118
119
  end
120
+
121
+ self
119
122
  end
120
123
 
121
124
  end
@@ -421,7 +424,8 @@ class Roda
421
424
  end
422
425
 
423
426
  def load_component name, options = {}
424
- component_opts[:class_name][name].split('::').inject(Object) {|o,c| o.const_get(c)}.new self, options
427
+ # component_opts[:comp][name] ||= component_opts[:class_name][name].split('::').inject(Object) {|o,c| o.const_get(c)}.new self, options
428
+ component_opts[:comp][name]
425
429
  end
426
430
 
427
431
  def render_fields data, options = {}
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.39"
3
+ VERSION = "0.1.40"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj