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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 24a0560fedd81f8b9a1d74d24b2aedaac12a95b4
4
- data.tar.gz: 8ede619c30c3343163fa9df70379eb3737e58651
2
+ SHA256:
3
+ metadata.gz: f1a92ff238286a39b3610fd49deb0d7fe98bc43b1d806c7cfc840a597bbcf7ed
4
+ data.tar.gz: f8c7ace73c3921f0809c2fffe29cbb485eeedb22bd4b6e20f49601290bb80a4d
5
5
  SHA512:
6
- metadata.gz: 497edee53718da5a5cbac17aac8497490025ec705e3d5297cd6a07d56f24270866f6be2fe4eae1a8a42b09ecb43b5d52ada1810a28e19e610e3ed0a0b3a91e12
7
- data.tar.gz: d717c0cc3701628b842c7d6fbd97c66014a4cb7ffc0b445c981e77a021e37bd27d8151bca91493155d6647eb3aea293663c07c58f12e0ce03245489c22f62df4
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.1.0)
5
- pundit (~> 1.1.0)
6
- sinatra (~> 1.4.7)
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 (4.2.6)
12
- i18n (~> 0.7)
13
- json (~> 1.7, >= 1.7.7)
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.6.8)
18
- foreman (0.80.2)
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.7.0)
21
- json (1.8.3)
22
- minitest (5.8.4)
23
- multi_json (1.11.3)
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 (1.6.4)
27
- rack-protection (1.5.3)
27
+ rack (2.0.5)
28
+ rack-protection (2.0.3)
28
29
  rack
29
- rack-test (0.6.3)
30
- rack (>= 1.0)
31
- sinatra (1.4.7)
32
- rack (~> 1.5)
33
- rack-protection (~> 1.4)
34
- tilt (>= 1.3, < 3)
35
- sinatra-contrib (1.4.7)
36
- backports (>= 2.0)
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
- rack-protection
39
- rack-test
40
- sinatra (~> 1.4.0)
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.1)
43
- thread_safe (0.3.5)
44
- tilt (2.0.2)
45
- tzinfo (1.2.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.11.2
59
+ 1.16.0
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Pundit
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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 = ["smartin@flexiant.com"]
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", "~> 1.0"
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.1.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: 2016-05-18 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
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
- - smartin@flexiant.com
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.6
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: