yamlr 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +25 -0
- data/.gemtest +0 -0
- data/History.txt +10 -0
- data/Manifest.txt +35 -0
- data/README.txt +53 -0
- data/Rakefile +24 -0
- data/bin/yamlr +68 -0
- data/lib/yamlr.rb +46 -0
- data/lib/yamlr/defaults.rb +78 -0
- data/lib/yamlr/errors.rb +8 -0
- data/lib/yamlr/indicators.rb +25 -0
- data/lib/yamlr/reader.rb +33 -0
- data/lib/yamlr/reader/builder.rb +249 -0
- data/lib/yamlr/reader/format.rb +116 -0
- data/lib/yamlr/reader/node.rb +53 -0
- data/lib/yamlr/reader/parser.rb +68 -0
- data/lib/yamlr/version.rb +3 -0
- data/lib/yamlr/writer.rb +47 -0
- data/lib/yamlr/writer/builder.rb +93 -0
- data/test/files/2009.yml +3 -0
- data/test/files/arrays.yml +15 -0
- data/test/files/blank.yml +0 -0
- data/test/files/comments.yml +17 -0
- data/test/files/hashes.yml +26 -0
- data/test/files/malformed.yml +3 -0
- data/test/files/mixed.yml +12 -0
- data/test/files/nested.yml +9 -0
- data/test/files/split.yml +9 -0
- data/test/test_reader.rb +210 -0
- data/test/test_reader_builder.rb +342 -0
- data/test/test_reader_format.rb +393 -0
- data/test/test_reader_parser.rb +190 -0
- data/test/test_writer.rb +133 -0
- data/test/test_writer_builder.rb +150 -0
- data/test/test_yamlr.rb +185 -0
- data/yamlr.gemspec +36 -0
- metadata +121 -0
data/yamlr.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "yamlr"
|
5
|
+
s.version = "2.0.0.20150322055231"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Step1Profit"]
|
9
|
+
s.date = "2015-03-22"
|
10
|
+
s.description = "Yamlr is a minimal YAML parser written in Ruby."
|
11
|
+
s.email = ["sales@step1profit.com"]
|
12
|
+
s.executables = ["yamlr"]
|
13
|
+
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt", "History.txt"]
|
14
|
+
s.files = [".autotest", "History.txt", "Manifest.txt", "README.txt", "Rakefile", "bin/yamlr", "yamlr.gemspec", "lib/yamlr.rb", "lib/yamlr/defaults.rb", "lib/yamlr/errors.rb", "lib/yamlr/indicators.rb", "lib/yamlr/reader.rb", "lib/yamlr/reader/builder.rb", "lib/yamlr/reader/format.rb", "lib/yamlr/reader/node.rb", "lib/yamlr/reader/parser.rb", "lib/yamlr/version.rb", "lib/yamlr/writer.rb", "lib/yamlr/writer/builder.rb", "test/files/2009.yml", "test/files/arrays.yml", "test/files/blank.yml", "test/files/comments.yml", "test/files/hashes.yml", "test/files/malformed.yml", "test/files/mixed.yml", "test/files/nested.yml", "test/files/split.yml", "test/test_reader.rb", "test/test_reader_builder.rb", "test/test_reader_format.rb", "test/test_reader_parser.rb", "test/test_writer.rb", "test/test_writer_builder.rb", "test/test_yamlr.rb", ".gemtest"]
|
15
|
+
s.homepage = "http://github.com/step1profit/yamlr"
|
16
|
+
s.licenses = ["MIT"]
|
17
|
+
s.rdoc_options = ["--title", "TestYamlr Documentation", "--quiet"]
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
s.rubygems_version = "1.8.23"
|
20
|
+
s.summary = "Yamlr is a minimal YAML parser written in Ruby."
|
21
|
+
|
22
|
+
if s.respond_to? :specification_version then
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_development_dependency(%q<hoe-yard>, [">= 0.1.2"])
|
27
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.13"])
|
28
|
+
else
|
29
|
+
s.add_dependency(%q<hoe-yard>, [">= 0.1.2"])
|
30
|
+
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
31
|
+
end
|
32
|
+
else
|
33
|
+
s.add_dependency(%q<hoe-yard>, [">= 0.1.2"])
|
34
|
+
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
35
|
+
end
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yamlr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Step1Profit
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-03-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: hoe-yard
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.1.2
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.1.2
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: hoe
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.13'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.13'
|
46
|
+
description: Yamlr is a minimal YAML parser written in Ruby.
|
47
|
+
email:
|
48
|
+
- sales@step1profit.com
|
49
|
+
executables:
|
50
|
+
- yamlr
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files:
|
53
|
+
- History.txt
|
54
|
+
- Manifest.txt
|
55
|
+
- README.txt
|
56
|
+
files:
|
57
|
+
- .autotest
|
58
|
+
- History.txt
|
59
|
+
- Manifest.txt
|
60
|
+
- README.txt
|
61
|
+
- Rakefile
|
62
|
+
- bin/yamlr
|
63
|
+
- lib/yamlr.rb
|
64
|
+
- lib/yamlr/defaults.rb
|
65
|
+
- lib/yamlr/errors.rb
|
66
|
+
- lib/yamlr/indicators.rb
|
67
|
+
- lib/yamlr/reader.rb
|
68
|
+
- lib/yamlr/reader/builder.rb
|
69
|
+
- lib/yamlr/reader/format.rb
|
70
|
+
- lib/yamlr/reader/node.rb
|
71
|
+
- lib/yamlr/reader/parser.rb
|
72
|
+
- lib/yamlr/version.rb
|
73
|
+
- lib/yamlr/writer.rb
|
74
|
+
- lib/yamlr/writer/builder.rb
|
75
|
+
- test/files/2009.yml
|
76
|
+
- test/files/arrays.yml
|
77
|
+
- test/files/blank.yml
|
78
|
+
- test/files/comments.yml
|
79
|
+
- test/files/hashes.yml
|
80
|
+
- test/files/malformed.yml
|
81
|
+
- test/files/mixed.yml
|
82
|
+
- test/files/nested.yml
|
83
|
+
- test/files/split.yml
|
84
|
+
- test/test_reader.rb
|
85
|
+
- test/test_reader_builder.rb
|
86
|
+
- test/test_reader_format.rb
|
87
|
+
- test/test_reader_parser.rb
|
88
|
+
- test/test_writer.rb
|
89
|
+
- test/test_writer_builder.rb
|
90
|
+
- test/test_yamlr.rb
|
91
|
+
- yamlr.gemspec
|
92
|
+
- .gemtest
|
93
|
+
homepage: http://github.com/step1profit/yamlr
|
94
|
+
licenses:
|
95
|
+
- MIT
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options:
|
98
|
+
- --title
|
99
|
+
- TestYamlr Documentation
|
100
|
+
- --quiet
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
111
|
+
requirements:
|
112
|
+
- - ! '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
requirements: []
|
116
|
+
rubyforge_project:
|
117
|
+
rubygems_version: 1.8.23
|
118
|
+
signing_key:
|
119
|
+
specification_version: 3
|
120
|
+
summary: Yamlr is a minimal YAML parser written in Ruby.
|
121
|
+
test_files: []
|