permalink 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- permalink (1.1.0)
4
+ permalink (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -2,7 +2,7 @@ module Permalink
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
data/lib/permalink.rb CHANGED
@@ -4,5 +4,5 @@ require "permalink/orm/active_record"
4
4
  require "permalink/orm/mongo_mapper"
5
5
  require "permalink/orm/mongoid"
6
6
 
7
- ActiveRecord::Base.send(:include, Permalink::Orm::ActiveRecord)
7
+ ActiveRecord::Base.send(:include, Permalink::Orm::ActiveRecord) if defined?(ActiveRecord)
8
8
  Mongoid::Document::ClassMethods.send(:include, Permalink::Orm::Mongoid) if defined?(Mongoid)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: permalink
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.0
5
+ version: 1.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nando Vieira