hidemyass 0.0.6 → 0.0.7

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.
@@ -3,8 +3,8 @@ require 'hidemyass'
3
3
  module Hidemyass
4
4
  require 'rails'
5
5
 
6
- class Railtie
7
- def self.insert
6
+ class Railtie < Rails::Railtie
7
+ initializer "hidemyass.configure_rails_initialization" do
8
8
  Hidemyass.options[:logger] = Rails.logger if defined?(Rails)
9
9
  Hidemyass.options[:logger] = ActiveRecord::Base.logger if defined?(ActiveRecord)
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Hidemyass
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hidemyass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: