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 +4 -4
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/build.yml +9 -5
- data/.github/workflows/publish.yml +4 -4
- data/.ruby-version +1 -0
- data/CONTRIBUTING.md +1 -0
- data/Gemfile.lock +58 -51
- data/README.md +4 -1
- data/lib/opsgenie/client.rb +2 -2
- data/opsgenie-schedule.gemspec +2 -2
- data/renovate.json +6 -0
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c27a251fabd4f7dc0de8f4d4e2c31c24c817d36f99f72fdead86c6b8ee3816e4
|
4
|
+
data.tar.gz: b443ae105b4ccc2c44a0dcdba24aa92890391ad2c234101e3518965c8422cf3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ad371da974bbde5b7bf881ad0f644925a2264c0a78ee4a742edc58c4815bec866f49539543612e3553be9bc4a93e730d58c9354594049bc06d89d1a6e2204f9
|
7
|
+
data.tar.gz: 5ae60c484188c0feee85fb76d32f8b10ddeeace0aff1cfd00eb606b42f64515ea6d87cba5156276f013fbf27ad011e02f2d647633d4346dca3a62975c09cbbf7
|
data/.github/workflows/build.yml
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
name: Build
|
2
2
|
|
3
|
-
on:
|
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@
|
12
|
-
- name: Set up Ruby
|
13
|
-
uses:
|
15
|
+
- uses: actions/checkout@v4
|
16
|
+
- name: Set up Ruby
|
17
|
+
uses: ruby/setup-ruby@v1
|
14
18
|
with:
|
15
|
-
ruby-version:
|
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@
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses:
|
12
|
+
- uses: actions/checkout@v4
|
13
|
+
- name: Set up Ruby
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version:
|
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
|
11
|
-
public_suffix (>= 2.0.2, <
|
12
|
-
ast (2.4.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
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
|
-
|
23
|
-
|
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.
|
29
|
-
parser (
|
30
|
-
ast (~> 2.4.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
|
38
|
-
|
39
|
-
|
40
|
-
rspec-
|
41
|
-
|
42
|
-
rspec-
|
43
|
-
rspec-
|
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.
|
46
|
-
rspec-mocks (3.
|
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.
|
49
|
-
rspec-support (3.
|
50
|
-
rubocop (
|
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 (>=
|
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, <
|
57
|
-
rubocop-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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.
|
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.
|
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`.
|
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
|
|
data/lib/opsgenie/client.rb
CHANGED
data/opsgenie-schedule.gemspec
CHANGED
@@ -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.
|
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.
|
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
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
|
+
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:
|
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.
|
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.
|
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.
|
175
|
+
rubygems_version: 3.5.16
|
172
176
|
signing_key:
|
173
177
|
specification_version: 4
|
174
178
|
summary: A RubyGem that fetches Opsgenie schedules
|