verndari 0.2.19 → 0.2.20

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: 77538f1581c2469a95ca37cb50b47676cb5eb4c04c6af0a61392a2316b81060f
4
- data.tar.gz: 79411a551092b59057f2189e8653405c4f5e0e88dc77fa4dd4f105b8da2ba5d1
3
+ metadata.gz: 3a7a32970a02f665c809d4414c743c5791d190159237bd9517b7f5506e6605db
4
+ data.tar.gz: 77aac3ea806a591beab4885a2c1468283fef27e11f3c2369eb1d178ba8727705
5
5
  SHA512:
6
- metadata.gz: 302645814cef8c37e3647df364bd81fc5bd76f1dddaf7b4c414d59f2d679cf51b8f57d8b834985f90fc9e1599de48cee1ae8d0fc23d60c73cdfd174352a26958
7
- data.tar.gz: fb02db601d60926ea8a8b84f25464bdcc7b564cbf5750df23a26ae8e16cadee6bfbe86c6969ac3c26439095805f4fa5cd8964905ec200b7b5e74adf8b5265a2c
6
+ metadata.gz: 2818b00f34b7d9f2976c8c74cdef503304c29224a4b1a3cdde902840a9129c75b4322b782e00b6b25484f33bfbdefa381721ee1179e1187ceea6c46270f93e05
7
+ data.tar.gz: dec85436c0a72b5d0f518779090bebb983241e1d32af13c70da0c40cf15bb374a98c5bde25f759991fd9e92ddfbcd348500c02caab8babb9524c3a3711439474
@@ -9,12 +9,12 @@ module Verndari
9
9
  end
10
10
 
11
11
  def host
12
- raise Errors::Configuration, "Verndari host key is missing!" unless @host
12
+ # raise Errors::Configuration, "Verndari host key is missing!" unless @host
13
13
  @host
14
14
  end
15
15
 
16
16
  def email
17
- raise Errors::Configuration, "Verndari email key is missing!" unless @email
17
+ # raise Errors::Configuration, "Verndari email key is missing!" unless @email
18
18
  @email
19
19
  end
20
20
 
@@ -7,6 +7,12 @@ module Verndari
7
7
  @app = app
8
8
  end
9
9
 
10
+ # Verndari.configure do |config|
11
+ # config.host = "sirdab.co"
12
+ # config.email = 'notifications@sirdab.co'
13
+ # end
14
+
15
+
10
16
  def call(env)
11
17
  base_url = 'https://verndari.io'
12
18
  email = Verndari.configuration.email
@@ -22,15 +28,7 @@ module Verndari
22
28
  status, headers, response = @app.call(env)
23
29
  return [status, headers, response]
24
30
  else
25
- return [401, {"Content-Type" => "application/json"},
26
- [{
27
- description: "Unauthorized Access",
28
- error: {
29
- code: 401,
30
- message: "Your application license key is invalid or expired."
31
- }
32
- }.to_json]
33
- ]
31
+ return [ 500, {}, ["Internal Server Error\n"]]
34
32
  end
35
33
  rescue
36
34
  return [status, headers, response]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Verndari
4
- VERSION = "0.2.19"
4
+ VERSION = "0.2.20"
5
5
  end
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verndari
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.19
4
+ version: 0.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohamad Kaakati
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -66,6 +66,8 @@ files:
66
66
  - lib/verndari/railtie.rb
67
67
  - lib/verndari/version.rb
68
68
  - sig/verndari.rbs
69
+ - verndari-0.2.18.gem
70
+ - verndari-0.2.19.gem
69
71
  homepage: https://github.com/Kaakati/verndari
70
72
  licenses:
71
73
  - MIT
@@ -88,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
90
  - !ruby/object:Gem::Version
89
91
  version: '0'
90
92
  requirements: []
91
- rubygems_version: 3.3.3
93
+ rubygems_version: 3.5.6
92
94
  signing_key:
93
95
  specification_version: 4
94
96
  summary: Write a short summary, because RubyGems requires one.