synchrolog-ruby 0.1.4 → 0.1.5

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: 3d33af17dfd0c04955ae0b00157d1408fe8ce1cf
4
- data.tar.gz: c840f448e5524fd3d0757ca6d9cf1b004e8f204d
3
+ metadata.gz: ba8b6c0d5ab873b1fe94f06f23d7ad5f47d80da1
4
+ data.tar.gz: 42392fba27e6603f2495d769df7be36bc293abdb
5
5
  SHA512:
6
- metadata.gz: 2aae13d77c66de0ea8b3009d33ca826e890ee09a32b9a6162558a1108d3a50a313b6ca247e53fa2a24801fb10ee6788f6e04ed71a7fac0272d570df2b91e6414
7
- data.tar.gz: 4f0550dd7b0e5efdd06017369dde0b727f101268f4ddb9a7556a20a62cfac2fbef8e237c4837a9914b846e76209ee637317750a20c258c04c54d405f0fd1457d
6
+ metadata.gz: 322ece2937581b3fb8ad07b5225b10652caf459bf458eaf72278ca8d50667a594287c649647e7abe68d9a464cb0674145362ad64661e2d9f8e8058e61c32816d
7
+ data.tar.gz: d7b02c0f61a41e427c39c53a50758eb46db4749e3cba904edef45c53da7e7e6978e4dc27b7d32b48180573346626485d1e824ef0f97604ef788d5c47b512d858
data/README.md CHANGED
@@ -25,16 +25,16 @@ Or install it yourself as:
25
25
  Run:
26
26
 
27
27
  $ rails g synchrolog:install
28
-
28
+
29
29
  or create file `config/initializers/synchrolog.rb` with the following content:
30
30
  ```ruby
31
- SYNCHROLOG = Synchrolog.new('YOUR_API_KEY')
31
+ SYNCHROLOG = Synchrolog::Client.new('YOUR_API_KEY')
32
32
  Rails.logger.extend(ActiveSupport::Logger.broadcast(SYNCHROLOG.logger))
33
33
  ```
34
34
 
35
35
  and add this line to `config/application.rb`:
36
36
  ```ruby
37
- config.middleware.insert_after 0, 'Synchrolog::Middleware'
37
+ config.middleware.insert_after 0, Synchrolog::Middleware
38
38
  ```
39
39
 
40
40
  ## Development
@@ -51,4 +51,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/synchr
51
51
  ## License
52
52
 
53
53
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
54
-
@@ -9,8 +9,8 @@ module Synchrolog
9
9
 
10
10
  def copy_initializer
11
11
  template "synchrolog.rb", "config/initializers/synchrolog.rb"
12
- application "config.middleware.insert 0, 'Synchrolog::Middleware'"
13
- end
12
+ application "config.middleware.insert 0, Synchrolog::Middleware"
13
+ end
14
14
  end
15
15
  end
16
- end
16
+ end
@@ -1,2 +1,2 @@
1
- SYNCHROLOG = Synchrolog.new('YOUR_API_KEY')
2
- Rails.logger.extend(ActiveSupport::Logger.broadcast(SYNCHROLOG.logger))
1
+ SYNCHROLOG = Synchrolog::Client.new('YOUR_API_KEY')
2
+ Rails.logger.extend(ActiveSupport::Logger.broadcast(SYNCHROLOG.logger))
@@ -1,3 +1,3 @@
1
1
  module Synchrolog
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synchrolog-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Synchrolog.com
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-14 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler