tolaria 2.0.0 → 2.0.1

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: 8a8632ffd73133959fb3a8893109fca1491bdb7c
4
- data.tar.gz: 083d48b6aded6a19ed88945c639df67ae2b06202
3
+ metadata.gz: 4450bf6abdde6f868ccb6b701f304cf9aceaf682
4
+ data.tar.gz: bc67b331bb75c30b437cfc5af44fc0e3bc976174
5
5
  SHA512:
6
- metadata.gz: f337e69d3db9ca302952ae78ed0bb2d33455aeb7fd502502812fd63107913fc1363b8821dd0c3a90d7da2854cdc4adfd44211b814c843dd68c01f3e8eabb4cdd
7
- data.tar.gz: 5e58da0e79dded8cf09851e28a9923228ce204488fdce06cb4aa403c663fa17bbe7a9283d1ed526aac25d5bc0a7cdb9098b4426f9f69ec8678f24a2eb1ef562f
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 render(nothing:true, status:404) unless current_administrator.present?
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
- response.status = 204
45
- return render nothing: true
44
+ return head(204)
46
45
  else
47
46
  response.status = 500
48
47
  return render json: {
@@ -2,7 +2,7 @@ module Tolaria
2
2
 
3
3
  # Returns Tolaria’s version number
4
4
  def self.version
5
- Gem::Version.new("2.0.0")
5
+ Gem::Version.new("2.0.1")
6
6
  end
7
7
 
8
8
  module VERSION
@@ -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.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-08 00:00:00.000000000 Z
12
+ date: 2016-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bcrypt