makara 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/active_record/connection_adapters/makara_abstract_adapter.rb +1 -0
- data/lib/makara.rb +7 -0
- data/lib/makara/railtie.rb +0 -6
- data/lib/makara/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4637805d2e14a9aca08195048ebdd3f60ea0b570
|
4
|
+
data.tar.gz: 2d58a5e448c5044b90f7342ace6866ecde686ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c8238ca31368212caf4ee4fec672e6451a2a3f35303b4e5278af439534ce792676ee257be9edd8934a0adf2744404814aaa0654cc32448d135cd231d64eb2ad
|
7
|
+
data.tar.gz: c136a5a1a27b3df093c243412120df9ed4818d9a8b31606dc330f9acd23d5f9a11fe1faf443ca32f43e7a029849face4c853e1fe379190b0efb660bbcad42ea3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## v0.4.1 - 2019-03-25
|
5
|
+
[Full Changelog](https://github.com/taskrabbit/makara/compare/v0.4.0...v0.4.1)
|
6
|
+
|
7
|
+
- Fix crash by requiring makara in the adapter [#54](https://github.com/taskrabbit/makara/pull/54) Eric Saxby
|
8
|
+
- Add connection logging in non-Rails enviroments [#223](https://github.com/taskrabbit/makara/pull/223) Andrew Kane
|
9
|
+
|
4
10
|
## v0.4.0 - 2018-04-01
|
5
11
|
[Full Changelog](https://github.com/taskrabbit/makara/compare/v0.3.10...v0.4.0)
|
6
12
|
|
data/lib/makara.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'active_support'
|
1
2
|
require 'makara/version'
|
2
3
|
require 'makara/railtie' if defined?(Rails)
|
3
4
|
module Makara
|
@@ -31,3 +32,9 @@ module Makara
|
|
31
32
|
end
|
32
33
|
|
33
34
|
end
|
35
|
+
|
36
|
+
ActiveSupport.on_load(:active_record) do
|
37
|
+
ActiveRecord::LogSubscriber.log_subscribers.each do |subscriber|
|
38
|
+
subscriber.extend ::Makara::Logging::Subscriber
|
39
|
+
end
|
40
|
+
end
|
data/lib/makara/railtie.rb
CHANGED
data/lib/makara/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Nelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|