wizardz 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -20,8 +20,8 @@ module Wizardz
20
20
  @state = state
21
21
  end
22
22
 
23
- def method_missing(m, *args, &block)
24
- return @pages[m.to_s] if self.states.include?(m.to_sym)
23
+ def method_missing(m, *args, &block)
24
+ return @pages[m.to_sym] if self.states.include?(m.to_sym)
25
25
  super
26
26
  end
27
27
 
@@ -0,0 +1,48 @@
1
+ -----------------------
2
+ - Version 2.0.1
3
+ -----------------------
4
+
5
+ Fix to Hash lookup in method missing call (was returning nil value)
6
+
7
+ -----------------------
8
+ - Version 2.0.0
9
+ -----------------------
10
+
11
+ Added access to pages via method_missing call to simplify access
12
+
13
+ -----------------------
14
+ - Version 1.3.1
15
+ -----------------------
16
+
17
+ Fix to issue vaid_states issue when save and loading
18
+
19
+ -----------------------
20
+ - Version 1.3.0
21
+ -----------------------
22
+
23
+ Added Tests for merge parameter
24
+
25
+ -----------------------
26
+ - Version 1.2.0
27
+ -----------------------
28
+
29
+ Added merge option (Allow use of default values for a given page with user added defaults on Wizard Creation)
30
+ Needs to example code for this to show functionality in practise
31
+
32
+ -----------------------
33
+ - Version 1.1.0
34
+ -----------------------
35
+
36
+ Change default state setup to use array of hashs (with :id and :class points) instead of Hash of values only. This was required to ensure ordering could be implemented.
37
+
38
+ -----------------------
39
+ - Version 1.0.1
40
+ -----------------------
41
+
42
+ Remove netbeans configuration files from project
43
+
44
+ -----------------------
45
+ - Version 1.0.0
46
+ -----------------------
47
+
48
+ Initial implementation of Gem from code data
@@ -199,7 +199,7 @@ describe "Wizard" do
199
199
  end
200
200
 
201
201
  it 'returns the page data when the page exists' do
202
-
202
+ @wiz.first_state.should == @wiz.pages[:first_state]
203
203
  end
204
204
 
205
205
  it 'generates an error when the page does not exist' do
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wizardz}
8
- s.version = "2.0.0"
8
+ s.version = "2.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Henry"]
12
- s.date = %q{2010-06-26}
12
+ s.date = %q{2010-06-27}
13
13
  s.description = %q{Multi-Step wizard that deals with multiple models and changing step options based on previous step input}
14
14
  s.email = %q{dave_henry@lyagushka.co.uk}
15
15
  s.extra_rdoc_files = [
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  "lib/wizardz/page/first.rb",
29
29
  "lib/wizardz/wizard.rb",
30
30
  "lib/wizardz/wizard_object.rb",
31
+ "release_notes",
31
32
  "spec/spec.opts",
32
33
  "spec/spec_helper.rb",
33
34
  "spec/wizardz/page_spec.rb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wizardz
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Henry
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-26 00:00:00 +01:00
18
+ date: 2010-06-27 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -55,6 +55,7 @@ files:
55
55
  - lib/wizardz/page/first.rb
56
56
  - lib/wizardz/wizard.rb
57
57
  - lib/wizardz/wizard_object.rb
58
+ - release_notes
58
59
  - spec/spec.opts
59
60
  - spec/spec_helper.rb
60
61
  - spec/wizardz/page_spec.rb