sinatra-pundit 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/example/Gemfile.lock +32 -31
- data/lib/sinatra/pundit/version.rb +1 -1
- data/sinatra-pundit.gemspec +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f1a92ff238286a39b3610fd49deb0d7fe98bc43b1d806c7cfc840a597bbcf7ed
|
4
|
+
data.tar.gz: f8c7ace73c3921f0809c2fffe29cbb485eeedb22bd4b6e20f49601290bb80a4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb5dc8cff7a7de0ef4129324ab13d66a40b6880e91109a2545ef835fbc789064f393e1321fdb1f5c4d5b8df8224b1eb6db559eb15633a3935d7083a801952c2
|
7
|
+
data.tar.gz: d696a6841e532f3c38df9d6b13e3b95f63289ef3286fec87929f496de94526c54729478e636b318c81a68205df58d09018718f259a4779fa3f63484c232f15ee
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Sinatra::Pundit
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/sinatra-pundit.svg)](https://badge.fury.io/rb/sinatra-pundit)
|
4
|
+
|
3
5
|
A lightweight wrapper for the [Pundit](https://github.com/elabs/pundit) authorization gem. Provides authorization Pundit's helpers to use in Sinatra applications.
|
4
6
|
|
5
7
|
## Installation
|
data/example/Gemfile.lock
CHANGED
@@ -1,48 +1,49 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
sinatra-pundit (0.
|
5
|
-
pundit (~> 1.
|
6
|
-
sinatra (~>
|
4
|
+
sinatra-pundit (0.2.0)
|
5
|
+
pundit (~> 1.0)
|
6
|
+
sinatra (~> 2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
12
|
-
|
13
|
-
|
11
|
+
activesupport (5.2.0)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
15
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
16
15
|
tzinfo (~> 1.1)
|
17
|
-
backports (3.
|
18
|
-
|
16
|
+
backports (3.11.3)
|
17
|
+
concurrent-ruby (1.0.5)
|
18
|
+
foreman (0.85.0)
|
19
19
|
thor (~> 0.19.1)
|
20
|
-
i18n (0.
|
21
|
-
|
22
|
-
minitest (5.
|
23
|
-
multi_json (1.
|
20
|
+
i18n (1.0.1)
|
21
|
+
concurrent-ruby (~> 1.0)
|
22
|
+
minitest (5.11.3)
|
23
|
+
multi_json (1.13.1)
|
24
|
+
mustermann (1.0.2)
|
24
25
|
pundit (1.1.0)
|
25
26
|
activesupport (>= 3.0.0)
|
26
|
-
rack (
|
27
|
-
rack-protection (
|
27
|
+
rack (2.0.5)
|
28
|
+
rack-protection (2.0.3)
|
28
29
|
rack
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
rack (
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
backports (>= 2.
|
30
|
+
sinatra (2.0.3)
|
31
|
+
mustermann (~> 1.0)
|
32
|
+
rack (~> 2.0)
|
33
|
+
rack-protection (= 2.0.3)
|
34
|
+
tilt (~> 2.0)
|
35
|
+
sinatra-contrib (2.0.3)
|
36
|
+
activesupport (>= 4.0.0)
|
37
|
+
backports (>= 2.8.2)
|
37
38
|
multi_json
|
38
|
-
|
39
|
-
rack-
|
40
|
-
sinatra (
|
39
|
+
mustermann (~> 1.0)
|
40
|
+
rack-protection (= 2.0.3)
|
41
|
+
sinatra (= 2.0.3)
|
41
42
|
tilt (>= 1.3, < 3)
|
42
|
-
thor (0.19.
|
43
|
-
thread_safe (0.3.
|
44
|
-
tilt (2.0.
|
45
|
-
tzinfo (1.2.
|
43
|
+
thor (0.19.4)
|
44
|
+
thread_safe (0.3.6)
|
45
|
+
tilt (2.0.8)
|
46
|
+
tzinfo (1.2.5)
|
46
47
|
thread_safe (~> 0.1)
|
47
48
|
|
48
49
|
PLATFORMS
|
@@ -55,4 +56,4 @@ DEPENDENCIES
|
|
55
56
|
sinatra-pundit!
|
56
57
|
|
57
58
|
BUNDLED WITH
|
58
|
-
1.
|
59
|
+
1.16.0
|
data/sinatra-pundit.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "sinatra-pundit"
|
8
8
|
spec.version = Sinatra::Pundit::VERSION
|
9
9
|
spec.authors = ["Sergio Martín Morillas"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["smartinmorillas@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Pundit authorization wrapper for Sinatra.}
|
13
13
|
spec.description = %q{Minimal authorization through OO design and pure Ruby classes in your Sinatra application.}
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
20
|
spec.add_dependency "pundit", "~> 1.0"
|
21
|
-
spec.add_dependency "sinatra", "~>
|
21
|
+
spec.add_dependency "sinatra", "~> 2.0"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-pundit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Martín Morillas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pundit
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
description: Minimal authorization through OO design and pure Ruby classes in your
|
84
84
|
Sinatra application.
|
85
85
|
email:
|
86
|
-
-
|
86
|
+
- smartinmorillas@gmail.com
|
87
87
|
executables: []
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
@@ -124,9 +124,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.4
|
127
|
+
rubygems_version: 2.7.4
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Pundit authorization wrapper for Sinatra.
|
131
131
|
test_files: []
|
132
|
-
has_rdoc:
|