tail_log 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: d22a5ac48252150f20c7dcdd3ea07fec7950138b
4
- data.tar.gz: d0ec44a06e9efcfa077b3b9f28019824c086ff29
3
+ metadata.gz: d7bb268b56accf1d2af54229c594e718b1b23d71
4
+ data.tar.gz: 2acdb12c4326ea98e6757e4b4dc3d83d8f14f26a
5
5
  SHA512:
6
- metadata.gz: be39804324629b850ca908d3b5ae4a869ade7b5f2a20b499c88209e08e7c6dda95c0548444ca5206480ce85b5fbd071fa56a631a593739dacc818a339f62022c
7
- data.tar.gz: afa0286e2405cfe68c20a04a1bbce1f68331a35788dd6f556805f6a6ac7ad957ede2f888c8e4e970d7c55d506c7eb445dd5ec0da1a9291317c7ec1488fa145be
6
+ metadata.gz: 1281a29d9ef8d0288933246c5b84918832f5d89194eb9dc565803567d1467d80ac447a3a1c7a3d166dd59f16ed71fe0ed16a17acbec58d592dfb4e1ff4aade2d
7
+ data.tar.gz: 1748c8bc2e44274218ea2d9b062b2961a0edaf75139acb366512e62a459254599e03c0e35b6c99e176f819b1a740747a7e7d3cc03e60aad88f5ae910949f81a1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TailLog
2
2
 
3
- TODO: Write a gem description
3
+ Tails your logs in browser (needs f5)
4
4
 
5
5
  ## Installation
6
6
 
@@ -12,13 +12,13 @@ And then execute:
12
12
 
13
13
  $ bundle
14
14
 
15
- Or install it yourself as:
15
+ ## Usage
16
16
 
17
- $ gem install tail_log
17
+ Add in your routes.rb:
18
18
 
19
- ## Usage
19
+ get '/logging' => 'logs#logs'
20
20
 
21
- TODO: Write usage instructions here
21
+ and that is it
22
22
 
23
23
  ## Contributing
24
24
 
@@ -1,4 +1,4 @@
1
- class LogsController < ApplicationController
1
+ class LogsController < ActionController::Base
2
2
 
3
3
  def logs
4
4
  log = File.join(Rails.root, "log", "#{ Rails.env }.log")
@@ -3,7 +3,5 @@
3
3
  </pre>
4
4
 
5
5
  <script>
6
- $(function(){
7
- window.scrollTo(0,document.body.scrollHeight);
8
- });
6
+ window.scrollTo(0,document.body.scrollHeight);
9
7
  </script>
@@ -1,3 +1,3 @@
1
1
  module TailLog
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tail_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic