photoinfo 0.1.5 → 0.1.6
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 +1 -1
- data/photoinfo.gemspec +2 -2
- data/spec/photoinfo_spec.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.6
|
data/photoinfo.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "photoinfo"
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Eddie Lee"]
|
|
12
|
-
s.date = "2012-12-
|
|
12
|
+
s.date = "2012-12-31"
|
|
13
13
|
s.description = "istockphoto.com photo metadata fetcher"
|
|
14
14
|
s.email = "minidsl@hotmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
data/spec/photoinfo_spec.rb
CHANGED
|
@@ -34,7 +34,7 @@ describe "Photoinfo" do
|
|
|
34
34
|
describe "#isKeywords" do
|
|
35
35
|
it "should return the keywords of the photo" do
|
|
36
36
|
@photoinfo.isKeywords
|
|
37
|
-
@photoinfo.keywords.should eq "Woods, Forest, Nature, Idyllic, Tirol, Symbols Of Peace, Horizon Over Land, Horizon, Horizontal, Relaxation, Scenics, Panoramic, Mountain Peak, Grass, Twilight, Outdoors,
|
|
37
|
+
@photoinfo.keywords.should eq "Woods, Forest, Nature, Chapel, Tree, Snow, Idyllic, Photography, Tirol, Symbols Of Peace, Horizon Over Land, Horizon, Horizontal, Relaxation, Scenics, Panoramic, Mountain Peak, Grass, Twilight, Outdoors, Nobody, Color Image, Colors, Merano, Valley, European Alps, Mountain, Architecture, Building Exterior, Hill, Old, Landscaped, Landscape, Tranquil Scene, Spring, Wood, Alto Adige, Beauty In Nature, Church, Non-Urban Scene, Rural Scene, Famous Place, Green, Sunset, Dawn"
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
describe "#isCollection" do
|
|
@@ -52,7 +52,7 @@ describe "Photoinfo" do
|
|
|
52
52
|
describe "#save" do
|
|
53
53
|
it "should include the photo's meta data" do
|
|
54
54
|
@photoinfo.save
|
|
55
|
-
@photoinfo.info.should include({:title=>"Quiet alpine scene", :description=>"Small chapel on the hill in a beautiful mountain landscape", :contributor=>"Scacciamosche", :keywords=>"Woods, Forest, Nature, Idyllic, Tirol, Symbols Of Peace, Horizon Over Land, Horizon, Horizontal, Relaxation, Scenics, Panoramic, Mountain Peak, Grass, Twilight, Outdoors,
|
|
55
|
+
@photoinfo.info.should include({:title=>"Quiet alpine scene", :description=>"Small chapel on the hill in a beautiful mountain landscape", :contributor=>"Scacciamosche", :keywords=>"Woods, Forest, Nature, Chapel, Tree, Snow, Idyllic, Photography, Tirol, Symbols Of Peace, Horizon Over Land, Horizon, Horizontal, Relaxation, Scenics, Panoramic, Mountain Peak, Grass, Twilight, Outdoors, Nobody, Color Image, Colors, Merano, Valley, European Alps, Mountain, Architecture, Building Exterior, Hill, Old, Landscaped, Landscape, Tranquil Scene, Spring, Wood, Alto Adige, Beauty In Nature, Church, Non-Urban Scene, Rural Scene, Famous Place, Green, Sunset, Dawn", :collection=>"Vetta Stock Photo", :uploadedon=>"10-13-12 @ Anita Stizzoli"})
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: photoinfo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
version: '0'
|
|
128
128
|
segments:
|
|
129
129
|
- 0
|
|
130
|
-
hash:
|
|
130
|
+
hash: 3769845497741813089
|
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
none: false
|
|
133
133
|
requirements:
|