mori 0.1.5 → 0.1.6

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: 96280a59d46ddb26a6053924084d12a4252a3315
4
- data.tar.gz: d08264be706aa9affcfce3e2b8cd7cdc39049b00
3
+ metadata.gz: 5b34b385c16e929bba0dc510bd2f1ad757ab1336
4
+ data.tar.gz: 3dfd4b5b9ac9ac962764f03d540d61a3740234f0
5
5
  SHA512:
6
- metadata.gz: e49f1610bc1e09af5cea4f5cc0c7f52d4a7c8f59972d73d16a8150f66aa06009d3392217bc17b953ffb791b59f6c59396bf31eb6288511e7ff6144b2259c617c
7
- data.tar.gz: 73e3cc272263d17c15c5c1e13a946b879e67ade1e307b75f7f2da37bed1538efafc25ec6aa9453820ff037b31fa8a3dd1b992b964030ff0528b90b8d7bac889c
6
+ metadata.gz: 789e767bb13224da8a57605e4892ed86213aacb7199df0ffb999d8767d0c49d097e5671891495e28a3cb5adacfc3130ecf015cb4a3abe81848ad4b07dc39d20a
7
+ data.tar.gz: 078ee75b45dd3c71ee9f0c482bdb33b40e2d38d5617bae8e3d197432e3e332cb848b38fcaaf67280f6acb685f04c52b571e22c60b46027b5cdb45315820703aa
@@ -2,6 +2,10 @@ module Mori
2
2
  module Controller
3
3
  extend ActiveSupport::Concern
4
4
 
5
+ included do
6
+ helper_method :current_user, :signed_in?
7
+ end
8
+
5
9
  def authenticate!
6
10
  warden.authenticate!
7
11
  end
data/lib/mori/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mori
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Miler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-25 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -159,6 +159,7 @@ files:
159
159
  - spec/dummy/config/locales/en.yml
160
160
  - spec/dummy/config/routes.rb
161
161
  - spec/dummy/db/schema.rb
162
+ - spec/dummy/log/development.log
162
163
  - spec/dummy/public/404.html
163
164
  - spec/dummy/public/422.html
164
165
  - spec/dummy/public/500.html
@@ -192,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
193
  version: '0'
193
194
  requirements: []
194
195
  rubyforge_project:
195
- rubygems_version: 2.2.2
196
+ rubygems_version: 2.4.5
196
197
  signing_key:
197
198
  specification_version: 4
198
199
  summary: Mori is a user authentication platform
@@ -224,6 +225,7 @@ test_files:
224
225
  - spec/dummy/config/routes.rb
225
226
  - spec/dummy/config.ru
226
227
  - spec/dummy/db/schema.rb
228
+ - spec/dummy/log/development.log
227
229
  - spec/dummy/public/404.html
228
230
  - spec/dummy/public/422.html
229
231
  - spec/dummy/public/500.html