wicked 1.1.0 → 1.1.1

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: 422663ab2ae1282691a5dad438aa8e48382865d1
4
- data.tar.gz: 5996f5dd1a945154fa6fccdc472df091cbb6cc79
3
+ metadata.gz: 9d57c6303ec9b5b9ade82da9eb85f17bbc3456c8
4
+ data.tar.gz: 5020cb0b2f0af4813cd9d035a15b6c55305c8461
5
5
  SHA512:
6
- metadata.gz: d7ee081ed8b29d38c0fb03beefd823f786e108900b7081b9c93a1d900743a23c0b0dece7dfab2c6db7195feab73c62ee96feca2c92e59b3f528863cb7ecbf8fb
7
- data.tar.gz: 989fe808368a8995b63da9d458144a98325c116b6befbf6694c84ceb1c14bda7f1d2051827e9bf8036c65194149e9875cd4f158e0a130d82b74ea6b10a2fe1b8
6
+ metadata.gz: d52c329c13d8fd610ed2bdef74cb5e25c19c923da18ec8d7977007b3afd1635ddecac017d1fd4598fae61e3a7dbc3ff8e5edb3af63f6b2a1324927b09d4305de
7
+ data.tar.gz: 618e15b7c0a1b59614ba9fe9f0513527b53f56f370dbecf499efe611ef5df8c774d222485c3d1e83ce3552d7b72104068a5caf6e43125c6896367f1c9ab2771e
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/log/*.log
6
+ test/dummy/tmp/
7
+ .DS_Store
8
+ .rvmrc
9
+
10
+ Gemfile.lock
11
+ .ruby-version
12
+ .ruby-gemset
13
+ gemfiles/*.lock
data/.travis.yml CHANGED
@@ -20,4 +20,6 @@ matrix:
20
20
  - gemfile: gemfiles/3.0.gemfile
21
21
  rvm: 2.1.1
22
22
  - rvm: ruby-head
23
+ - env: "RAILS_VERSION=3.0.7"
24
+ rvm: 2.1.1
23
25
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Master
2
2
 
3
+ ## 1.1.1 (2/23/2015)
4
+
5
+ * [#159] Default wizard index actions now work when using `default_url_options`
6
+
3
7
  ## 1.1.0 (9/15/2014)
4
8
 
5
9
  * [#136] `skip_step` and `jump_to` now take redirect options. You can use
data/Gemfile CHANGED
@@ -1,13 +1,12 @@
1
- # this gemfile is used by jeweler for generating a gemspec.
2
- # yeah, it's backwards...but it was the hotness when I first wrote this
3
- # gem.
4
-
5
1
  source "https://rubygems.org"
6
2
 
7
- gem "rails", ">= 3.0.7"
3
+
4
+ # Put all runtime dependencies in wicked.gemspec
5
+ # Put development requirements for different platforms here
6
+ # Put more specific gem declarations in different gemfiles/*.gemfile files
7
+ gemspec :path => File.expand_path("../.", __FILE__)
8
8
 
9
9
  group :development, :test do
10
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
11
- gem "activerecord-jdbcsqlite3-adapter", '>= 1.3.0.beta', :platform => :jruby
12
- gem "jeweler"
10
+ gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
11
+ gem "activerecord-jdbcsqlite3-adapter", '~> 1.3.13', :platform => :jruby
13
12
  end
data/README.md CHANGED
@@ -189,6 +189,7 @@ skip_step # Tells render_wizard to skip to the next logical s
189
189
  jump_to(:specific_step) # Jump to :specific_step
190
190
  render_wizard # Renders the current step
191
191
  render_wizard(@user) # Shows next_step if @user.save, otherwise renders
192
+ wizard_steps # Gets ordered list of steps
192
193
  ```
193
194
 
194
195
  **Redirect options**
data/Rakefile CHANGED
@@ -33,18 +33,3 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
33
33
  end
34
34
 
35
35
 
36
- require 'jeweler'
37
- Jeweler::Tasks.new do |gem|
38
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
39
- gem.name = "wicked"
40
- gem.homepage = "http://github.com/schneems/wicked"
41
- gem.license = "MIT"
42
- gem.summary = %Q{Use Wicked to turn your controller into a wizard}
43
- gem.description = %Q{Wicked is a Rails engine for producing easy wizard controllers}
44
- gem.email = "richard.schneeman@gmail.com"
45
- gem.authors = ["schneems"]
46
- # dependencies defined in Gemfile
47
- end
48
- Jeweler::RubygemsDotOrgTasks.new
49
-
50
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
data/gemfiles/3.0.gemfile CHANGED
@@ -2,11 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.0.7"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta", :platform => :jruby
10
- end
5
+ eval Pathname.new(__FILE__).join("../../Gemfile").read
11
6
 
12
- gemspec :path => "../"
7
+ gem "rails", "~> 3.0.7"
data/gemfiles/3.1.gemfile CHANGED
@@ -2,11 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.1.0"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta", :platform => :jruby
10
- end
5
+ eval Pathname.new(__FILE__).join("../../Gemfile").read
11
6
 
12
- gemspec :path => "../"
7
+ gem "rails", "~> 3.1.0"
data/gemfiles/3.2.gemfile CHANGED
@@ -2,11 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.2.15"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta", :platform => :jruby
10
- end
5
+ eval Pathname.new(__FILE__).join("../../Gemfile").read
11
6
 
12
- gemspec :path => "../"
7
+ gem "rails", "~> 3.2.15"
data/gemfiles/4.0.gemfile CHANGED
@@ -2,11 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.0.0"
5
+ eval Pathname.new(__FILE__).join("../../Gemfile").read
6
6
 
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta", :platform => :jruby
10
- end
7
+ gem "rails", "~> 4.0.0"
11
8
 
12
- gemspec :path => "../"
data/gemfiles/4.1.gemfile CHANGED
@@ -2,11 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.1.0"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta", :platform => :jruby
10
- end
5
+ eval Pathname.new(__FILE__).join("../../Gemfile").read
11
6
 
12
- gemspec :path => "../"
7
+ gem "rails", "~> 4.1.0"
@@ -44,8 +44,11 @@ module Wicked::Controller::Concerns::RenderRedirect
44
44
  end
45
45
 
46
46
  def redirect_to_finish_wizard(options = {})
47
- Rails.logger.debug("Wizard has finished, redirecting to finish_wizard_path: #{finish_wizard_path.inspect}")
48
- redirect_to finish_wizard_path, options
47
+ wicked_final_redirect_path = finish_wizard_path
48
+ Rails.logger.debug("Wizard has finished, redirecting to finish_wizard_path: #{wicked_final_redirect_path.inspect}")
49
+ # flash.keep is required for Rails 3 where a flash message is lost on a second redirect.
50
+ flash.keep
51
+ redirect_to wicked_final_redirect_path, options
49
52
  end
50
53
  end
51
54
 
@@ -0,0 +1,3 @@
1
+ module Wicked
2
+ VERSION = "1.1.1"
3
+ end
data/lib/wicked/wizard.rb CHANGED
@@ -31,8 +31,7 @@ module Wicked
31
31
 
32
32
  # forward to first step with whatever params are provided
33
33
  def index
34
- query_string = "?#{request.query_parameters.to_query}" if request.query_parameters.any?
35
- redirect_to "#{ wizard_path(steps.first) }#{ query_string || '' }"
34
+ redirect_to wizard_path(steps.first, request.query_parameters)
36
35
  end
37
36
 
38
37
  # returns the canonical value for a step name, needed for translation support
@@ -0,0 +1,27 @@
1
+ require 'test_helper'
2
+
3
+ class UpdatesControllerTest < ActionController::TestCase
4
+ test 'redirect from first step to second step' do
5
+ put :update, :id => 'first'
6
+ assert_redirected_to update_path(:second)
7
+ assert_equal 'Thing was updated from step first.', flash[:notice]
8
+ end
9
+
10
+ test 'redirect from second step to final step' do
11
+ put :update, :id => 'second'
12
+ assert_redirected_to update_path(:last_step)
13
+ assert_equal 'Thing was updated from step second.', flash[:notice]
14
+ end
15
+
16
+ test 'redirect from last_step to root path' do
17
+ put :update, :id => 'last_step'
18
+ assert_redirected_to update_path(:wicked_finish)
19
+ assert_equal 'Thing was updated from step last_step.', flash[:notice]
20
+ end
21
+
22
+ test 'redirect from wicked_finish to root path' do
23
+ get :show, {:id => Wicked::FINISH_STEP}, {}, {:notice => "flash from last_step"}
24
+ assert_redirected_to updates_path
25
+ assert_equal 'flash from last_step', flash[:notice]
26
+ end
27
+ end
@@ -0,0 +1,30 @@
1
+ class UpdatesController < ApplicationController
2
+ include Wicked::Wizard
3
+
4
+ class Thing
5
+ def save
6
+ true
7
+ end
8
+ end
9
+
10
+ steps :first, :second, :last_step
11
+
12
+ def index
13
+
14
+ end
15
+
16
+ def show
17
+ render_wizard
18
+ end
19
+
20
+ def update
21
+ @thing = Thing.new
22
+ render_wizard(@thing, notice: "Thing was updated from step #{step}.")
23
+ end
24
+
25
+ private
26
+
27
+ def finish_wizard_path
28
+ updates_path
29
+ end
30
+ end
@@ -0,0 +1,16 @@
1
+ <% wizard_steps.each do |s| %>
2
+ <%= s.inspect %>
3
+ <%= I18n.t("wicked.#{s}") %>
4
+ <p>
5
+ <strong><u><%= s.inspect %></u></strong><br />
6
+ <%= current_step?(s) ? "#{s} step is the current step" : "nope" %><br />
7
+ <%= past_step?(s) ? "#{s} step is a past step" : "nope" %><br />
8
+ <%= future_step?(s) ? "#{s} step is a future step" : "nope" %><br />
9
+ <%= previous_step?(s) ? "#{s} step was the previous step" : "nope" %><br />
10
+ <%= next_step?(s) ? "#{s} step is the next step" : "nope" %><br />
11
+ </p>
12
+ <% end %>
13
+
14
+ <%= form_tag update_path(step), :method => :put do %>
15
+ <%= submit_tag "Next" %>
16
+ <% end %>
@@ -0,0 +1 @@
1
+ <%= render 'step_position' %>
@@ -0,0 +1 @@
1
+ Index page.
@@ -0,0 +1 @@
1
+ <%= render 'step_position' %>
@@ -0,0 +1 @@
1
+ <%= render 'step_position' %>
@@ -41,5 +41,7 @@ module Dummy
41
41
 
42
42
  # Configure sensitive parameters which will be filtered from the log file.
43
43
  config.filter_parameters += [:password]
44
+
45
+ config.eager_load = false
44
46
  end
45
47
  end
@@ -8,7 +8,7 @@ Dummy::Application.configure do
8
8
  config.cache_classes = true
9
9
 
10
10
  # Log error messages when you accidentally call methods on nil.
11
- config.whiny_nils = true
11
+ config.whiny_nils = true if Rails::VERSION::MAJOR == 3
12
12
 
13
13
  # Show full error reports and disable caching
14
14
  config.consider_all_requests_local = true
@@ -8,6 +8,7 @@ Dummy::Application.routes.draw do
8
8
  resources :string_steps
9
9
  resources :redirect_to_next
10
10
  resources :redirect_to_finish_flash
11
+ resources :updates
11
12
 
12
13
  resources :nested do
13
14
  resources :builder, :controller => 'nested/builder'
@@ -26,4 +26,4 @@ class RedirectToNextTest < ActiveSupport::IntegrationCase
26
26
  assert_has_content?('home')
27
27
  assert_has_content?('notice:jump notice')
28
28
  end
29
- end
29
+ end
@@ -0,0 +1,20 @@
1
+ require 'test_helper'
2
+
3
+ class UpdatesTest < ActiveSupport::IntegrationCase
4
+ test 'on first' do
5
+ step = :first
6
+ visit(update_path(step))
7
+
8
+ click_button("Next")
9
+ assert_equal page.current_path, update_path(:second)
10
+ assert_has_content?("notice:Thing was updated from step first.")
11
+
12
+ click_button("Next")
13
+ assert_equal page.current_path, update_path(:last_step)
14
+ assert_has_content?("notice:Thing was updated from step second.")
15
+
16
+ click_button("Next")
17
+ assert_equal page.current_path, updates_path
18
+ assert_has_content?("notice:Thing was updated from step last_step.")
19
+ end
20
+ end
data/wicked.gemspec CHANGED
@@ -1,154 +1,24 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
5
- # stub: wicked 1.1.0 ruby lib
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'wicked/version'
6
5
 
7
- Gem::Specification.new do |s|
8
- s.name = "wicked"
9
- s.version = "1.1.0"
10
-
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["schneems"]
14
- s.date = "2014-09-15"
15
- s.description = "Wicked is a Rails engine for producing easy wizard controllers"
16
- s.email = "richard.schneeman@gmail.com"
17
- s.extra_rdoc_files = [
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "wicked"
8
+ gem.version = Wicked::VERSION
9
+ gem.authors = ["Richard Schneeman"]
10
+ gem.email = ["richard.schneeman+rubygems@gmail.com"]
11
+ gem.description = "Wicked is a Rails engine for producing easy wizard controllers"
12
+ gem.summary = "Use Wicked to turn your controller into a wizard"
13
+ gem.homepage = "https://github.com/schneems/wicked"
14
+ gem.license = "MIT"
15
+ gem.extra_rdoc_files = [
18
16
  "README.md"
19
17
  ]
20
- s.files = [
21
- ".travis.yml",
22
- "Appraisals",
23
- "CHANGELOG.md",
24
- "CONTRIBUTING.md",
25
- "Gemfile",
26
- "MIT-LICENSE",
27
- "README.md",
28
- "Rakefile",
29
- "VERSION",
30
- "app/controllers/wicked/wizard_controller.rb",
31
- "gemfiles/3.0.gemfile",
32
- "gemfiles/3.1.gemfile",
33
- "gemfiles/3.2.gemfile",
34
- "gemfiles/4.0.gemfile",
35
- "gemfiles/4.1.gemfile",
36
- "lib/wicked.rb",
37
- "lib/wicked/controller/concerns/path.rb",
38
- "lib/wicked/controller/concerns/render_redirect.rb",
39
- "lib/wicked/controller/concerns/steps.rb",
40
- "lib/wicked/engine.rb",
41
- "lib/wicked/wizard.rb",
42
- "lib/wicked/wizard/translated.rb",
43
- "test/controllers/bar_controller_test.rb",
44
- "test/dummy/Rakefile",
45
- "test/dummy/app/controllers/application_controller.rb",
46
- "test/dummy/app/controllers/bar_controller.rb",
47
- "test/dummy/app/controllers/dynamic_different_steps_controller.rb",
48
- "test/dummy/app/controllers/dynamic_steps_controller.rb",
49
- "test/dummy/app/controllers/i18n_controller.rb",
50
- "test/dummy/app/controllers/jump_controller.rb",
51
- "test/dummy/app/controllers/nested/builder_controller.rb",
52
- "test/dummy/app/controllers/pages_controller.rb",
53
- "test/dummy/app/controllers/redirect_to_finish_flash_controller.rb",
54
- "test/dummy/app/controllers/redirect_to_next_controller.rb",
55
- "test/dummy/app/controllers/steps_controller.rb",
56
- "test/dummy/app/controllers/string_steps_controller.rb",
57
- "test/dummy/app/helpers/application_helper.rb",
58
- "test/dummy/app/models/bar.rb",
59
- "test/dummy/app/views/bar/first.html.erb",
60
- "test/dummy/app/views/bar/last_step.html.erb",
61
- "test/dummy/app/views/bar/second.html.erb",
62
- "test/dummy/app/views/dynamic_different_steps/first.html.erb",
63
- "test/dummy/app/views/dynamic_steps/first.html.erb",
64
- "test/dummy/app/views/i18n/first.html.erb",
65
- "test/dummy/app/views/i18n/last_step.html.erb",
66
- "test/dummy/app/views/i18n/second.html.erb",
67
- "test/dummy/app/views/jump/first.html.erb",
68
- "test/dummy/app/views/jump/last_step.html.erb",
69
- "test/dummy/app/views/jump/second.html.erb",
70
- "test/dummy/app/views/layouts/application.html.erb",
71
- "test/dummy/app/views/nested/builder/first.html.erb",
72
- "test/dummy/app/views/nested/builder/last_step.html.erb",
73
- "test/dummy/app/views/nested/builder/second.html.erb",
74
- "test/dummy/app/views/pages/index.html.erb",
75
- "test/dummy/app/views/redirect_to_finish_flash/index.html.erb",
76
- "test/dummy/app/views/redirect_to_finish_flash/last_step.html.erb",
77
- "test/dummy/app/views/redirect_to_next/first.html.erb",
78
- "test/dummy/app/views/redirect_to_next/last_step.html.erb",
79
- "test/dummy/app/views/redirect_to_next/second.html.erb",
80
- "test/dummy/app/views/step_positions/_step_position.html.erb",
81
- "test/dummy/app/views/step_positions/first.html.erb",
82
- "test/dummy/app/views/step_positions/last_step.html.erb",
83
- "test/dummy/app/views/step_positions/second.html.erb",
84
- "test/dummy/app/views/string_steps/second.html.erb",
85
- "test/dummy/config.ru",
86
- "test/dummy/config/application.rb",
87
- "test/dummy/config/boot.rb",
88
- "test/dummy/config/database.yml",
89
- "test/dummy/config/environment.rb",
90
- "test/dummy/config/environments/development.rb",
91
- "test/dummy/config/environments/production.rb",
92
- "test/dummy/config/environments/test.rb",
93
- "test/dummy/config/initializers/backtrace_silencers.rb",
94
- "test/dummy/config/initializers/inflections.rb",
95
- "test/dummy/config/initializers/mime_types.rb",
96
- "test/dummy/config/initializers/secret_token.rb",
97
- "test/dummy/config/initializers/session_store.rb",
98
- "test/dummy/config/locales/en.yml",
99
- "test/dummy/config/locales/es.yml",
100
- "test/dummy/config/routes.rb",
101
- "test/dummy/public/404.html",
102
- "test/dummy/public/422.html",
103
- "test/dummy/public/500.html",
104
- "test/dummy/public/favicon.ico",
105
- "test/dummy/public/javascripts/application.js",
106
- "test/dummy/public/javascripts/controls.js",
107
- "test/dummy/public/javascripts/dragdrop.js",
108
- "test/dummy/public/javascripts/effects.js",
109
- "test/dummy/public/javascripts/prototype.js",
110
- "test/dummy/public/javascripts/rails.js",
111
- "test/dummy/public/stylesheets/.gitkeep",
112
- "test/dummy/script/rails",
113
- "test/integration/dynamic_steps_test.rb",
114
- "test/integration/helpers_test.rb",
115
- "test/integration/i18n_test.rb",
116
- "test/integration/jump_test.rb",
117
- "test/integration/navigation_test.rb",
118
- "test/integration/nested_builder_test.rb",
119
- "test/integration/redirect_to_finish_flash_test.rb",
120
- "test/integration/redirect_to_next_test.rb",
121
- "test/integration/security_test.rb",
122
- "test/integration/steps_test.rb",
123
- "test/support/integration_case.rb",
124
- "test/test_helper.rb",
125
- "test/wicked_test.rb",
126
- "wicked.gemspec"
127
- ]
128
- s.homepage = "http://github.com/schneems/wicked"
129
- s.licenses = ["MIT"]
130
- s.rubygems_version = "2.2.2"
131
- s.summary = "Use Wicked to turn your controller into a wizard"
132
-
133
- if s.respond_to? :specification_version then
134
- s.specification_version = 4
135
-
136
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
137
- s.add_runtime_dependency(%q<rails>, [">= 3.0.7"])
138
- s.add_development_dependency(%q<sqlite3>, [">= 0"])
139
- s.add_development_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 1.3.0.beta"])
140
- s.add_development_dependency(%q<jeweler>, [">= 0"])
141
- else
142
- s.add_dependency(%q<rails>, [">= 3.0.7"])
143
- s.add_dependency(%q<sqlite3>, [">= 0"])
144
- s.add_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 1.3.0.beta"])
145
- s.add_dependency(%q<jeweler>, [">= 0"])
146
- end
147
- else
148
- s.add_dependency(%q<rails>, [">= 3.0.7"])
149
- s.add_dependency(%q<sqlite3>, [">= 0"])
150
- s.add_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 1.3.0.beta"])
151
- s.add_dependency(%q<jeweler>, [">= 0"])
152
- end
18
+ gem.files = `git ls-files`.split($/)
19
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
20
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
21
+ gem.require_paths = ["lib"]
22
+ gem.add_dependency "rails", [">= 3.0.7"]
23
+ gem.add_development_dependency "capybara", [">= 0"]
153
24
  end
154
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wicked
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - schneems
7
+ - Richard Schneeman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-15 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -25,35 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.0.7
27
27
  - !ruby/object:Gem::Dependency
28
- name: sqlite3
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: activerecord-jdbcsqlite3-adapter
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 1.3.0.beta
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 1.3.0.beta
55
- - !ruby/object:Gem::Dependency
56
- name: jeweler
28
+ name: capybara
57
29
  requirement: !ruby/object:Gem::Requirement
58
30
  requirements:
59
31
  - - ">="
@@ -67,12 +39,14 @@ dependencies:
67
39
  - !ruby/object:Gem::Version
68
40
  version: '0'
69
41
  description: Wicked is a Rails engine for producing easy wizard controllers
70
- email: richard.schneeman@gmail.com
42
+ email:
43
+ - richard.schneeman+rubygems@gmail.com
71
44
  executables: []
72
45
  extensions: []
73
46
  extra_rdoc_files:
74
47
  - README.md
75
48
  files:
49
+ - ".gitignore"
76
50
  - ".travis.yml"
77
51
  - Appraisals
78
52
  - CHANGELOG.md
@@ -93,9 +67,11 @@ files:
93
67
  - lib/wicked/controller/concerns/render_redirect.rb
94
68
  - lib/wicked/controller/concerns/steps.rb
95
69
  - lib/wicked/engine.rb
70
+ - lib/wicked/version.rb
96
71
  - lib/wicked/wizard.rb
97
72
  - lib/wicked/wizard/translated.rb
98
73
  - test/controllers/bar_controller_test.rb
74
+ - test/controllers/updates_controller_test.rb
99
75
  - test/dummy/Rakefile
100
76
  - test/dummy/app/controllers/application_controller.rb
101
77
  - test/dummy/app/controllers/bar_controller.rb
@@ -107,8 +83,9 @@ files:
107
83
  - test/dummy/app/controllers/pages_controller.rb
108
84
  - test/dummy/app/controllers/redirect_to_finish_flash_controller.rb
109
85
  - test/dummy/app/controllers/redirect_to_next_controller.rb
110
- - test/dummy/app/controllers/steps_controller.rb
86
+ - test/dummy/app/controllers/step_positions_controller.rb
111
87
  - test/dummy/app/controllers/string_steps_controller.rb
88
+ - test/dummy/app/controllers/updates_controller.rb
112
89
  - test/dummy/app/helpers/application_helper.rb
113
90
  - test/dummy/app/models/bar.rb
114
91
  - test/dummy/app/views/bar/first.html.erb
@@ -137,6 +114,11 @@ files:
137
114
  - test/dummy/app/views/step_positions/last_step.html.erb
138
115
  - test/dummy/app/views/step_positions/second.html.erb
139
116
  - test/dummy/app/views/string_steps/second.html.erb
117
+ - test/dummy/app/views/updates/_step_position.html.erb
118
+ - test/dummy/app/views/updates/first.html.erb
119
+ - test/dummy/app/views/updates/index.html.erb
120
+ - test/dummy/app/views/updates/last_step.html.erb
121
+ - test/dummy/app/views/updates/second.html.erb
140
122
  - test/dummy/config.ru
141
123
  - test/dummy/config/application.rb
142
124
  - test/dummy/config/boot.rb
@@ -175,11 +157,12 @@ files:
175
157
  - test/integration/redirect_to_next_test.rb
176
158
  - test/integration/security_test.rb
177
159
  - test/integration/steps_test.rb
160
+ - test/integration/updates_test.rb
178
161
  - test/support/integration_case.rb
179
162
  - test/test_helper.rb
180
163
  - test/wicked_test.rb
181
164
  - wicked.gemspec
182
- homepage: http://github.com/schneems/wicked
165
+ homepage: https://github.com/schneems/wicked
183
166
  licenses:
184
167
  - MIT
185
168
  metadata: {}
@@ -199,8 +182,100 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
182
  version: '0'
200
183
  requirements: []
201
184
  rubyforge_project:
202
- rubygems_version: 2.2.2
185
+ rubygems_version: 2.4.5
203
186
  signing_key:
204
187
  specification_version: 4
205
188
  summary: Use Wicked to turn your controller into a wizard
206
- test_files: []
189
+ test_files:
190
+ - test/controllers/bar_controller_test.rb
191
+ - test/controllers/updates_controller_test.rb
192
+ - test/dummy/Rakefile
193
+ - test/dummy/app/controllers/application_controller.rb
194
+ - test/dummy/app/controllers/bar_controller.rb
195
+ - test/dummy/app/controllers/dynamic_different_steps_controller.rb
196
+ - test/dummy/app/controllers/dynamic_steps_controller.rb
197
+ - test/dummy/app/controllers/i18n_controller.rb
198
+ - test/dummy/app/controllers/jump_controller.rb
199
+ - test/dummy/app/controllers/nested/builder_controller.rb
200
+ - test/dummy/app/controllers/pages_controller.rb
201
+ - test/dummy/app/controllers/redirect_to_finish_flash_controller.rb
202
+ - test/dummy/app/controllers/redirect_to_next_controller.rb
203
+ - test/dummy/app/controllers/step_positions_controller.rb
204
+ - test/dummy/app/controllers/string_steps_controller.rb
205
+ - test/dummy/app/controllers/updates_controller.rb
206
+ - test/dummy/app/helpers/application_helper.rb
207
+ - test/dummy/app/models/bar.rb
208
+ - test/dummy/app/views/bar/first.html.erb
209
+ - test/dummy/app/views/bar/last_step.html.erb
210
+ - test/dummy/app/views/bar/second.html.erb
211
+ - test/dummy/app/views/dynamic_different_steps/first.html.erb
212
+ - test/dummy/app/views/dynamic_steps/first.html.erb
213
+ - test/dummy/app/views/i18n/first.html.erb
214
+ - test/dummy/app/views/i18n/last_step.html.erb
215
+ - test/dummy/app/views/i18n/second.html.erb
216
+ - test/dummy/app/views/jump/first.html.erb
217
+ - test/dummy/app/views/jump/last_step.html.erb
218
+ - test/dummy/app/views/jump/second.html.erb
219
+ - test/dummy/app/views/layouts/application.html.erb
220
+ - test/dummy/app/views/nested/builder/first.html.erb
221
+ - test/dummy/app/views/nested/builder/last_step.html.erb
222
+ - test/dummy/app/views/nested/builder/second.html.erb
223
+ - test/dummy/app/views/pages/index.html.erb
224
+ - test/dummy/app/views/redirect_to_finish_flash/index.html.erb
225
+ - test/dummy/app/views/redirect_to_finish_flash/last_step.html.erb
226
+ - test/dummy/app/views/redirect_to_next/first.html.erb
227
+ - test/dummy/app/views/redirect_to_next/last_step.html.erb
228
+ - test/dummy/app/views/redirect_to_next/second.html.erb
229
+ - test/dummy/app/views/step_positions/_step_position.html.erb
230
+ - test/dummy/app/views/step_positions/first.html.erb
231
+ - test/dummy/app/views/step_positions/last_step.html.erb
232
+ - test/dummy/app/views/step_positions/second.html.erb
233
+ - test/dummy/app/views/string_steps/second.html.erb
234
+ - test/dummy/app/views/updates/_step_position.html.erb
235
+ - test/dummy/app/views/updates/first.html.erb
236
+ - test/dummy/app/views/updates/index.html.erb
237
+ - test/dummy/app/views/updates/last_step.html.erb
238
+ - test/dummy/app/views/updates/second.html.erb
239
+ - test/dummy/config.ru
240
+ - test/dummy/config/application.rb
241
+ - test/dummy/config/boot.rb
242
+ - test/dummy/config/database.yml
243
+ - test/dummy/config/environment.rb
244
+ - test/dummy/config/environments/development.rb
245
+ - test/dummy/config/environments/production.rb
246
+ - test/dummy/config/environments/test.rb
247
+ - test/dummy/config/initializers/backtrace_silencers.rb
248
+ - test/dummy/config/initializers/inflections.rb
249
+ - test/dummy/config/initializers/mime_types.rb
250
+ - test/dummy/config/initializers/secret_token.rb
251
+ - test/dummy/config/initializers/session_store.rb
252
+ - test/dummy/config/locales/en.yml
253
+ - test/dummy/config/locales/es.yml
254
+ - test/dummy/config/routes.rb
255
+ - test/dummy/public/404.html
256
+ - test/dummy/public/422.html
257
+ - test/dummy/public/500.html
258
+ - test/dummy/public/favicon.ico
259
+ - test/dummy/public/javascripts/application.js
260
+ - test/dummy/public/javascripts/controls.js
261
+ - test/dummy/public/javascripts/dragdrop.js
262
+ - test/dummy/public/javascripts/effects.js
263
+ - test/dummy/public/javascripts/prototype.js
264
+ - test/dummy/public/javascripts/rails.js
265
+ - test/dummy/public/stylesheets/.gitkeep
266
+ - test/dummy/script/rails
267
+ - test/integration/dynamic_steps_test.rb
268
+ - test/integration/helpers_test.rb
269
+ - test/integration/i18n_test.rb
270
+ - test/integration/jump_test.rb
271
+ - test/integration/navigation_test.rb
272
+ - test/integration/nested_builder_test.rb
273
+ - test/integration/redirect_to_finish_flash_test.rb
274
+ - test/integration/redirect_to_next_test.rb
275
+ - test/integration/security_test.rb
276
+ - test/integration/steps_test.rb
277
+ - test/integration/updates_test.rb
278
+ - test/support/integration_case.rb
279
+ - test/test_helper.rb
280
+ - test/wicked_test.rb
281
+ has_rdoc: