rain_catcher 0.1.3 → 0.1.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
  SHA256:
3
- metadata.gz: e09a2821d27ade1868628865943fcbf5bdb77ebf740b3eb045adc6cb09d8ab08
4
- data.tar.gz: f087ac42343b41b79ddf75a8550da29fe6787dda83362d2e1807bd74ff5de125
3
+ metadata.gz: 6ac559fac890664dafeb48e2dbe752c44cd7fc05b55701961e2beeb31c1d38a0
4
+ data.tar.gz: 6528009f17e139af054b0cee6adf742199f4a050438e3ca45988b4e6635a2129
5
5
  SHA512:
6
- metadata.gz: cb52fa44013b165f3fc2c34cd4ea9ac9c955fa4668489a3a2f0e8ca6ed2d74ec2cc5eb7d734888b1dd356093f45f3d103f42a388bc02c9fc22b660a66b9e16bd
7
- data.tar.gz: 2b1f768b3bcd939fff6b31af5e100245d85c512216b6f253446c05ad122aa33a1358044762ce6c5663f3b7f0620c87f9af6c99f075d1f52b3ead4bb13aac9cc7
6
+ metadata.gz: 28e0720b143e81f7a9d8c1887853342a2149fb0a7756405189f5cb2e219148953c9e0241283c2197988999b00bc17b2d38e79890ef881aa71e8f39e8100bac41
7
+ data.tar.gz: 4baa13f206149bdbcf8a768ac46781d71c29ed4be669631e0b08c57981ee9b7726dd1909e0cadfa5ba3a073292d5939c05e2fc215c9264df51b71bd24bed233f
@@ -8,36 +8,34 @@ module RainCatcher
8
8
  end
9
9
  end
10
10
 
11
- class << self
12
- private
11
+ private
13
12
 
14
- def subscriber
15
- @subscriber ||= RainCatcher::Subscriber.new(
16
- interval: interval,
17
- log_level: log_level,
18
- application_name: application_name,
19
- environment: Rails.env.to_s
20
- )
21
- end
13
+ def subscriber
14
+ @subscriber ||= RainCatcher::Subscriber.new(
15
+ interval: interval,
16
+ log_level: log_level,
17
+ application_name: application_name,
18
+ environment: Rails.env.to_s
19
+ )
20
+ end
22
21
 
23
- def notifications
24
- ActiveSupport::Notifications
25
- end
22
+ def notifications
23
+ ActiveSupport::Notifications
24
+ end
26
25
 
27
- def interval
28
- ENV.fetch('RAIN_CATCHER_LOG_INTERVAL', '30').to_i
29
- end
26
+ def interval
27
+ ENV.fetch('RAIN_CATCHER_LOG_INTERVAL', '30').to_i
28
+ end
30
29
 
31
- def log_level
32
- ENV.fetch('RAIN_CATCHER_LOG_LEVEL', 'INFO')
33
- end
30
+ def log_level
31
+ ENV.fetch('RAIN_CATCHER_LOG_LEVEL', 'INFO')
32
+ end
34
33
 
35
- def application_name
36
- ENV.fetch(
37
- 'RAIN_CATCHER_APPLICATION_NAME',
38
- Rails.application.class.name.split('::').first.downcase
39
- )
40
- end
34
+ def application_name
35
+ ENV.fetch(
36
+ 'RAIN_CATCHER_APPLICATION_NAME',
37
+ Rails.application.class.name.split('::').first.downcase
38
+ )
41
39
  end
42
40
  end
43
41
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RainCatcher
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rain_catcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-17 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails