rack-auth-ldap 1.2.2 → 1.2.3

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: 7803154c42ed1dbc073721f95e4135979b8fa2698884bdbe568c83f24bf5e3ff
4
- data.tar.gz: 68e70f501293c859c1c0d82666a999ba5237cffa64781102de6c88207d27a809
3
+ metadata.gz: 100514f4c4e112f1c105c3ce8980bbdcecc2bfda32616ae3a03102ed7a039ff0
4
+ data.tar.gz: 4ac4a2cd5c511f522053a91df494bdee068da879f792669c88fb2f17b672faf0
5
5
  SHA512:
6
- metadata.gz: 339d2abf6c179b34e43c3de2047200dd83a8904a0d25cf579e7e0f5bde9587b07ded37827b123ba4e825c879e56da9990c6585b0cfaacea4a83f4b7bae391d28
7
- data.tar.gz: 4338ec27f3ec7e42dce1b36dfc3a1ad0ca00807f0d2e7db97d5661cf582f2437ecd45447bb2e6aed9a8e08ebf35dc59ffb06cbdbdaaf727f4343cb5600b0f960
6
+ metadata.gz: 05b19beb19d80ec911b01472f7b5464dd8cc1456052782efc1e46fe11871de2a8f8fa2217408a96cc62d08d3941f2ff5127252f6379291735827c05e04651518
7
+ data.tar.gz: d72754193e6f3bf4201d21c69f5f4ef6682111a88d8894b3688fbf17af053c0718604fc5e7844839514a614c397d7c0ffb590757d1dbff71061e901daaeaacaa
@@ -0,0 +1,23 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 3.2.3
14
+ - name: Getting dependencies (Bundle)
15
+ run: |
16
+ gem install bundler -v 2.5.9
17
+ bundle install
18
+ - name: Running test Rspec
19
+ run: |
20
+ bundle exec rake
21
+ - name: Running CVE security audit
22
+ run: |
23
+ bundle exec rake audit
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
@@ -42,7 +42,7 @@ module Rack
42
42
  def load_yaml(file)
43
43
  raise "Could not load ldap configuration. No such file - #{file}" unless ::File.exist?(file)
44
44
 
45
- ::YAML.load ::ERB.new(IO.read(file)).result
45
+ ::YAML.load ::ERB.new(IO.read(file)).result, aliases: true
46
46
  rescue ::Psych::SyntaxError => e
47
47
  raise "YAML syntax error occurred while parsing #{file}. " \
48
48
  'Please note that YAML must be consistently indented using spaces. Tabs are not allowed. ' \
@@ -1,31 +1,30 @@
1
1
  lib = File.expand_path('lib', __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'rack/auth/ldap/version'
4
3
 
5
4
  Gem::Specification.new do |s|
5
+
6
6
  s.name = 'rack-auth-ldap'
7
7
  s.summary = %(Rack middleware providing LDAP authentication)
8
8
  s.email = 'romain@ultragreen.net'
9
9
  s.homepage = 'http://www.github.com/lecid/rack-auth-ldap'
10
10
  s.authors = ['Romain GEORGES']
11
- s.version = Rack::Auth::LDAP_VERSION
12
-
11
+ s.version = `cat VERSION`.chomp
13
12
  s.description = 'rack-auth-ldap : provide LDAP authentication for Rack middelware'
13
+
14
14
  s.add_development_dependency 'bundle-audit', '~> 0.1.0'
15
15
  s.add_development_dependency 'code_statistics', '~> 0.2.13'
16
16
  s.add_development_dependency 'ladle', '~> 1.0.1'
17
- s.add_development_dependency 'rake', '~> 13.0.1'
18
- s.add_development_dependency 'rspec', '~> 3.12.0'
19
- s.add_development_dependency 'rubocop', '~> 1.54'
20
- s.add_development_dependency 'version', '~> 1.1'
21
- s.add_development_dependency 'yard', '~> 0.9.24'
17
+ s.add_development_dependency 'rake', '~> 13.2.1'
18
+ s.add_development_dependency 'rspec', '~> 3.13.0'
19
+ s.add_development_dependency 'rubocop', '~> 1.63.2'
20
+ s.add_development_dependency 'yard', '~> 0.9.36'
22
21
  s.add_development_dependency 'yard-rspec', '~> 0.1'
23
-
24
- s.add_development_dependency 'cyclonedx-ruby', '~> 1.1'
22
+ s.add_development_dependency 'version', '~> 1.1.1'
25
23
  s.add_development_dependency 'debride', '~> 1.12'
26
24
 
27
- s.add_dependency 'net-ldap', '~> 0.18'
28
- s.add_dependency 'rack', '~> 3.0'
25
+ s.add_dependency 'net-ldap', '~> 0.19'
26
+ s.add_dependency 'rack', '~> 3.0.10'
27
+
29
28
  s.license = 'BSD-2-Clause'
30
29
  s.files = `git ls-files`.split($/)
31
30
  s.metadata['rubygems_mfa_required'] = 'true'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-auth-ldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain GEORGES
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-05 00:00:00.000000000 Z
11
+ date: 2024-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundle-audit
@@ -58,70 +58,56 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 13.0.1
61
+ version: 13.2.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 13.0.1
68
+ version: 13.2.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.12.0
75
+ version: 3.13.0
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: 3.12.0
82
+ version: 3.13.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.54'
89
+ version: 1.63.2
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: '1.54'
97
- - !ruby/object:Gem::Dependency
98
- name: version
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.1'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.1'
96
+ version: 1.63.2
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: yard
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: 0.9.24
103
+ version: 0.9.36
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: 0.9.24
110
+ version: 0.9.36
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: yard-rspec
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -137,19 +123,19 @@ dependencies:
137
123
  - !ruby/object:Gem::Version
138
124
  version: '0.1'
139
125
  - !ruby/object:Gem::Dependency
140
- name: cyclonedx-ruby
126
+ name: version
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '1.1'
131
+ version: 1.1.1
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: '1.1'
138
+ version: 1.1.1
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: debride
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,28 +156,28 @@ dependencies:
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: '0.18'
159
+ version: '0.19'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: '0.18'
166
+ version: '0.19'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: rack
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: '3.0'
173
+ version: 3.0.10
188
174
  type: :runtime
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: '3.0'
180
+ version: 3.0.10
195
181
  description: 'rack-auth-ldap : provide LDAP authentication for Rack middelware'
196
182
  email: romain@ultragreen.net
197
183
  executables: []
@@ -199,6 +185,7 @@ extensions: []
199
185
  extra_rdoc_files: []
200
186
  files:
201
187
  - ".debride-whitelist"
188
+ - ".github/workflows/main.yml"
202
189
  - ".gitignore"
203
190
  - ".rubocop.yml"
204
191
  - Gemfile
@@ -237,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
224
  - !ruby/object:Gem::Version
238
225
  version: '0'
239
226
  requirements: []
240
- rubygems_version: 3.3.5
227
+ rubygems_version: 3.4.19
241
228
  signing_key:
242
229
  specification_version: 4
243
230
  summary: Rack middleware providing LDAP authentication