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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96b92d21eb2bfb0d148c30e774fb209332d9d417921c26f1a51448ebea86a949
4
- data.tar.gz: 863903e2d56dc255f219ed8b6da8164dc3e685c0c25e87db341319f49f21aab7
3
+ metadata.gz: 32987d41f0125172197a471366ef44a2a68c3f1db9a087ba8e5c55a182bd5fc8
4
+ data.tar.gz: 72ad4c1a8c5f8d0c372d82ab808832c133985494de8f2e53ef2be3d044041cf1
5
5
  SHA512:
6
- metadata.gz: 0447d915f7761db9d2c55728349d4d00655bc1b16f37be622de6c2b22288186836c0330198eca6b1267445a412c73fa8c9dcbb8bf95a48e5ff2135bd3d375d5c
7
- data.tar.gz: 1d79b24732559cb2373eff989a23073295ffc8f7a2a940a2b5ccaa93c4ddcf8d2d9d8865a21e1223f07a6839e91262b0734d12576ee9d2872f6c69ebf4e3696d
6
+ metadata.gz: 1fc8600c02e0484a2fcaccd190ba39d5904d292fc3ef33d692c5ac67da7f4ad780a475b64aa59ff46e6397501034249a41918bef955268541b16839c7e5bf5cc
7
+ data.tar.gz: ea0f3f692ceb7b53be7f3be58de1e4ca4c82d91534dba8cb0584092d94387517350b8060bff23156a820ff841dc6de0a5ecf50f8c711217557a415b7177f36cc
@@ -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,6 @@
1
1
  #!/bin/bash
2
2
  set -e
3
3
 
4
- mkdir ~/.gem
4
+ mkdir -p ~/.gem
5
5
  echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
6
6
  chmod 0600 ~/.gem/credentials
@@ -10,11 +10,9 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
- - uses: actions/checkout@v1
14
- - name: Set up Ruby 2.6
15
- uses: actions/setup-ruby@v1
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@v1
13
- - name: Set up Ruby 2.6
14
- uses: actions/setup-ruby@v1
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.6.5
1
+ 2.7.8
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog]
6
6
 
7
+ [0.3.3]
8
+
9
+ - Update vulnerable dependency rake
10
+
7
11
  [0.3.2]
8
12
 
9
13
  - Support listing of training courses
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`. 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).
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", "~> 10.0"
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.7.5"
33
- spec.add_development_dependency "pry", "~> 0.12.2"
34
- spec.add_development_dependency "webmock", "~> 3.7.6"
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", "~> 0.8.2"
36
+ spec.add_dependency "sawyer", ">= 0.8.2", "< 0.10.0"
37
37
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Breathe
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.5"
3
3
  end
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: breathe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
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: 2020-02-14 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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.7.5
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.7.5
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.12.2
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.12.2
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.7.6
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.7.6
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.0.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