picasa 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e47ea40a78e0fb89561b6d376833d7318c71e754
4
- data.tar.gz: 13ff00fa2a764e98f51c5c9eaa0b77b9ade01012
3
+ metadata.gz: 496380f9ca56ff77437847a5f148e413b4f65c39
4
+ data.tar.gz: c324fbde995ea020da898a9cc7e8ae6a3826f049
5
5
  SHA512:
6
- metadata.gz: bc8f5b216bf8879384d4351a8e29c3bcf58b84c543b5b3b65937e233a719004f3f2356320863acaa240e8762a06b9a8eb944f0512c29e0b742455003095d5e67
7
- data.tar.gz: bcfa58ccdb435e1cb0210c5585ffa8539c89ece687b6aa82a298c3e76379be4329a91e562d0b05ebe5a824256ed9643401f1c4d09fa78f961df0af0c025cd49c
6
+ metadata.gz: d3b300fbefc289435bf12b39575cc12aaf1c30e1a09fc546d5ec02b09eb5148618426b56ca66dc2c43c1fab39c03e13b31550fcd6a6fcd80f784ec51e31e7b39
7
+ data.tar.gz: 0004752debc45f4152273917f16536116625f59b86b6256b648eb012f2d11c812ad65ce2a0a58115b192826945242eff36783a773958fa785d6c21bb83006f19
@@ -15,7 +15,7 @@ module Picasa
15
15
  end
16
16
 
17
17
  def struct
18
- @struct ||= OpenStruct.new(params)
18
+ @struct ||= OpenStruct.new(params).extend(ERB::Util)
19
19
  end
20
20
 
21
21
  def render
@@ -1,18 +1,18 @@
1
1
  <entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:gphoto="http://schemas.google.com/photos/2007">
2
- <title type="text"><%= title %></title>
2
+ <title type="text"><%= h title %></title>
3
3
  <% if summary %>
4
- <summary type="text"><%= summary %></summary>
4
+ <summary type="text"><%= h summary %></summary>
5
5
  <% end %>
6
6
  <% if location %>
7
- <gphoto:location><%= location %></gphoto:location>
7
+ <gphoto:location><%= h location %></gphoto:location>
8
8
  <% end %>
9
9
  <% if access %>
10
- <gphoto:access><%= access %></gphoto:access>
10
+ <gphoto:access><%= h access %></gphoto:access>
11
11
  <% end %>
12
- <gphoto:timestamp><%= timestamp %></gphoto:timestamp>
12
+ <gphoto:timestamp><%= h timestamp %></gphoto:timestamp>
13
13
  <% if keywords %>
14
14
  <media:group>
15
- <media:keywords><%= keywords %></media:keywords>
15
+ <media:keywords><%= h keywords %></media:keywords>
16
16
  </media:group>
17
17
  <% end %>
18
18
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#album"></category>
@@ -1,4 +1,4 @@
1
1
  <entry xmlns="http://www.w3.org/2005/Atom">
2
- <content><%= content %></content>
2
+ <content><%= h content %></content>
3
3
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#comment"/>
4
4
  </entry>
@@ -2,14 +2,14 @@
2
2
  Content-type: application/atom+xml
3
3
 
4
4
  <entry xmlns="http://www.w3.org/2005/Atom">
5
- <title><%= title %></title>
5
+ <title><%= h title %></title>
6
6
  <% if summary %>
7
- <summary><%= summary %></summary>
7
+ <summary><%= h summary %></summary>
8
8
  <% end %>
9
9
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
10
10
  </entry>
11
11
  --<%= boundary %>
12
- Content-type: <%= content_type %>
12
+ Content-type: <%= h content_type %>
13
13
 
14
14
  <%= binary %>
15
15
  --<%= boundary %>
@@ -1,4 +1,4 @@
1
1
  <entry xmlns="http://www.w3.org/2005/Atom">
2
- <title><%= title %></title>
2
+ <title><%= h title %></title>
3
3
  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/>
4
4
  </entry>
@@ -1,3 +1,3 @@
1
1
  module Picasa
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
@@ -259,12 +259,12 @@ describe Picasa::API::Album do
259
259
  describe "#create" do
260
260
  it "creates album" do
261
261
  VCR.use_cassette("album-create") do
262
- attributes = {:title => "gem-test", :summary => "created from test suite", :access => "protected",
262
+ attributes = {:title => "gem-test", :summary => "created from test suite <&>", :access => "protected",
263
263
  :location => "Gilowice", :keywords => "test"}
264
264
  album = Picasa::API::Album.new(:user_id => "w.wnetrzak@gmail.com", :authorization_header => AuthHeader).create(attributes)
265
265
 
266
266
  assert_equal "gem-test", album.title
267
- assert_equal "created from test suite", album.summary
267
+ assert_equal "created from test suite <&>", album.summary
268
268
  assert_equal "protected", album.access
269
269
  assert_equal "Gilowice", album.location
270
270
  assert_equal 10, album.timestamp.length
@@ -11,18 +11,18 @@ http_interactions:
11
11
  bnM6Z3Bob3RvPSJodHRwOi8vc2NoZW1hcy5nb29nbGUuY29tL3Bob3Rvcy8y
12
12
  MDA3Ij4KICA8dGl0bGUgdHlwZT0idGV4dCI+Z2VtLXRlc3Q8L3RpdGxlPgog
13
13
  IAogIDxzdW1tYXJ5IHR5cGU9InRleHQiPmNyZWF0ZWQgZnJvbSB0ZXN0IHN1
14
- aXRlPC9zdW1tYXJ5PgogIAogIAogIDxncGhvdG86bG9jYXRpb24+R2lsb3dp
15
- Y2U8L2dwaG90bzpsb2NhdGlvbj4KICAKICAKICA8Z3Bob3RvOmFjY2Vzcz5w
16
- cm90ZWN0ZWQ8L2dwaG90bzphY2Nlc3M+CiAgCiAgPGdwaG90bzp0aW1lc3Rh
17
- bXA+MTM2NTkyNTc4NTAwMDwvZ3Bob3RvOnRpbWVzdGFtcD4KICAKICA8bWVk
18
- aWE6Z3JvdXA+CiAgICA8bWVkaWE6a2V5d29yZHM+dGVzdDwvbWVkaWE6a2V5
19
- d29yZHM+CiAgPC9tZWRpYTpncm91cD4KICAKICA8Y2F0ZWdvcnkgc2NoZW1l
20
- PSJodHRwOi8vc2NoZW1hcy5nb29nbGUuY29tL2cvMjAwNSNraW5kIiB0ZXJt
21
- PSJodHRwOi8vc2NoZW1hcy5nb29nbGUuY29tL3Bob3Rvcy8yMDA3I2FsYnVt
22
- Ij48L2NhdGVnb3J5Pgo8L2VudHJ5Pgo=
14
+ aXRlICZsdDsmYW1wOyZndDs8L3N1bW1hcnk+CiAgCiAgCiAgPGdwaG90bzps
15
+ b2NhdGlvbj5HaWxvd2ljZTwvZ3Bob3RvOmxvY2F0aW9uPgogIAogIAogIDxn
16
+ cGhvdG86YWNjZXNzPnByb3RlY3RlZDwvZ3Bob3RvOmFjY2Vzcz4KICAKICA8
17
+ Z3Bob3RvOnRpbWVzdGFtcD4xMzY2NzI5MjQ1MDAwPC9ncGhvdG86dGltZXN0
18
+ YW1wPgogIAogIDxtZWRpYTpncm91cD4KICAgIDxtZWRpYTprZXl3b3Jkcz50
19
+ ZXN0PC9tZWRpYTprZXl3b3Jkcz4KICA8L21lZGlhOmdyb3VwPgogIAogIDxj
20
+ YXRlZ29yeSBzY2hlbWU9Imh0dHA6Ly9zY2hlbWFzLmdvb2dsZS5jb20vZy8y
21
+ MDA1I2tpbmQiIHRlcm09Imh0dHA6Ly9zY2hlbWFzLmdvb2dsZS5jb20vcGhv
22
+ dG9zLzIwMDcjYWxidW0iPjwvY2F0ZWdvcnk+CjwvZW50cnk+Cg==
23
23
  headers:
24
24
  User-Agent:
25
- - ruby-gem-picasa-v0.6.4 (gzip)
25
+ - ruby-gem-picasa-v0.6.5 (gzip)
26
26
  Gdata-Version:
27
27
  - '2'
28
28
  Accept-Encoding:
@@ -37,15 +37,15 @@ http_interactions:
37
37
  message: Created
38
38
  headers:
39
39
  Expires:
40
- - Sun, 14 Apr 2013 07:49:47 GMT
40
+ - Tue, 23 Apr 2013 15:00:47 GMT
41
41
  Date:
42
- - Sun, 14 Apr 2013 07:49:47 GMT
42
+ - Tue, 23 Apr 2013 15:00:47 GMT
43
43
  Cache-Control:
44
44
  - private, max-age=0, must-revalidate, no-transform
45
45
  Set-Cookie:
46
- - S=photos_html=wPYIvP1f6GCWgBHeazZQIA; Domain=.google.com; Path=/; Secure;
46
+ - S=photos_html=qOnLPRWCoIFmSccmbQzPDA; Domain=.google.com; Path=/; Secure;
47
47
  HttpOnly
48
- - _rtok=V5mEdZU8Fw09; Path=/; Secure; HttpOnly
48
+ - _rtok=bUhOFq5goQrF; Path=/; Secure; HttpOnly
49
49
  Content-Type:
50
50
  - application/json; charset=UTF-8
51
51
  Access-Control-Allow-Origin:
@@ -57,9 +57,9 @@ http_interactions:
57
57
  Etag:
58
58
  - '"YD0qeyI."'
59
59
  Location:
60
- - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5866606580604743121?alt=json
60
+ - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5870057420670410593?alt=json
61
61
  Content-Location:
62
- - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5866606580604743121?alt=json
62
+ - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5870057420670410593?alt=json
63
63
  Transfer-Encoding:
64
64
  - chunked
65
65
  X-Content-Type-Options:
@@ -83,58 +83,59 @@ http_interactions:
83
83
  bG5zJGdlb3JzcyI6Imh0dHA6Ly93d3cuZ2VvcnNzLm9yZy9nZW9yc3MiLCJn
84
84
  ZCRldGFnIjoiXCJZRDBxZXlJLlwiIiwiaWQiOnsiJHQiOiJodHRwczovL3Bp
85
85
  Y2FzYXdlYi5nb29nbGUuY29tL2RhdGEvZW50cnkvdXNlci8xMDYxMzYzNDc3
86
- NzA1NTUwMjgwMjIvYWxidW1pZC81ODY2NjA2NTgwNjA0NzQzMTIxIn0sInB1
87
- Ymxpc2hlZCI6eyIkdCI6IjIwMTMtMDQtMTRUMDc6NDk6NDUuMDAwWiJ9LCJ1
88
- cGRhdGVkIjp7IiR0IjoiMjAxMy0wNC0xNFQwNzo0OTo0Ni4zNTlaIn0sImFw
89
- cCRlZGl0ZWQiOnsiJHQiOiIyMDEzLTA0LTE0VDA3OjQ5OjQ2LjM1OVoifSwi
86
+ NzA1NTUwMjgwMjIvYWxidW1pZC81ODcwMDU3NDIwNjcwNDEwNTkzIn0sInB1
87
+ Ymxpc2hlZCI6eyIkdCI6IjIwMTMt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iJodHRwczovL2xoNS5n
126
+ b29nbGV1c2VyY29udGVudC5jb20vLWFXbkZ3RGY1ZnB3L1VYYWlING8wbjJF
127
+ L0FBQUFBQUFBRDBnL0EwcXVvMEZTYlB3L0dlbVRlc3QwMi5qcGciLCJ0eXBl
128
+ IjoiaW1hZ2UvanBlZyIsIm1lZGl1bSI6ImltYWdlIn1dLCJtZWRpYSRjcmVk
129
+ aXQiOlt7IiR0IjoiV29qY2llY2ggV27EmXRyemFrIn1dLCJtZWRpYSRkZXNj
130
+ cmlwdGlvbiI6eyIkdCI6ImNyZWF0ZWQgZnJvbSB0ZXN0IHN1aXRlIFx1MDAz
131
+ YyZcdTAwM2UiLCJ0eXBlIjoicGxhaW4ifSwibWVkaWEka2V5d29yZHMiOnt9
132
+ LCJtZWRpYSR0aHVtYm5haWwiOlt7InVybCI6Imh0dHBzOi8vbGg1Lmdvb2ds
133
+ ZXVzZXJjb250ZW50LmNvbS8tYVduRndEZjVmcHcvVVhhaUg0bzBuMkUvQUFB
134
+ QUFBQUFEMGcvQTBxdW8wRlNiUHcvczE2MC1jL0dlbVRlc3QwMi5qcGciLCJo
135
+ ZWlnaHQiOjE2MCwid2lkdGgiOjE2MH1dLCJtZWRpYSR0aXRsZSI6eyIkdCI6
136
+ ImdlbS10ZXN0IiwidHlwZSI6InBsYWluIn19LCJnZW9yc3Mkd2hlcmUiOnsi
137
+ Z21sJFBvaW50Ijp7ImdtbCRwb3MiOnsiJHQiOiI0OS43MTE5Mjk5IDE5LjMx
138
+ MDI3NyJ9fX19fQ==
138
139
  http_version:
139
- recorded_at: Sun, 14 Apr 2013 07:49:47 GMT
140
+ recorded_at: Tue, 23 Apr 2013 15:00:47 GMT
140
141
  recorded_with: VCR 2.4.0
@@ -21,5 +21,10 @@ describe Picasa::Template do
21
21
  template = Picasa::Template.new(:new_album, {:summary => "My summary"})
22
22
  assert_match %q{<summary type="text">My summary</summary>}, template.render
23
23
  end
24
+
25
+ it "escapes special characters" do
26
+ template = Picasa::Template.new(:new_album, {:summary => "Marge & Homer"})
27
+ assert_match %q{<summary type="text">Marge &amp; Homer</summary>}, template.render
28
+ end
24
29
  end
25
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picasa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Wnętrzak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-15 00:00:00.000000000 Z
11
+ date: 2013-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty