we_bridge-html_builder 0.1.5 → 0.1.6

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: d5062534ccb1766618dc593810e9a82648f5625f
4
- data.tar.gz: b92dfe224da77c787bda42f190e058064d59a605
3
+ metadata.gz: 6fb406ed6ac4a5bdb627a54de691fbc052e4ec12
4
+ data.tar.gz: cd3f0314fc901b05e978c26ea5c3442bb666a820
5
5
  SHA512:
6
- metadata.gz: b61c26f21d12e4095d1b895f6a435b0d637f8aaf64cd2cb9d1c12cb9a7d5ad5a6043de89a316e46fd7514c06ba435c83740e34cb16d8d11dc71a52f33a9c89a6
7
- data.tar.gz: c471f8c43746fdf09ff5bea9a2781de06f156027022a4571bf37e3943ea0730156e4deef558cef79cb3410f91a5999909d9aed1f1298258ea3620b280abbeb5c
6
+ metadata.gz: 129cd4fc29053aacbb7144ef14756d79812f53e96524995fb004932e1f5ae2506117ed26f45306f0a593397b3c99a3028aa0493b5d390b5dba1d7e601584a16a
7
+ data.tar.gz: ec633fcc9d1cad4ea516fa3ba8fba455c22a0dab88e46cc6792d93b7abf478bdd128a86413b3e2d18ec88e000ea7cc871be46b2ed46d5ac5fd90e2dddcd1d14a
@@ -1,5 +1,5 @@
1
1
  module WeBridge
2
2
  module HtmlBuilder
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -19,8 +19,8 @@ module WeBridge
19
19
 
20
20
  def self.register_template_handler(extension = nil)
21
21
  handler = WeBridge::HtmlBuilder::Handler
22
- ActionView::Template.register_template_handler(extension || handler.default_extension, handler) if defined? ActionView::Template
23
- ActionView::Helpers.__send__(:include,self) if defined? ActionView::Helpers
22
+ ActionView::Template.register_template_handler(extension || handler.default_extension, handler)
23
+ ActionView::Base.__send__(:include,self)
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we_bridge-html_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinjiro Itagaki