gendalf 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -1
- data/gendalf.gemspec +2 -2
- data/lib/controllers/wizard_controller.rb +6 -2
- metadata +4 -3
data/CHANGELOG
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
v0.9.1. Small fix for ajax request support
|
2
|
+
|
1
3
|
v0.9. Bugfix
|
2
4
|
|
3
5
|
v0.8. Added step model instantination (in terms of attributes values) from WizardModel class instance possible
|
@@ -14,4 +16,4 @@ v0.3. Made submodel attributes loading a separate routine in order for it to be
|
|
14
16
|
|
15
17
|
v0.2. First working implementation
|
16
18
|
|
17
|
-
v0.1. Initial gem release
|
19
|
+
v0.1. Initial gem release
|
data/gendalf.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{gendalf}
|
5
|
-
s.version = "0.9"
|
5
|
+
s.version = "0.9.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Ivan Kasatenko"]
|
9
|
-
s.date = %q{2011-03-
|
9
|
+
s.date = %q{2011-03-11}
|
10
10
|
s.description = %q{Trivial gem to support wizard application style creation.}
|
11
11
|
s.email = %q{sky.31338@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "README.markdown", "lib/controllers/wizard_controller.rb", "lib/extensions/routes.rb", "lib/gendalf.rb", "lib/models/wizard_model.rb"]
|
@@ -93,7 +93,11 @@ module Gendalf
|
|
93
93
|
end
|
94
94
|
|
95
95
|
def step_no
|
96
|
-
params[:step].
|
96
|
+
if params[:step].nil?
|
97
|
+
session[:current_step]
|
98
|
+
else
|
99
|
+
params[:step].to_i-1
|
100
|
+
end
|
97
101
|
end
|
98
102
|
|
99
103
|
def step_action_name(action_step_no=nil)
|
@@ -101,4 +105,4 @@ module Gendalf
|
|
101
105
|
end
|
102
106
|
end
|
103
107
|
|
104
|
-
end
|
108
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gendalf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.9.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Ivan Kasatenko
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-11 00:00:00 +03:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|