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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efc6697133eb061d2cfa7a864669dada66b69340af39bb64ff120e3f9678c8ed
4
- data.tar.gz: 483ef47514305d740b55016fe43887c680369c0d9b446fa00481de54e2ca7959
3
+ metadata.gz: 8b4521b8d035a91e55ea1d662c92e728a0a26b40491a04eb4d0e6948b9792477
4
+ data.tar.gz: b5675b88f029f2372633fb57a8f9da6e4084a9b5d9a224b9bea39af4bdb77b84
5
5
  SHA512:
6
- metadata.gz: c9861d04f5c6b1104999c297a4248b668c8dfa3ba8139b8bb256a7dd74d2e0e394ad82ff93921b846a231da78c6359d6d5edc789a92825885c1ba4a364860343
7
- data.tar.gz: 5c24836c64c00712a6d267f88d28c8addedcfe296fedea031ec8aa09fe40df696402f17013c86ebae5bef3189bee7893ca222bc599b52b23c3be7b4c1566d8f2
6
+ metadata.gz: 91d502a3a2059028dd9104d8b4d5ba3f4d8bcd085ba0b850c42e3be9fd67e4ba4c27d366981ef3112afd40f87c870957b6532b26fcd611b76a76561be9e9a5b5
7
+ data.tar.gz: b8304831865b948f9de3efe1ae81ab51c5de4c6318de95c857fa9ea73a411f78438965dd3b1daaad0b68f51dfe1003cc1cdd05b31e226d98e4b793227b5c89eb
@@ -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);
@@ -2,7 +2,7 @@ module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,9 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: wunderbar 1.3.2 ruby lib
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 = "1.3.2"
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 = "2.7.6".freeze
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.2
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
- rubyforge_project:
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