puffer 0.0.17 → 0.0.18
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.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.18
|
@@ -11,6 +11,7 @@ class Puffer::SessionsController < Puffer::SessionsBase
|
|
11
11
|
# end
|
12
12
|
#
|
13
13
|
# By default defined <tt>email<tt> and <tt>password<tt> fields.
|
14
|
+
# If puffer can`t calculate field type, just set it manually.
|
14
15
|
|
15
16
|
def new
|
16
17
|
# @record = UserSession.new
|
@@ -18,12 +19,16 @@ class Puffer::SessionsController < Puffer::SessionsBase
|
|
18
19
|
|
19
20
|
def create
|
20
21
|
# @record = UserSession.new params[:user_session]
|
21
|
-
#
|
22
|
+
# if @record.save
|
23
|
+
# redirect_back_or_default puffer_root_url
|
24
|
+
# else
|
25
|
+
# render 'new'
|
26
|
+
# end
|
22
27
|
end
|
23
28
|
|
24
29
|
def destroy
|
25
|
-
#
|
26
|
-
#
|
30
|
+
# current_user_session.destroy
|
31
|
+
# redirect_to new_puffer_session_url
|
27
32
|
end
|
28
33
|
|
29
34
|
end
|
data/puffer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puffer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 18
|
10
|
+
version: 0.0.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- pyromaniac
|