ghee 0.14.21 → 0.14.22

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: 8bc9d03023ca7469fce90c8d6262842d93676523
4
- data.tar.gz: bf6eb60d0fb591242b671e1cd54d95532d74d209
3
+ metadata.gz: b00ecbce5093a21be74d3eee9166d35d56643f19
4
+ data.tar.gz: 6c38d04507e4c56ff49e0ab34118b103a5f74d5f
5
5
  SHA512:
6
- metadata.gz: 95ca7b1ccf40b7fe8108b6dd868a612fd3a1f8c258ab78691e79f20f862fd635cc5f2f496520e2d1225b1ee8f1b54d62ab0f5312d1080f4208107ee3a35e20db
7
- data.tar.gz: c7e1ad8a8f77411bd4c4b892e8fe4b57c2da731050b8a2d670756a3c07f8806d03c396faa9261790714cf29642050ff328f59ebbb18286f389183a129b83827e
6
+ metadata.gz: d5fa52659bee078f6707c1e82b4d46c2f157ae256cab35552e623d646ea47182418cac6fc651dc744fdd19527126f33825aabe60400cf16f5e529d56add63e46
7
+ data.tar.gz: 6c3d63a1aeaf6ced179149cf94d18b724ca86f035312e2d98a71015bcd95d0dcdacb14cd782c4b9921fef4873d88363006ce5129b6cb6afba82c411684567c0b
@@ -87,7 +87,7 @@ class Ghee
87
87
  response = connection.get do |req|
88
88
  req.url path_prefix, :per_page => per_page, :page => current_page
89
89
  req.params.merge! params
90
- block.call(req)
90
+ block.call(req) if block
91
91
  end
92
92
 
93
93
  if @subject.nil?
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  class Ghee
3
- VERSION = "0.14.21"
3
+ VERSION = "0.14.22"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.21
4
+ version: 0.14.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Rauh