breathe 0.3.2 → 0.3.5
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/setup-rubygems.sh +1 -1
- data/.github/workflows/build.yml +3 -5
- data/.github/workflows/publish.yml +3 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/CONTRIBUTING.md +1 -0
- data/README.md +3 -1
- data/breathe.gemspec +5 -5
- data/lib/breathe/response.rb +3 -0
- data/lib/breathe/version.rb +1 -1
- data/renovate.json +6 -0
- metadata +24 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32987d41f0125172197a471366ef44a2a68c3f1db9a087ba8e5c55a182bd5fc8
|
4
|
+
data.tar.gz: 72ad4c1a8c5f8d0c372d82ab808832c133985494de8f2e53ef2be3d044041cf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fc8600c02e0484a2fcaccd190ba39d5904d292fc3ef33d692c5ac67da7f4ad780a475b64aa59ff46e6397501034249a41918bef955268541b16839c7e5bf5cc
|
7
|
+
data.tar.gz: ea0f3f692ceb7b53be7f3be58de1e4ca4c82d91534dba8cb0584092d94387517350b8060bff23156a820ff841dc6de0a5ecf50f8c711217557a415b7177f36cc
|
data/.github/setup-rubygems.sh
CHANGED
data/.github/workflows/build.yml
CHANGED
@@ -10,11 +10,9 @@ jobs:
|
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
14
|
-
- name: Set up Ruby
|
15
|
-
uses:
|
16
|
-
with:
|
17
|
-
ruby-version: 2.6.x
|
13
|
+
- uses: actions/checkout@v3
|
14
|
+
- name: Set up Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
18
16
|
- name: Set up cache
|
19
17
|
uses: actions/cache@preview
|
20
18
|
with:
|
@@ -9,11 +9,9 @@ jobs:
|
|
9
9
|
build:
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses:
|
15
|
-
with:
|
16
|
-
ruby-version: 2.6.x
|
12
|
+
- uses: actions/checkout@v3
|
13
|
+
- name: Set up Ruby
|
14
|
+
uses: ruby/setup-ruby@v1
|
17
15
|
- name: Setup Rubygems
|
18
16
|
env:
|
19
17
|
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.8
|
data/CHANGELOG.md
CHANGED
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/README.md
CHANGED
@@ -109,7 +109,9 @@ Only the absences endpoint is currently supported. PRs are accepted for more end
|
|
109
109
|
|
110
110
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
111
111
|
|
112
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
112
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
113
|
+
|
114
|
+
To release a new version, update the version number in `lib/breathe/version.rb`, commit the change and then create a git tag for that version in the format `x.x.x` (where x is each version number). Github Actions will then automatically push the latest version to Rubygems.
|
113
115
|
|
114
116
|
## Contributing
|
115
117
|
|
data/breathe.gemspec
CHANGED
@@ -26,12 +26,12 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 2.0"
|
29
|
-
spec.add_development_dependency "rake", "
|
29
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
30
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
31
31
|
spec.add_development_dependency "standard", "~> 0.1.5"
|
32
|
-
spec.add_development_dependency "dotenv", "~> 2.
|
33
|
-
spec.add_development_dependency "pry", "~> 0.
|
34
|
-
spec.add_development_dependency "webmock", "~> 3.
|
32
|
+
spec.add_development_dependency "dotenv", "~> 2.8.1"
|
33
|
+
spec.add_development_dependency "pry", "~> 0.14.1"
|
34
|
+
spec.add_development_dependency "webmock", "~> 3.18.1"
|
35
35
|
|
36
|
-
spec.add_dependency "sawyer", "
|
36
|
+
spec.add_dependency "sawyer", ">= 0.8.2", "< 0.10.0"
|
37
37
|
end
|
data/lib/breathe/response.rb
CHANGED
@@ -45,6 +45,9 @@ module Breathe
|
|
45
45
|
when 401
|
46
46
|
raise Breathe::AuthenticationError, "The BreatheHR API returned a 401 error - are you sure you've set the correct API key?"
|
47
47
|
else
|
48
|
+
puts("Unknown Error")
|
49
|
+
puts(response.status)
|
50
|
+
puts(response.body)
|
48
51
|
raise Breathe::UnknownError, "The BreatheHR API returned an unknown error"
|
49
52
|
end
|
50
53
|
end
|
data/lib/breathe/version.rb
CHANGED
data/renovate.json
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breathe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
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: 2023-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
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:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,56 +72,62 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 2.8.1
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: 2.8.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.14.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.14.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: webmock
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 3.
|
103
|
+
version: 3.18.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 3.
|
110
|
+
version: 3.18.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sawyer
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 0.8.2
|
118
|
+
- - "<"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 0.10.0
|
118
121
|
type: :runtime
|
119
122
|
prerelease: false
|
120
123
|
version_requirements: !ruby/object:Gem::Requirement
|
121
124
|
requirements:
|
122
|
-
- - "
|
125
|
+
- - ">="
|
123
126
|
- !ruby/object:Gem::Version
|
124
127
|
version: 0.8.2
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 0.10.0
|
125
131
|
description:
|
126
132
|
email:
|
127
133
|
- pezholio@gmail.com
|
@@ -129,6 +135,7 @@ executables: []
|
|
129
135
|
extensions: []
|
130
136
|
extra_rdoc_files: []
|
131
137
|
files:
|
138
|
+
- ".github/dependabot.yml"
|
132
139
|
- ".github/setup-rubygems.sh"
|
133
140
|
- ".github/workflows/build.yml"
|
134
141
|
- ".github/workflows/publish.yml"
|
@@ -137,6 +144,7 @@ files:
|
|
137
144
|
- ".ruby-version"
|
138
145
|
- CHANGELOG.md
|
139
146
|
- CODE_OF_CONDUCT.md
|
147
|
+
- CONTRIBUTING.md
|
140
148
|
- Gemfile
|
141
149
|
- LICENSE.txt
|
142
150
|
- README.md
|
@@ -153,6 +161,7 @@ files:
|
|
153
161
|
- lib/breathe/response.rb
|
154
162
|
- lib/breathe/sicknesses.rb
|
155
163
|
- lib/breathe/version.rb
|
164
|
+
- renovate.json
|
156
165
|
homepage: http://github.com/dxw/breathe_ruby
|
157
166
|
licenses:
|
158
167
|
- MIT
|
@@ -175,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
184
|
- !ruby/object:Gem::Version
|
176
185
|
version: '0'
|
177
186
|
requirements: []
|
178
|
-
rubygems_version: 3.
|
187
|
+
rubygems_version: 3.1.6
|
179
188
|
signing_key:
|
180
189
|
specification_version: 4
|
181
190
|
summary: A Ruby Wrapper for the BreateHR API
|