acme-authorizer 0.2.0 → 0.2.1

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
- SHA1:
3
- metadata.gz: f636463d775d5450271570eecea805072fbbc97f
4
- data.tar.gz: 69378ac91799e9b411f583137741e7a54ca9e3ae
2
+ SHA256:
3
+ metadata.gz: a3fefa29660069d52255789c624f03126cc1d16c3fc7b962c45681bb240b7dfa
4
+ data.tar.gz: dc1c3a5b492258daf05bc6b390ae3d98af59ee2ef3ecdd82408fe14a21453374
5
5
  SHA512:
6
- metadata.gz: 1f4d3be7d576f712b08a94ee95ecf4c05590d36ceccbf9b668c335f06e920cfd53eac95f3fab35913894d27d7bfcc708e5af7d3155f69dab1ab6b19b6aade4ac
7
- data.tar.gz: bb48d6b6a490b110037cbcbe24c9154872e3680eb883279c59a2c682a96775947efbe8fce4f5dfafa451086720c9613662d5a34ebb6ea1817afc04fcedf81bdd
6
+ metadata.gz: b0817728c0a8f2bab3b11dad812e774b4eb5fa45402eb30ae46705775c7f3d315f90bed5ffea61083c8401e45fd6a4d66f521231c5f2a4c297b0be8b0672c1e2
7
+ data.tar.gz: cef22c208d6c4eb112794550e460dfa52437ff16c2bc621350345dd44c52eab2bf5b0413b72185c736cbaf8130f2a811c8bbefae3547d54cd4a2601304684cd7
data/Rakefile CHANGED
@@ -1,29 +1,3 @@
1
- begin
2
- require 'bundler/setup'
3
- rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
- end
1
+ require 'bundler/gem_tasks'
6
2
 
7
- require 'rdoc/task'
8
-
9
- RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'acme-authorizer'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
15
- end
16
-
17
- APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
18
- load 'rails/tasks/engine.rake'
19
-
20
- load 'rails/tasks/statistics.rake'
21
-
22
- Bundler::GemHelper.install_tasks
23
-
24
- begin
25
- require 'rspec/core/rake_task'
26
- RSpec::Core::RakeTask.new(:spec)
27
- rescue LoadError
28
- end
29
3
  task default: :spec
@@ -4,9 +4,9 @@ module Acme
4
4
  def show
5
5
  token = params[:token]
6
6
  if acme_authorizer_config.valid_token?(token)
7
- render text: acme_authorizer_config.key_authorization_for_token(token)
7
+ render plain: acme_authorizer_config.key_authorization_for_token(token)
8
8
  else
9
- render nothing: true, status: 404
9
+ head :not_found
10
10
  end
11
11
  end
12
12
 
@@ -1,5 +1,5 @@
1
1
  module Acme
2
2
  module Authorizer
3
- VERSION = '0.2.0'.freeze
3
+ VERSION = '0.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acme-authorizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BetterUp Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.1'
19
+ version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.1'
26
+ version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -151,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
145
  - !ruby/object:Gem::Version
152
146
  version: '0'
153
147
  requirements: []
154
- rubyforge_project:
155
- rubygems_version: 2.6.6
148
+ rubygems_version: 3.0.6
156
149
  signing_key:
157
150
  specification_version: 4
158
151
  summary: Rails engine for generating SSL certificates with ACME challenges