devise_couch 0.1.0 → 0.1.1

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.
@@ -12,10 +12,11 @@ module Devise
12
12
  devise_modules.each { |m| send(m) if respond_to?(m, true) }
13
13
  end
14
14
  end #Hook
15
+
15
16
  module Schema
16
17
  include Devise::Schema
17
18
  # Tell how to apply schema methods.
18
- def apply_schema(name, type, options={})
19
+ def apply_devise_schema(name, type, options={})
19
20
  return unless Devise.apply_schema
20
21
  property name, :type => type
21
22
  end
@@ -24,12 +25,6 @@ module Devise
24
25
  end #Orm
25
26
  end #Devise
26
27
 
27
- #CouchRest::Model::Base.send(:extend, Devise::Models)
28
- #CouchRest::Model::Base.send(:include, Devise::Models)
29
-
30
- #CouchRest::Model::Base.append_extensions(Devise::Models)
31
- #CouchRest::Model::Base.append_extensions(Devise::Orm::CouchrestModel::Hook)
32
-
33
28
  module CouchRest
34
29
  module Model
35
30
  class Base
@@ -37,4 +32,4 @@ module CouchRest
37
32
  extend ::Devise::Orm::CouchrestModel::Hook
38
33
  end
39
34
  end
40
- end
35
+ end
@@ -56,17 +56,11 @@ module Devise
56
56
  end
57
57
  end
58
58
 
59
- CouchRest::Model::Base.send(:extend, Devise::Models)
60
- CouchRest::Model::Base.send(:include, Devise::Models)
61
-
62
- #CouchRest::Model::Base.append_extensions(Devise::Models)
63
- #CouchRest::Model::Base.append_extensions(Devise::Orm::CouchrestModel::Hook)
64
-
65
- #module CouchRest
66
- # module Model
67
- # module Base
68
- # extend ::Devise::Models
69
- # extend ::Devise::Orm::CouchrestModel::Hook
70
- # end
71
- # end
72
- #end
59
+ module CouchRest
60
+ module Model
61
+ class Base
62
+ extend ::Devise::Models
63
+ extend ::Devise::Orm::CouchrestModel::Hook
64
+ end
65
+ end
66
+ end
@@ -1,5 +1,5 @@
1
1
  module CouchrestModel
2
2
  module Devise
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
- end
5
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shenouda Bertel
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-13 00:00:00 +02:00
17
+ date: 2010-08-16 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20