picasa 0.7.3 → 0.7.4

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: ed0c5ff921d846bba81d3bc6bc90bf340f22e235
4
- data.tar.gz: 814262697dbbbc9ddf9da9e2e6735bf93428f087
3
+ metadata.gz: 328507fd4e8867c4a55c4191c1b9f663d152cf97
4
+ data.tar.gz: c49d27f1d5c72c0d39bfa1129439cec0ea34dd17
5
5
  SHA512:
6
- metadata.gz: 389af531ef0538a6a3c4eee3dc31a0f916f1be7f257e9bf8766e23b38e07694475ac8d97bb3f44eb262df69f7ee89a23bbd62c2849578454b5cadeaf42d4777a
7
- data.tar.gz: 92316513cbdd65a16ef2f691550dae8f1c7ad267cefe20fb72170b89838639593ca294f8e75945942cb70b85788d172c0908518a7216243ddcaddff9487f8682
6
+ metadata.gz: 11803b719743322deadda834a58f9f70cb437247fadf5c7905850a84bff08db84545f353958c60d5022d9199ee15f2b8c192ced3c84088c8ce499f0d974e56f5
7
+ data.tar.gz: e68f02ddfa1fb6cefe8b7bedc742eac448bcd705bbd709062ec8bd3650f7a25e1dbaa8c4ad1faf98fcf5455845e6c3f6eea62c3c275076cf308dfa27016abb55
@@ -7,6 +7,7 @@ notifications:
7
7
  rvm:
8
8
  - 2.0
9
9
  - 2.1
10
+ - 2.2
10
11
 
11
12
  env:
12
13
  - JSON_PARSER=oj
@@ -19,6 +19,11 @@ module Picasa
19
19
  @links ||= array_wrap(safe_retrieve(parsed_body, "link")).map { |link| Link.new(link) }
20
20
  end
21
21
 
22
+ # @return [Integer]
23
+ def total_results
24
+ @total_results ||= map_to_integer(safe_retrieve(parsed_body, "openSearch$totalResults"))
25
+ end
26
+
22
27
  # @return [Presenter::Media]
23
28
  def media
24
29
  @media ||= Media.new(safe_retrieve(parsed_body, "media$group"))
@@ -1,3 +1,3 @@
1
1
  module Picasa
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  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.7.3
4
+ version: 0.7.4
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: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty