roda-basic-auth 0.1.0 → 0.1.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
2
  SHA1:
3
- metadata.gz: a25fb1b57a71764743f9d4169d1efc47d8c81398
4
- data.tar.gz: e4e737198c5e7061ceafbe629883d5369005b6df
3
+ metadata.gz: e5dfaa33f08c70418086d7d8e682de3fecf527d5
4
+ data.tar.gz: fb787d47c27e91cb03f0d08be31cee8f23cc10da
5
5
  SHA512:
6
- metadata.gz: 0f91e96f8dcf050dcfbf1d65205f75c03298f428cb75ddfe2290ff1c3bbe02eea23d04302c47f64ad72135f97076d0aa2e1c7fbbaa707b2425bb79cc3aca9131
7
- data.tar.gz: 0d15fefcbd2f733b4e2356ce3604e40dd294158ebc40c70ae8896ac60021741b7d250537c508fdb57a4724362585b421feb71359f4183e44b8aec887995d1de5
6
+ metadata.gz: 01556ee962ddde11f6864e195dd1eb92fc898fe0edfc4b6cbe5931ddfbf2bad253bd2cf2a438712ac70e0268cf34c56b805aeb72068040ad5994c8dda62cbfc0
7
+ data.tar.gz: 4919f7c963b893b37acbca8978b9305bfab74c7c67f1c8753915ae5cd92c4e6112aa6d165f7b9104bf3c3ed06c57820159d521d5e17f4a16b02f07e8d8cdce87
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.1
4
+ - 2.4.2
5
+ script: ruby spec/*_spec.rb
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Roda Basic Authentication
2
2
 
3
+ [![Build Status](https://travis-ci.org/badosu/roda-basic-auth.png)](https://travis-ci.org/badosu/roda-basic-auth)
4
+
3
5
  Adds functionality for simple http authentication with Roda.
4
6
 
5
7
  ## Configuration
@@ -1,7 +1,7 @@
1
- require 'roda'
2
-
3
- module Roda::RodaPlugins
4
- module BasicAuth
5
- VERSION = "0.1.0"
1
+ class Roda
2
+ module RodaPlugins
3
+ module BasicAuth
4
+ VERSION = "0.1.1"
5
+ end
6
6
  end
7
7
  end
@@ -14,12 +14,12 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/badosu/basic-roda-auth"
15
15
  spec.license = "MIT"
16
16
 
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
20
18
  spec.require_paths = ["lib"]
21
19
 
22
- spec.add_dependency "roda", "~> 2.0"
20
+ spec.add_dependency "roda", ">= 2.0", "< 4.0"
23
21
  spec.add_development_dependency "bundler", "~> 1.11"
24
22
  spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "minitest", "~> 5.10"
24
+ spec.add_development_dependency "rack-test", "0.7.0"
25
25
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-basic-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amadeus Folego
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roda
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '4.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '4.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +58,34 @@ dependencies:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
60
  version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: minitest
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '5.10'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '5.10'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rack-test
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '='
80
+ - !ruby/object:Gem::Version
81
+ version: 0.7.0
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '='
87
+ - !ruby/object:Gem::Version
88
+ version: 0.7.0
55
89
  description: Adds basic authentication methods to Roda
56
90
  email:
57
91
  - amadeusfolego@gmail.com
@@ -60,12 +94,11 @@ extensions: []
60
94
  extra_rdoc_files: []
61
95
  files:
62
96
  - ".gitignore"
97
+ - ".travis.yml"
63
98
  - Gemfile
64
99
  - LICENSE.txt
65
100
  - README.md
66
101
  - Rakefile
67
- - bin/console
68
- - bin/setup
69
102
  - lib/roda/plugins/basic_auth.rb
70
103
  - lib/roda/plugins/basic_auth/version.rb
71
104
  - roda-basic-auth.gemspec
@@ -89,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
122
  version: '0'
90
123
  requirements: []
91
124
  rubyforge_project:
92
- rubygems_version: 2.5.1
125
+ rubygems_version: 2.6.11
93
126
  signing_key:
94
127
  specification_version: 4
95
128
  summary: Adds basic authentication methods to Roda
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "roda/plugins/basic_auth"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here