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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d4facf59e388d45c7e810b88421bc62c5f53854
4
- data.tar.gz: 2130f2a69bc6c5101209874552888692869c6ed0
3
+ metadata.gz: d2bac0ed4105e685b93eb33cf9477f1307272b1c
4
+ data.tar.gz: 39edf3815d90760815e21ffc5300194e65848b4a
5
5
  SHA512:
6
- metadata.gz: b8091d880e2c6513b5b95a5a48860449764d166d8c41141a6a14b481d1ff495f3fe1b7c67ff91e364074140e7bbf1978329633c9c035dd441b09a30b433fbb0f
7
- data.tar.gz: 257c72ff3008f97fa4b0467efe7f632d33003cf8b3311be90643f118230e434fe00de9df3ddbc93cd99dd0fc1191d422b602745a9d8730a029659e684119fcb8
6
+ metadata.gz: 474097878e05daa3d41cf9c100ea140e79077d600a5b3b341fdbb0a8608328ac64e11803789b761b5949bbcaee8767f34800c8a8569e0cc41f5742d6ab0e4d33
7
+ data.tar.gz: c370b75f53f1d3e693ef1b36b3863031673428eaa8564d27338b426b8aeeda27ab840812b0a4f8ae36c56c6a9fa064ad57dcb9a5551346231947d51e51512012
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module ConstructorCore
4
- class ApplicationController < ApplicationController
4
+ class ApplicationController < ::ApplicationController
5
5
  before_filter :authenticate_user!, :except => [:show]
6
6
 
7
7
  helper_method :current_user
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module ConstructorCore
4
- class UsersController < ApplicationController
5
- layout 'constructor_core/application_admin'
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
@@ -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', '~> 3.2.13'
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
@@ -1,3 +1,3 @@
1
1
  module ConstructorCore
2
- VERSION = '0.5.8'
2
+ VERSION = '0.6.0'
3
3
  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.5.8
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-18 00:00:00.000000000 Z
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: 3.2.13
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: 3.2.13
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: '0'
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: '0'
40
+ version: 3.0.0.rc
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement