raki 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/raki/builder.rb +2 -2
- data/lib/raki/chain.rb +3 -2
- data/lib/raki/version.rb +2 -1
- metadata +4 -5
- data/lib/raki/version.rb.bak +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d20b9e1d32d8e1c3f4bd9ab47716454a4920bb7c87b3f89a4925d2fd89b13469
|
4
|
+
data.tar.gz: 695322c7f43ea2a09bbb964d27c882ac232a797569dcc3695d0257f4dd79fcc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06c2000aa75a4c72463521c497adfae9f91bd348fd655fb9bc189c70bfa493a03b6f3d1209a04f7498b92d0408608d5941bfd389de2b4e05a9527fc4edf8dfa
|
7
|
+
data.tar.gz: 7ecdba757cf28b77a98a54a1e5a2000ab161158a81870d7639359a425cb9ab3f9f2ddac51f2af926b50beb39ecebf96d232338ebb34113294cfd84098d867c12
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Raki
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/raki.png)](http://badge.fury.io/rb/raki)
|
3
|
+
[![GEM Downloads](https://img.shields.io/gem/dt/raki?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/raki)
|
3
4
|
|
4
5
|
The Raki specification enables a kind of piping objects.
|
5
6
|
|
@@ -143,6 +144,4 @@ Frozen arguments may avoid some strange behaviour.
|
|
143
144
|
Heavily inspired by Rack.
|
144
145
|
|
145
146
|
Copyright (c) 2020-2023 Dittmar Krall (www.matiq.com),
|
146
|
-
released under the MIT license
|
147
|
-
|
148
|
-
* https://opensource.org/licenses/MIT
|
147
|
+
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/lib/raki/builder.rb
CHANGED
data/lib/raki/chain.rb
CHANGED
@@ -8,11 +8,12 @@ module Raki
|
|
8
8
|
instance_eval(&block) if block
|
9
9
|
end
|
10
10
|
|
11
|
-
def add(middleware = nil,
|
11
|
+
def add(middleware = nil, *, &block)
|
12
12
|
middleware ||= block
|
13
13
|
@stack <<
|
14
14
|
if middleware.instance_of?(Class)
|
15
|
-
middleware.new(*args, &block)
|
15
|
+
# middleware.new(*args, &block)
|
16
|
+
middleware.new(*, &block)
|
16
17
|
else
|
17
18
|
middleware
|
18
19
|
end
|
data/lib/raki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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-
|
11
|
+
date: 2023-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -75,8 +75,7 @@ files:
|
|
75
75
|
- lib/raki/require.rb
|
76
76
|
- lib/raki/slice.rb
|
77
77
|
- lib/raki/version.rb
|
78
|
-
|
79
|
-
homepage: https://matiq.com
|
78
|
+
homepage: https://github.com/matique/raki
|
80
79
|
licenses:
|
81
80
|
- MIT
|
82
81
|
metadata:
|
@@ -96,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
95
|
- !ruby/object:Gem::Version
|
97
96
|
version: '0'
|
98
97
|
requirements: []
|
99
|
-
rubygems_version: 3.4.
|
98
|
+
rubygems_version: 3.4.20
|
100
99
|
signing_key:
|
101
100
|
specification_version: 4
|
102
101
|
summary: Kind of chaining objects
|