tolaria 2.0.0 → 2.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4450bf6abdde6f868ccb6b701f304cf9aceaf682
|
4
|
+
data.tar.gz: bc67b331bb75c30b437cfc5af44fc0e3bc976174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91095ce63931a301e5cd84e230414bc497d762d049efe3f13907f17f59f6a39cfa87d9c6af762ff6c8150c32360a64bb4dd6551e7686f375d77ea1caa91a12a4
|
7
|
+
data.tar.gz: 83bbbd13e2765cbfadf037114f5b09aaf2364ded8ebcdda56be987effb1eceffe02b9ae3649e7edbeb402f03357834270e7cf21128655d346f6b22f286d334e1
|
@@ -7,7 +7,7 @@ class Admin::AdminController < Tolaria::TolariaController
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def markdown
|
10
|
-
return
|
10
|
+
return head(404) unless current_administrator.present?
|
11
11
|
return render(inline:Tolaria.render_markdown(request.raw_post))
|
12
12
|
end
|
13
13
|
|
@@ -41,8 +41,7 @@ class Admin::SessionsController < Tolaria::TolariaController
|
|
41
41
|
|
42
42
|
if @administrator.send_passcode_email!
|
43
43
|
@administrator.accrue_strike!
|
44
|
-
|
45
|
-
return render nothing: true
|
44
|
+
return head(204)
|
46
45
|
else
|
47
46
|
response.status = 500
|
48
47
|
return render json: {
|
data/lib/tolaria/version.rb
CHANGED
@@ -6,6 +6,9 @@ require "tolaria"
|
|
6
6
|
module Demo
|
7
7
|
class Application < Rails::Application
|
8
8
|
|
9
|
+
# Deprecation notices become exceptions. Don’t keep deprecated code!
|
10
|
+
config.active_support.deprecation = :raise
|
11
|
+
|
9
12
|
# Settings in config/environments/* take precedence over those specified here.
|
10
13
|
# Application configuration should go into files in config/initializers
|
11
14
|
# -- all .rb files in that directory are automatically loaded.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tolaria
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Csuhta
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bcrypt
|