jbuilder-jpartial 0.2.1 → 0.2.2

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: c861847466f247a2a0bf573cf5bed5cd32a651dd
4
- data.tar.gz: 98504d4e424a66d73cfa674373b5dc298ae72aa0
3
+ metadata.gz: 42e8fbd77867fa4d90c7d865f933b404a329f3fb
4
+ data.tar.gz: 3e7f13140faae6c03e01e9015aaff88fcc2883d9
5
5
  SHA512:
6
- metadata.gz: 640dbcf9cabb2acee3aafbca3fe5d42f07d6647d8588b548cad2cd649e302473c7d548e0483b2b149bb580c3e93b9c5e66a74a64eccfa807aa3928dae4be50ff
7
- data.tar.gz: aed6a8bd528ee1e69664721e32530f48208a52edbdd08467d07e678eb63f279f77b449183c65631614741742834532aa50aa65f786f0a19c4c1b47ba4023c574
6
+ metadata.gz: 534e7ce5e4c792f5dd3fd1a2d6658d02f83ceac15eb56f5b401c5577fc221a655d03487250f5d05885cde5156c31ab6cf9b469e32dda6c3dbcc5bc5ba321b43c
7
+ data.tar.gz: 466c8f6948aceeadd94cbfdda4a938510acf60d484e1140e34f3bd7afc48f24733076f0f2441e0314637b3dd041c923e6828c517ede6fd79bc1d360fc82c7fbd
@@ -11,7 +11,7 @@ class Jbuilder
11
11
  def self.call(template)
12
12
  %{__already_defined = defined?(json); json||=JbuilderTemplate.new(self);
13
13
  jpartial||=Jbuilder::Jpartial::Template.new;
14
- #{template.source} json.target! unless
14
+ #{template.source}; json.target! unless
15
15
  (__already_defined && __already_defined != "method")}
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  class Jbuilder
2
2
  module Jpartial
3
- VERSION = '0.2.1'.freeze
3
+ VERSION = '0.2.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbuilder-jpartial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Simon Borg