axeml 0.0.6 → 0.0.7
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.
- data/LICENSE +21 -9
- data/README.md +4 -3
- data/VERSION +1 -1
- data/axeml.gemspec +2 -2
- metadata +4 -4
data/LICENSE
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
Copyright (c) 2010 Moritz Heidkamp
|
|
1
|
+
Copyright (c) 2010, Moritz Heidkamp
|
|
2
|
+
All rights reserved.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions are
|
|
6
|
+
met:
|
|
4
7
|
|
|
5
|
-
|
|
8
|
+
* Redistributions of source code must retain the above copyright
|
|
9
|
+
notice, this list of conditions and the following disclaimer.
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer in the
|
|
12
|
+
documentation and/or other materials provided with the distribution.
|
|
6
13
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
15
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
16
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
17
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
18
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
19
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
20
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
21
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
22
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
23
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
24
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AxeML
|
|
2
2
|
|
|
3
|
-
AxeML is a notation for Nokogiri XML documents inspired by [SXML](http://
|
|
3
|
+
AxeML is a notation for Nokogiri XML documents inspired by [SXML](http://en.wikipedia.org/wiki/SXML).
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -13,14 +13,15 @@ element of each array must be a symbol indicating the node
|
|
|
13
13
|
name. Further elements may either be strings or numbers which are
|
|
14
14
|
treated as the node's content, hashes representing this node's
|
|
15
15
|
attributes or further arrays which are then made into child nodes by
|
|
16
|
-
the same rules.
|
|
16
|
+
the same rules. Instances of `ActiveSupport::SafeBuffer` (i.e. strings
|
|
17
|
+
marked as `html_safe`) are injected without quoting.
|
|
17
18
|
|
|
18
19
|
The syntax can be described by the following grammar:
|
|
19
20
|
|
|
20
21
|
node ::= [<node-name>, (<node> | <attributes> | <content>) ...]
|
|
21
22
|
node-name ::= <Symbol>
|
|
22
23
|
attributes ::= <Hash>
|
|
23
|
-
content ::= <String> | <Fixnum> | <Float>
|
|
24
|
+
content ::= <String> | <Fixnum> | <Float> | <ActiveSupport::SafeBuffer>
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
## Example
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.7
|
data/axeml.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{axeml}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.7"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Moritz Heidkamp"]
|
|
12
|
-
s.date = %q{2010-08-
|
|
12
|
+
s.date = %q{2010-08-10}
|
|
13
13
|
s.description = %q{AxeML is a notation for Nokogiri XML documents inspired by SXML}
|
|
14
14
|
s.email = %q{moritz.heidkamp@bevuta.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: axeml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Moritz Heidkamp
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-10 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|