miau 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: d8a96cf2921c9a1b4e82104205f3a8f583d28fb27424aabc6a689c67f1cf5456
4
- data.tar.gz: 0a176ee2311f8a8ebc13279e9ccb31209a3c0fce62e5db9e5a64a2305afad199
3
+ metadata.gz: 51787808adea91ad47f3319fa6e213bf6a648a028b58b037510aa4aa4c61a1d9
4
+ data.tar.gz: abfba8aa4d1dd6525b6815cf3507f5d2ad6a2c1a100622c3ae9eff6f739e8c7f
5
5
  SHA512:
6
- metadata.gz: f23488dbe4e46ffe75d4626dcf9d36d6d89f5b29218ed95e75aab005b7c9441764a303643c4a88da70ea5a3cbfd2206bcf53fadedca68676f4315716c788a6a8
7
- data.tar.gz: 9d40fd3e56874a5419f757f7f6cda20d4c3f5785c6b87318b5dec8482430faaa80f67dcb900234418cf9a7691e999a79a37ba368f522fdc6c90a7a749590deea
6
+ metadata.gz: 15281ba513735520710c4d29e8a6791ba429497a826cbb4c05e37e061335eea99ce88f27f53f468be4eb943357ec234e29317b6a889fd51357ed300ed8092641
7
+ data.tar.gz: 58fe526fe70fb79ad6c97d216855541b2caa4a5e66307853441bf5c27cd96389d64d5d7d48959926a7d46c72b0f4778884d0a0146939c19a781b1863c71a58b8
data/Gemfile.lock CHANGED
@@ -1,72 +1,89 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- miau (1.0.1)
4
+ miau (1.0.2)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.4.3)
10
+ activesupport (7.1.1)
11
+ base64
12
+ bigdecimal
11
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ connection_pool (>= 2.2.5)
15
+ drb
12
16
  i18n (>= 1.6, < 2)
13
17
  minitest (>= 5.1)
18
+ mutex_m
14
19
  tzinfo (~> 2.0)
15
20
  ast (2.4.2)
21
+ base64 (0.1.1)
16
22
  benchmark-ips (2.12.0)
23
+ bigdecimal (3.1.4)
17
24
  concurrent-ruby (1.2.2)
25
+ connection_pool (2.4.1)
18
26
  docile (1.4.0)
19
- i18n (1.12.0)
27
+ drb (2.1.1)
28
+ ruby2_keywords
29
+ i18n (1.14.1)
20
30
  concurrent-ruby (~> 1.0)
21
31
  json (2.6.3)
22
32
  language_server-protocol (3.17.0.3)
23
- lint_roller (1.0.0)
24
- minitest (5.18.0)
33
+ lint_roller (1.1.0)
34
+ minitest (5.20.0)
35
+ mutex_m (0.1.2)
25
36
  observr (1.0.5)
26
37
  parallel (1.23.0)
27
- parser (3.2.2.0)
38
+ parser (3.2.2.4)
28
39
  ast (~> 2.4.1)
40
+ racc
41
+ racc (1.7.3)
29
42
  rainbow (3.1.1)
30
- rake (13.0.6)
31
- regexp_parser (2.8.0)
32
- rexml (3.2.5)
43
+ rake (13.1.0)
44
+ regexp_parser (2.8.2)
45
+ rexml (3.2.6)
33
46
  ricecream (0.2.1)
34
- rubocop (1.50.2)
47
+ rubocop (1.56.4)
48
+ base64 (~> 0.1.1)
35
49
  json (~> 2.3)
50
+ language_server-protocol (>= 3.17.0)
36
51
  parallel (~> 1.10)
37
- parser (>= 3.2.0.0)
52
+ parser (>= 3.2.2.3)
38
53
  rainbow (>= 2.2.2, < 4.0)
39
54
  regexp_parser (>= 1.8, < 3.0)
40
55
  rexml (>= 3.2.5, < 4.0)
41
- rubocop-ast (>= 1.28.0, < 2.0)
56
+ rubocop-ast (>= 1.28.1, < 2.0)
42
57
  ruby-progressbar (~> 1.7)
43
58
  unicode-display_width (>= 2.4.0, < 3.0)
44
- rubocop-ast (1.28.0)
59
+ rubocop-ast (1.30.0)
45
60
  parser (>= 3.2.1.0)
46
- rubocop-performance (1.16.0)
61
+ rubocop-performance (1.19.1)
47
62
  rubocop (>= 1.7.0, < 2.0)
48
63
  rubocop-ast (>= 0.4.0)
49
64
  ruby-progressbar (1.13.0)
65
+ ruby2_keywords (0.0.5)
50
66
  simplecov (0.22.0)
51
67
  docile (~> 1.1)
52
68
  simplecov-html (~> 0.11)
53
69
  simplecov_json_formatter (~> 0.1)
54
70
  simplecov-html (0.12.3)
55
71
  simplecov_json_formatter (0.1.4)
56
- standard (1.28.0)
72
+ standard (1.31.2)
57
73
  language_server-protocol (~> 3.17.0.2)
58
74
  lint_roller (~> 1.0)
59
- rubocop (~> 1.50.2)
75
+ rubocop (~> 1.56.4)
60
76
  standard-custom (~> 1.0.0)
61
- standard-performance (~> 1.0.1)
62
- standard-custom (1.0.0)
77
+ standard-performance (~> 1.2)
78
+ standard-custom (1.0.2)
63
79
  lint_roller (~> 1.0)
64
- standard-performance (1.0.1)
65
- lint_roller (~> 1.0)
66
- rubocop-performance (~> 1.16.0)
80
+ rubocop (~> 1.50)
81
+ standard-performance (1.2.1)
82
+ lint_roller (~> 1.1)
83
+ rubocop-performance (~> 1.19.1)
67
84
  tzinfo (2.0.6)
68
85
  concurrent-ruby (~> 1.0)
69
- unicode-display_width (2.4.2)
86
+ unicode-display_width (2.5.0)
70
87
 
71
88
  PLATFORMS
72
89
  x86_64-linux
@@ -81,4 +98,4 @@ DEPENDENCIES
81
98
  standard
82
99
 
83
100
  BUNDLED WITH
84
- 2.4.10
101
+ 2.4.20
data/README.md CHANGED
@@ -28,7 +28,7 @@ end
28
28
  ```
29
29
 
30
30
  ```ruby
31
- # app/controllers/posts_controller.rb # app/views/posts/update.rb
31
+ # app/controllers/posts_controller.rb # app/views/posts/update.erb
32
32
  class PostsController < ApplicationController <% if authorized? %>
33
33
  ... ...
34
34
  def update <% else %>
data/lib/miau/version.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Miau
4
- VERSION = "1.0.1" # 2023-04-24
4
+ VERSION = "1.0.2" # 2023-11-05
5
+ # VERSION = "1.0.1" # 2023-04-24
5
6
  # VERSION = "1.0.0" # 2022-01-23
6
7
  # VERSION = "0.1.2" # 2021-12-10
7
8
  # VERSION = "0.1.1" # 2021-11-06
data/lib/miau.rb CHANGED
@@ -53,6 +53,6 @@ module Miau
53
53
  klass ||= params[:controller]
54
54
  action = hsh[:action]
55
55
  action ||= params[:action]
56
- [klass, action]
56
+ [klass.to_sym, action.to_sym]
57
57
  end
58
58
  end
data/miau.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.authors = ["Dittmar Krall"]
20
20
  s.email = "dittmar.krall@matiq.com"
21
- s.homepage = "https://matiq.com"
21
+ s.homepage = "https://github.com/matique/miau"
22
22
 
23
23
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|features)/}) }
24
24
 
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: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -75,7 +75,7 @@ files:
75
75
  - lib/miau/storage.rb
76
76
  - lib/miau/version.rb
77
77
  - miau.gemspec
78
- homepage: https://matiq.com
78
+ homepage: https://github.com/matique/miau
79
79
  licenses:
80
80
  - MIT
81
81
  metadata:
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.4.10
98
+ rubygems_version: 3.4.20
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Simple and lightweight authorization solution for Rails.