opsgenie-schedule 0.1.4 → 0.1.6

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: 87335bd0a13876342f0c731c79fd9fc6e6384d6bbf296dc144832010cb362ac3
4
- data.tar.gz: 4d1abab5c92114b5d9414bef8a487241c92b2d488bf341d0e7509faac23491a2
3
+ metadata.gz: c27a251fabd4f7dc0de8f4d4e2c31c24c817d36f99f72fdead86c6b8ee3816e4
4
+ data.tar.gz: b443ae105b4ccc2c44a0dcdba24aa92890391ad2c234101e3518965c8422cf3b
5
5
  SHA512:
6
- metadata.gz: bc3847eb49b1b9895047eec827b1640930b91f750634d70281e60b73e0a32276349f34811d3e2f4418cf22610f0b1839e1f950933adae9454921bc232f349d1d
7
- data.tar.gz: 6a4525591332421464a5adcf445f01371d3b0aef0eb2a02edbb9e38545fa82e74a2da7cda24cb69839c48d99cbf8f916e6e8d3d2d058d2cf292f9bfd578972b3
6
+ metadata.gz: 1ad371da974bbde5b7bf881ad0f644925a2264c0a78ee4a742edc58c4815bec866f49539543612e3553be9bc4a93e730d58c9354594049bc06d89d1a6e2204f9
7
+ data.tar.gz: 5ae60c484188c0feee85fb76d32f8b10ddeeace0aff1cfd00eb606b42f64515ea6d87cba5156276f013fbf27ad011e02f2d647633d4346dca3a62975c09cbbf7
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
7
+ - package-ecosystem: "github-actions"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "daily"
@@ -1,6 +1,10 @@
1
1
  name: Build
2
2
 
3
- on: [push]
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
4
8
 
5
9
  jobs:
6
10
  build:
@@ -8,11 +12,11 @@ jobs:
8
12
  runs-on: ubuntu-latest
9
13
 
10
14
  steps:
11
- - uses: actions/checkout@v1
12
- - name: Set up Ruby 2.6
13
- uses: actions/setup-ruby@v1
15
+ - uses: actions/checkout@v4
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
14
18
  with:
15
- ruby-version: 2.6.x
19
+ ruby-version: 3.3.5
16
20
  - name: Build and test with Rake
17
21
  run: |
18
22
  gem install bundler
@@ -9,11 +9,11 @@ jobs:
9
9
  build:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
- - uses: actions/checkout@v1
13
- - name: Set up Ruby 2.6
14
- uses: actions/setup-ruby@v1
12
+ - uses: actions/checkout@v4
13
+ - name: Set up Ruby
14
+ uses: ruby/setup-ruby@v1
15
15
  with:
16
- ruby-version: 2.6.x
16
+ ruby-version: 3.3.5
17
17
  - name: Setup Rubygems
18
18
  env:
19
19
  RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.3.5
data/CONTRIBUTING.md ADDED
@@ -0,0 +1 @@
1
+ The [dxw standard contributing guide](https://github.com/dxw/.github/blob/main/CONTRIBUTING.md) applies for this repository.
data/Gemfile.lock CHANGED
@@ -7,63 +7,70 @@ PATH
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
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.18.0)
20
- mime-types (~> 3.0)
10
+ addressable (2.8.7)
11
+ public_suffix (>= 2.0.2, < 7.0)
12
+ ast (2.4.2)
13
+ bigdecimal (3.1.8)
14
+ coderay (1.1.3)
15
+ crack (1.0.0)
16
+ bigdecimal
17
+ rexml
18
+ diff-lcs (1.5.1)
19
+ dotenv (2.8.1)
20
+ hashdiff (1.1.1)
21
+ httparty (0.21.0)
22
+ mini_mime (>= 1.0.0)
21
23
  multi_xml (>= 0.5.2)
22
- jaro_winkler (1.5.3)
23
- method_source (0.9.2)
24
- mime-types (3.3.1)
25
- mime-types-data (~> 3.2015)
26
- mime-types-data (3.2020.0425)
24
+ method_source (1.1.0)
25
+ mini_mime (1.1.2)
27
26
  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)
27
+ parallel (1.26.3)
28
+ parser (3.3.5.0)
29
+ ast (~> 2.4.1)
30
+ racc
31
+ pry (0.14.2)
32
+ coderay (~> 1.1)
33
+ method_source (~> 1.0)
34
+ public_suffix (6.0.1)
35
+ racc (1.8.1)
36
+ rainbow (3.1.1)
36
37
  rake (12.3.3)
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)
38
+ regexp_parser (2.9.2)
39
+ rexml (3.3.8)
40
+ rspec (3.13.0)
41
+ rspec-core (~> 3.13.0)
42
+ rspec-expectations (~> 3.13.0)
43
+ rspec-mocks (~> 3.13.0)
44
+ rspec-core (3.13.1)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-expectations (3.13.3)
44
47
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.8.0)
46
- rspec-mocks (3.8.1)
48
+ rspec-support (~> 3.13.0)
49
+ rspec-mocks (3.13.2)
47
50
  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)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-support (3.13.1)
53
+ rubocop (1.10.0)
52
54
  parallel (~> 1.10)
53
- parser (>= 2.6)
55
+ parser (>= 3.0.0.0)
54
56
  rainbow (>= 2.2.2, < 4.0)
57
+ regexp_parser (>= 1.8, < 3.0)
58
+ rexml
59
+ rubocop-ast (>= 1.2.0, < 2.0)
55
60
  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
- unicode-display_width (1.6.0)
65
- webmock (3.7.6)
66
- addressable (>= 2.3.6)
61
+ unicode-display_width (>= 1.4.0, < 3.0)
62
+ rubocop-ast (1.32.3)
63
+ parser (>= 3.3.1.0)
64
+ rubocop-performance (1.9.2)
65
+ rubocop (>= 0.90.0, < 2.0)
66
+ rubocop-ast (>= 0.4.0)
67
+ ruby-progressbar (1.13.0)
68
+ standard (0.13.0)
69
+ rubocop (= 1.10.0)
70
+ rubocop-performance (= 1.9.2)
71
+ unicode-display_width (2.6.0)
72
+ webmock (3.24.0)
73
+ addressable (>= 2.8.0)
67
74
  crack (>= 0.3.2)
68
75
  hashdiff (>= 0.4.0, < 2.0.0)
69
76
 
@@ -74,11 +81,11 @@ DEPENDENCIES
74
81
  bundler (~> 2.0)
75
82
  dotenv (~> 2.7)
76
83
  opsgenie-schedule!
77
- pry (~> 0.12.0)
84
+ pry (~> 0.14.0)
78
85
  rake (~> 12.3.3)
79
86
  rspec (~> 3.0)
80
87
  standard (~> 0.1)
81
88
  webmock (~> 3.5)
82
89
 
83
90
  BUNDLED WITH
84
- 2.1.4
91
+ 2.5.20
data/README.md CHANGED
@@ -125,7 +125,10 @@ schedule.rotation[0].timeline(
125
125
 
126
126
  After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
127
127
 
128
- 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).
128
+ To install this gem onto your local machine, run `bundle exec rake install`.
129
+
130
+ To release a new version, update the version number in `opsgenie-schedule.gemspec`, commit the change and then create a git tag for that version in the
131
+ format `x.x.x` (where x is each version number). Github Actions will then automatically push the latest version to Rubygems.
129
132
 
130
133
  ## Contributing
131
134
 
@@ -7,14 +7,14 @@ module Opsgenie
7
7
  url = [
8
8
  ROOT_PATH,
9
9
  version,
10
- path,
10
+ path
11
11
  ].join("/")
12
12
  HTTParty.get(url, headers)
13
13
  end
14
14
 
15
15
  def headers
16
16
  {
17
- headers: auth_header,
17
+ headers: auth_header
18
18
  }
19
19
  end
20
20
 
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "opsgenie-schedule"
6
- spec.version = "0.1.4"
6
+ spec.version = "0.1.6"
7
7
  spec.authors = ["Stuart Harrison"]
8
8
  spec.email = ["stuart@dxw.com"]
9
9
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 2.0"
24
- spec.add_development_dependency "pry", "~> 0.12.0"
24
+ spec.add_development_dependency "pry", "~> 0.14.0"
25
25
  spec.add_development_dependency "rake", "~> 12.3.3"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
27
  spec.add_development_dependency "standard", "~> 0.1"
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:base"
5
+ ]
6
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsgenie-schedule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Harrison
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-29 00:00:00.000000000 Z
11
+ date: 2024-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.12.0
33
+ version: 0.14.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.12.0
40
+ version: 0.14.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -129,12 +129,15 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
+ - ".github/dependabot.yml"
132
133
  - ".github/setup-rubygems.sh"
133
134
  - ".github/workflows/build.yml"
134
135
  - ".github/workflows/publish.yml"
135
136
  - ".gitignore"
136
137
  - ".rspec"
138
+ - ".ruby-version"
137
139
  - CODE_OF_CONDUCT.md
140
+ - CONTRIBUTING.md
138
141
  - Gemfile
139
142
  - Gemfile.lock
140
143
  - LICENSE.txt
@@ -149,6 +152,7 @@ files:
149
152
  - lib/opsgenie/timeline_rotation.rb
150
153
  - lib/opsgenie/user.rb
151
154
  - opsgenie-schedule.gemspec
155
+ - renovate.json
152
156
  homepage: https://github.com/dxw/opsgenie-schedule
153
157
  licenses:
154
158
  - MIT
@@ -168,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
172
  - !ruby/object:Gem::Version
169
173
  version: '0'
170
174
  requirements: []
171
- rubygems_version: 3.0.6
175
+ rubygems_version: 3.5.16
172
176
  signing_key:
173
177
  specification_version: 4
174
178
  summary: A RubyGem that fetches Opsgenie schedules