paraxial 1.4.0 → 1.4.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: b51eef23aae22276c25b2f576f35d4a66fd2c0e286cd5d8b8c5ba86172bb9167
4
- data.tar.gz: d1c5152de188f489b296ba377d0358fc8265bb5ba7d0cefb2b0975dfce2897fe
3
+ metadata.gz: a049e14f86235b3984d52cb9d0401e42ec85deb103ae479df22ee73f52020f76
4
+ data.tar.gz: a05102fc73df7dc030be7a009de6a77be503aab05722dc7ff23fc8db10246f05
5
5
  SHA512:
6
- metadata.gz: f9720fcb74a4146551ff9a1c51d5d28bcb45e82d01ce0d6f28ee34f3923fc2c5c05b3a18548e34d92ba5aed8976541eccfc0c73be562404f3e0f7cd3a469b2d7
7
- data.tar.gz: 1cf80129ca6b2ed6c1e2dbe422af2ea150bc4f245f45cb89e5eec2fe07a002ccedc3816f7e8a4a02ea4a46386d5ff61508517a3e85b3af1b6ec71ee5fe5e0f79
6
+ metadata.gz: 2f3af29e03215f6315ada3200487edadbd4c8bce1dba0c2ef1ff7dc73af72a1fb870a6474b40276e8a43e89baf94aedd286118bbc052216605bb39226ba67df8
7
+ data.tar.gz: 10ab830e631b9fa6b550b74a9c88ce87ed4917014574ecd8cbd25acee4fc76401bcc73994e83f73c5b0018641e6ab43f40d700737dbcbe58a2833799eaa8edb3
@@ -7,7 +7,7 @@ module Paraxial
7
7
  @mutex = Mutex.new
8
8
  @headers = { 'Content-Type': 'application/json' }
9
9
 
10
- if Paraxial::Helpers.get_api_key
10
+ if Paraxial::Helpers.get_api_key and !Paraxial.configuration&.disable_http_tick
11
11
  @thread = Thread.new do
12
12
  loop do
13
13
  get_abr
@@ -1,7 +1,7 @@
1
1
  module Paraxial
2
2
  module Helpers
3
3
  def self.get_paraxial_url
4
- @paraxial_url ||= ENV['PARAXIAL_URL'] || 'https://app.paraxial.io/'
4
+ @paraxial_url ||= ENV['PARAXIAL_URL'] || 'https://app.paraxial.io'
5
5
  end
6
6
 
7
7
  def self.get_ban_url
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paraxial
4
- VERSION = '1.4.0'
4
+ VERSION = '1.4.1'
5
5
  end
data/lib/paraxial.rb CHANGED
@@ -184,9 +184,11 @@ module Paraxial
184
184
 
185
185
  class Configuration
186
186
  attr_accessor :exploit_guard
187
+ attr_accessor :disable_http_tick
187
188
 
188
189
  def initialize
189
190
  @exploit_guard = nil
191
+ @disable_http_tick = nil
190
192
  end
191
193
  end
192
194
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paraxial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Lubas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec