bauxite 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/Bauxite/Action.html +3 -3
- data/doc/Bauxite/ActionModule.html +4 -4
- data/doc/Bauxite/Application.html +1 -1
- data/doc/Bauxite/Context.html +184 -143
- data/doc/Bauxite/Errors/AssertionError.html +1 -1
- data/doc/Bauxite/Errors/FileNotFoundError.html +1 -1
- data/doc/Bauxite/Errors/FormatError.html +107 -0
- data/doc/Bauxite/Errors.html +1 -1
- data/doc/Bauxite/Loggers/CompositeLogger.html +1 -1
- data/doc/Bauxite/Loggers/EchoLogger.html +2 -1
- data/doc/Bauxite/Loggers/FileLogger.html +1 -1
- data/doc/Bauxite/Loggers/NullLogger.html +6 -6
- data/doc/Bauxite/Loggers/TerminalLogger.html +15 -10
- data/doc/Bauxite/Loggers/XtermLogger.html +1 -1
- data/doc/Bauxite/Loggers.html +1 -1
- data/doc/Bauxite/Parser.html +325 -0
- data/doc/Bauxite/ParserModule.html +203 -0
- data/doc/Bauxite/Selector.html +1 -1
- data/doc/Bauxite/SelectorModule.html +4 -4
- data/doc/Bauxite.html +1 -1
- data/doc/created.rid +42 -38
- data/doc/index.html +5 -1
- data/doc/js/search_index.js +1 -1
- data/doc/table_of_contents.html +77 -36
- data/lib/bauxite/actions/alias.rb +1 -1
- data/lib/bauxite/actions/debug.rb +2 -3
- data/lib/bauxite/actions/tryload.rb +1 -1
- data/lib/bauxite/application.rb +2 -10
- data/lib/bauxite/core/{Context.rb → context.rb} +117 -114
- data/lib/bauxite/core/{Errors.rb → errors.rb} +6 -0
- data/lib/bauxite/core/parser.rb +78 -0
- data/lib/bauxite/loggers/echo.rb +1 -0
- data/lib/bauxite/loggers/terminal.rb +5 -0
- data/lib/bauxite/parsers/csv.rb +49 -0
- data/lib/bauxite/parsers/default.rb +42 -0
- data/lib/bauxite/parsers/html.rb +76 -0
- data/lib/bauxite.rb +1 -1
- data/test/alias.bxt +3 -0
- data/test/parsers/page.html +7 -0
- data/test/parsers.bxt +2 -0
- data/test/parsers.csv +7 -0
- data/test/parsers.html +32 -0
- metadata +18 -7
- /data/lib/bauxite/core/{Action.rb → action.rb} +0 -0
- /data/lib/bauxite/core/{Logger.rb → logger.rb} +0 -0
- /data/lib/bauxite/core/{Selector.rb → selector.rb} +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bauxite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patricio Zavolinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- doc/Bauxite/Errors.html
|
58
58
|
- doc/Bauxite/Errors/AssertionError.html
|
59
59
|
- doc/Bauxite/Errors/FileNotFoundError.html
|
60
|
+
- doc/Bauxite/Errors/FormatError.html
|
60
61
|
- doc/Bauxite/Loggers.html
|
61
62
|
- doc/Bauxite/Loggers/CompositeLogger.html
|
62
63
|
- doc/Bauxite/Loggers/EchoLogger.html
|
@@ -64,6 +65,8 @@ files:
|
|
64
65
|
- doc/Bauxite/Loggers/NullLogger.html
|
65
66
|
- doc/Bauxite/Loggers/TerminalLogger.html
|
66
67
|
- doc/Bauxite/Loggers/XtermLogger.html
|
68
|
+
- doc/Bauxite/Parser.html
|
69
|
+
- doc/Bauxite/ParserModule.html
|
67
70
|
- doc/Bauxite/Selector.html
|
68
71
|
- doc/Bauxite/SelectorModule.html
|
69
72
|
- doc/created.rid
|
@@ -133,16 +136,20 @@ files:
|
|
133
136
|
- lib/bauxite/actions/wait.rb
|
134
137
|
- lib/bauxite/actions/write.rb
|
135
138
|
- lib/bauxite/application.rb
|
136
|
-
- lib/bauxite/core/
|
137
|
-
- lib/bauxite/core/
|
138
|
-
- lib/bauxite/core/
|
139
|
-
- lib/bauxite/core/
|
140
|
-
- lib/bauxite/core/
|
139
|
+
- lib/bauxite/core/action.rb
|
140
|
+
- lib/bauxite/core/context.rb
|
141
|
+
- lib/bauxite/core/errors.rb
|
142
|
+
- lib/bauxite/core/logger.rb
|
143
|
+
- lib/bauxite/core/parser.rb
|
144
|
+
- lib/bauxite/core/selector.rb
|
141
145
|
- lib/bauxite/loggers/composite.rb
|
142
146
|
- lib/bauxite/loggers/echo.rb
|
143
147
|
- lib/bauxite/loggers/file.rb
|
144
148
|
- lib/bauxite/loggers/terminal.rb
|
145
149
|
- lib/bauxite/loggers/xterm.rb
|
150
|
+
- lib/bauxite/parsers/csv.rb
|
151
|
+
- lib/bauxite/parsers/default.rb
|
152
|
+
- lib/bauxite/parsers/html.rb
|
146
153
|
- lib/bauxite/selectors/attr.rb
|
147
154
|
- lib/bauxite/selectors/default.rb
|
148
155
|
- lib/bauxite/selectors/frame.rb
|
@@ -163,6 +170,10 @@ files:
|
|
163
170
|
- test/js.bxt
|
164
171
|
- test/load.bxt
|
165
172
|
- test/load/child.bxt
|
173
|
+
- test/parsers.bxt
|
174
|
+
- test/parsers.csv
|
175
|
+
- test/parsers.html
|
176
|
+
- test/parsers/page.html
|
166
177
|
- test/ruby.bxt
|
167
178
|
- test/ruby/custom.rb
|
168
179
|
- test/selectors.bxt
|
File without changes
|
File without changes
|
File without changes
|