exception_notification_server 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: d3cb427fdedc0b8ad8e5d3780659cc9e57a24c43
4
- data.tar.gz: 2a33734b1854bc39b62096c160d3ca9fe99cd24c
3
+ metadata.gz: f291da70e6ae59e8805ce547b4a8295e71395ec9
4
+ data.tar.gz: 61dcd944e20fcef02eec24f4cdcd02810682b9fc
5
5
  SHA512:
6
- metadata.gz: 6a5b58a48c53b3fbf9a1ebc063dec10cc2f13cf0a53dc27329e6c7ed015a9c43e1e004936d748ad9be5f2aa9e18f0347489622185c8280301d54f9d9abc6400c
7
- data.tar.gz: 8cb0c77255ea50cfe365fd0027e84c4c426e4db5248458287db8e1a5381dc7a09318da246a2ffe1bff74c1802575c3013295638595cec3d7e92c827348bfa900
6
+ metadata.gz: 6a0863532be0f4ac727067c23775d392404f2da4fd49416ee7ea9fd0be60acadfeb4f79b48bd83a1cb5d313d64e880a62d5566517b463e76fbc862ccd656f228
7
+ data.tar.gz: a93507913b8b0168c8d1cbd4521e8114de2a3cd4a752956d83deffb641ae757a89566bb443751a652fd9e34fc8125a84713a986f38e39f71c73f65272b1b0991
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -74,7 +74,7 @@ module ExceptionNotificationServer
74
74
  def graph_data(from)
75
75
  result = from.to_datetime.step(Time.zone.now.to_datetime, 1).map { |time| [time.beginning_of_day.to_i * 1000, 0] }.to_h
76
76
  childrens.each { |notification| result[notification.created_at.beginning_of_day.to_i * 1000] = result[notification.created_at.beginning_of_day.to_i * 1000].to_i + 1 if notification.created_at >= from }
77
- result[created_at.beginning_of_day.to_i * 1000] += 1 if created_at >= from
77
+ result[created_at.beginning_of_day.to_i * 1000] = result[created_at.beginning_of_day.to_i * 1000].to_i + 1 if created_at >= from
78
78
  result
79
79
  end
80
80
 
@@ -1,3 +1,3 @@
1
1
  module ExceptionNotificationServer
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoliy Varanitsa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-16 00:00:00.000000000 Z
11
+ date: 2015-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails