log-analyser 0.1.1.pre.addgemtagrelease.20201106201808 → 0.1.1.pre.test.20201106194135
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 +4 -4
- data/.ruby-version +1 -0
- data/Gemfile.lock +117 -0
- data/Guardfile +45 -0
- data/Manifest +0 -0
- data/bin/setup +19 -0
- data/config/environment.rb +11 -0
- data/log-analyser.gemspec +1 -1
- metadata +11 -6
- data/manifest +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6912b36d30f208b346179fcf9513486d1327a7f1c80ce3bbc761ac52662fceff
|
|
4
|
+
data.tar.gz: f68d64ad5f087c3af8db3fb90fc6bcfa16ddf3a68a8d03790bfd22fc4f2a70e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5416de8c283c39a961749b7a26d9f2b3494aad29041b5a2d22846a557082a46f64521be753655a70acb213ca3c5eba3f140327bb88817308e5c2bf9f87818277
|
|
7
|
+
data.tar.gz: c4a40bd86969b4c9898b85333398421a0cec1071e080c16300ca370d2f51c451c8feb6a248ad946bfd279f0ffa8c634250400ab7bf7dd7d30e9e39e7a7b97027
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.7.1
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
log-analyser (0.1.1)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
ast (2.4.1)
|
|
10
|
+
coderay (1.1.3)
|
|
11
|
+
coveralls_reborn (0.18.0)
|
|
12
|
+
simplecov (>= 0.18.1, < 0.20.0)
|
|
13
|
+
term-ansicolor (~> 1.6)
|
|
14
|
+
thor (>= 0.20.3, < 2.0)
|
|
15
|
+
tins (~> 1.16)
|
|
16
|
+
diff-lcs (1.4.4)
|
|
17
|
+
docile (1.3.2)
|
|
18
|
+
ffi (1.13.1)
|
|
19
|
+
formatador (0.2.5)
|
|
20
|
+
guard (2.16.2)
|
|
21
|
+
formatador (>= 0.2.4)
|
|
22
|
+
listen (>= 2.7, < 4.0)
|
|
23
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
24
|
+
nenv (~> 0.1)
|
|
25
|
+
notiffany (~> 0.0)
|
|
26
|
+
pry (>= 0.9.12)
|
|
27
|
+
shellany (~> 0.0)
|
|
28
|
+
thor (>= 0.18.1)
|
|
29
|
+
guard-compat (1.2.1)
|
|
30
|
+
guard-rspec (4.7.3)
|
|
31
|
+
guard (~> 2.1)
|
|
32
|
+
guard-compat (~> 1.1)
|
|
33
|
+
rspec (>= 2.99.0, < 4.0)
|
|
34
|
+
listen (3.2.1)
|
|
35
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
36
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
37
|
+
lumberjack (1.2.8)
|
|
38
|
+
method_source (1.0.0)
|
|
39
|
+
nenv (0.3.0)
|
|
40
|
+
notiffany (0.1.3)
|
|
41
|
+
nenv (~> 0.1)
|
|
42
|
+
shellany (~> 0.0)
|
|
43
|
+
parallel (1.19.2)
|
|
44
|
+
parser (2.7.2.0)
|
|
45
|
+
ast (~> 2.4.1)
|
|
46
|
+
pry (0.13.1)
|
|
47
|
+
coderay (~> 1.1)
|
|
48
|
+
method_source (~> 1.0)
|
|
49
|
+
rainbow (3.0.0)
|
|
50
|
+
rake (12.3.3)
|
|
51
|
+
rb-fsevent (0.10.4)
|
|
52
|
+
rb-inotify (0.10.1)
|
|
53
|
+
ffi (~> 1.0)
|
|
54
|
+
regexp_parser (1.8.2)
|
|
55
|
+
require_all (3.0.0)
|
|
56
|
+
rexml (3.2.4)
|
|
57
|
+
rspec (3.10.0)
|
|
58
|
+
rspec-core (~> 3.10.0)
|
|
59
|
+
rspec-expectations (~> 3.10.0)
|
|
60
|
+
rspec-mocks (~> 3.10.0)
|
|
61
|
+
rspec-core (3.10.0)
|
|
62
|
+
rspec-support (~> 3.10.0)
|
|
63
|
+
rspec-expectations (3.10.0)
|
|
64
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
65
|
+
rspec-support (~> 3.10.0)
|
|
66
|
+
rspec-mocks (3.10.0)
|
|
67
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
68
|
+
rspec-support (~> 3.10.0)
|
|
69
|
+
rspec-support (3.10.0)
|
|
70
|
+
rspec_junit_formatter (0.4.1)
|
|
71
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
|
72
|
+
rubocop (1.2.0)
|
|
73
|
+
parallel (~> 1.10)
|
|
74
|
+
parser (>= 2.7.1.5)
|
|
75
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
76
|
+
regexp_parser (>= 1.8)
|
|
77
|
+
rexml
|
|
78
|
+
rubocop-ast (>= 1.0.1)
|
|
79
|
+
ruby-progressbar (~> 1.7)
|
|
80
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
|
81
|
+
rubocop-ast (1.1.1)
|
|
82
|
+
parser (>= 2.7.1.5)
|
|
83
|
+
ruby-progressbar (1.10.1)
|
|
84
|
+
shellany (0.0.1)
|
|
85
|
+
simplecov (0.19.1)
|
|
86
|
+
docile (~> 1.1)
|
|
87
|
+
simplecov-html (~> 0.11)
|
|
88
|
+
simplecov-html (0.12.3)
|
|
89
|
+
simplecov-lcov (0.8.0)
|
|
90
|
+
sync (0.5.0)
|
|
91
|
+
term-ansicolor (1.7.1)
|
|
92
|
+
tins (~> 1.0)
|
|
93
|
+
thor (1.0.1)
|
|
94
|
+
tins (1.26.0)
|
|
95
|
+
sync
|
|
96
|
+
unicode-display_width (1.7.0)
|
|
97
|
+
|
|
98
|
+
PLATFORMS
|
|
99
|
+
ruby
|
|
100
|
+
|
|
101
|
+
DEPENDENCIES
|
|
102
|
+
bundler
|
|
103
|
+
coveralls_reborn (~> 0.18.0)
|
|
104
|
+
guard
|
|
105
|
+
guard-rspec
|
|
106
|
+
log-analyser!
|
|
107
|
+
pry
|
|
108
|
+
rake (~> 12.0)
|
|
109
|
+
require_all
|
|
110
|
+
rspec (~> 3.8)
|
|
111
|
+
rspec_junit_formatter
|
|
112
|
+
rubocop
|
|
113
|
+
simplecov
|
|
114
|
+
simplecov-lcov
|
|
115
|
+
|
|
116
|
+
BUNDLED WITH
|
|
117
|
+
2.1.4
|
data/Guardfile
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# A sample Guardfile
|
|
4
|
+
# More info at https://github.com/guard/guard#readme
|
|
5
|
+
|
|
6
|
+
## Uncomment and set this to only include directories you want to watch
|
|
7
|
+
# directories %w(app lib config test spec features) \
|
|
8
|
+
# .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
|
|
9
|
+
|
|
10
|
+
## Note: if you are using the `directories` clause above and you are not
|
|
11
|
+
## watching the project directory ('.'), then you will want to move
|
|
12
|
+
## the Guardfile to a watched dir and symlink it back, e.g.
|
|
13
|
+
#
|
|
14
|
+
# $ mkdir config
|
|
15
|
+
# $ mv Guardfile config/
|
|
16
|
+
# $ ln -s config/Guardfile .
|
|
17
|
+
#
|
|
18
|
+
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
|
19
|
+
|
|
20
|
+
# Note: The cmd option is now required due to the increasing number of ways
|
|
21
|
+
# rspec may be run, below are examples of the most common uses.
|
|
22
|
+
# * bundler: 'bundle exec rspec'
|
|
23
|
+
# * bundler binstubs: 'bin/rspec'
|
|
24
|
+
# * spring: 'bin/rspec' (This will use spring if running and you have
|
|
25
|
+
# installed the spring binstubs per the docs)
|
|
26
|
+
# * zeus: 'zeus rspec' (requires the server to be started separately)
|
|
27
|
+
# * 'just' rspec: 'rspec'
|
|
28
|
+
|
|
29
|
+
guard :rspec, cmd: 'bundle exec rspec' do
|
|
30
|
+
require 'guard/rspec/dsl'
|
|
31
|
+
dsl = Guard::RSpec::Dsl.new(self)
|
|
32
|
+
|
|
33
|
+
# Feel free to open issues for suggestions and improvements
|
|
34
|
+
|
|
35
|
+
# RSpec files
|
|
36
|
+
rspec = dsl.rspec
|
|
37
|
+
watch(rspec.spec_helper) { rspec.spec_dir }
|
|
38
|
+
watch(rspec.spec_support) { rspec.spec_dir }
|
|
39
|
+
watch(rspec.spec_files)
|
|
40
|
+
watch(/^lib\/documents_analyser\/(.+)\.rb$/) { |m| "spec/#{m[1]}_spec.rb" }
|
|
41
|
+
|
|
42
|
+
# Ruby files
|
|
43
|
+
ruby = dsl.ruby
|
|
44
|
+
dsl.watch_spec_files_for(ruby.lib_files)
|
|
45
|
+
end
|
data/Manifest
ADDED
|
File without changes
|
data/bin/setup
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
|
|
4
|
+
# path to your application root.
|
|
5
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
|
6
|
+
|
|
7
|
+
def system!(*args)
|
|
8
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
FileUtils.chdir APP_ROOT do
|
|
12
|
+
# This script is a way to setup or update your development environment automatically.
|
|
13
|
+
# This script is idempotent, so that you can run it at anytime and get an expectable outcome.
|
|
14
|
+
# Add necessary setup steps to this file.
|
|
15
|
+
|
|
16
|
+
puts '== Installing dependencies =='
|
|
17
|
+
system! 'gem install bundler --conservative'
|
|
18
|
+
system('bundle check') || system!('bundle install')
|
|
19
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'bundler/setup'
|
|
4
|
+
require 'pathname'
|
|
5
|
+
require 'require_all'
|
|
6
|
+
|
|
7
|
+
APP_ROOT = Pathname.new(__dir__).parent
|
|
8
|
+
$LOAD_PATH.unshift(File.join(APP_ROOT, '/lib')) unless $LOAD_PATH.include?(File.join(APP_ROOT, '/lib'))
|
|
9
|
+
|
|
10
|
+
require './version'
|
|
11
|
+
require_all './lib'
|
data/log-analyser.gemspec
CHANGED
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
25
|
-
spec.files = %w(CHANGELOG Gemfile LICENSE.txt
|
|
25
|
+
spec.files = %w(.ruby-version CHANGELOG Gemfile Gemfile.lock Guardfile LICENSE.txt Manifest README.md Rakefile bin/setup config/environment.rb lib/pageviews.rb lib/pageviews_log_aggregator.rb lib/parser.rb lib/unique_pageviews.rb log-analyser.gemspec version.rb)
|
|
26
26
|
spec.bindir = 'exe'
|
|
27
27
|
spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
|
|
28
28
|
spec.require_paths = ['lib']
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: log-analyser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.1.pre.
|
|
4
|
+
version: 0.1.1.pre.test.20201106194135
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Mazzei
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2020-11-06 00:00:00.000000000 Z
|
|
@@ -17,24 +17,29 @@ executables: []
|
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
+
- ".ruby-version"
|
|
20
21
|
- CHANGELOG
|
|
21
22
|
- Gemfile
|
|
23
|
+
- Gemfile.lock
|
|
24
|
+
- Guardfile
|
|
22
25
|
- LICENSE.txt
|
|
26
|
+
- Manifest
|
|
23
27
|
- README.md
|
|
24
28
|
- Rakefile
|
|
29
|
+
- bin/setup
|
|
30
|
+
- config/environment.rb
|
|
25
31
|
- lib/pageviews.rb
|
|
26
32
|
- lib/pageviews_log_aggregator.rb
|
|
27
33
|
- lib/parser.rb
|
|
28
34
|
- lib/unique_pageviews.rb
|
|
29
35
|
- log-analyser.gemspec
|
|
30
|
-
- manifest
|
|
31
36
|
- version.rb
|
|
32
37
|
homepage: https://github.com/DMazzei/log-analyser
|
|
33
38
|
licenses:
|
|
34
39
|
- MIT
|
|
35
40
|
metadata:
|
|
36
41
|
homepage_uri: https://github.com/DMazzei/log-analyser
|
|
37
|
-
post_install_message:
|
|
42
|
+
post_install_message:
|
|
38
43
|
rdoc_options: []
|
|
39
44
|
require_paths:
|
|
40
45
|
- lib
|
|
@@ -49,8 +54,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
49
54
|
- !ruby/object:Gem::Version
|
|
50
55
|
version: 1.3.1
|
|
51
56
|
requirements: []
|
|
52
|
-
rubygems_version: 3.1.
|
|
53
|
-
signing_key:
|
|
57
|
+
rubygems_version: 3.1.2
|
|
58
|
+
signing_key:
|
|
54
59
|
specification_version: 4
|
|
55
60
|
summary: Log reader and data aggregator for pageviews information.
|
|
56
61
|
test_files: []
|