testdata_text 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/testdata.xsl +9 -13
- data/lib/testdata.xsl~ +61 -0
- metadata +45 -30
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6896f9acee4803dde05185e61b2f7614a2d7f3a0
|
4
|
+
data.tar.gz: b9d7a037d57dfd85b1c0ecdf12fabde625eb48b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 826381bd4db68e4280470eccd93dd232c0945b3164ebd5b3456c11eeca331e749f269fc8eadc377c4181b9fb5b57f531f5cf699bf996f9caa260f10feb6517a7
|
7
|
+
data.tar.gz: 6b20912003f2f28c910112cc51cb27e3cedc37db807b13414087f092d24882b42b6f04b32648ad1a17cbfcf6dab1234c85771cef5113b0005704e2d821d63c92
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/testdata.xsl
CHANGED
@@ -2,17 +2,19 @@
|
|
2
2
|
<xsl:output method="xml" indent="yes" />
|
3
3
|
|
4
4
|
<xsl:template match="root">
|
5
|
+
<tests>
|
5
6
|
<summary>
|
6
7
|
<title><xsl:value-of select="summary/title"/></title>
|
7
8
|
<recordx_type>polyrex</recordx_type>
|
8
|
-
<schema>tests/test[path,type,description]/
|
9
|
-
<ruby_version>ruby-1.
|
9
|
+
<schema>tests/test[path,type,description]/{input[*]; output[*]}</schema>
|
10
|
+
<ruby_version>ruby-2.1.2-p25</ruby_version>
|
10
11
|
<script><xsl:value-of select="summary/script"/></script>
|
11
12
|
<test_dir><xsl:value-of select="summary/test_dir"/></test_dir>
|
12
13
|
</summary>
|
13
14
|
<records>
|
14
15
|
<xsl:apply-templates select="item"/>
|
15
16
|
</records>
|
17
|
+
</tests>
|
16
18
|
</xsl:template>
|
17
19
|
|
18
20
|
<xsl:template match="root/item">
|
@@ -30,32 +32,26 @@
|
|
30
32
|
</xsl:template>
|
31
33
|
|
32
34
|
<xsl:template match="input">
|
33
|
-
<
|
35
|
+
<input>
|
34
36
|
<summary>
|
35
|
-
<type>input</type>
|
36
37
|
<xsl:for-each select="item/*">
|
37
38
|
<xsl:copy-of select="."/>
|
38
39
|
</xsl:for-each>
|
39
40
|
</summary>
|
40
41
|
<records/>
|
41
|
-
</
|
42
|
+
</input>
|
42
43
|
</xsl:template>
|
43
44
|
|
44
45
|
<xsl:template match="output">
|
45
|
-
<
|
46
|
+
<output>
|
46
47
|
<summary>
|
47
|
-
<type>output</type>
|
48
48
|
<xsl:for-each select="item/*">
|
49
49
|
<xsl:copy-of select="."/>
|
50
50
|
</xsl:for-each>
|
51
51
|
</summary>
|
52
52
|
<records/>
|
53
|
-
</
|
53
|
+
</output>
|
54
54
|
</xsl:template>
|
55
55
|
|
56
56
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
</xsl:stylesheet>
|
57
|
+
</xsl:stylesheet>
|
data/lib/testdata.xsl~
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
2
|
+
<xsl:output method="xml" indent="yes" />
|
3
|
+
|
4
|
+
<xsl:template match="root">
|
5
|
+
<summary>
|
6
|
+
<title><xsl:value-of select="summary/title"/></title>
|
7
|
+
<recordx_type>polyrex</recordx_type>
|
8
|
+
<schema>tests/test[path,type,description]/io[type,*]</schema>
|
9
|
+
<ruby_version>ruby-1.9.2-p180</ruby_version>
|
10
|
+
<script><xsl:value-of select="summary/script"/></script>
|
11
|
+
<test_dir><xsl:value-of select="summary/test_dir"/></test_dir>
|
12
|
+
</summary>
|
13
|
+
<records>
|
14
|
+
<xsl:apply-templates select="item"/>
|
15
|
+
</records>
|
16
|
+
</xsl:template>
|
17
|
+
|
18
|
+
<xsl:template match="root/item">
|
19
|
+
<test>
|
20
|
+
<summary>
|
21
|
+
<path><xsl:value-of select="path"/></path>
|
22
|
+
<type><xsl:value-of select="type"/></type>
|
23
|
+
<description><xsl:value-of select="type"/></description>
|
24
|
+
</summary>
|
25
|
+
<records>
|
26
|
+
<xsl:apply-templates select="input"/>
|
27
|
+
<xsl:apply-templates select="output"/>
|
28
|
+
</records>
|
29
|
+
</test>
|
30
|
+
</xsl:template>
|
31
|
+
|
32
|
+
<xsl:template match="input">
|
33
|
+
<io>
|
34
|
+
<summary>
|
35
|
+
<type>input</type>
|
36
|
+
<xsl:for-each select="item/*">
|
37
|
+
<xsl:copy-of select="."/>
|
38
|
+
</xsl:for-each>
|
39
|
+
</summary>
|
40
|
+
<records/>
|
41
|
+
</io>
|
42
|
+
</xsl:template>
|
43
|
+
|
44
|
+
<xsl:template match="output">
|
45
|
+
<io>
|
46
|
+
<summary>
|
47
|
+
<type>output</type>
|
48
|
+
<xsl:for-each select="item/*">
|
49
|
+
<xsl:copy-of select="."/>
|
50
|
+
</xsl:for-each>
|
51
|
+
</summary>
|
52
|
+
<records/>
|
53
|
+
</io>
|
54
|
+
</xsl:template>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
</xsl:stylesheet>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testdata_text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,63 +10,78 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhki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kqhkiG9w0BAQUFAAOCAQEAPOWhOIlU
|
27
|
+
1I7itmDkuRVRkmuijVWvyuEGQ2Gbl5MH0avY857x5ZPwhtd+qHPXs1Vkve99QoOf
|
28
|
+
PUac8GLTqMeP2mLjsAwNYmEfd8MaCYOX6vXluVwWgQI5zptlezOaUNmz2USHpTsY
|
29
|
+
kqE0fTKsmXjDU4nn8zYOl9SavU6iYzU7xnqyrzebe41lLwUgD0JIzHQHbytA0zZr
|
30
|
+
UIIbi9Feigu8STFhR8qeAb4D/A09XqjbPqQDHH5VGgyFrFUQ3wKuqkglXHlxN/U9
|
31
|
+
FBR5EYf7KwvXqqdvheRANz9R7jILkep/8OhZyeZ24ooB8m614VibBd1mLL5MnhOG
|
32
|
+
BsYV7iSsJtgaaw==
|
31
33
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
34
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
33
35
|
dependencies:
|
34
36
|
- !ruby/object:Gem::Dependency
|
35
37
|
name: rowx
|
36
38
|
requirement: !ruby/object:Gem::Requirement
|
37
39
|
requirements:
|
38
|
-
- -
|
40
|
+
- - "~>"
|
39
41
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
42
|
+
version: '0.1'
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.1.6
|
41
46
|
type: :runtime
|
42
47
|
prerelease: false
|
43
48
|
version_requirements: !ruby/object:Gem::Requirement
|
44
49
|
requirements:
|
45
|
-
- -
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.1'
|
53
|
+
- - ">="
|
46
54
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
55
|
+
version: 0.1.6
|
48
56
|
- !ruby/object:Gem::Dependency
|
49
57
|
name: nokogiri
|
50
58
|
requirement: !ruby/object:Gem::Requirement
|
51
59
|
requirements:
|
52
|
-
- -
|
60
|
+
- - "~>"
|
53
61
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
62
|
+
version: '1.6'
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.6.2.1
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
68
|
version_requirements: !ruby/object:Gem::Requirement
|
58
69
|
requirements:
|
59
|
-
- -
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.6'
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: 1.6.2.1
|
62
76
|
description:
|
63
77
|
email: james@r0bertson.co.uk
|
64
78
|
executables: []
|
65
79
|
extensions: []
|
66
80
|
extra_rdoc_files: []
|
67
81
|
files:
|
68
|
-
- lib/testdata_text.rb
|
69
82
|
- lib/testdata.xsl
|
83
|
+
- lib/testdata.xsl~
|
84
|
+
- lib/testdata_text.rb
|
70
85
|
homepage: https://github.com/jrobertson/testdata_text
|
71
86
|
licenses:
|
72
87
|
- MIT
|
@@ -77,17 +92,17 @@ require_paths:
|
|
77
92
|
- lib
|
78
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
94
|
requirements:
|
80
|
-
- -
|
95
|
+
- - ">="
|
81
96
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
97
|
+
version: 2.1.2
|
83
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
99
|
requirements:
|
85
|
-
- -
|
100
|
+
- - ">="
|
86
101
|
- !ruby/object:Gem::Version
|
87
102
|
version: '0'
|
88
103
|
requirements: []
|
89
104
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.2.2
|
91
106
|
signing_key:
|
92
107
|
specification_version: 4
|
93
108
|
summary: testdata_text
|
metadata.gz.sig
CHANGED
Binary file
|