heroku_status 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe36b1a013ddb3ee51205c9c1570ea4fc0bd1c4250741ea4970ec412c60a8656
4
- data.tar.gz: 3c7a1ef7ba642159f9aa238e7142cbf06f0e14f065e10de108511b0f21c6799c
3
+ metadata.gz: deec14bf694f0def138dac5b0b687f57814e30b258d7b3027cc243ec851c1e74
4
+ data.tar.gz: e3615cb149ed5f1fc1c741be0c2400a7b6af72b1b20ed34038e79d584abc2f34
5
5
  SHA512:
6
- metadata.gz: 929b341042448f3f5d868ffe4bb0ba7584dc1f06eea9144b9cbc75cf45bd3e42dc07aa0583bb988def4900d7b49759001ead81429367e3f5d6b5dc348fa8bdcf
7
- data.tar.gz: 698c9ba8150769d0c9a5f5697ac15aa672f9d9bf3c10a656716fa1668f674b25276b0daf916a4c24e12494fdbc5ca5938818bc17c8f63263bc7ab8d69ae3ba89
6
+ metadata.gz: fccc0093f9349a02b9849655495772758542e4843c5904cba2a57677d67ee48769c355df176b942086dccd6767c8b28d68e3b56791e1049b72a0bd9055696ee9
7
+ data.tar.gz: 2057fc9e565b2afd5e3692540787762f522d0af5a775f75acdf52b8b2f90b0f3d082617560ab0d8da08dcc5b61208a9287ec9ee25009486777b3509c7a574c76
@@ -1,3 +1,3 @@
1
1
  module HerokuStatus
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/heroku_status.rb CHANGED
@@ -23,8 +23,9 @@ module HerokuStatus
23
23
  # - {integer} limit - 1
24
24
  # @return {hash}
25
25
  def issues(filters={})
26
- filter_since = filters[:since] ? `since=#{filters[:since]}` : ""
27
- filter_limit = filters[:limit] ? `limit=#{filters[:limit]}` : ""
26
+ filter_since = filters[:since] ? "since=#{filters[:since]}" : ""
27
+ filter_limit = filters[:limit] ? "limit=#{filters[:limit]}" : ""
28
+
28
29
  response = Faraday.get("https://status.heroku.com/api/v3/issues?#{filter_since}&#{filter_limit}")
29
30
  if response.status != 200
30
31
  HerokuStatus::Errors.error(response, "An issue occured while fetching issues.")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joerodrig