tagz 9.9.1 → 9.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzc5ZTc2NTRlNjhiNGFkOWZiMzMwM2Y4OWJhOWIyN2ZlMTY0MzkyNA==
4
+ MjYzNWRiYjRkMjIwNjdkYjkzNDUzZjgxMzVlZWFkZGI4MDc5ZGE3Nw==
5
5
  data.tar.gz: !binary |-
6
- NzI3NTM5ZWYzMjg2NjhiM2M1MjE4ODUxZmM3ZDQzNjNiMzgxYzc1Yg==
6
+ ZThkMmJlNzY4MmQ5NzdhNGU1OWE2ZjA4NTEzY2UzOGY3NWZmM2Y2ZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NGJlZWJkODY5ZTIzYjgwYmNhYTg0Nzg5NzgxMTUzMGU3YzA2YTcwNDBmNTUw
10
- ZmVkNzAwYzE3NDk5MjBiZjk2MTY3ZWY3YjFjNjg1NTkxODMwNGYzZjM5ZmYy
11
- MDk0NDc5NzA5OGRkMTM5YTFkMDg0Y2Q4YTdkYjE5ZDRiZmI4MjY=
9
+ Yjg4ZDI4NTFiODRhZjMwZTFhMWIyNmZhZDliNjg2MDZmMGNlZGQ4NTY5N2I3
10
+ NGU1ODA0NDBhODljZWVmMDgxMjdmNThhOTVjYzgyZTFkMzhlYTkwYzc1MzE2
11
+ NzhiNGI2YmZmMGEwNDRjYjZhYThmZTVkZjNiYTdkZDBjZmJiYTQ=
12
12
  data.tar.gz: !binary |-
13
- ZjcyMWFmNDU2YzU1MTM1YzYwZDdlNWJmMGU3YzBkYTUzYjc1NTdkNWM0NjNj
14
- YzJjMDJjNWVlMjM2YTdiMWFkOTM5ZjEzNWViNWY3ZGZhMjM1N2RjNDQ3ZWQw
15
- Mzc5OGJhMDk2YmExNzJkZTliM2M3YmIwZjQ5NWQ1MTVlMzY5ZWU=
13
+ NWRkNGM5Mjc4N2Q4MzhjODcwNzcwMDY2NzYwMjY5NTc1NTQ2OTJiNWU1ODIw
14
+ ZmQ4YjBmN2QwMmY5YTVjOTI3ZTlmYTE1MDEwMDY4MTRmYTI5NGVjNzMwYjcx
15
+ YjI1MGE2YTdkMGI2N2I4OTZhMDc0OTgwY2VmZjA1Yjk2ODYyNzY=
@@ -7,7 +7,7 @@ unless defined? Tagz
7
7
  require 'cgi'
8
8
 
9
9
  def Tagz.version()
10
- '9.9.1'
10
+ '9.9.2'
11
11
  end
12
12
 
13
13
  def Tagz.description
@@ -236,6 +236,10 @@ unless defined? Tagz
236
236
  def html_safe?
237
237
  true
238
238
  end
239
+
240
+ def to_s
241
+ self
242
+ end
239
243
  end
240
244
 
241
245
  class Document < HTMLSafe
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "tagz"
6
- spec.version = "9.9.1"
6
+ spec.version = "9.9.2"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "tagz"
9
9
  spec.description = "\n tagz.rb is generates html, xml, or any sgml variant like a small ninja\n running across the backs of a herd of giraffes swatting of heads like\n a mark-up weedwacker. weighing in at less than 300 lines of code\n tagz.rb adds an html/xml/sgml syntax to ruby that is both unobtrusive,\n safe, and available globally to objects without the need for any\n builder or superfluous objects. tagz.rb is designed for applications\n that generate html to be able to do so easily in any context without\n heavyweight syntax or scoping issues, like a ninja sword through\n butter.\n\n"
@@ -746,4 +746,10 @@ class TagzTest < Test::Unit::TestCase
746
746
  html_safe = Tagz.html_safe(value)
747
747
  assert_equal value.object_id, html_safe.object_id
748
748
  end
749
+
750
+ def test_620
751
+ expected = '<div>&#215;</div>'
752
+ actual = Tagz{ div_{ Tagz.html_safe('&#215;') } }
753
+ assert_equal expected, actual
754
+ end
749
755
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagz
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.9.1
4
+ version: 9.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-26 00:00:00.000000000 Z
11
+ date: 2013-09-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ! "\n tagz.rb is generates html, xml, or any sgml variant like
14
14
  a small ninja\n running across the backs of a herd of giraffes swatting of