cyx-scraper 0.4.2 → 0.4.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -66,5 +66,11 @@ module Scraper
66
66
  doc.search('link[rel=image_src]').first.attribute('href').to_s
67
67
  end
68
68
  end
69
+
70
+ def img
71
+ unless photostream?
72
+ doc.search('.photoImgDiv img').first.attribute('src').to_s
73
+ end
74
+ end
69
75
  end
70
76
  end
data/scraper.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{scraper}
5
- s.version = "0.4.2"
5
+ s.version = "0.4.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Cyril David"]
9
- s.date = %q{2009-09-12}
9
+ s.date = %q{2009-09-23}
10
10
  s.email = %q{cyx.ucron@gmail.com}
11
11
  s.extra_rdoc_files = [
12
12
  "LICENSE",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyx-scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril David
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-12 00:00:00 -07:00
12
+ date: 2009-09-23 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -54,6 +54,7 @@ files:
54
54
  - test/youtube_test.rb
55
55
  has_rdoc: false
56
56
  homepage: http://github.com/cyx/scraper
57
+ licenses:
57
58
  post_install_message:
58
59
  rdoc_options:
59
60
  - --charset=UTF-8
@@ -74,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
75
  requirements: []
75
76
 
76
77
  rubyforge_project:
77
- rubygems_version: 1.2.0
78
+ rubygems_version: 1.3.5
78
79
  signing_key:
79
80
  specification_version: 3
80
81
  summary: TODO