pager_duty-connection 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/pager_duty/connection/version.rb +1 -1
- data/pager_duty-connection.gemspec +3 -3
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eb5818a371ea5cb4a10d94764c7a1308741e81a
|
4
|
+
data.tar.gz: 71b98026cfede655051b5f4e4cc5c6bcc7a9067e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c970053abf61f0c58cc4b602126c892a7eef20821ebb7da2ce400534eb23c410e5bba3837d6aaaf9aee84d15c6034f31560de507e81063cf4644da19fbb9f9cd
|
7
|
+
data.tar.gz: 681cf2f7aaa12a1893be4167a44bd6717bb3fedb2975af84ff91abd033a3f3e668750f6f1adac56a7c78aaa3d635956317682c70c7ae99ed0339436fe3741a9d
|
data/README.md
CHANGED
@@ -48,7 +48,7 @@ Working code is worth a thousand words. The basics:
|
|
48
48
|
|
49
49
|
```ruby
|
50
50
|
# setup the connection
|
51
|
-
pagerduty = PagerDuty::Connection.new(token
|
51
|
+
pagerduty = PagerDuty::Connection.new(token)
|
52
52
|
|
53
53
|
# 4 main methods: `get`, `post`, `put`, and `delete`:
|
54
54
|
|
@@ -96,7 +96,7 @@ In general, you can get/put/post/delete a path, with some attributes. Use the [R
|
|
96
96
|
If you are working in Rails, and using only a single PagerDuty account, you'll probably want an initializer:
|
97
97
|
|
98
98
|
```ruby
|
99
|
-
$pagerduty = PagerDuty::Connection.new('your-
|
99
|
+
$pagerduty = PagerDuty::Connection.new('your-token')
|
100
100
|
```
|
101
101
|
|
102
102
|
And if you are using [dotenv](https://github.com/bkeepers/dotenv), you can use environment variables, and stash them in .env:
|
@@ -17,8 +17,8 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_dependency "faraday", "~> 0.8", "< 0
|
21
|
-
gem.add_dependency "faraday_middleware", "~> 0.
|
22
|
-
gem.add_dependency "activesupport", ">= 3.2", "<
|
20
|
+
gem.add_dependency "faraday", "~> 0.8", "< 1.0"
|
21
|
+
gem.add_dependency "faraday_middleware", "~> 0.8", "< 1.0"
|
22
|
+
gem.add_dependency "activesupport", ">= 3.2", "< 6.0"
|
23
23
|
gem.add_dependency "hashie", ">= 1.2"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pager_duty-connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Nichols
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.8'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0
|
22
|
+
version: '1.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,27 @@ dependencies:
|
|
29
29
|
version: '0.8'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0
|
32
|
+
version: '1.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: faraday_middleware
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: '0.8'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.0'
|
40
43
|
type: :runtime
|
41
44
|
prerelease: false
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
43
46
|
requirements:
|
44
47
|
- - "~>"
|
45
48
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
49
|
+
version: '0.8'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1.0'
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: activesupport
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +59,7 @@ dependencies:
|
|
53
59
|
version: '3.2'
|
54
60
|
- - "<"
|
55
61
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
62
|
+
version: '6.0'
|
57
63
|
type: :runtime
|
58
64
|
prerelease: false
|
59
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +69,7 @@ dependencies:
|
|
63
69
|
version: '3.2'
|
64
70
|
- - "<"
|
65
71
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
72
|
+
version: '6.0'
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
74
|
name: hashie
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
122
|
version: '0'
|
117
123
|
requirements: []
|
118
124
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.6.
|
125
|
+
rubygems_version: 2.6.14.1
|
120
126
|
signing_key:
|
121
127
|
specification_version: 4
|
122
128
|
summary: Written with the power of faraday, pager_duty-connection tries to be a simple
|