ende 0.1.6 → 0.1.7
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: 05341be16c6adf9fb604e0fdbb587139d9cd6835
|
4
|
+
data.tar.gz: 9a6ef4d5d143fa40eceb5325ea9d5fb5e43fd981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3187b8b68a424f0a0bdfe940b7e8e07a622b42430d0163f889865b24c3a025e952f629a0b6a3757813408764147780551ddb3c2f2f3d0f01b3e1b885c02d4b07
|
7
|
+
data.tar.gz: 2ec1d55d52ae63a412296cedd20e32837bab8a1e862fc2f4162f48c713c771afcfa01ab5e197c0fbea50534058260351bc2e74686aaa147a262d8b4b8e00e44f
|
@@ -193,8 +193,11 @@ define 'aura/extensions/devise', () ->
|
|
193
193
|
|
194
194
|
define_routes: (router) ->
|
195
195
|
# TODO pass authenticable resource as a parameter to extension
|
196
|
-
router.define '/users/sign_in'
|
197
|
-
router.define '/users/sign_out', 'session.destroy'
|
196
|
+
router.define '/users/sign_in' , 'session.new'
|
197
|
+
router.define '/users/sign_out' , 'session.destroy'
|
198
|
+
|
199
|
+
# TODO get devise configuration for password recovery
|
200
|
+
router.define '/users/password/new', 'password.new'
|
198
201
|
|
199
202
|
define_resources: (model) ->
|
200
203
|
|
@@ -221,6 +224,8 @@ define 'aura/extensions/devise', () ->
|
|
221
224
|
# TODO move to an external module
|
222
225
|
@define_routes router if router?
|
223
226
|
|
227
|
+
@define_handlers
|
228
|
+
|
224
229
|
# Restore session if not already
|
225
230
|
# TODO Restore only when application is ready
|
226
231
|
session.restore()
|
@@ -4,15 +4,20 @@ define ->
|
|
4
4
|
|
5
5
|
type: 'Base'
|
6
6
|
|
7
|
+
version: '0.1.0'
|
8
|
+
|
7
9
|
initialize: (options) ->
|
10
|
+
names = []
|
11
|
+
|
8
12
|
# TODO access omit method throuhgh underscore
|
9
13
|
widget_options = _.omit options, 'el', 'ref', '_ref', 'name', 'require', 'baseUrl'
|
10
14
|
|
11
15
|
# TODO remove jquery dependency
|
12
16
|
for name, suboptions of widget_options when $.type(suboptions) is "object"
|
17
|
+
names.push suboptions.name || name
|
13
18
|
@add suboptions.name || name, suboptions
|
14
19
|
|
15
|
-
@$el.addClass 'tray widget'
|
20
|
+
@$el.addClass ['tray', 'widget'].concat(names).join(' ')
|
16
21
|
|
17
22
|
# TODO find a way to build the id based on content
|
18
23
|
@$el.attr 'id', options.identifier if options.identifier?
|
data/lib/ende/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ende
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heitor Salazar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|