builder 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +2 -2
- data/lib/builder/version.rb +1 -1
- data/lib/builder/xmlbase.rb +8 -8
- metadata +17 -17
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 561f240bd6d9e8e7931fd78579159b48c1daf697
|
4
|
+
data.tar.gz: 4ccab08f74ed945a1c4ee50fffe561697eeec1b9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 23d25f69aa4b983c32a2eaf03fd0c73c8c7ea5413adb35f809ae90c1ed0309c2680629fec54efb6abf37099c2954b57ba149ab61fbea8ed5a0694953ae59cb69
|
7
|
+
data.tar.gz: f44e6ae73298f7aa9e70707e6c3e14d80328070850b9c73d53ee982bcc7499bf8d113c9f0c91bf803f0f567a1b66d603c6184d7fd0caac40183798cb6ff41461
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
|
|
12
12
|
begin
|
13
13
|
require 'rubygems'
|
14
14
|
require 'rubygems/package_task'
|
15
|
-
|
15
|
+
require 'rdoc/task'
|
16
16
|
rescue Exception
|
17
17
|
nil
|
18
18
|
end
|
@@ -21,7 +21,7 @@ require './lib/builder/version'
|
|
21
21
|
|
22
22
|
# Determine the current version of the software
|
23
23
|
|
24
|
-
CLOBBER.include('pkg')
|
24
|
+
CLOBBER.include('pkg', 'html')
|
25
25
|
CLEAN.include('pkg/builder-*').include('pkg/blankslate-*').exclude('pkg/*.gem')
|
26
26
|
|
27
27
|
PKG_VERSION = Builder::VERSION
|
data/lib/builder/version.rb
CHANGED
data/lib/builder/xmlbase.rb
CHANGED
@@ -17,14 +17,14 @@ module Builder
|
|
17
17
|
|
18
18
|
# Create an XML markup builder.
|
19
19
|
#
|
20
|
-
# out::
|
21
|
-
#
|
22
|
-
# indent::
|
23
|
-
#
|
24
|
-
# initial::
|
25
|
-
# encoding:: When <tt>encoding</tt> and $KCODE are set to 'utf-8'
|
26
|
-
#
|
27
|
-
#
|
20
|
+
# out :: Object receiving the markup. +out+ must respond to
|
21
|
+
# <tt><<</tt>.
|
22
|
+
# indent :: Number of spaces used for indentation (0 implies no
|
23
|
+
# indentation and no line breaks).
|
24
|
+
# initial :: Level of initial indentation.
|
25
|
+
# encoding :: When <tt>encoding</tt> and $KCODE are set to 'utf-8'
|
26
|
+
# characters aren't converted to character entities in
|
27
|
+
# the output stream.
|
28
28
|
def initialize(indent=0, initial=0, encoding='utf-8')
|
29
29
|
@indent = indent
|
30
30
|
@level = initial
|
metadata
CHANGED
@@ -1,31 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
5
|
-
prerelease:
|
4
|
+
version: 3.2.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jim Weirich
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
15
|
-
data
|
16
|
-
|
13
|
+
description: |
|
14
|
+
Builder provides a number of builder objects that make creating structured data
|
17
15
|
simple to do. Currently the following builder objects are supported:
|
18
16
|
|
19
|
-
|
20
17
|
* XML Markup
|
21
|
-
|
22
18
|
* XML Events
|
23
|
-
|
24
|
-
'
|
25
19
|
email: jim.weirich@gmail.com
|
26
20
|
executables: []
|
27
21
|
extensions: []
|
28
|
-
extra_rdoc_files:
|
22
|
+
extra_rdoc_files:
|
23
|
+
- CHANGES
|
24
|
+
- MIT-LICENSE
|
25
|
+
- README.md
|
26
|
+
- Rakefile
|
27
|
+
- doc/releases/builder-1.2.4.rdoc
|
28
|
+
- doc/releases/builder-2.0.0.rdoc
|
29
|
+
- doc/releases/builder-2.1.1.rdoc
|
29
30
|
files:
|
30
31
|
- CHANGES
|
31
32
|
- MIT-LICENSE
|
@@ -56,6 +57,7 @@ files:
|
|
56
57
|
homepage: http://onestepback.org
|
57
58
|
licenses:
|
58
59
|
- MIT
|
60
|
+
metadata: {}
|
59
61
|
post_install_message:
|
60
62
|
rdoc_options:
|
61
63
|
- --title
|
@@ -66,22 +68,20 @@ rdoc_options:
|
|
66
68
|
require_paths:
|
67
69
|
- lib
|
68
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
71
|
requirements:
|
71
|
-
- -
|
72
|
+
- - '>='
|
72
73
|
- !ruby/object:Gem::Version
|
73
74
|
version: '0'
|
74
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - '>='
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version:
|
82
|
+
rubygems_version: 2.0.3
|
83
83
|
signing_key:
|
84
|
-
specification_version:
|
84
|
+
specification_version: 4
|
85
85
|
summary: Builders for MarkUp.
|
86
86
|
test_files:
|
87
87
|
- test/test_blankslate.rb
|