opsgenie-schedule 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ab20a3a32e3fe97d6a9ef971031383bf525878e4209d8f7d389eb53ebd952527
4
+ data.tar.gz: db61f6926403357695079a624a12114c93dfbb25be8a7d1d09975fc787eb4b83
5
+ SHA512:
6
+ metadata.gz: db13001f5c1bcfb03158b33cb5e564b788cf83dc1475c5dce3651c7d81f73f5f5140599fe1597d58defa596e8cddd4e1989b9f4a50ed0b7c40f4611aa2a1a6e1
7
+ data.tar.gz: d68bc79a497d2b9835eb4efe7c4c5ffc8acfcd1f61dc42d3110bc710fbce2eab96a09177a1458195259c671a1a0fe3a24d98997cc89f533cb27843e6b8dbc25d
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ mkdir ~/.gem
5
+ echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
6
+ chmod 0600 ~/.gem/credentials
@@ -0,0 +1,22 @@
1
+ name: Build
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - name: Set up Ruby 2.6
13
+ uses: actions/setup-ruby@v1
14
+ with:
15
+ ruby-version: 2.6.x
16
+ - name: Build and test with Rake
17
+ run: |
18
+ gem install bundler
19
+ bundle install --jobs 4 --retry 3
20
+ bundle exec rake
21
+ env:
22
+ OPSGENIE_API_KEY: "some-api-key"
@@ -0,0 +1,25 @@
1
+ name: Publish to rubygems
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "*"
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - name: Set up Ruby 2.6
14
+ uses: actions/setup-ruby@v1
15
+ with:
16
+ ruby-version: 2.6.x
17
+ - name: Setup Rubygems
18
+ env:
19
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
20
+ run: |
21
+ bash .github/setup-rubygems.sh
22
+ - name: Publish to Rubygems
23
+ run: |
24
+ gem build opsgenie-schedule.gemspec
25
+ gem push "opsgenie-schedule-$(git describe --tags).gem"
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ /.env
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at pezholio@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,88 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ opsgenie-schedule (0.0.1)
5
+ httparty (~> 0.17)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.7.0)
11
+ public_suffix (>= 2.0.2, < 5.0)
12
+ ast (2.4.0)
13
+ coderay (1.1.2)
14
+ crack (0.4.3)
15
+ safe_yaml (~> 1.0.0)
16
+ diff-lcs (1.3)
17
+ dotenv (2.7.5)
18
+ hashdiff (1.0.0)
19
+ httparty (0.17.1)
20
+ mime-types (~> 3.0)
21
+ multi_xml (>= 0.5.2)
22
+ jaro_winkler (1.5.3)
23
+ method_source (0.9.2)
24
+ mime-types (3.3)
25
+ mime-types-data (~> 3.2015)
26
+ mime-types-data (3.2019.0904)
27
+ multi_xml (0.6.0)
28
+ parallel (1.17.0)
29
+ parser (2.6.4.1)
30
+ ast (~> 2.4.0)
31
+ pry (0.12.2)
32
+ coderay (~> 1.1.0)
33
+ method_source (~> 0.9.0)
34
+ public_suffix (4.0.1)
35
+ rainbow (3.0.0)
36
+ rake (10.5.0)
37
+ rspec (3.8.0)
38
+ rspec-core (~> 3.8.0)
39
+ rspec-expectations (~> 3.8.0)
40
+ rspec-mocks (~> 3.8.0)
41
+ rspec-core (3.8.2)
42
+ rspec-support (~> 3.8.0)
43
+ rspec-expectations (3.8.4)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.8.0)
46
+ rspec-mocks (3.8.1)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.8.0)
49
+ rspec-support (3.8.2)
50
+ rubocop (0.72.0)
51
+ jaro_winkler (~> 1.5.1)
52
+ parallel (~> 1.10)
53
+ parser (>= 2.6)
54
+ rainbow (>= 2.2.2, < 4.0)
55
+ ruby-progressbar (~> 1.7)
56
+ unicode-display_width (>= 1.4.0, < 1.7)
57
+ rubocop-performance (1.4.1)
58
+ rubocop (>= 0.71.0)
59
+ ruby-progressbar (1.10.1)
60
+ safe_yaml (1.0.5)
61
+ standard (0.1.4)
62
+ rubocop (~> 0.72.0)
63
+ rubocop-performance (~> 1.4.0)
64
+ timecop (0.9.1)
65
+ unicode-display_width (1.6.0)
66
+ vcr (5.0.0)
67
+ webmock (3.7.6)
68
+ addressable (>= 2.3.6)
69
+ crack (>= 0.3.2)
70
+ hashdiff (>= 0.4.0, < 2.0.0)
71
+
72
+ PLATFORMS
73
+ ruby
74
+
75
+ DEPENDENCIES
76
+ bundler (~> 2.0)
77
+ dotenv (~> 2.7)
78
+ opsgenie-schedule!
79
+ pry (~> 0.12.0)
80
+ rake (~> 10.0)
81
+ rspec (~> 3.0)
82
+ standard (~> 0.1)
83
+ timecop (~> 0.9)
84
+ vcr (~> 5.0)
85
+ webmock (~> 3.5)
86
+
87
+ BUNDLED WITH
88
+ 2.0.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 dxw
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,81 @@
1
+ [![Build Status](https://github.com/dxw/opsgenie-schedule/workflows/Build/badge.svg)](https://github.com/dxw/opsgenie-schedule/actions)
2
+
3
+ # Opsgenie Schedule
4
+
5
+ A simple gem that fetches the scheduled people working on a given date for any Opsgenie schedule.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'opsgenie-schedule'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ ```bash
18
+ $ bundle
19
+ ```
20
+
21
+ Or install it yourself as:
22
+
23
+ ```bash
24
+ $ gem install opsgenie-schedule
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ Require and initialize the gem like so:
30
+
31
+ ```ruby
32
+ require 'opsgenie-schedule'
33
+
34
+ Opsgenie::Configure(api_key: "YOUR_OPSGENIE_API_KEY")
35
+ ```
36
+
37
+ And fetch a schedule by its name:
38
+
39
+ ```ruby
40
+ schedule = Opsgenie::Schedule.find_by_name("schedule_name")
41
+ ```
42
+
43
+ Or its ID
44
+
45
+ ```ruby
46
+ schedule = Opsgenie::Schedule.find_by_id("some_uuid")
47
+ ```
48
+
49
+ You can then fetch the people scheduled for today like so:
50
+
51
+ ```ruby
52
+ schedule.on_calls
53
+ #=> ["someone@example.com", "someone-else@example.com"]
54
+ ```
55
+
56
+ Or a given date like so:
57
+
58
+ ```ruby
59
+ date = Date.parse("2019-01-01")
60
+ schedule.on_calls(date)
61
+ #=> ["someone@example.com", "someone-else@example.com"]
62
+ ```
63
+
64
+ ## Development
65
+
66
+ After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
67
+
68
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
+
70
+ ## Contributing
71
+
72
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dxw/opsgenie-schedule. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
73
+
74
+ ## License
75
+
76
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
77
+
78
+ ## Code of Conduct
79
+
80
+ Everyone interacting in the MarketplaceOpportunityScraper project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dxw/opsgenie-schedule/blob/master/CODE_OF_CONDUCT.md).
81
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "lib")
2
+
3
+ require "opsgenie"
4
+
5
+ require "rspec/core/rake_task"
6
+ require "standard/rake"
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+
10
+ task default: %i[standard spec]
data/lib/opsgenie.rb ADDED
@@ -0,0 +1,13 @@
1
+ require "httparty"
2
+
3
+ require "opsgenie/client"
4
+ require "opsgenie/schedule"
5
+ require "opsgenie/config"
6
+
7
+ module Opsgenie
8
+ def self.configure(api_key:)
9
+ Opsgenie::Config.configure(api_key)
10
+ end
11
+
12
+ class ConfigurationError < StandardError; end
13
+ end
@@ -0,0 +1,36 @@
1
+ module Opsgenie
2
+ class Client
3
+ ROOT_PATH = "https://api.opsgenie.com".freeze
4
+
5
+ class << self
6
+ def get(path)
7
+ url = [
8
+ ROOT_PATH,
9
+ version,
10
+ path,
11
+ ].join("/")
12
+ HTTParty.get(url, headers)
13
+ end
14
+
15
+ def headers
16
+ {
17
+ headers: auth_header,
18
+ }
19
+ end
20
+
21
+ def auth_header
22
+ {"Authorization" => "GenieKey #{api_key}"}
23
+ end
24
+
25
+ def version
26
+ "v2"
27
+ end
28
+
29
+ def api_key
30
+ raise ConfigurationError.new("Missing API key. Use `Opsgenie.configure(api_key: YOUR_API_KEY)` to set the API key") if Config.opsgenie_api_key.nil?
31
+
32
+ Config.opsgenie_api_key
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,12 @@
1
+ module Opsgenie
2
+ class Config
3
+ class << self
4
+ attr_reader :opsgenie_api_key
5
+
6
+ def configure(opsgenie_api_key)
7
+ @opsgenie_api_key = opsgenie_api_key
8
+ self
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,47 @@
1
+ require "date"
2
+
3
+ module Opsgenie
4
+ class Schedule
5
+ attr_reader :id, :name
6
+
7
+ class << self
8
+ def all
9
+ body = Opsgenie::Client.get("schedules")
10
+ body["data"].map { |s| new(s) }
11
+ end
12
+
13
+ def find_by_name(name)
14
+ find(name, "name")
15
+ end
16
+
17
+ def find_by_id(id)
18
+ find(id, "name")
19
+ end
20
+
21
+ def find(id_or_name, type = "id")
22
+ body = Opsgenie::Client.get("schedules/#{id_or_name}?identifierType=#{type}")
23
+ new(body["data"])
24
+ end
25
+ end
26
+
27
+ def initialize(attrs)
28
+ @id = attrs["id"]
29
+ @name = attrs["name"]
30
+ end
31
+
32
+ def on_calls(date = Date.today)
33
+ datetime = "#{date}T10:00:00%2B00:00"
34
+ endpoint = "schedules/#{id}/on-calls?date=#{datetime}"
35
+ body = Opsgenie::Client.get(endpoint)
36
+ get_participants(body).map { |u| u["name"] }
37
+ end
38
+
39
+ private
40
+
41
+ def get_participants(body)
42
+ body["data"]["onCallParticipants"].select do |p|
43
+ p["type"] == "user"
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,34 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ Gem::Specification.new do |spec|
5
+ spec.name = "opsgenie-schedule"
6
+ spec.version = "0.0.1"
7
+ spec.authors = ["Stuart Harrison"]
8
+ spec.email = ["stuart@dxw.com"]
9
+
10
+ spec.summary = "A RubyGem that fetches Opsgenie schedules"
11
+ spec.homepage = "https://github.com/dxw/opsgenie-schedule"
12
+ spec.license = "MIT"
13
+
14
+ # Specify which files should be added to the gem when it is released.
15
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
16
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
17
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", "~> 2.0"
24
+ spec.add_development_dependency "pry", "~> 0.12.0"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "standard", "~> 0.1"
28
+ spec.add_development_dependency "timecop", "~> 0.9"
29
+ spec.add_development_dependency "vcr", "~> 5.0"
30
+ spec.add_development_dependency "webmock", "~> 3.5"
31
+ spec.add_development_dependency "dotenv", "~> 2.7"
32
+
33
+ spec.add_dependency "httparty", "~> 0.17"
34
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opsgenie-schedule
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Stuart Harrison
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.12.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.12.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: standard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: timecop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.9'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.9'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.5'
125
+ - !ruby/object:Gem::Dependency
126
+ name: dotenv
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.7'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.7'
139
+ - !ruby/object:Gem::Dependency
140
+ name: httparty
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.17'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.17'
153
+ description:
154
+ email:
155
+ - stuart@dxw.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".github/setup-rubygems.sh"
161
+ - ".github/workflows/build.yml"
162
+ - ".github/workflows/publish.yml"
163
+ - ".gitignore"
164
+ - ".rspec"
165
+ - CODE_OF_CONDUCT.md
166
+ - Gemfile
167
+ - Gemfile.lock
168
+ - LICENSE.txt
169
+ - README.md
170
+ - Rakefile
171
+ - lib/opsgenie.rb
172
+ - lib/opsgenie/client.rb
173
+ - lib/opsgenie/config.rb
174
+ - lib/opsgenie/schedule.rb
175
+ - opsgenie-schedule.gemspec
176
+ homepage: https://github.com/dxw/opsgenie-schedule
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubygems_version: 3.0.3
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: A RubyGem that fetches Opsgenie schedules
199
+ test_files: []