devise-active_node 0.0.1.beta → 0.0.2.beta

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a3cec0fb7ca42e3b70a219fc61e31ca60d18aaf
4
- data.tar.gz: 619858cc6bcee732f5352c47fa1e8ad37e94647d
3
+ metadata.gz: fabe5f9577568bce8d79aac35f7a9e652c3eb047
4
+ data.tar.gz: b366efb9aa15d1e4e4ff4e0d2a4d65bf613ee94e
5
5
  SHA512:
6
- metadata.gz: e24adf41ffa8b23c4a9f277a6df6a7bcd6f2f22da2408e90f3f1ea85a1dbfd1b91ae2d778b8cc187d161122f1a6ef07dc466043a482d8af14048d10503c609eb
7
- data.tar.gz: e87d70e6354e796105b474ce824bba6592ae28091913744443fcd9584df618a7f6203971792126cafa71e186facf4f470dad92590d2d5c94699c7081f014a776
6
+ metadata.gz: 469d1d3fe79021e1a1f094e4cef9226bfa5b215ec1c1c44ab22de48ff393867ce39954457b596b8288bc9ac704eadae8108bdccfa87426d313de97bc88575a19
7
+ data.tar.gz: af522144a0a49e45aa578984ddb47036093a171057d62eb9b463be61797d22568deb0e34a26f7396a3c855352e1e3041fffd5ee573aec17f50c7ec38b7523a29
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in devise-active_node.gemspec
4
4
  gemspec
5
+
6
+ # gem 'active_node', path: '../active_node'
@@ -12,28 +12,28 @@ module Devise
12
12
 
13
13
  when :recoverable
14
14
  attribute :reset_password_token, type: String
15
- attribute :reset_password_sent_at
15
+ attribute :reset_password_sent_at, type: Time
16
16
 
17
17
  when :rememberable
18
- attribute :remember_created_at
18
+ attribute :remember_created_at, type: Time
19
19
 
20
20
  when :trackable
21
21
  attribute :sign_in_count, type: Integer
22
- attribute :current_sign_in_at
23
- attribute :last_sign_in_at
22
+ attribute :current_sign_in_at, type: Time
23
+ attribute :last_sign_in_at, type: Time
24
24
  attribute :current_sign_in_ip, type: String
25
25
  attribute :last_sign_in_ip, type: String
26
26
 
27
27
  when :confirmable
28
28
  attribute :confirmation_token, type: String
29
- attribute :confirmed_at
30
- attribute :confirmation_sent_at
29
+ attribute :confirmed_at, type: Time
30
+ attribute :confirmation_sent_at, type: Time
31
31
  attribute :unconfirmed_email, type: String # Only if using reconfirmable
32
32
 
33
33
  when :lockable
34
34
  attribute :failed_attempts, type: Integer # Only if lock strategy is :failed_attempts
35
35
  attribute :unlock_token, type: String # Only if unlock strategy is :email or :both
36
- attribute :locked_at
36
+ attribute :locked_at, type: Time
37
37
  end
38
38
  end
39
39
 
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module ActiveNode
3
- VERSION = "0.0.1.beta"
3
+ VERSION = "0.0.2.beta"
4
4
  end
5
5
  end
@@ -10,6 +10,7 @@ else
10
10
  attribute :rating, type: Integer
11
11
 
12
12
  has_many :notes, type: :owner, direction: :incoming
13
+ has_one :user
13
14
  end
14
15
 
15
16
  class Note < ActiveNode::Base
@@ -222,7 +222,7 @@ shared_examples_for "example app with orm_adapter" do
222
222
  describe "#destroy(instance)" do
223
223
  it "should destroy the instance if it exists" do
224
224
  user = create_model(user_class)
225
- user_adapter.destroy(user).should be_true
225
+ user_adapter.destroy(user).should be true
226
226
  user_adapter.get(user.id).should be_nil
227
227
  end
228
228
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-active_node
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta
4
+ version: 0.0.2.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_node