tagz 9.10.0 → 9.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +2 -2
  3. data/lib/tagz.rb +3 -3
  4. data/samples/e.rb +1 -1
  5. data/tagz.gemspec +2 -2
  6. metadata +8 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 478bf0f9a8f4036066f899c902be996b8ef7975a
4
- data.tar.gz: acee185297edb60d1abf2e5365db76159e1336e7
2
+ SHA256:
3
+ metadata.gz: 4e6efbbb1de1c3477185a40990f82bd6953f15b30807e42949c218dc9c206388
4
+ data.tar.gz: d5835b950ca08e606cb440637427fae8451ce4b37596032f0c773472efa5a3c4
5
5
  SHA512:
6
- metadata.gz: 96720bc0b931ef870932f3c4569f8879528a954cc587a54aaa14be88fa170dd8cb75b63fbe07c9887236d82a80692a98ce9e1404574e588c29cfd0777b903b87
7
- data.tar.gz: 87edf9d27135d1e25fc6a2425f85ca0e3c3f5d0f403007022f248e05c0e240a31eafd002a3f1cab0faaa6dd3b29367b1435a08b346b24a9ec0d7fedec0ca58b7
6
+ metadata.gz: 804d31d29729072f5be2eda0b6f1b87f8ad7ff5b19cb9d76d8b2d93690f38af2c40beb2787b7934c97211ab914706a2bae8071ecca816d21508a08ff28cc662e
7
+ data.tar.gz: 23e745efec49c103e9de52e90c4cc96d3f90688032c07635a1dd6bbdd6aaf38905ca344a5f0b1336f0be26834f0b90534d44422abaa4c4944be1f4d82303f897
data/Rakefile CHANGED
@@ -99,7 +99,7 @@ task :gemspec do
99
99
  This.extensions = []
100
100
  extensions = This.extensions
101
101
  %w( Makefile configure extconf.rb ).each do |ext|
102
- extensions << ext if File.exists?(ext)
102
+ extensions << ext if File.exist?(ext)
103
103
  end
104
104
  end
105
105
  extensions = [extensions].flatten.compact
@@ -145,7 +145,7 @@ task :gemspec do
145
145
 
146
146
  spec.extensions.push(*<%= extensions.inspect %>)
147
147
 
148
- spec.rubyforge_project = <%= This.rubyforge_project.inspect %>
148
+ spec.required_ruby_version = '>= 2'
149
149
  spec.author = <%= This.author.inspect %>
150
150
  spec.email = <%= This.email.inspect %>
151
151
  spec.homepage = <%= This.homepage.inspect %>
data/lib/tagz.rb CHANGED
@@ -7,7 +7,7 @@ unless defined? Tagz
7
7
  require 'cgi'
8
8
 
9
9
  def Tagz.version()
10
- '9.10.0'
10
+ '9.11.0'
11
11
  end
12
12
 
13
13
  def Tagz.description
@@ -64,7 +64,7 @@ unless defined? Tagz
64
64
  def tagz__(name, *argv, &block)
65
65
  options = argv.last.is_a?(Hash) ? argv.pop : {}
66
66
  content = argv
67
- attributes = ''
67
+ attributes = +''
68
68
 
69
69
  unless options.empty?
70
70
  booleans = []
@@ -305,7 +305,7 @@ unless defined? Tagz
305
305
  class Element < ::String
306
306
  def Element.attributes(options)
307
307
  unless options.empty?
308
- ' ' <<
308
+ +' ' <<
309
309
  options.map do |key, value|
310
310
  key = Tagz.escape_key(key)
311
311
  value = Tagz.escape_value(value)
data/samples/e.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  #
3
3
  # tagz.rb allows a safer method of mixin which requires any tagz methods to be
4
- # insider a tagz block - tagz generating methods outside a tagz block with
4
+ # inside a tagz block - tagz generating methods outside a tagz block with
5
5
  # raise an error if tagz is included this way. also notice that the error is
6
6
  # reported from where it was raised - not from the bowels of the the tagz.rb
7
7
  # lib.
data/tagz.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "tagz"
6
- spec.version = "9.10.0"
6
+ spec.version = "9.11.0"
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"
@@ -39,7 +39,7 @@ Gem::Specification::new do |spec|
39
39
 
40
40
  spec.extensions.push(*[])
41
41
 
42
- spec.rubyforge_project = "codeforpeople"
42
+ spec.required_ruby_version = '>= 2'
43
43
  spec.author = "Ara T. Howard"
44
44
  spec.email = "ara.t.howard@gmail.com"
45
45
  spec.homepage = "https://github.com/ahoward/tagz"
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.10.0
4
+ version: 9.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2024-08-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2+
14
14
 
@@ -45,7 +45,7 @@ homepage: https://github.com/ahoward/tagz
45
45
  licenses:
46
46
  - Ruby
47
47
  metadata: {}
48
- post_install_message:
48
+ post_install_message:
49
49
  rdoc_options: []
50
50
  require_paths:
51
51
  - lib
@@ -53,17 +53,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: '0'
56
+ version: '2'
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubyforge_project: codeforpeople
64
- rubygems_version: 2.6.8
65
- signing_key:
63
+ rubygems_version: 3.5.11
64
+ signing_key:
66
65
  specification_version: 4
67
66
  summary: tagz
68
67
  test_files: []
69
- has_rdoc:
68
+ ...