selfiegram 0.0.10 → 0.0.11

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: fa1d87a6e7d2d54b04c371b627492d6e5bd31e2b
4
- data.tar.gz: 6d73b3c24160401b5e693e11a8769a8b1e708c42
3
+ metadata.gz: fd126af60a44fd63d8d17043d04478cdb29e02f9
4
+ data.tar.gz: a338f2567ce95046ec5a9f9251b30a89b017b2e1
5
5
  SHA512:
6
- metadata.gz: a074763cfa329e5e50330f8de4d8f73e0c125040763aba7c6d957655b15532a4258b402fe26f3bf0f5ed4187983c90cdd614b3f777d31c5fbd88fc5ec1ffb791
7
- data.tar.gz: 059312e8c2d02d251115b46678cfdd37ac2d1b67af1e70198909956ea98d7371c96f47d94590027e348182cadd1a5fc9c36162d4f4485719ad9dbfb2add58c54
6
+ metadata.gz: 4841b06e5b538a2d7b7396562289f9838083c460468e629d0850ba732c0abe6e8e0ca75c684e6bbc8947d614cf60c6d3e44252c1cee0143eea0136494e9a033d
7
+ data.tar.gz: 6258df3e73372bfbd752495b348bc04aaf8c420d23f40f4c7efb1481a8f79ebb6e6aaf05b78ad5ee3070a682d6a232716885c41286e1fffacbc42a05df7fde98
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -20,6 +20,10 @@ module BackgroundImages
20
20
 
21
21
  results = response["responseData"]["results"]
22
22
 
23
+ if results.empty?
24
+ raise "Unable to get response from Google Image search"
25
+ end
26
+
23
27
  return results
24
28
  end
25
29
 
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: selfiegram 0.0.10 ruby lib
5
+ # stub: selfiegram 0.0.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "selfiegram"
9
- s.version = "0.0.10"
9
+ s.version = "0.0.11"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selfiegram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger