lcbo 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,11 +25,7 @@ require 'yaml'
25
25
 
26
26
  req[:expectation].each_pair do |key, value|
27
27
  it "should have the expected value for :#{key}" do
28
- if (value.is_a?(String))
29
- @page[key].must_equal value
30
- else
31
- @page[key].must_equal value
32
- end
28
+ @page[key].must_equal value
33
29
  end
34
30
  end
35
31
  end
metadata CHANGED
@@ -1,92 +1,68 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: lcbo
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 2
9
- version: 1.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Carsten Nielsen
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-03-03 00:00:00 -05:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-15 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: typhoeus
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2155973320 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 2
31
- - 4
20
+ - !ruby/object:Gem::Version
32
21
  version: 0.2.4
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: nokogiri
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2155973320
25
+ - !ruby/object:Gem::Dependency
26
+ name: nokogiri
27
+ requirement: &2155972800 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
29
+ requirements:
41
30
  - - ~>
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 1
45
- - 4
46
- - 4
31
+ - !ruby/object:Gem::Version
47
32
  version: 1.4.4
48
33
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: unicode_utils
52
34
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2155972800
36
+ - !ruby/object:Gem::Dependency
37
+ name: unicode_utils
38
+ requirement: &2155972280 !ruby/object:Gem::Requirement
54
39
  none: false
55
- requirements:
40
+ requirements:
56
41
  - - ~>
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 1
60
- - 0
61
- - 0
42
+ - !ruby/object:Gem::Version
62
43
  version: 1.0.0
63
44
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: stringex
67
45
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2155972280
47
+ - !ruby/object:Gem::Dependency
48
+ name: stringex
49
+ requirement: &2155971620 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
51
+ requirements:
71
52
  - - ~>
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 1
75
- - 2
76
- - 0
53
+ - !ruby/object:Gem::Version
77
54
  version: 1.2.0
78
55
  type: :runtime
79
- version_requirements: *id004
80
- description: Request and parse product, store, inventory, and product search pages directly from the official LCBO website.
81
- email:
56
+ prerelease: false
57
+ version_requirements: *2155971620
58
+ description: Request and parse product, store, inventory, and product search pages
59
+ directly from the official LCBO website.
60
+ email:
82
61
  - heycarsten@gmail.com
83
62
  executables: []
84
-
85
63
  extensions: []
86
-
87
64
  extra_rdoc_files: []
88
-
89
- files:
65
+ files:
90
66
  - .gitignore
91
67
  - CHANGELOG.md
92
68
  - CONTRIBUTORS
@@ -145,6 +121,7 @@ files:
145
121
  - spec/pages/product_list_pages/1.html
146
122
  - spec/pages/product_pages.yml
147
123
  - spec/pages/product_pages/1.html
124
+ - spec/pages/product_pages/10.html
148
125
  - spec/pages/product_pages/2.html
149
126
  - spec/pages/product_pages/3.html
150
127
  - spec/pages/product_pages/4.html
@@ -160,41 +137,31 @@ files:
160
137
  - spec/pages/store_pages/2.html
161
138
  - spec/pages_spec.rb
162
139
  - spec/spec_helper.rb
163
- has_rdoc: true
164
140
  homepage: http://github.com/heycarsten/lcbo
165
141
  licenses: []
166
-
167
142
  post_install_message:
168
143
  rdoc_options: []
169
-
170
- require_paths:
144
+ require_paths:
171
145
  - lib
172
- required_ruby_version: !ruby/object:Gem::Requirement
146
+ required_ruby_version: !ruby/object:Gem::Requirement
173
147
  none: false
174
- requirements:
175
- - - ">="
176
- - !ruby/object:Gem::Version
177
- segments:
178
- - 0
179
- version: "0"
180
- required_rubygems_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
153
  none: false
182
- requirements:
183
- - - ">="
184
- - !ruby/object:Gem::Version
185
- segments:
186
- - 1
187
- - 3
188
- - 6
189
- version: 1.3.6
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: 1.8.5
190
158
  requirements: []
191
-
192
159
  rubyforge_project: lcbo
193
- rubygems_version: 1.3.7
160
+ rubygems_version: 1.8.5
194
161
  signing_key:
195
162
  specification_version: 3
196
163
  summary: A library for parsing HTML pages from http://lcbo.com
197
- test_files:
164
+ test_files:
198
165
  - spec/crawlkit/caption_helper_spec.rb
199
166
  - spec/crawlkit/crawler_spec.rb
200
167
  - spec/crawlkit/eventable_spec.rb
@@ -216,6 +183,7 @@ test_files:
216
183
  - spec/pages/product_list_pages/1.html
217
184
  - spec/pages/product_pages.yml
218
185
  - spec/pages/product_pages/1.html
186
+ - spec/pages/product_pages/10.html
219
187
  - spec/pages/product_pages/2.html
220
188
  - spec/pages/product_pages/3.html
221
189
  - spec/pages/product_pages/4.html