logs_explorer 0.1.1 → 0.1.3

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: b0352fc92295e7fdfc885087bb9e9619138dd98a73fe535f76b4c2e0c017b0a8
4
- data.tar.gz: 5fc9f68c654e5a5ca70b2af79b8ca5fd6efda21dd5f78951211617602d1e3d44
3
+ metadata.gz: 1be7e6efdbfb80795c083e8323f355bce6aa10bd86233e39dabd338964b6e3cc
4
+ data.tar.gz: a30e13de832a7a1a05965bd2b9563ab6f7228a74fd347c8a0dc5f734165192e3
5
5
  SHA512:
6
- metadata.gz: aea31509f38e4350e69f19d046a2c95c93bcb8b7f1b2ea04a2e2c3010d1edf65eeb8c73b92d1d3c6b3dea7df5b00550c437779a5f74677df4a18aa58a6e961a7
7
- data.tar.gz: 780f9afcce08e08d3786e51721afd759926bc03a301f6b722e5562f16570048e5c43485bab7f083ff98b7fb427a09bdc80e2241b72c4ba299dc10a1f64f11cb1
6
+ metadata.gz: f49a1bf48750208ef95f1907cb597d3f0dae749e9e0cc94ad0428e4bd37505cd638b4b255648a53febaa588afe468375ed27b0f59ed48efc65fad4d177fb05b7
7
+ data.tar.gz: 28f9b0cffcec6e65765aa2f858d0661393ddc5ea67f8b44a105a98ca5f347663015b7abfb39628f9a0d5214aece002c899c9e32ec4dbb556ffc3b8cacd37387a
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2020 Oleksandr Balakiriev
1
+ Copyright 2023 Oleksandr Balakiriev
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -7,8 +7,7 @@ module LogsExplorer
7
7
  class ConsoleController < LogsExplorer::BaseController
8
8
 
9
9
  if LogsExplorer.enabled && LogsExplorer.console
10
- def index
11
- end
10
+ def index; end
12
11
 
13
12
  def execute
14
13
  @result = eval(params[:code])
@@ -20,7 +20,7 @@ module LogsExplorer
20
20
  def log_file
21
21
  @log_file ||= begin
22
22
  item = LogsExplorer.logs.detect {|e| e[:name] == params[:name]}
23
- LogFile.new(path: "#{::Rails.root}/#{item[:path]}", client_total_lines: params[:client_total_lines])
23
+ LogFile.new(path: item[:path], client_total_lines: params[:client_total_lines])
24
24
  end
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogsExplorer
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logs_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksandr Balakiriev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  - !ruby/object:Gem::Dependency