devise_approvable 0.7.0 → 0.8.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: ffc265bf1af8ccf43d26c4656360cf1d6eeb2807
4
- data.tar.gz: 0c3e54955eb2370cd0946347328fe0c7b058b69e
3
+ metadata.gz: a2fb8af1ca9a4e75042c92a5fde5b775a3801c87
4
+ data.tar.gz: 258dea99e65bb43b4502d5fc6aa8c6534f8c3f7e
5
5
  SHA512:
6
- metadata.gz: 138d8c269bb20405b5387f09d85f8195129060a88ad9e89dcd3f23484f162f05a8d579715ea688605dd0be303dcb13b56f19cab86ada332b08871f061fbb082d
7
- data.tar.gz: 0b5e16415278921cb0eccbec3d0f44aaa989c309979b55cf881e014a08fd4973125dc254c24552b015fae6c9f77f04c03b06973c5c365651e8948d8dda137777
6
+ metadata.gz: 7c5ef5677255c28f9d5b5efe8822501a66d906d80b6504a02651ee5686816962f3b9197905bdc81ff81ddd9743b769dc0cda8283221f0325ec23e514c8474b33
7
+ data.tar.gz: 14fa3ea1a8187b6de407de0de50c207c45da69fca836a5e6ee7da222ddb0a52e26b438f2ea8f492ee5086e4b052974d9faebdff1922c0dacf2d7ab92d6c42a54
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.8.0
@@ -1,110 +1,110 @@
1
- require 'devise/approvable_mailer'
2
- # Use this hook to configure devise mailer, warden hooks and so forth. The first
3
- # four configuration values can also be set straight in your models.
4
- Devise.setup do |config|
5
- # Configure the e-mail address which will be shown in DeviseMailer.
6
- config.mailer_sender = "support@yoursite.ca" # .CA because clearly you're Canadian
7
- config.approval_recepient = "admin@yourcandaiansite.ca"
8
-
9
- # Configure the content type of DeviseMailer mails (defaults to text/html")
10
- # config.mailer_content_type = "text/plain"
11
-
12
- # ==> Configuration for :authenticatable
13
- # Invoke `rake secret` and use the printed value to setup a pepper to generate
14
- # the encrypted password. By default no pepper is used.
15
- # config.pepper = "rake secret output"
16
-
17
- # Configure how many times you want the password is reencrypted. Default is 10.
18
- # config.stretches = 10
19
-
20
- # Define which will be the encryption algorithm. Supported algorithms are :sha1
21
- # (default), :sha512 and :bcrypt. Devise also supports encryptors from others
22
- # authentication tools as :clearance_sha1, :authlogic_sha512 (then you should set
23
- # stretches above to 20 for default behavior) and :restful_authentication_sha1
24
- # (then you should set stretches to 10, and copy REST_AUTH_SITE_KEY to pepper)
25
- # config.encryptor = :sha1
26
-
27
- # Configure which keys are used when authenticating an user. By default is
28
- # just :email. You can configure it to use [:username, :subdomain], so for
29
- # authenticating an user, both parameters are required. Remember that those
30
- # parameters are used only when authenticating and not when retrieving from
31
- # session. If you need permissions, you should implement that in a before filter.
32
- # config.authentication_keys = [ :email ]
33
-
34
- # The realm used in Http Basic Authentication
35
- # config.http_authentication_realm = "Application"
36
-
37
- # ==> Configuration for :confirmable
38
- # The time you want give to your user to confirm his account. During this time
39
- # he will be able to access your application without confirming. Default is nil.
40
- # config.confirm_within = 2.days
41
-
42
- # ==> Configuration for :rememberable
43
- # The time the user will be remembered without asking for credentials again.
44
- # config.remember_for = 2.weeks
45
-
46
- # ==> Configuration for :timeoutable
47
- # The time you want to timeout the user session without activity. After this
48
- # time the user will be asked for credentials again.
49
- # config.timeout_in = 10.minutes
50
-
51
- # ==> Configuration for :lockable
52
- # Number of authentication tries before locking an account.
53
- # config.maximum_attempts = 20
54
-
55
- # Defines which strategy will be used to unlock an account.
56
- # :email = Sends an unlock link to the user email
57
- # :time = Reanables login after a certain ammount of time (see :unlock_in below)
58
- # :both = enables both strategies
59
- # config.unlock_strategy = :both
60
-
61
- # Time interval to unlock the account if :time is enabled as unlock_strategy.
62
- # config.unlock_in = 1.hour
63
-
64
- # ==> Configuration for :token_authenticatable
65
- # Defines name of the authentication token params key
66
- # config.token_authentication_key = :auth_token
67
-
68
- # ==> General configuration
69
- # Load and configure the ORM. Supports :active_record (default), :mongo_mapper
70
- # (requires mongo_ext installed) and :data_mapper (experimental).
71
- # require 'devise/orm/mongo_mapper'
72
- # config.orm = :mongo_mapper
73
-
74
- # Turn scoped views on. Before rendering "sessions/new", it will first check for
75
- # "sessions/users/new". It's turned off by default because it's slower if you
76
- # are using only default views.
77
- # config.scoped_views = true
78
-
79
- # By default, devise detects the role accessed based on the url. So whenever
80
- # accessing "/users/sign_in", it knows you are accessing an User. This makes
81
- # routes as "/sign_in" not possible, unless you tell Devise to use the default
82
- # scope, setting true below.
83
- config.use_default_scope = true
84
-
85
- # Configure the default scope used by Devise. By default it's the first devise
86
- # role declared in your routes.
87
- config.default_scope = :user
88
-
89
- # If you want to use other strategies, that are not (yet) supported by Devise,
90
- # you can configure them inside the config.warden block. The example below
91
- # allows you to setup OAuth, using http://github.com/roman/warden_oauth
92
- #
93
- # config.warden do |manager|
94
- # manager.oauth(:twitter) do |twitter|
95
- # twitter.consumer_secret = <YOUR CONSUMER SECRET>
96
- # twitter.consumer_key = <YOUR CONSUMER KEY>
97
- # twitter.options :site => 'http://twitter.com'
98
- # end
99
- # manager.default_strategies.unshift :twitter_oauth
100
- # end
101
-
102
- # Configure default_url_options if you are using dynamic segments in :path_prefix
103
- # for devise_for.
104
- # config.default_url_options do
105
- # { :locale => I18n.locale }
106
- # end
107
-
108
- config.add_module(:approvable, :model => 'devise/approvable')
109
- config.add_module(:approvable_email, :model => 'devise/approvable_mailer')
110
- end
1
+ # require 'devise/approvable_mailer'
2
+ # # Use this hook to configure devise mailer, warden hooks and so forth. The first
3
+ # # four configuration values can also be set straight in your models.
4
+ # Devise.setup do |config|
5
+ # # Configure the e-mail address which will be shown in DeviseMailer.
6
+ # config.mailer_sender = "support@yoursite.ca" # .CA because clearly you're Canadian
7
+ # config.approval_recepient = "admin@yourcandaiansite.ca"
8
+ #
9
+ # # Configure the content type of DeviseMailer mails (defaults to text/html")
10
+ # # config.mailer_content_type = "text/plain"
11
+ #
12
+ # # ==> Configuration for :authenticatable
13
+ # # Invoke `rake secret` and use the printed value to setup a pepper to generate
14
+ # # the encrypted password. By default no pepper is used.
15
+ # # config.pepper = "rake secret output"
16
+ #
17
+ # # Configure how many times you want the password is reencrypted. Default is 10.
18
+ # # config.stretches = 10
19
+ #
20
+ # # Define which will be the encryption algorithm. Supported algorithms are :sha1
21
+ # # (default), :sha512 and :bcrypt. Devise also supports encryptors from others
22
+ # # authentication tools as :clearance_sha1, :authlogic_sha512 (then you should set
23
+ # # stretches above to 20 for default behavior) and :restful_authentication_sha1
24
+ # # (then you should set stretches to 10, and copy REST_AUTH_SITE_KEY to pepper)
25
+ # # config.encryptor = :sha1
26
+ #
27
+ # # Configure which keys are used when authenticating an user. By default is
28
+ # # just :email. You can configure it to use [:username, :subdomain], so for
29
+ # # authenticating an user, both parameters are required. Remember that those
30
+ # # parameters are used only when authenticating and not when retrieving from
31
+ # # session. If you need permissions, you should implement that in a before filter.
32
+ # # config.authentication_keys = [ :email ]
33
+ #
34
+ # # The realm used in Http Basic Authentication
35
+ # # config.http_authentication_realm = "Application"
36
+ #
37
+ # # ==> Configuration for :confirmable
38
+ # # The time you want give to your user to confirm his account. During this time
39
+ # # he will be able to access your application without confirming. Default is nil.
40
+ # # config.confirm_within = 2.days
41
+ #
42
+ # # ==> Configuration for :rememberable
43
+ # # The time the user will be remembered without asking for credentials again.
44
+ # # config.remember_for = 2.weeks
45
+ #
46
+ # # ==> Configuration for :timeoutable
47
+ # # The time you want to timeout the user session without activity. After this
48
+ # # time the user will be asked for credentials again.
49
+ # # config.timeout_in = 10.minutes
50
+ #
51
+ # # ==> Configuration for :lockable
52
+ # # Number of authentication tries before locking an account.
53
+ # # config.maximum_attempts = 20
54
+ #
55
+ # # Defines which strategy will be used to unlock an account.
56
+ # # :email = Sends an unlock link to the user email
57
+ # # :time = Reanables login after a certain ammount of time (see :unlock_in below)
58
+ # # :both = enables both strategies
59
+ # # config.unlock_strategy = :both
60
+ #
61
+ # # Time interval to unlock the account if :time is enabled as unlock_strategy.
62
+ # # config.unlock_in = 1.hour
63
+ #
64
+ # # ==> Configuration for :token_authenticatable
65
+ # # Defines name of the authentication token params key
66
+ # # config.token_authentication_key = :auth_token
67
+ #
68
+ # # ==> General configuration
69
+ # # Load and configure the ORM. Supports :active_record (default), :mongo_mapper
70
+ # # (requires mongo_ext installed) and :data_mapper (experimental).
71
+ # # require 'devise/orm/mongo_mapper'
72
+ # # config.orm = :mongo_mapper
73
+ #
74
+ # # Turn scoped views on. Before rendering "sessions/new", it will first check for
75
+ # # "sessions/users/new". It's turned off by default because it's slower if you
76
+ # # are using only default views.
77
+ # # config.scoped_views = true
78
+ #
79
+ # # By default, devise detects the role accessed based on the url. So whenever
80
+ # # accessing "/users/sign_in", it knows you are accessing an User. This makes
81
+ # # routes as "/sign_in" not possible, unless you tell Devise to use the default
82
+ # # scope, setting true below.
83
+ # config.use_default_scope = true
84
+ #
85
+ # # Configure the default scope used by Devise. By default it's the first devise
86
+ # # role declared in your routes.
87
+ # config.default_scope = :user
88
+ #
89
+ # # If you want to use other strategies, that are not (yet) supported by Devise,
90
+ # # you can configure them inside the config.warden block. The example below
91
+ # # allows you to setup OAuth, using http://github.com/roman/warden_oauth
92
+ # #
93
+ # # config.warden do |manager|
94
+ # # manager.oauth(:twitter) do |twitter|
95
+ # # twitter.consumer_secret = <YOUR CONSUMER SECRET>
96
+ # # twitter.consumer_key = <YOUR CONSUMER KEY>
97
+ # # twitter.options :site => 'http://twitter.com'
98
+ # # end
99
+ # # manager.default_strategies.unshift :twitter_oauth
100
+ # # end
101
+ #
102
+ # # Configure default_url_options if you are using dynamic segments in :path_prefix
103
+ # # for devise_for.
104
+ # # config.default_url_options do
105
+ # # { :locale => I18n.locale }
106
+ # # end
107
+ #
108
+ # config.add_module(:approvable, :model => 'devise/approvable')
109
+ # config.add_module(:approvable_email, :model => 'devise/approvable_mailer')
110
+ # end
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: devise_approvable 0.7.0 ruby lib
5
+ # stub: devise_approvable 0.8.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "devise_approvable"
9
- s.version = "0.7.0"
9
+ s.version = "0.8.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_approvable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Egg