miau 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.watchr +1 -1
- data/Gemfile.lock +13 -13
- data/lib/miau/error.rb +2 -0
- data/lib/miau/storage.rb +2 -0
- data/lib/miau/version.rb +4 -1
- data/lib/miau.rb +2 -0
- data/miau.gemspec +11 -11
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97e8b7992b2c47204be21883fa917a37c2c9dab5b3b3de6e1328ee808a28b684
|
|
4
|
+
data.tar.gz: 813d423368b17ad729f32b340b531ced8c78b0e5eb98d67e4a9331793c6cb8c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9c3e3ea444005d80d7a656e3e2d19b39ab75122329cfd60d5f4806c6ff63eadc511db145e21dded908b217ba0fa2b9e4a0e01fe9132497f3faa69dbafcdfbf3
|
|
7
|
+
data.tar.gz: 95b37899e805dbc3af4a9f036a947745c3063cf4be7e98af955351b14deba0e54f9793970cb98e5096f7bc798b93d5e578e82ca1e0ad6e4c21837c3b953cb26d
|
data/.gitignore
CHANGED
data/.watchr
CHANGED
|
@@ -38,7 +38,7 @@ end
|
|
|
38
38
|
|
|
39
39
|
TESTING.each { |type|
|
|
40
40
|
watch("#{type}/#{type}_helper\.rb") { run_all_tests }
|
|
41
|
-
watch(
|
|
41
|
+
watch("lib/.*\.rb") { run_all_tests }
|
|
42
42
|
watch("#{type}/.*/*_#{type}\.rb") { |match| run_it type, match[0] }
|
|
43
43
|
watch("#{type}/data/(.*)\.rb") { |match|
|
|
44
44
|
m1 = match[1]
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
miau (0.1.
|
|
4
|
+
miau (0.1.1)
|
|
5
5
|
activesupport
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -29,25 +29,25 @@ GEM
|
|
|
29
29
|
tzinfo (~> 2.0)
|
|
30
30
|
zeitwerk (~> 2.3)
|
|
31
31
|
ast (2.4.2)
|
|
32
|
-
benchmark-ips (2.9.
|
|
32
|
+
benchmark-ips (2.9.2)
|
|
33
33
|
builder (3.2.4)
|
|
34
34
|
concurrent-ruby (1.1.9)
|
|
35
35
|
crass (1.0.6)
|
|
36
36
|
docile (1.4.0)
|
|
37
37
|
erubi (1.10.0)
|
|
38
|
-
i18n (1.8.
|
|
38
|
+
i18n (1.8.11)
|
|
39
39
|
concurrent-ruby (~> 1.0)
|
|
40
40
|
loofah (2.12.0)
|
|
41
41
|
crass (~> 1.0.2)
|
|
42
42
|
nokogiri (>= 1.5.9)
|
|
43
43
|
minitest (5.14.4)
|
|
44
|
-
nokogiri (1.12.
|
|
44
|
+
nokogiri (1.12.5-x86_64-linux)
|
|
45
45
|
racc (~> 1.4)
|
|
46
46
|
observr (1.0.5)
|
|
47
|
-
parallel (1.
|
|
47
|
+
parallel (1.21.0)
|
|
48
48
|
parser (3.0.2.0)
|
|
49
49
|
ast (~> 2.4.1)
|
|
50
|
-
racc (1.
|
|
50
|
+
racc (1.6.0)
|
|
51
51
|
rack (2.2.3)
|
|
52
52
|
rack-test (1.1.0)
|
|
53
53
|
rack (>= 1.0, < 3)
|
|
@@ -61,16 +61,16 @@ GEM
|
|
|
61
61
|
regexp_parser (2.1.1)
|
|
62
62
|
rexml (3.2.5)
|
|
63
63
|
ricecream (0.2.0)
|
|
64
|
-
rubocop (1.
|
|
64
|
+
rubocop (1.22.3)
|
|
65
65
|
parallel (~> 1.10)
|
|
66
66
|
parser (>= 3.0.0.0)
|
|
67
67
|
rainbow (>= 2.2.2, < 4.0)
|
|
68
68
|
regexp_parser (>= 1.8, < 3.0)
|
|
69
69
|
rexml
|
|
70
|
-
rubocop-ast (>= 1.
|
|
70
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
71
71
|
ruby-progressbar (~> 1.7)
|
|
72
72
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
73
|
-
rubocop-ast (1.
|
|
73
|
+
rubocop-ast (1.12.0)
|
|
74
74
|
parser (>= 3.0.1.1)
|
|
75
75
|
rubocop-performance (1.11.5)
|
|
76
76
|
rubocop (>= 1.7.0, < 2.0)
|
|
@@ -82,13 +82,13 @@ GEM
|
|
|
82
82
|
simplecov_json_formatter (~> 0.1)
|
|
83
83
|
simplecov-html (0.12.3)
|
|
84
84
|
simplecov_json_formatter (0.1.3)
|
|
85
|
-
standard (1.
|
|
86
|
-
rubocop (= 1.
|
|
85
|
+
standard (1.4.0)
|
|
86
|
+
rubocop (= 1.22.3)
|
|
87
87
|
rubocop-performance (= 1.11.5)
|
|
88
88
|
tzinfo (2.0.4)
|
|
89
89
|
concurrent-ruby (~> 1.0)
|
|
90
|
-
unicode-display_width (2.
|
|
91
|
-
zeitwerk (2.
|
|
90
|
+
unicode-display_width (2.1.0)
|
|
91
|
+
zeitwerk (2.5.1)
|
|
92
92
|
|
|
93
93
|
PLATFORMS
|
|
94
94
|
x86_64-linux
|
data/lib/miau/error.rb
CHANGED
data/lib/miau/storage.rb
CHANGED
data/lib/miau/version.rb
CHANGED
data/lib/miau.rb
CHANGED
data/miau.gemspec
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
-
require "miau/version"
|
|
1
|
+
require_relative "lib/miau/version"
|
|
4
2
|
|
|
5
3
|
Gem::Specification.new do |s|
|
|
6
4
|
s.name = "miau"
|
|
7
5
|
s.version = Miau::VERSION
|
|
8
|
-
s.
|
|
9
|
-
s.email = ["dittmar.krall@matique.com"]
|
|
10
|
-
|
|
6
|
+
s.platform = Gem::Platform::RUBY
|
|
11
7
|
s.summary = %(Simple and lightweight authorization solution for Rails.)
|
|
8
|
+
s.license = "MIT"
|
|
9
|
+
|
|
12
10
|
s.description = <<~EOS
|
|
13
|
-
|
|
11
|
+
MIAU (MIcro AUthorization) provides a set of helpers which restricts what
|
|
14
12
|
resources a given user is allowed to access.
|
|
15
13
|
EOS
|
|
16
|
-
s.homepage = "https://github.com/matique/miau"
|
|
17
|
-
s.license = "MIT"
|
|
18
14
|
|
|
19
15
|
s.metadata["source_code_uri"] = "https://github.com/matique/miau"
|
|
20
|
-
|
|
21
|
-
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|features)/}) }
|
|
22
16
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
17
|
s.require_paths = ["lib"]
|
|
24
18
|
|
|
19
|
+
s.authors = ["Dittmar Krall"]
|
|
20
|
+
s.email = "dittmar.krall@matique.com"
|
|
21
|
+
s.homepage = "https://github.com/matique/miau"
|
|
22
|
+
|
|
23
|
+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|features)/}) }
|
|
24
|
+
|
|
25
25
|
s.add_runtime_dependency "activesupport"
|
|
26
26
|
|
|
27
27
|
s.add_development_dependency "activemodel"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: miau
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dittmar Krall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -109,10 +109,9 @@ dependencies:
|
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
description: |
|
|
112
|
-
|
|
112
|
+
MIAU (MIcro AUthorization) provides a set of helpers which restricts what
|
|
113
113
|
resources a given user is allowed to access.
|
|
114
|
-
email:
|
|
115
|
-
- dittmar.krall@matique.com
|
|
114
|
+
email: dittmar.krall@matique.com
|
|
116
115
|
executables: []
|
|
117
116
|
extensions: []
|
|
118
117
|
extra_rdoc_files: []
|