wicked 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of wicked might be problematic. Click here for more details.

data/README.md CHANGED
@@ -8,14 +8,15 @@ Many times I'm left wanting a restful way to display a step by step process that
8
8
 
9
9
  ## Install
10
10
 
11
- Wicked is still in development, and I haven't cut a gem yet, in the mean time you can add this to your Gemfile
11
+ Add this to your Gemfile
12
12
 
13
13
  ```ruby
14
14
 
15
- gem 'wicked', :git => 'git://github.com/schneems/wicked.git'
15
+ gem 'wicked'
16
16
 
17
17
  ```
18
18
 
19
+ Then run `bundle install` and you're ready to start
19
20
 
20
21
  ## How
21
22
 
@@ -24,8 +25,9 @@ Simply inherit from Wicked::WizardController and you can specify a set of steps.
24
25
  ```ruby
25
26
  class Users::AfterSignupController < Wicked::WizardController
26
27
 
27
- steps :confirm_password, :confirm_profile :find_friends
28
+ steps :confirm_password, :confirm_profile, :find_friends
28
29
  # ...
30
+
29
31
  ```
30
32
 
31
33
  The wizard is set to call steps in order in the show action, you can specify custom logic in your show using a case statement like this:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -19,7 +19,7 @@ module Wicked::Controller::Concerns::Path
19
19
  options = {
20
20
  :controller => controller,
21
21
  :action => 'show',
22
- :id => goto_step || action,
22
+ :id => goto_step || params[:id],
23
23
  :only_path => true
24
24
  }.merge options
25
25
  url_for(options)
data/wicked.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "wicked"
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["schneems"]
12
- s.date = "2012-01-16"
12
+ s.date = "2012-02-23"
13
13
  s.description = "Wicked is a Rails engine for producing easy wizard controllers"
14
14
  s.email = "richard.schneeman@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wicked
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-16 00:00:00.000000000Z
12
+ date: 2012-02-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70258641289800 !ruby/object:Gem::Requirement
16
+ requirement: &70154437447840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.7
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70258641289800
24
+ version_requirements: *70154437447840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &70258641289320 !ruby/object:Gem::Requirement
27
+ requirement: &70154437447360 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.7
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70258641289320
35
+ version_requirements: *70154437447360
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &70258641305220 !ruby/object:Gem::Requirement
38
+ requirement: &70154437464020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70258641305220
46
+ version_requirements: *70154437464020
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &70258641304740 !ruby/object:Gem::Requirement
49
+ requirement: &70154437463540 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70258641304740
57
+ version_requirements: *70154437463540
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rcov
60
- requirement: &70258641304260 !ruby/object:Gem::Requirement
60
+ requirement: &70154437463060 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70258641304260
68
+ version_requirements: *70154437463060
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: capybara
71
- requirement: &70258641303780 !ruby/object:Gem::Requirement
71
+ requirement: &70154437462580 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.4.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70258641303780
79
+ version_requirements: *70154437462580
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sqlite3
82
- requirement: &70258641303300 !ruby/object:Gem::Requirement
82
+ requirement: &70154437462100 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70258641303300
90
+ version_requirements: *70154437462100
91
91
  description: Wicked is a Rails engine for producing easy wizard controllers
92
92
  email: richard.schneeman@gmail.com
93
93
  executables: []
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  segments:
166
166
  - 0
167
- hash: 1697406785613766654
167
+ hash: 1786234786228155746
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  none: false
170
170
  requirements: