ytools 0.3.0 → 0.3.1
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/Gemfile +0 -5
- data/Gemfile.lock +3 -3
- data/Rakefile +0 -1
- data/lib/VERSION.yml +2 -2
- data/lib/ytools/basecli.rb +1 -1
- metadata +110 -83
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ytools (0
|
|
5
|
-
choosy (>= 0.4.
|
|
4
|
+
ytools (0)
|
|
5
|
+
choosy (>= 0.4.4)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
@@ -12,7 +12,7 @@ GEM
|
|
|
12
12
|
ZenTest (>= 4.4.1)
|
|
13
13
|
autotest-notification (2.3.1)
|
|
14
14
|
autotest (~> 4.3)
|
|
15
|
-
choosy (0.4.
|
|
15
|
+
choosy (0.4.4)
|
|
16
16
|
diff-lcs (1.1.2)
|
|
17
17
|
rspec (2.5.0)
|
|
18
18
|
rspec-core (~> 2.5.0)
|
data/Rakefile
CHANGED
data/lib/VERSION.yml
CHANGED
data/lib/ytools/basecli.rb
CHANGED
|
@@ -33,7 +33,7 @@ module YTools
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
boolean_ :debug, "Prints out the merged YAML as a ruby object to STDERR."
|
|
36
|
-
version Choosy::Version.
|
|
36
|
+
version Choosy::Version.load_from_parent
|
|
37
37
|
help
|
|
38
38
|
|
|
39
39
|
arguments do
|
metadata
CHANGED
|
@@ -1,140 +1,167 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ytools
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 3
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.3.1
|
|
6
10
|
platform: ruby
|
|
7
|
-
authors:
|
|
11
|
+
authors:
|
|
8
12
|
- Gabe McArthur
|
|
9
13
|
autorequire:
|
|
10
14
|
bindir: bin
|
|
11
15
|
cert_chain: []
|
|
12
|
-
|
|
16
|
+
|
|
17
|
+
date: 2011-03-31 00:00:00 -07:00
|
|
13
18
|
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
- !ruby/object:Gem::Dependency
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
16
21
|
name: choosy
|
|
17
|
-
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
18
24
|
none: false
|
|
19
|
-
requirements:
|
|
20
|
-
- -
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
segments:
|
|
29
|
+
- 0
|
|
30
|
+
- 4
|
|
31
|
+
- 4
|
|
32
|
+
version: 0.4.4
|
|
23
33
|
type: :runtime
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::Dependency
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
27
36
|
name: rspec
|
|
28
|
-
|
|
37
|
+
prerelease: false
|
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
29
39
|
none: false
|
|
30
|
-
requirements:
|
|
31
|
-
- -
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
segments:
|
|
44
|
+
- 0
|
|
45
|
+
version: "0"
|
|
34
46
|
type: :development
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
47
|
+
version_requirements: *id002
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
38
49
|
name: autotest
|
|
39
|
-
|
|
50
|
+
prerelease: false
|
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
40
52
|
none: false
|
|
41
|
-
requirements:
|
|
42
|
-
- -
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
|
|
53
|
+
requirements:
|
|
54
|
+
- - ">="
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
segments:
|
|
57
|
+
- 0
|
|
58
|
+
version: "0"
|
|
45
59
|
type: :development
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- !ruby/object:Gem::Dependency
|
|
60
|
+
version_requirements: *id003
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
49
62
|
name: autotest-notification
|
|
50
|
-
|
|
63
|
+
prerelease: false
|
|
64
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
51
65
|
none: false
|
|
52
|
-
requirements:
|
|
53
|
-
- -
|
|
54
|
-
- !ruby/object:Gem::Version
|
|
55
|
-
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
71
|
+
version: "0"
|
|
56
72
|
type: :development
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- !ruby/object:Gem::Dependency
|
|
73
|
+
version_requirements: *id004
|
|
74
|
+
- !ruby/object:Gem::Dependency
|
|
60
75
|
name: ZenTest
|
|
61
|
-
|
|
76
|
+
prerelease: false
|
|
77
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
62
78
|
none: false
|
|
63
|
-
requirements:
|
|
64
|
-
- -
|
|
65
|
-
- !ruby/object:Gem::Version
|
|
66
|
-
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
segments:
|
|
83
|
+
- 0
|
|
84
|
+
version: "0"
|
|
67
85
|
type: :development
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Installs the ytemplates tool for turning YAML-based configuration files into other
|
|
72
|
-
files using erb temlates.
|
|
73
|
-
email:
|
|
86
|
+
version_requirements: *id005
|
|
87
|
+
description: Installs the ypath tool for reading YAML files using an XPath-like syntax. Installs the ytemplates tool for turning YAML-based configuration files into other files using erb temlates.
|
|
88
|
+
email:
|
|
74
89
|
- madeonamac@gmail.com
|
|
75
|
-
executables:
|
|
90
|
+
executables:
|
|
76
91
|
- ypath
|
|
77
92
|
- ytemplates
|
|
78
93
|
extensions: []
|
|
94
|
+
|
|
79
95
|
extra_rdoc_files: []
|
|
80
|
-
|
|
81
|
-
|
|
96
|
+
|
|
97
|
+
files:
|
|
82
98
|
- Gemfile
|
|
83
99
|
- README.markdown
|
|
84
100
|
- Gemfile.lock
|
|
85
|
-
-
|
|
101
|
+
- Rakefile
|
|
86
102
|
- bin/ypath
|
|
87
|
-
-
|
|
88
|
-
- lib/ytools/
|
|
89
|
-
- lib/ytools/yaml_object.rb
|
|
90
|
-
- lib/ytools/path/lexer.rb
|
|
91
|
-
- lib/ytools/path/parser.rb
|
|
92
|
-
- lib/ytools/path/selectors.rb
|
|
93
|
-
- lib/ytools/path/cli.rb
|
|
94
|
-
- lib/ytools/path/executor.rb
|
|
95
|
-
- lib/ytools/path/examples.txt
|
|
96
|
-
- lib/ytools/templates/yaml_object.rb
|
|
103
|
+
- bin/ytemplates
|
|
104
|
+
- lib/ytools/errors.rb
|
|
97
105
|
- lib/ytools/templates/cli.rb
|
|
106
|
+
- lib/ytools/templates/yaml_object.rb
|
|
98
107
|
- lib/ytools/templates/executor.rb
|
|
99
108
|
- lib/ytools/templates/examples.txt
|
|
100
|
-
- lib/ytools/
|
|
109
|
+
- lib/ytools/utils.rb
|
|
110
|
+
- lib/ytools/yaml_object.rb
|
|
101
111
|
- lib/ytools/yreader.rb
|
|
102
112
|
- lib/ytools/basecli.rb
|
|
113
|
+
- lib/ytools/path/cli.rb
|
|
114
|
+
- lib/ytools/path/selectors.rb
|
|
115
|
+
- lib/ytools/path/executor.rb
|
|
116
|
+
- lib/ytools/path/examples.txt
|
|
117
|
+
- lib/ytools/path/lexer.rb
|
|
118
|
+
- lib/ytools/path/parser.rb
|
|
119
|
+
- lib/VERSION.yml
|
|
120
|
+
- spec/helpers.rb
|
|
121
|
+
- spec/yaml_object_spec.rb
|
|
122
|
+
- spec/path/lexer_spec.rb
|
|
103
123
|
- spec/path/executor_spec.rb
|
|
104
124
|
- spec/path/selectors_spec.rb
|
|
105
|
-
- spec/path/lexer_spec.rb
|
|
106
|
-
- spec/path/yamls/6.yml
|
|
107
125
|
- spec/path/yamls/1.yml
|
|
108
|
-
- spec/path/yamls/
|
|
126
|
+
- spec/path/yamls/3.yml
|
|
109
127
|
- spec/path/yamls/4.yml
|
|
128
|
+
- spec/path/yamls/6.yml
|
|
129
|
+
- spec/path/yamls/5.yml
|
|
110
130
|
- spec/path/yamls/2.yml
|
|
111
|
-
- spec/path/yamls/3.yml
|
|
112
131
|
- spec/path/parser_spec.rb
|
|
113
|
-
- spec/yaml_object_spec.rb
|
|
114
|
-
- spec/helpers.rb
|
|
115
132
|
has_rdoc: true
|
|
116
133
|
homepage: http://github.com/gabemc/ytools
|
|
117
134
|
licenses: []
|
|
135
|
+
|
|
118
136
|
post_install_message:
|
|
119
137
|
rdoc_options: []
|
|
120
|
-
|
|
138
|
+
|
|
139
|
+
require_paths:
|
|
121
140
|
- lib
|
|
122
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
142
|
none: false
|
|
124
|
-
requirements:
|
|
125
|
-
- -
|
|
126
|
-
- !ruby/object:Gem::Version
|
|
127
|
-
|
|
128
|
-
|
|
143
|
+
requirements:
|
|
144
|
+
- - ">="
|
|
145
|
+
- !ruby/object:Gem::Version
|
|
146
|
+
segments:
|
|
147
|
+
- 0
|
|
148
|
+
version: "0"
|
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
150
|
none: false
|
|
130
|
-
requirements:
|
|
131
|
-
- -
|
|
132
|
-
- !ruby/object:Gem::Version
|
|
151
|
+
requirements:
|
|
152
|
+
- - ">="
|
|
153
|
+
- !ruby/object:Gem::Version
|
|
154
|
+
segments:
|
|
155
|
+
- 1
|
|
156
|
+
- 3
|
|
157
|
+
- 6
|
|
133
158
|
version: 1.3.6
|
|
134
159
|
requirements: []
|
|
160
|
+
|
|
135
161
|
rubyforge_project:
|
|
136
|
-
rubygems_version: 1.
|
|
162
|
+
rubygems_version: 1.3.7
|
|
137
163
|
signing_key:
|
|
138
164
|
specification_version: 3
|
|
139
165
|
summary: For reading or writing configuration files using yaml.
|
|
140
166
|
test_files: []
|
|
167
|
+
|