browser_sense 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e198b13035e5ca4775150f1413cd09e67b84e0be7d6817e8855a4358d5f80b22
4
- data.tar.gz: a479aff279f85768b99442bc4de1546c2c74c9830e65dea7d780305639c7c0c5
3
+ metadata.gz: c7238bd65f27ab5515a8450831550d517d5c577d74d4d16d3a92a9cfab12598c
4
+ data.tar.gz: 6bd9cb1d1e1938ef1c10a863d6119ababbfc30eda63b2c68f28c3141397fc5b4
5
5
  SHA512:
6
- metadata.gz: e642b21b603aa52382ce1b94f838c6c66f4872e28f5f8aa470d523ae9e9a846a12081972b1a81e92b12b0445fbf84a609d5b049d12e95e36c89316810dbbf325
7
- data.tar.gz: 9ff5e4816096babc640372678d7a11186ab39318435d433a9b8142e06b8291a83a0c4597771f9b97297ee876d16f3a2720a8f864ccae840ae91940d9ba8d7637
6
+ metadata.gz: 700b1052c5227ac87b7579223a337908b7ba520487c420d4387c366f29954672db9181370dac3cc988901df06a087c6c405e89619547d879ae0861cd1e785e00
7
+ data.tar.gz: 7873048616326259c8ccacd7ce35ca93698d1e9565557bb1afc67c97da4ddaea65941997bad7da893e81d5d55844f3a9aaa2c4d854c7ad4794c29835e25f1dfc
data/CHANGELOG.org CHANGED
@@ -1,10 +1,14 @@
1
- #+TITLE: Browser Info ChangeLog
1
+ #+TITLE: BrowserSense ChangeLog
2
2
 
3
- * [1.0.0] - 2025-08-31
3
+ * [1.0.1] - <2025-09-30 Tue>
4
+
5
+ - Fixes documentation
6
+
7
+ * [1.0.0] - <2025-08-31 Sun>
4
8
 
5
9
  - First public release
6
10
  - Changes and improvements to the documenation for public release
7
11
 
8
- * [0.1.0] - 2022-11-23
12
+ * [0.1.0] - <2022-11-23 Wed>
9
13
 
10
14
  - Initial release (private)
data/README.org CHANGED
@@ -18,13 +18,14 @@ Add the gem to your application's Gemfile and then bundle:
18
18
  bundle
19
19
  #+end_example
20
20
 
21
- To enable logging, add =browser_infro= to the =application_controller.rb= of
22
- your app, e.g.:
21
+ To enable logging, add =browser_sense= to the =application_controller.rb= of
22
+ your app, i.e.:
23
23
 
24
24
  #+begin_src ruby
25
25
  class ApplicationController < ActionController::Base
26
26
  [...]
27
27
 
28
+ include BrowserSenseFilter
28
29
  browser_sense
29
30
 
30
31
  [...]
@@ -10,31 +10,9 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Monitor which browser is accessing your Ruby on Rails app."
12
12
  spec.description = <<-EOS
13
- BrowserSense logs information about the browser accessing your
14
- RubyOnRails app.
13
+ BrowserSense logs information about the browsers accessing your RubyOnRails app.
15
14
 
16
- Installation is pretty simple:
17
-
18
- 1. Add =gem "browser_sense"= to your Gemfile
19
-
20
- 2. Add the following line to your =application_controller.rb=:
21
-
22
- browser_sense
23
-
24
- Data is stored in csv format in Rails' production log. Each URL invocation
25
- generates a log line.
26
-
27
- Extract browser info data with:
28
-
29
- grep BrowserSense development.log | cut -f2- -d:
30
-
31
- Analyize with
32
-
33
- browser-info log/production.log > output.txt
34
-
35
- or with log_sense (https://rubygems.org/gems/log_sense)
36
-
37
- BrowserSense relies on the browser gem to get informaton about the browsers.
15
+ Data can be easily extracted from the log, analyzed with the included script or with the log_sense gem.
38
16
  EOS
39
17
  spec.homepage = "https://github.com/shair-tech/browser_sense"
40
18
  spec.license = "MIT"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrowserSense
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browser_sense
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita
@@ -23,15 +23,10 @@ dependencies:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
25
  version: 6.2.0
26
- description: " BrowserSense logs information about the browser accessing your\n
27
- \ RubyOnRails app. \n\n Installation is pretty simple:\n\n 1. Add =gem
28
- \"browser_sense\"= to your Gemfile\n\n 2. Add the following line to your =application_controller.rb=:\n\n
29
- \ browser_sense\n\n Data is stored in csv format in Rails' production
30
- log. Each URL invocation\n generates a log line.\n\n Extract browser info
31
- data with:\n\n grep BrowserSense development.log | cut -f2- -d:\n\n Analyize
32
- with\n\n browser-info log/production.log > output.txt\n\n or with log_sense
33
- (https://rubygems.org/gems/log_sense)\n\n BrowserSense relies on the browser
34
- gem to get informaton about the browsers.\n"
26
+ description: |2
27
+ BrowserSense logs information about the browsers accessing your RubyOnRails app.
28
+
29
+ Data can be easily extracted from the log, analyzed with the included script or with the log_sense gem.
35
30
  email:
36
31
  - adolfo@shair.tech
37
32
  executables: