pagerduty 2.1.1 → 2.1.2

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
  SHA256:
3
- metadata.gz: 8dbc9c23955ddbec1d3d5d97d54bbbae4a7ebb95daecbb0ef0a0f579249303b9
4
- data.tar.gz: 7c9a40200d5f494945ea09ca0d1915e4fd31e2c890f3145155d4b9355f195f21
3
+ metadata.gz: c9070bf8e6ce8209a29f334fa3c63e5e73aa0ad928394c40039ba2b59e1c683a
4
+ data.tar.gz: 77c2c04f582f9835077e6567d8d27173e310719f1fb42f957345282133518520
5
5
  SHA512:
6
- metadata.gz: 34b67d774b87ed6d165239c3617cd2e99ac3bcefacbefb369bca243758ecab129cd1fe2c50533b28a96b196aa0308b817a80dab88915e7cd0ac56f00ccd66172
7
- data.tar.gz: d6a312ee4ba7a98085cf6a352d5781ffe78224e2f1c1ab413b199bfbea618ea753e69bd4be418339c3c40f72afe1efe08649b5f8b47c81b48fbbd7f823919e9b
6
+ metadata.gz: a198fd42dfccc52f8284085bd685b919cc8f07944bc9798d59eb1c0a6ab81283b4494fb63d9d00a12c90f33447a26ba8795b773e510d4acbfa09391f04e07356
7
+ data.tar.gz: 42d1accd8899ec8faae14561e79f22b0f22aa1a32fba893a8e7d9b109bdaee7583ad9d7999f9e06e5804c03dc1fdf76932f8212738e1fba0f74d081061bbbd05
@@ -2,8 +2,8 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.5.0
6
- - 2.4.3
7
- - 2.3.6
8
- - 2.2.9
9
- - 2.1.10
5
+ - 2.5
6
+ - 2.4
7
+ - 2.3
8
+ - 2.2
9
+ - 2.1
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Build Status](https://travis-ci.org/envato/pagerduty.svg?branch=master)](https://travis-ci.org/envato/pagerduty)
7
7
 
8
8
  Provides a lightweight Ruby interface for calling the [PagerDuty
9
- Integration API](http://developer.pagerduty.com/documentation/integration/events).
9
+ Events API](https://v2.developer.pagerduty.com/docs/events-api).
10
10
 
11
11
  ## Installation
12
12
 
@@ -48,8 +48,8 @@ incident.resolve
48
48
 
49
49
  There are a whole bunch of properties you can send to PagerDuty when triggering
50
50
  an incident. See the [PagerDuty
51
- documentation](http://developer.pagerduty.com/documentation/integration/events/trigger)
52
- for the specifics.
51
+ documentation](https://v2.developer.pagerduty.com/docs/trigger-events) for the
52
+ specifics.
53
53
 
54
54
  ```ruby
55
55
  pagerduty.trigger(
@@ -84,6 +84,7 @@ class Pagerduty
84
84
  #
85
85
  def get_incident(incident_key)
86
86
  raise ArgumentError, "incident_key is nil" if incident_key.nil?
87
+
87
88
  PagerdutyIncident.new(
88
89
  service_key,
89
90
  incident_key,
@@ -1,4 +1,3 @@
1
-
2
1
  require "json"
3
2
  require "net/https"
4
3
 
@@ -1,3 +1,3 @@
1
1
  class Pagerduty
2
- VERSION = "2.1.1".freeze
2
+ VERSION = "2.1.2".freeze
3
3
  end
@@ -1,4 +1,3 @@
1
-
2
1
  lib = File.expand_path("lib", __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "pagerduty/version"
@@ -14,11 +13,6 @@ Gem::Specification.new do |gem|
14
13
  gem.homepage = "http://github.com/envato/pagerduty"
15
14
  gem.license = "MIT"
16
15
 
17
- gem.post_install_message = %(
18
- If upgrading to pagerduty 2.0.0 please note the API changes:
19
- https://github.com/envato/pagerduty#upgrading-to-version-200
20
- )
21
-
22
16
  gem.files = `git ls-files`.split($/)
23
17
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
24
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
@@ -1,4 +1,3 @@
1
-
2
1
  require "spec_helper"
3
2
 
4
3
  describe Pagerduty::HttpTransport do
@@ -1,4 +1,3 @@
1
-
2
1
  require "spec_helper"
3
2
 
4
3
  describe Pagerduty do
@@ -1,4 +1,3 @@
1
-
2
1
  Dir[File.expand_path("support/**/*.rb", __dir__)].each { |f| require f }
3
2
 
4
3
  Warnings.silenced do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagerduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Somerville
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-06 00:00:00.000000000 Z
12
+ date: 2018-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -110,8 +110,7 @@ homepage: http://github.com/envato/pagerduty
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}
113
- post_install_message: "\nIf upgrading to pagerduty 2.0.0 please note the API changes:\nhttps://github.com/envato/pagerduty#upgrading-to-version-200\n
114
- \ "
113
+ post_install_message:
115
114
  rdoc_options: []
116
115
  require_paths:
117
116
  - lib