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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 260b09e92525eeb312da62c0ef28cb31277f36e120f96915de57a3928498a93d
4
- data.tar.gz: 55f3f87be42ebd0ef9faf6e3e1c233da129c4fb6daf958290ceebb129de1a597
3
+ metadata.gz: 97e8b7992b2c47204be21883fa917a37c2c9dab5b3b3de6e1328ee808a28b684
4
+ data.tar.gz: 813d423368b17ad729f32b340b531ced8c78b0e5eb98d67e4a9331793c6cb8c7
5
5
  SHA512:
6
- metadata.gz: d559ecd15d75b465f041fc559b288bf92a0f396c6d50d362ed18d1c96b53a8632e977f7c5ed1f719e2728fc391e46615320212277b6de08cd73ad5c711a4b4e8
7
- data.tar.gz: 0ad1bbf9d9db96321a4e2f131b1c929fba9458afbec43b4577078df8c027cb749e1c35e2ecdcb0e8d7d1a53d6edc256fc7f721de2ce9a196e95a57dac27e3c10
6
+ metadata.gz: a9c3e3ea444005d80d7a656e3e2d19b39ab75122329cfd60d5f4806c6ff63eadc511db145e21dded908b217ba0fa2b9e4a0e01fe9132497f3faa69dbafcdfbf3
7
+ data.tar.gz: 95b37899e805dbc3af4a9f036a947745c3063cf4be7e98af955351b14deba0e54f9793970cb98e5096f7bc798b93d5e578e82ca1e0ad6e4c21837c3b953cb26d
data/.gitignore CHANGED
@@ -2,5 +2,4 @@
2
2
  /Gemfile.lock
3
3
  /coverage/
4
4
  /doc/
5
- /pkg/
6
5
  /tmp/
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('lib/.*\.rb') { run_all_tests }
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.0)
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.1)
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.10)
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.4-x86_64-linux)
44
+ nokogiri (1.12.5-x86_64-linux)
45
45
  racc (~> 1.4)
46
46
  observr (1.0.5)
47
- parallel (1.20.1)
47
+ parallel (1.21.0)
48
48
  parser (3.0.2.0)
49
49
  ast (~> 2.4.1)
50
- racc (1.5.2)
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.20.0)
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.9.1, < 2.0)
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.11.0)
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.3.0)
86
- rubocop (= 1.20.0)
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.0.0)
91
- zeitwerk (2.4.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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Miau
2
4
  class Error < StandardError; end
3
5
 
data/lib/miau/storage.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "singleton"
2
4
 
3
5
  module Miau
data/lib/miau/version.rb CHANGED
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Miau
2
- VERSION = "0.1.0" # 2021-09-13
4
+ VERSION = "0.1.1" # 2021-11-06
5
+ # VERSION = "0.1.0" # 2021-09-13
3
6
  # VERSION = "0.0.2" # 2021-09-11
4
7
  # VERSION = "0.0.1"
5
8
  end
data/lib/miau.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "active_support/concern"
2
4
  require "miau/version"
3
5
  require "miau/error"
data/miau.gemspec CHANGED
@@ -1,27 +1,27 @@
1
- lib = File.expand_path("../lib", __FILE__)
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.authors = ["Dittmar Krall"]
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
- Miau provides a set of helpers which restricts what
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.0
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-09-13 00:00:00.000000000 Z
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
- Miau provides a set of helpers which restricts what
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: []