heroku-bouncer 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/CONTRIBUTING.md +46 -0
  4. metadata +52 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cd8ecb45dca6f11f99f8aef816dd7ad3780c1ce0f09c935d1b84f58b50a56f6
4
- data.tar.gz: bf605a932d034c95eb05b3c26ad8f970587036827f97cde9fbc85c921d3347fb
3
+ metadata.gz: 8abf3173e55dc522a581314a12116e55e7ad71068f3a2ac77e0ca0852f32c530
4
+ data.tar.gz: bbb004148de5fe72d21f7051c4675816bbee219f1ca1cc71cf9283689ede9a57
5
5
  SHA512:
6
- metadata.gz: 46b7bcf5da2f36fe6d4c55e0511712bdf81407830d7aa26a4fe766779b1289a60dfd50b50c52736abd598ad3ccb5dd26dfb164cc33a2041632df473236780072
7
- data.tar.gz: 521357a9a2fae301fe728d444f09d43f5fcb1687e4ef5839ee894141e0efc6d33370c1bc720cd356904040ee15c732cf22b65e84cd1153e67d263e345fa6e6ff
6
+ metadata.gz: 84d20de61bffbd18674278333123400ffaa3c16f1a147586c00721f0da0b4843f6a311e3117dd432210b514a17c1bc398ae40c12c66a45767e87751664f475da
7
+ data.tar.gz: fbe409b4bdac9c7c4a5dde0de40d29629d11ce4ec76b86f36ea630029e695f043cb4ae6278434c2dd22c44e17f485401525e2804fd98031187a24635cd82fd7d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # 1.0.3
2
+
3
+ * #80 Loosen sinatra version constraint, allowing `sinatra >= 3, < 5`. Note: According to [GHSA-hxx2-7vcw-mqr3](https://github.com/advisories/GHSA-hxx2-7vcw-mqr3), all versions prior to Sinatra 4.1.0 are vulnerable to [CVE-2024-21510](https://nvd.nist.gov/vuln/detail/CVE-2024-21510).
4
+
5
+ # 1.0.2
6
+
7
+ * #75: Add explicit dependency on OpenStruct gem
8
+ * #73: Avoid vendoring gems
9
+
10
+ # 1.0.1
11
+
12
+ * #72: Avoid vendoring gems
13
+
1
14
  # 1.0.0
2
15
 
3
16
  * #71: Ruby >= 3.1 support and Ruby < 3 deprecation, supports Sinatra >= 3 and drops support for Sinatra 1 and 2.
data/CONTRIBUTING.md CHANGED
@@ -60,3 +60,49 @@ Make sure the tests pass:
60
60
  [fork]: http://help.github.com/fork-a-repo/
61
61
  [branch]: http://learn.github.com/p/branching.html
62
62
  [pr]: http://help.github.com/send-pull-requests/
63
+
64
+ ## Creating a New Rubygems Release
65
+
66
+ These steps assume you are an owner of the gem on Rubygems, you can find the full list of owners [here](https://rubygems.org/gems/heroku-bouncer).
67
+
68
+ ### 1. Prepare for the release:
69
+
70
+ First, ensure all the necessary PRs have been merged and the [Changelog](https://github.com/sharpstone/heroku-bouncer/blob/master/CHANGELOG.md) has been updated with a new section that reflects all of the changes in this release.
71
+
72
+ From the main branch, open the [gemspec file](https://github.com/sharpstone/heroku-bouncer/blob/db91a01c602790b043c96356562dcc72149402f8/heroku-bouncer.gemspec#L3), locate the `spec.version = "..."` line then update the version number accordingly (e.g., from 1.0.0 to 1.1.0). Save the gemspec file.
73
+
74
+ ### 2. Create a Git Release:
75
+
76
+ Commit your changes to the repository with `git commit -am "Preparing v1.x.x release"`
77
+
78
+ Create the release using the Github CLI [interactive release command](https://cli.github.com/manual/gh_release_create):
79
+
80
+ ```bash
81
+ gh release create v1.x.x
82
+ ```
83
+
84
+ Selecting these options when prompted:
85
+
86
+ ```bash
87
+ ? Title (optional): v1.0.3
88
+ ? Release notes: Write using generated notes as template
89
+ ? Is this a prerelease?: No
90
+ ? Submit?: Publish release
91
+ https://github.com/sharpstone/heroku-bouncer/releases/tag/v1.0.3
92
+ ```
93
+
94
+ ### 3. Building and Packaging:
95
+
96
+ Build the Gem:
97
+
98
+ ```bash
99
+ gem build heroku-bouncer.gemspec
100
+ ```
101
+
102
+ This will create a .gem file in the same directory.
103
+
104
+ 3. Publishing to RubyGems.org:
105
+ Push the Gem:
106
+ Ensure you have a RubyGems.org account and have signed in with gem signin.
107
+ Run the command gem push my_gem-1.1.0.gem (replace my_gem-1.1.0.gem with the name of your .gem file).
108
+ The gem will be uploaded to RubyGems.org.
metadata CHANGED
@@ -1,109 +1,108 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-bouncer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Dance
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-11 00:00:00.000000000 Z
10
+ date: 2025-03-20 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: omniauth-heroku
13
+ name: faraday
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '0.1'
18
+ version: 2.0.1
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
- version: '2'
21
+ version: '3'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: '0.1'
28
+ version: 2.0.1
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
- version: '2'
31
+ version: '3'
33
32
  - !ruby/object:Gem::Dependency
34
- name: sinatra
33
+ name: omniauth-heroku
35
34
  requirement: !ruby/object:Gem::Requirement
36
35
  requirements:
37
36
  - - ">="
38
37
  - !ruby/object:Gem::Version
39
- version: '3.0'
38
+ version: '0.1'
40
39
  - - "<"
41
40
  - !ruby/object:Gem::Version
42
- version: '4'
41
+ version: '2'
43
42
  type: :runtime
44
43
  prerelease: false
45
44
  version_requirements: !ruby/object:Gem::Requirement
46
45
  requirements:
47
46
  - - ">="
48
47
  - !ruby/object:Gem::Version
49
- version: '3.0'
48
+ version: '0.1'
50
49
  - - "<"
51
50
  - !ruby/object:Gem::Version
52
- version: '4'
51
+ version: '2'
53
52
  - !ruby/object:Gem::Dependency
54
- name: faraday
53
+ name: rack
55
54
  requirement: !ruby/object:Gem::Requirement
56
55
  requirements:
57
56
  - - ">="
58
57
  - !ruby/object:Gem::Version
59
- version: 2.0.1
58
+ version: '2.0'
60
59
  - - "<"
61
60
  - !ruby/object:Gem::Version
62
- version: '3'
61
+ version: '4'
63
62
  type: :runtime
64
63
  prerelease: false
65
64
  version_requirements: !ruby/object:Gem::Requirement
66
65
  requirements:
67
66
  - - ">="
68
67
  - !ruby/object:Gem::Version
69
- version: 2.0.1
68
+ version: '2.0'
70
69
  - - "<"
71
70
  - !ruby/object:Gem::Version
72
- version: '3'
71
+ version: '4'
73
72
  - !ruby/object:Gem::Dependency
74
- name: rack
73
+ name: sinatra
75
74
  requirement: !ruby/object:Gem::Requirement
76
75
  requirements:
77
76
  - - ">="
78
77
  - !ruby/object:Gem::Version
79
- version: '2.0'
78
+ version: '3.0'
80
79
  - - "<"
81
80
  - !ruby/object:Gem::Version
82
- version: '4'
81
+ version: '5'
83
82
  type: :runtime
84
83
  prerelease: false
85
84
  version_requirements: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - ">="
88
87
  - !ruby/object:Gem::Version
89
- version: '2.0'
88
+ version: '3.0'
90
89
  - - "<"
91
90
  - !ruby/object:Gem::Version
92
- version: '4'
91
+ version: '5'
93
92
  - !ruby/object:Gem::Dependency
94
- name: rake
93
+ name: delorean
95
94
  requirement: !ruby/object:Gem::Requirement
96
95
  requirements:
97
96
  - - "~>"
98
97
  - !ruby/object:Gem::Version
99
- version: 13.2.1
98
+ version: '2.1'
100
99
  type: :development
101
100
  prerelease: false
102
101
  version_requirements: !ruby/object:Gem::Requirement
103
102
  requirements:
104
103
  - - "~>"
105
104
  - !ruby/object:Gem::Version
106
- version: 13.2.1
105
+ version: '2.1'
107
106
  - !ruby/object:Gem::Dependency
108
107
  name: minitest
109
108
  requirement: !ruby/object:Gem::Requirement
@@ -133,61 +132,75 @@ dependencies:
133
132
  - !ruby/object:Gem::Version
134
133
  version: '0.0'
135
134
  - !ruby/object:Gem::Dependency
136
- name: rack-test
135
+ name: mocha
137
136
  requirement: !ruby/object:Gem::Requirement
138
137
  requirements:
139
138
  - - "~>"
140
139
  - !ruby/object:Gem::Version
141
- version: '2'
140
+ version: '2.2'
142
141
  type: :development
143
142
  prerelease: false
144
143
  version_requirements: !ruby/object:Gem::Requirement
145
144
  requirements:
146
145
  - - "~>"
147
146
  - !ruby/object:Gem::Version
148
- version: '2'
147
+ version: '2.2'
149
148
  - !ruby/object:Gem::Dependency
150
- name: mocha
149
+ name: nokogiri
151
150
  requirement: !ruby/object:Gem::Requirement
152
151
  requirements:
153
152
  - - "~>"
154
153
  - !ruby/object:Gem::Version
155
- version: '2.2'
154
+ version: 1.16.4
156
155
  type: :development
157
156
  prerelease: false
158
157
  version_requirements: !ruby/object:Gem::Requirement
159
158
  requirements:
160
159
  - - "~>"
161
160
  - !ruby/object:Gem::Version
162
- version: '2.2'
161
+ version: 1.16.4
163
162
  - !ruby/object:Gem::Dependency
164
- name: nokogiri
163
+ name: ostruct
165
164
  requirement: !ruby/object:Gem::Requirement
166
165
  requirements:
167
166
  - - "~>"
168
167
  - !ruby/object:Gem::Version
169
- version: 1.16.4
168
+ version: 0.6.1
170
169
  type: :development
171
170
  prerelease: false
172
171
  version_requirements: !ruby/object:Gem::Requirement
173
172
  requirements:
174
173
  - - "~>"
175
174
  - !ruby/object:Gem::Version
176
- version: 1.16.4
175
+ version: 0.6.1
177
176
  - !ruby/object:Gem::Dependency
178
- name: delorean
177
+ name: rack-test
179
178
  requirement: !ruby/object:Gem::Requirement
180
179
  requirements:
181
180
  - - "~>"
182
181
  - !ruby/object:Gem::Version
183
- version: '2.1'
182
+ version: '2'
184
183
  type: :development
185
184
  prerelease: false
186
185
  version_requirements: !ruby/object:Gem::Requirement
187
186
  requirements:
188
187
  - - "~>"
189
188
  - !ruby/object:Gem::Version
190
- version: '2.1'
189
+ version: '2'
190
+ - !ruby/object:Gem::Dependency
191
+ name: rake
192
+ requirement: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - "~>"
195
+ - !ruby/object:Gem::Version
196
+ version: 13.2.1
197
+ type: :development
198
+ prerelease: false
199
+ version_requirements: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
203
+ version: 13.2.1
191
204
  description: ID please.
192
205
  email:
193
206
  - jd@wuputah.com
@@ -214,7 +227,6 @@ homepage: https://github.com/heroku/heroku-bouncer
214
227
  licenses:
215
228
  - MIT
216
229
  metadata: {}
217
- post_install_message:
218
230
  rdoc_options: []
219
231
  require_paths:
220
232
  - lib
@@ -229,8 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
241
  - !ruby/object:Gem::Version
230
242
  version: '0'
231
243
  requirements: []
232
- rubygems_version: 3.5.10
233
- signing_key:
244
+ rubygems_version: 3.6.5
234
245
  specification_version: 4
235
246
  summary: Rapidly add Heroku OAuth to your Ruby app.
236
247
  test_files: