lcbo 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/lib/lcbo/crawlkit.rb +2 -0
- data/lib/lcbo/crawlkit/caption_helper.rb +21 -0
- data/lib/lcbo/crawlkit/phone_helper.rb +13 -0
- data/lib/lcbo/crawlkit/tag_helper.rb +1 -1
- data/lib/lcbo/crawlkit/titlecase_helper.rb +0 -1
- data/lib/lcbo/pages/product_page.rb +17 -12
- data/lib/lcbo/pages/store_page.rb +9 -5
- data/lib/lcbo/version.rb +1 -1
- data/spec/crawlkit/caption_helper_spec.rb +17 -0
- data/spec/crawlkit/phone_helper_spec.rb +17 -0
- data/spec/crawlkit/tag_helper_spec.rb +3 -2
- data/spec/pages/product_pages.yml +47 -3
- data/spec/pages/product_pages/9.html +1329 -0
- metadata +12 -4
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 11
|
8
|
+
- 0
|
9
|
+
version: 0.11.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Carsten Nielsen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-01-01 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -95,10 +95,12 @@ files:
|
|
95
95
|
- lcbo.gemspec
|
96
96
|
- lib/lcbo.rb
|
97
97
|
- lib/lcbo/crawlkit.rb
|
98
|
+
- lib/lcbo/crawlkit/caption_helper.rb
|
98
99
|
- lib/lcbo/crawlkit/crawler.rb
|
99
100
|
- lib/lcbo/crawlkit/eventable.rb
|
100
101
|
- lib/lcbo/crawlkit/fastdate_helper.rb
|
101
102
|
- lib/lcbo/crawlkit/page.rb
|
103
|
+
- lib/lcbo/crawlkit/phone_helper.rb
|
102
104
|
- lib/lcbo/crawlkit/request.rb
|
103
105
|
- lib/lcbo/crawlkit/request_prototype.rb
|
104
106
|
- lib/lcbo/crawlkit/response.rb
|
@@ -114,10 +116,12 @@ files:
|
|
114
116
|
- lib/lcbo/pages/store_list_page.rb
|
115
117
|
- lib/lcbo/pages/store_page.rb
|
116
118
|
- lib/lcbo/version.rb
|
119
|
+
- spec/crawlkit/caption_helper_spec.rb
|
117
120
|
- spec/crawlkit/crawler_spec.rb
|
118
121
|
- spec/crawlkit/eventable_spec.rb
|
119
122
|
- spec/crawlkit/fastdate_helper_spec.rb
|
120
123
|
- spec/crawlkit/page_spec.rb
|
124
|
+
- spec/crawlkit/phone_helper_spec.rb
|
121
125
|
- spec/crawlkit/request_prototype_spec.rb
|
122
126
|
- spec/crawlkit/request_spec.rb
|
123
127
|
- spec/crawlkit/response_spec.rb
|
@@ -140,6 +144,7 @@ files:
|
|
140
144
|
- spec/pages/product_pages/6.html
|
141
145
|
- spec/pages/product_pages/7.html
|
142
146
|
- spec/pages/product_pages/8.html
|
147
|
+
- spec/pages/product_pages/9.html
|
143
148
|
- spec/pages/store_list_pages.yml
|
144
149
|
- spec/pages/store_list_pages/1.html
|
145
150
|
- spec/pages/store_pages.yml
|
@@ -182,10 +187,12 @@ signing_key:
|
|
182
187
|
specification_version: 3
|
183
188
|
summary: A library for parsing HTML pages from http://lcbo.com
|
184
189
|
test_files:
|
190
|
+
- spec/crawlkit/caption_helper_spec.rb
|
185
191
|
- spec/crawlkit/crawler_spec.rb
|
186
192
|
- spec/crawlkit/eventable_spec.rb
|
187
193
|
- spec/crawlkit/fastdate_helper_spec.rb
|
188
194
|
- spec/crawlkit/page_spec.rb
|
195
|
+
- spec/crawlkit/phone_helper_spec.rb
|
189
196
|
- spec/crawlkit/request_prototype_spec.rb
|
190
197
|
- spec/crawlkit/request_spec.rb
|
191
198
|
- spec/crawlkit/response_spec.rb
|
@@ -208,6 +215,7 @@ test_files:
|
|
208
215
|
- spec/pages/product_pages/6.html
|
209
216
|
- spec/pages/product_pages/7.html
|
210
217
|
- spec/pages/product_pages/8.html
|
218
|
+
- spec/pages/product_pages/9.html
|
211
219
|
- spec/pages/store_list_pages.yml
|
212
220
|
- spec/pages/store_list_pages/1.html
|
213
221
|
- spec/pages/store_pages.yml
|