htauth 2.1.1 → 2.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4b47d22265e7ed8e07665edec308a71ce4decb3ccc293699d7736a6ca0ddca1
4
- data.tar.gz: 6127bf17e0c114580adac497ddf51f5822e4cfda49989e32bdf6af385dc83295
3
+ metadata.gz: a392e544654ec732a878871166ba48129a72dc8e7d2b3b9e1ed37d99117546b9
4
+ data.tar.gz: fb244f0b94603e5829d36d10e1309d98608a584c1bc8ea3a3d95f60f9950b7fb
5
5
  SHA512:
6
- metadata.gz: 39faa1fb2b894b7fc6329c2fc19ca63049a0645fe7c42c10e5ae0b708172d994e7b544074f901750273c4b0871ec454206f32d1f26027add807a7818ad87907a
7
- data.tar.gz: 4d5112aec7a3839e797422ff429ee8e6bf14b968d46be97ef6e12a0c37196d1b6fbfa42772f6d488cec037f44fc37f85c69bd5a68ee8ee36fc7ad1f5d6ef84b6
6
+ metadata.gz: 3350108830c0ce7bb7e406ec2d449c89eaf3ce1047f095cab78cffe8c197fb03eb9a5ffe7ad1b782e6d15c1ed88017ef96cb48e87cd8e91993454e00bc1fffda
7
+ data.tar.gz: 3b4183cd67ab796c5de2c2fcee847a94ab7d83e925b5283640bd7718274667e141d1618a10f927cf5c6e70cc5a667c284577d83d449a7566770ea60e5a2bc20e
data/HISTORY.md CHANGED
@@ -1,4 +1,10 @@
1
1
  # Changelog
2
+ ## Version 2.2.0 - 2023-02-XX
3
+
4
+ * Update ruby versions
5
+ * Add to sempahore for CI
6
+ * fix various spelling issues
7
+
2
8
  ## Version 2.1.1 - 2020-04-02
3
9
 
4
10
  * Update minimum ruby versions to modern versions
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  ## HTAuth
2
2
 
3
- * [Github](http://github.com/copiousfreetime/htauth/tree/master)
4
- * [![Build Status](https://travis-ci.org/copiousfreetime/htauth.svg?branch=master)](https://travis-ci.org/copiousfreetime/htauth)
3
+ [![Build Status](https://copiousfreetime.semaphoreci.com/badges/htauth/branches/main.svg)](https://copiousfreetime.semaphoreci.com/projects/htauth)
4
+
5
+ * [Homepage](http://github.com/copiousfreetime/htauth)
6
+ * [Github](http://github.com/copiousfreetime/htauth)
5
7
 
6
8
  ## DESCRIPTION
7
9
 
@@ -49,7 +51,7 @@ Additionally, you can access all the functionality of *htdigest-ruby* and
49
51
  -v, --version Show version info.
50
52
  --verify Verify password for the specified user
51
53
 
52
- The SHA algorihtm does not use a salt and is less secure than the MD5 algorithm.
54
+ The SHA algorithm does not use a salt and is less secure than the MD5 algorithm.
53
55
 
54
56
  ### htdigest-ruby command line application
55
57
 
data/Rakefile CHANGED
@@ -10,8 +10,9 @@ This.ruby_gemspec do |spec|
10
10
  spec.add_dependency( 'bcrypt', '~> 3.1' )
11
11
 
12
12
  spec.add_development_dependency( 'rake' , '~> 13.0')
13
- spec.add_development_dependency( 'minitest' , '~> 5.5' )
14
- spec.add_development_dependency( 'rdoc' , '~> 6.2' )
13
+ spec.add_development_dependency( 'minitest' , '~> 5.11' )
14
+ spec.add_development_dependency( 'minitest-junit' , '~> 1.0' )
15
+ spec.add_development_dependency( 'rdoc' , '~> 6.4' )
15
16
  spec.add_development_dependency( 'simplecov', '~> 0.17' )
16
17
 
17
18
  spec.metadata = {
@@ -92,7 +92,8 @@ module HTAuth
92
92
  end
93
93
 
94
94
  # Internal: this is not the Base64 encoding, this is the to64()
95
- # method from the apache protable runtime library
95
+ # method from the Apache Portable Runtime (APR) library
96
+ # https://github.com/apache/apr/blob/trunk/crypto/apr_md5.c#L493-L502
96
97
  def to_64(number, rounds)
97
98
  r = StringIO.new
98
99
  rounds.times do |x|
@@ -1,4 +1,4 @@
1
1
  module HTAuth
2
2
  # Public: The version of the htauth library
3
- VERSION = "2.1.1"
3
+ VERSION = "2.2.0"
4
4
  end
data/tasks/default.rake CHANGED
@@ -213,19 +213,19 @@ end
213
213
  # Release - the steps we go through to do a final release, this is pulled from
214
214
  # a compbination of mojombo's rakegem, hoe and hoe-git
215
215
  #
216
- # 1) make sure we are on the master branch
216
+ # 1) make sure we are on the main branch
217
217
  # 2) make sure there are no uncommitted items
218
218
  # 3) check the manifest and make sure all looks good
219
219
  # 4) build the gem
220
220
  # 5) do an empty commit to have the commit message of the version
221
221
  # 6) tag that commit as the version
222
- # 7) push master
222
+ # 7) push main
223
223
  # 8) push the tag
224
224
  # 7) pus the gem
225
225
  #------------------------------------------------------------------------------
226
226
  task :release_check do
227
- unless `git branch` =~ /^\* master$/
228
- abort "You must be on the master branch to release!"
227
+ unless `git branch` =~ /^\* main/
228
+ abort "You must be on the main branch to release!"
229
229
  end
230
230
  unless `git status` =~ /^nothing to commit/m
231
231
  abort "Nope, sorry, you have unfinished business"
@@ -236,7 +236,7 @@ desc "Create tag v#{This.version}, build and push #{This.platform_gemspec.full_n
236
236
  task :release => [ :release_check, 'manifest:check', :gem ] do
237
237
  sh "git commit --allow-empty -a -m 'Release #{This.version}'"
238
238
  sh "git tag -a -m 'v#{This.version}' v#{This.version}"
239
- sh "git push origin master"
239
+ sh "git push origin main"
240
240
  sh "git push origin v#{This.version}"
241
241
  sh "gem push pkg/#{This.platform_gemspec.full_name}.gem"
242
242
  end
data/tasks/this.rb CHANGED
@@ -25,7 +25,7 @@ class ThisProject
25
25
  #
26
26
  # Yields self
27
27
  def initialize(&block)
28
- @exclude_from_manifest = Regexp.union(/\.(git|DS_Store)/,
28
+ @exclude_from_manifest = Regexp.union(/\.(git|DS_Store|semaphore)/,
29
29
  /^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)/,
30
30
  /^[^\/]+\.gemspec/,
31
31
  /\.(swp|jar|bundle|so|rvmrc|travis.yml|byebug_history|fossa.yml|ruby-version)$/,
@@ -146,7 +146,7 @@ class ThisProject
146
146
  spec.rdoc_options = [ "--main" , 'README.md',
147
147
  "--markup", "tomdoc" ]
148
148
 
149
- spec.required_ruby_version = '>= 2.2.2'
149
+ spec.required_ruby_version = '>= 2.3.0'
150
150
  end
151
151
  end
152
152
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Hinegardner
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -44,28 +44,42 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.5'
47
+ version: '5.11'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.5'
54
+ version: '5.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-junit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rdoc
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '6.2'
75
+ version: '6.4'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '6.2'
82
+ version: '6.4'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: simplecov
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -153,7 +167,7 @@ metadata:
153
167
  changelog_uri: https://github.com/copiousfreetime/htauth/blob/master/HISTORY.md
154
168
  homepage_uri: https://github.com/copiousfreetime/htauth
155
169
  source_code_uri: https://github.com/copiousfreetime/htauth
156
- post_install_message:
170
+ post_install_message:
157
171
  rdoc_options:
158
172
  - "--main"
159
173
  - README.md
@@ -165,15 +179,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
179
  requirements:
166
180
  - - ">="
167
181
  - !ruby/object:Gem::Version
168
- version: 2.2.2
182
+ version: 2.3.0
169
183
  required_rubygems_version: !ruby/object:Gem::Requirement
170
184
  requirements:
171
185
  - - ">="
172
186
  - !ruby/object:Gem::Version
173
187
  version: '0'
174
188
  requirements: []
175
- rubygems_version: 3.0.3
176
- signing_key:
189
+ rubygems_version: 3.4.6
190
+ signing_key:
177
191
  specification_version: 4
178
192
  summary: HTAuth is a pure ruby replacement for the Apache support programs htdigest
179
193
  and htpasswd. Command line and API access are provided for access to htdigest and