letmein 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/letmein.gemspec +1 -1
  3. data/lib/letmein.rb +5 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/letmein.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{letmein}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Khabarov"]
data/lib/letmein.rb CHANGED
@@ -109,4 +109,8 @@ module LetMeIn
109
109
  end
110
110
  end
111
111
 
112
- ActiveRecord::Base.send :include, LetMeIn::Model
112
+ ActiveRecord::Base.send :include, LetMeIn::Model
113
+
114
+ # Rails loads models on demand. Configuration doesn't set properly unless assosiated model
115
+ # is already loaded. This will force it.
116
+ Dir[Rails.root + 'app/models/**/*.rb'].each{|path| require path }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Oleg Khabarov
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: 2742492318502957449
111
+ hash: 627264351479256994
112
112
  segments:
113
113
  - 0
114
114
  version: "0"