flyerhzm-bullet 1.5.1 → 1.5.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bullet.gemspec +1 -1
  3. data/lib/bullet.rb +6 -6
  4. metadata +3 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.1
1
+ 1.5.2
data/bullet.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bullet}
8
- s.version = "1.5.1"
8
+ s.version = "1.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Richard Huang"]
data/lib/bullet.rb CHANGED
@@ -1,6 +1,12 @@
1
1
  require 'bulletware'
2
2
 
3
3
  module Bullet
4
+ autoload :ActiveRecord, 'bullet/active_record'
5
+ autoload :Association, 'bullet/association'
6
+ autoload :Counter, 'bullet/counter'
7
+ autoload :BulletLogger, 'bullet/logger'
8
+ autoload :Notification, 'bullet/notification'
9
+
4
10
  class <<self
5
11
  attr_accessor :enable, :alert, :console, :growl, :growl_password, :rails_logger, :bullet_logger, :logger, :logger_file
6
12
 
@@ -62,10 +68,4 @@ module Bullet
62
68
  BULLETS.each {|bullet| bullet.log_notification(path) if bullet.notification?}
63
69
  end
64
70
  end
65
-
66
- autoload :ActiveRecord, 'bullet/active_record'
67
- autoload :Association, 'bullet/association'
68
- autoload :Counter, 'bullet/counter'
69
- autoload :BulletLogger, 'bullet/logger'
70
- autoload :Notification, 'bullet/notification'
71
71
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flyerhzm-bullet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
@@ -42,6 +42,7 @@ files:
42
42
  - tasks/bullet_tasks.rake
43
43
  has_rdoc: false
44
44
  homepage: http://github.com/flyerhzm/bullet
45
+ licenses:
45
46
  post_install_message:
46
47
  rdoc_options:
47
48
  - --charset=UTF-8
@@ -62,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  requirements: []
63
64
 
64
65
  rubyforge_project:
65
- rubygems_version: 1.2.0
66
+ rubygems_version: 1.3.5
66
67
  signing_key:
67
68
  specification_version: 3
68
69
  summary: A plugin to kill N+1 queries and unused eager loading