ronflex 0.1.0 → 0.1.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: 109826546b5ad30bac8df1832887023a7c8bda79df3f240b2aac4f9b9af816b5
4
- data.tar.gz: 2764d13b18441bd16a695848174dc14010f663afcdecc78c1fb7f7fc2422e5f0
3
+ metadata.gz: 21aabb761af1c65b239d05c75a99670af07abfbe160fb9d1a8e56b02a2313ca9
4
+ data.tar.gz: 7680cc20371a45f73c199e3cd2ac762e135ea46cfc705b5e2059fa9bf0097c9f
5
5
  SHA512:
6
- metadata.gz: 28820603b4ed03da0c23247e42096d069b9571f8623e494a8443ab7515c714c888a08b072931949ad76f45fba3866f6d6527be66fa7614d5b6276cdb690cfd94
7
- data.tar.gz: 9b65bc8ed111da7adcb65d310ae5184ca3c67d2f02d81365b6035b175449984f6ca18d4ffd082559624fb72e78a47804a9d71df713cab009e497466e3f746b63
6
+ metadata.gz: bb6dfe2898b6b7ea6b640d722f2b3aaed680de1996515891e0f71aa234dffcd1b584d54b36c88847ecc3d73092b0c496530622e3a54a32ffe90f07323d0f29fc
7
+ data.tar.gz: 33a0649749402508b1c263fdd6c6fa97bd91f4d513e477e8e59e9933e2d1983b004d03a1c300de95eb6903d0e621dcc18ed8dde1f442fece0109be6dba1a4dfa
data/LICENCE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 VianneySonneville
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Ronflex
4
4
  class Error < StandardError; end
5
- class RonflexArgumentError < ArgumentError end
5
+ class RonflexArgumentError < ArgumentError; end
6
6
  end
data/lib/ronflex/rest.rb CHANGED
@@ -1,3 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rack'
4
+
1
5
  module Ronflex
2
6
  class Rest
3
7
  # Initializes the middleware with the given app
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ronflex
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/ronflex.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require_relative "ronflex/version"
4
4
  require "ronflex/configuration"
5
+ require "ronflex/rest"
5
6
 
6
7
  module Ronflex
7
8
  class << self
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vianney.sonneville
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-29 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2024-12-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Ronflex is a Ruby gem that provides a middleware for managing requests
14
28
  and displaying a custom maintenance page during downtime or maintenance. It also
15
29
  offers configuration options to handle user access and authorization rules, making
@@ -21,9 +35,9 @@ extensions: []
21
35
  extra_rdoc_files: []
22
36
  files:
23
37
  - CHANGELOG.md
38
+ - LICENCE
24
39
  - README.md
25
40
  - Rakefile
26
- - gem_info.txt
27
41
  - lib/ronflex.rb
28
42
  - lib/ronflex/configuration.rb
29
43
  - lib/ronflex/errors.rb
data/gem_info.txt DELETED
@@ -1,5 +0,0 @@
1
- ## TEST ##
2
-
3
- ## PUSH GEM ##
4
-
5
- gem build ronflex.gemspec