reallycare_utils 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1 @@
1
- ActiveRecord::Base.send(:include, ReallycareUtils::Bitmask)
2
- Rails.logger.debug("AJ: Including")
1
+ ActiveRecord::Base.send(:include, ReallycareUtils::Bitmask)
@@ -1,3 +1,3 @@
1
1
  module ReallycareUtils
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,5 @@
1
1
  require 'reallycare_utils/bitmask'
2
- require 'activerecord'
3
- require 'reallycare_utils/activerecord_extensions'
2
+ require 'reallycare_utils/activerecord_extensions' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
4
3
 
5
4
  module ReallycareUtils
6
5
  # Your code goes here...
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: reallycare_utils
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mark Chapman