wunderbar 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wunderbar/rails.rb +2 -2
- data/lib/wunderbar/version.rb +1 -1
- data/wunderbar.gemspec +5 -3
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b4521b8d035a91e55ea1d662c92e728a0a26b40491a04eb4d0e6948b9792477
|
4
|
+
data.tar.gz: b5675b88f029f2372633fb57a8f9da6e4084a9b5d9a224b9bea39af4bdb77b84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d502a3a2059028dd9104d8b4d5ba3f4d8bcd085ba0b850c42e3be9fd67e4ba4c27d366981ef3112afd40f87c870957b6532b26fcd611b76a76561be9e9a5b5
|
7
|
+
data.tar.gz: b8304831865b948f9de3efe1ae81ab51c5de4c6318de95c857fa9ea73a411f78438965dd3b1daaad0b68f51dfe1003cc1cdd05b31e226d98e4b793227b5c89eb
|
data/lib/wunderbar/rails.rb
CHANGED
@@ -7,7 +7,7 @@ module Wunderbar
|
|
7
7
|
cattr_accessor :default_format
|
8
8
|
self.default_format = Mime[:html]
|
9
9
|
|
10
|
-
def self.call(template)
|
10
|
+
def self.call(template, source=nil)
|
11
11
|
%{
|
12
12
|
compiled = Proc.new {#{template.source}}
|
13
13
|
x = Wunderbar::HtmlMarkup.new(self);
|
@@ -24,7 +24,7 @@ module Wunderbar
|
|
24
24
|
cattr_accessor :default_format
|
25
25
|
self.default_format = Mime[:json]
|
26
26
|
|
27
|
-
def self.call(template)
|
27
|
+
def self.call(template, source=nil)
|
28
28
|
%{
|
29
29
|
compiled = Proc.new {#{template.source}}
|
30
30
|
x = Wunderbar::JsonBuilder.new(self);
|
data/lib/wunderbar/version.rb
CHANGED
data/wunderbar.gemspec
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
4
|
+
require 'wunderbar/version'
|
3
5
|
|
4
6
|
Gem::Specification.new do |s|
|
5
7
|
s.name = "wunderbar".freeze
|
6
|
-
s.version =
|
8
|
+
s.version = Wunderbar::VERSION::STRING
|
7
9
|
|
8
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
11
|
s.require_paths = ["lib".freeze]
|
@@ -15,7 +17,7 @@ Gem::Specification.new do |s|
|
|
15
17
|
s.homepage = "http://github.com/rubys/wunderbar".freeze
|
16
18
|
s.licenses = ["MIT".freeze]
|
17
19
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3".freeze)
|
18
|
-
s.rubygems_version = "
|
20
|
+
s.rubygems_version = "3.0.6".freeze
|
19
21
|
s.summary = "HTML Generator and CGI application support".freeze
|
20
22
|
|
21
23
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wunderbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
@@ -105,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
|
-
|
109
|
-
rubygems_version: 2.7.6
|
108
|
+
rubygems_version: 3.0.6
|
110
109
|
signing_key:
|
111
110
|
specification_version: 4
|
112
111
|
summary: HTML Generator and CGI application support
|