raki 0.1.0 → 0.1.1

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: b9fd5bc673e5339421fabb11056856de910aaeadc073f90b90e0dfcdc1e55b2e
4
- data.tar.gz: e4d2408df565ffcbb84f628dc5c2363d037d6975ec0519cfa080a0130c04d492
3
+ metadata.gz: 44d1c46c2049a9ce58482fd1142eeb6bb7918389231e86eef6fea8ad8ec00653
4
+ data.tar.gz: 36f8ebea936c45decc39f7d93493132c029be5c9320498491e719ead1b2bc5c7
5
5
  SHA512:
6
- metadata.gz: 2e5bb4e3770618c9fac8c25f6f9376d2acfde1003a8963ad1fcdb4271fb8cead7ff61ed1a15cc6492eac25a68ac51cde6091cee3bde33699268929c1f571371d
7
- data.tar.gz: 94ebb8db09a7f187130902b0715a04814336bb3388adb174fb61fb735bceffea763b4ed8ae7d24b7a25fedbea319b0b0cef07514e9d7e122794fde373f558eb8
6
+ metadata.gz: eda887ab0b6504e8879a3f771e649cf3490f69240a384dedba908092d0fdb2043f80db7a7f7bc99421e177e0acb466b49810643cc2055b5dd836068a5d01c87c
7
+ data.tar.gz: f8c2e6802a753cf4f52d5264395679221cffb41746a55953f1db3a3c000eadea7a7f52d6607a6aa581ac03774d5da16d44b18e493d270af0ad6ec7e40bad6dfc
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- MIT License
1
+ The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020-2021 Dittmar Krall - www.matique.com
3
+ Copyright (c) 2020-2023 Dittmar Krall (www.matiq.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -5,6 +5,15 @@ The Raki specification enables a kind of piping objects.
5
5
 
6
6
  The composing is done by Raki::Chain and Raki::Builder.
7
7
 
8
+ ## Installation
9
+
10
+ As usual:
11
+ ```ruby
12
+ # Gemfile
13
+ gem "raki"
14
+ ```
15
+ and run "bundle install".
16
+
8
17
  ## Specification
9
18
 
10
19
  A Raki is a Ruby object (not a class) that responds to "call".
@@ -39,7 +48,7 @@ A Raki middleware is ready to be stacked.
39
48
 
40
49
  A sample for a Raki middleware:
41
50
 
42
- ~~~~
51
+ ~~~ruby
43
52
  # already included in "gem raki"
44
53
  module Raki
45
54
  class Middleware
@@ -60,7 +69,7 @@ class SampleMiddleware < Raki::Middleware
60
69
  result
61
70
  end
62
71
  end
63
- ~~~~
72
+ ~~~
64
73
 
65
74
  ## Composing
66
75
 
@@ -129,25 +138,11 @@ It is always a good idea to avoid side-effects.
129
138
 
130
139
  Frozen arguments may avoid some strange behaviour.
131
140
 
132
- ## Installation
133
-
134
- Install the gem:
135
-
136
- ~~~
137
- gem install raki
138
- ~~~
139
-
140
- Or in your Gemfile:
141
-
142
- ~~~
143
- # Gemfile
144
- gem 'raki'
145
- ~~~
146
-
147
141
  ## Miscellaneous
148
142
 
149
143
  Heavily inspired by Rack.
150
144
 
151
- Raki is released under the MIT License.
145
+ Copyright (c) 2020-2023 Dittmar Krall (www.matiq.com),
146
+ released under the MIT license:
152
147
 
153
- [Code of Conduct](https://github.com/matique/matique/blob/main/CODE_OF_CONDUCT.md)
148
+ * https://opensource.org/licenses/MIT
data/lib/raki/version.rb CHANGED
@@ -1,7 +1,6 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Raki
4
- VERSION = "0.1.0" # 2021-11-03
2
+ VERSION = "0.1.1" # 2023-04-26
3
+ # VERSION = "0.1.0" # 2021-11-03
5
4
  # VERSION = "0.0.5" # 2021-07-01
6
5
  # VERSION = '0.0.4' # 2021-06-25
7
6
  # VERSION = '0.0.3' # 2020-07-14
@@ -1,7 +1,7 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Raki
4
- VERSION = "0.0.5" # 2021-07-01
2
+ VERSION = "0.1.1" # 2023-04-26
3
+ # VERSION = "0.1.0" # 2021-11-03
4
+ # VERSION = "0.0.5" # 2021-07-01
5
5
  # VERSION = '0.0.4' # 2021-06-25
6
6
  # VERSION = '0.0.3' # 2020-07-14
7
7
  # VERSION = '0.0.2'
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raki
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-11-04 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +58,7 @@ description: |
72
58
  some builders.
73
59
 
74
60
  Chained Rakis must conforms to the Raki definition.
75
- email: dittmar.krall@matique.de
61
+ email: dittmar.krall@matiq.com
76
62
  executables: []
77
63
  extensions: []
78
64
  extra_rdoc_files: []
@@ -80,7 +66,6 @@ files:
80
66
  - LICENSE
81
67
  - README.md
82
68
  - lib/raki.rb
83
- - lib/raki.rb.bak
84
69
  - lib/raki/builder.rb
85
70
  - lib/raki/chain.rb
86
71
  - lib/raki/idem.rb
@@ -91,7 +76,7 @@ files:
91
76
  - lib/raki/slice.rb
92
77
  - lib/raki/version.rb
93
78
  - lib/raki/version.rb.bak
94
- homepage: https://matique.com
79
+ homepage: https://matiq.com
95
80
  licenses:
96
81
  - MIT
97
82
  metadata:
@@ -111,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
96
  - !ruby/object:Gem::Version
112
97
  version: '0'
113
98
  requirements: []
114
- rubygems_version: 3.2.22
99
+ rubygems_version: 3.4.10
115
100
  signing_key:
116
101
  specification_version: 4
117
102
  summary: Kind of chaining objects
data/lib/raki.rb.bak DELETED
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Raki
4
- autoload :Builder, "raki/builder"
5
- autoload :Chain, "raki/chain"
6
- autoload :Idem, "raki/idem"
7
- autoload :Lint, "raki/lint"
8
- autoload :Merge, "raki/merge"
9
- autoload :Middleware, "raki/middleware"
10
- autoload :Params, "raki/params"
11
- autoload :Require, "raki/require"
12
- autoload :Slice, "raki/slice"
13
-
14
- ZERO = {body: []}
15
-
16
- class Base
17
- def initialize(*args)
18
- @args = args
19
- end
20
-
21
- def call(env)
22
- ZERO
23
- end
24
- end
25
- end