jb 0.1.0 → 0.1.1

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: ffc5acc53f7bb862bfca14507e1fece84d5445d5
4
- data.tar.gz: 302de13ca7cf90bac12c54d2d9e8dc5fad269fa9
3
+ metadata.gz: 4a9a695209a26ce29bec15c3875242b2681f33df
4
+ data.tar.gz: 2b5a75df2740953a69f6a6e8c2703e4b2bdf1f13
5
5
  SHA512:
6
- metadata.gz: fb23a6af7e5c6075b4f9c79abaa9e2aab1220605b890fd2b1cb3c9875b2d2ee8b3c0c91a27f4bbe2066421c386be6c6640b39cbdd6f1c86a8bb4fe433ef5a410
7
- data.tar.gz: 4eaec5469d4e4784691fc75af058b7a197d62b0379e2b228e023eafff69cac288d9bf89e2ffa10fb158df4929731362c64a12a5597b99bb85d4ec8a7c7cbe526
6
+ metadata.gz: 2ebedcd7cc5498c5143ad74121dbd7ddfa5cf4fcb8f0089a1d26b7b92fe3b01d6c41399bf73c9b971f9535569344ad0200bf1c12b40d02667a1419ce7b168f21
7
+ data.tar.gz: 3beb62bd3a5024b9fb0af6f7f948a712bc161f5fe509aed130f24e38bfe4aafd035586382c895646163a5e9133f17dd23c71ee37504c7ea9ef3db5614fb25826
@@ -36,7 +36,7 @@ module Jb
36
36
  module TemplateRenderer
37
37
  module JSONizer
38
38
  def render_template(template, *)
39
- template.handler == Jb::Handler ? super.to_json : super
39
+ template.respond_to?(:handler) && (template.handler == Jb::Handler) ? super.to_json : super
40
40
  end
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Jb
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-01 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler