constructor-core 0.5.8 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/constructor_core/application_controller.rb +1 -1
- data/app/controllers/constructor_core/users_controller.rb +2 -2
- data/app/models/constructor_core/user.rb +0 -1
- data/config/initializers/devise.rb +8 -8
- data/constructor-core.gemspec +2 -2
- data/lib/constructor_core/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2bac0ed4105e685b93eb33cf9477f1307272b1c
|
4
|
+
data.tar.gz: 39edf3815d90760815e21ffc5300194e65848b4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474097878e05daa3d41cf9c100ea140e79077d600a5b3b341fdbb0a8608328ac64e11803789b761b5949bbcaee8767f34800c8a8569e0cc41f5742d6ab0e4d33
|
7
|
+
data.tar.gz: c370b75f53f1d3e693ef1b36b3863031673428eaa8564d27338b426b8aeeda27ab840812b0a4f8ae36c56c6a9fa064ad57dcb9a5551346231947d51e51512012
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
module ConstructorCore
|
4
|
-
class UsersController < ApplicationController
|
5
|
-
layout 'constructor_core/
|
4
|
+
class UsersController < ConstructorCore::ApplicationController
|
5
|
+
layout 'constructor_core/application'
|
6
6
|
|
7
7
|
def profile
|
8
8
|
@user = current_user
|
@@ -3,6 +3,5 @@
|
|
3
3
|
module ConstructorCore
|
4
4
|
class User < ActiveRecord::Base
|
5
5
|
devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable, :token_authenticatable, :timeoutable, :registerable #:confirmable, :omniauthable, :lockable, :encryptable
|
6
|
-
attr_accessible :email, :password, :password_confirmation, :remember_me
|
7
6
|
end
|
8
7
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
Devise.setup do |config|
|
2
2
|
config.mailer_sender = 'ivanzotov@gmail.com'
|
3
3
|
|
4
|
-
config.parent_controller = 'ActionController::Base'
|
4
|
+
#config.parent_controller = 'ActionController::Base'
|
5
5
|
|
6
6
|
require 'devise/orm/active_record'
|
7
7
|
|
8
|
-
config.case_insensitive_keys = [ :email ]
|
9
|
-
config.strip_whitespace_keys = [ :email ]
|
10
|
-
config.skip_session_storage = [:http_auth]
|
11
|
-
config.stretches = Rails.env.test? ? 1 : 10
|
12
|
-
config.reconfirmable = true
|
13
|
-
config.reset_password_within = 6.hours
|
14
|
-
config.sign_out_via = :delete
|
8
|
+
#config.case_insensitive_keys = [ :email ]
|
9
|
+
#config.strip_whitespace_keys = [ :email ]
|
10
|
+
#config.skip_session_storage = [:http_auth]
|
11
|
+
#config.stretches = Rails.env.test? ? 1 : 10
|
12
|
+
#config.reconfirmable = true
|
13
|
+
#config.reset_password_within = 6.hours
|
14
|
+
#config.sign_out_via = :delete
|
15
15
|
end
|
data/constructor-core.gemspec
CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
19
19
|
|
20
|
-
s.add_dependency 'rails', '~>
|
21
|
-
s.add_dependency 'devise'
|
20
|
+
s.add_dependency 'rails', '~> 4.0.0.rc2'
|
21
|
+
s.add_dependency 'devise', '~> 3.0.0.rc'
|
22
22
|
s.add_dependency 'bootstrap-sass'
|
23
23
|
s.add_dependency 'font-awesome-sass-rails'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constructor-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Zotov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0.rc2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.0.0.rc
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.0.0.rc
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bootstrap-sass
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|