trueandco_analytics 0.4.3 → 0.4.4

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: a6801e1de44e4ac1c62405b5b29f2e60e0635538
4
- data.tar.gz: 174c6c8d5b5213d9f29dbde0dfc95481b7210576
3
+ metadata.gz: 308508811f612bfcc03fd3041d049b62d88ed930
4
+ data.tar.gz: 9fe224008256e8140755b8e0d73882c07b916e46
5
5
  SHA512:
6
- metadata.gz: 4826f0093b1ac9dedc111a0f91f4b6f2761f7af90aeeb9449d60ebd1ef12ef511a31c10376bbcc86570ba028cb68b3b0bc404d88ba12b7247ce2a2b400980dd2
7
- data.tar.gz: 06c2ac6227efd464603d36ff7b1ca78ef839148e2c6ec37d550f1eedf3139868d85ecc2e99c9c621862cb4214dfa7848d38362e42d1e0719c5451c7694becb26
6
+ metadata.gz: d9b4f21203e6992cf1b15c98c6c0033229d8fa056694aa72e2d25b5ac4b789711841a5c7c6f0efd8db9c556ea3f586685298c2fb7828d14260a86974e87a6c45
7
+ data.tar.gz: 1beaf0739bbb126294a2f809d3229cc22dff80288131c459d38ba2c4ec6615c36bbcd4fa8779410150095a9920a0d5cb018b2e2558540f24a7cc41568fbd72f5
@@ -1,6 +1,6 @@
1
1
  module TrueandcoAnalytics
2
2
  class Reports
3
- include TrueandcoAnalytics::Modules::Info
3
+ extend TrueandcoAnalytics::Modules::Info
4
4
 
5
5
  def self.available_reports
6
6
  Dir["#{COMMON_PATH}/reports/*.rb"].each { |f| require f }
@@ -12,7 +12,7 @@ module TrueandcoAnalytics::ReportC
12
12
 
13
13
  def execute
14
14
  report = ::TrueandcoAnalytics::Reports.get_report_obj(name, format, datetime_start, datetime_end)
15
- return if report.nil? || report.data.empty?
15
+ return if report.nil? || report.data.nil?
16
16
  @path += report.report_name if File.directory?(path)
17
17
  dirname = File.dirname(path)
18
18
  unless File.directory?(dirname)
@@ -1,7 +1,7 @@
1
1
  module TrueandcoAnalytics::Site
2
2
  class UserSessionMetricWorker
3
3
  include Sidekiq::Worker
4
- sidekiq_options queue: :user_metric
4
+ sidekiq_options queue: :default
5
5
 
6
6
  def perform(*args)
7
7
  info_pages, info_request = args[0], args[1]
@@ -1,3 +1,3 @@
1
1
  module TrueandcoAnalytics
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trueandco_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moroz Ivan