sentry-api 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/lib/sentry-api/client/projects.rb +9 -5
- data/lib/sentry-api/version.rb +1 -1
- data/sentry-api.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 449d0353d2479b402ca36c919675eafe5e881534
|
4
|
+
data.tar.gz: 12dcacc3200f9653baaa84e823afcdf8de69d38c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eda8973c8d2b4b157112c52f3300cdc4969d8d69c7e95d3b612d939c619b796e9aefa2006f43704924d21dfbabf09174732fc113335888f277f11b3beb09a1e
|
7
|
+
data.tar.gz: 75a4dea2323fcd7c2471fc456cbaf07442a126876e5f2bf5f9c8a8ee463db55b29814875852727b99815d71b0dc15b76624cd97352adb930a714949c166e914e
|
data/.travis.yml
CHANGED
@@ -149,7 +149,7 @@ class SentryApi::Client
|
|
149
149
|
get("/projects/#{@default_org_slug}/#{project_slug}/events/")
|
150
150
|
end
|
151
151
|
|
152
|
-
#
|
152
|
+
# Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters.
|
153
153
|
#
|
154
154
|
# @example
|
155
155
|
# SentryApi.project_event('project-slug', 'event-id')
|
@@ -161,14 +161,18 @@ class SentryApi::Client
|
|
161
161
|
get("/projects/#{@default_org_slug}/#{project_slug}/events/#{event_id}/")
|
162
162
|
end
|
163
163
|
|
164
|
-
#
|
164
|
+
# List a Project’s Issues
|
165
165
|
#
|
166
166
|
# @example
|
167
|
-
# SentryApi.project_issues('project-slug')
|
167
|
+
# SentryApi.project_issues('project-slug', {'query': 'is:unresolved Build-version:6.5.0'})
|
168
168
|
#
|
169
|
+
# @param project_slug [String] the slug of the project the client keys belong to.
|
170
|
+
# @param [Hash] options A customizable set of options.
|
171
|
+
# @option options [String] :statsPeriod an optional stat period (can be one of "24h", "14d", and "").
|
172
|
+
# @option options [String] :query an optional Sentry structured search query. If not provided an implied "is:resolved" is assumed.)
|
169
173
|
# @return [Array<SentryApi::ObjectifiedHash>]
|
170
|
-
def project_issues(project_slug)
|
171
|
-
get("/projects/#{@default_org_slug}/#{project_slug}/issues/")
|
174
|
+
def project_issues(project_slug, options={})
|
175
|
+
get("/projects/#{@default_org_slug}/#{project_slug}/issues/", query: options)
|
172
176
|
end
|
173
177
|
|
174
178
|
end
|
data/lib/sentry-api/version.rb
CHANGED
data/sentry-api.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = SentryApi::VERSION
|
9
9
|
spec.authors = ["Thierry Xing"]
|
10
10
|
spec.email = ["thierry.xing@gmail.com"]
|
11
|
-
spec.
|
11
|
+
spec.license = "BSD"
|
12
12
|
spec.summary = %q{Ruby client for Sentry API}
|
13
13
|
spec.description = %q{A Ruby wrapper for the Sentry API}
|
14
14
|
spec.homepage = "https://github.com/thierryxing/sentry-ruby-api"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thierry Xing
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httmultiparty
|