wicked 1.3.4 → 1.4.0

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
  SHA256:
3
- metadata.gz: 483905a170cbf0f6edace70c1673ba2c6cbcbeb6df0765ce8f86f73c5cf884f7
4
- data.tar.gz: 6f9f288d5c14e26082666345d4e02191c62135743860bc4a15931fe2659132c9
3
+ metadata.gz: ebda68c36a8e0e08aa54c850b91c176720d5fa4897482d0312182c2bee6a418f
4
+ data.tar.gz: f7a27e0b7baafe854a3891d0ec185a425f6d0e57694325dd2597ca9f7f94d85b
5
5
  SHA512:
6
- metadata.gz: 5cf319e58176f0985c111a4513f29580d5a3aa4161da881781021c77b6131f72166f00a8d68638938158030948c1b4e97ddd0ce5a8e95cb76557eb801c29de81
7
- data.tar.gz: 6187eb1522ae0998571f21aa8580707445771f84a2d6d27d2aa3358c1508a9200e55f61050cb0be967580c305ec5e25a02be6c79f370d3b7b5f762ecb61d0c31
6
+ metadata.gz: bad278bb225e74a389efb8413290763b644625ff2bdc89213da99c7941b214abbdbfbc1e9e85c691a03196be064321f07d3c1222a2916c45bb6be3c425aee874
7
+ data.tar.gz: db3bdd321cc8902b9fa693e4884c567aa9fe474ad7fbe5cdd6f7452beec054ba9b21252441dabfd42e23adc94ee1e7fceac4bda07394d456c7cc36e65f50d82d
@@ -0,0 +1,13 @@
1
+ name: Check Changelog
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, reopened, edited, synchronize]
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ - name: Check that CHANGELOG is touched
12
+ run: |
13
+ cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(ci skip\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md
data/.gitignore CHANGED
@@ -6,6 +6,7 @@ test/dummy/log/*.log
6
6
  test/dummy/tmp/
7
7
  .DS_Store
8
8
  .rvmrc
9
+ .idea
9
10
 
10
11
  Gemfile.lock
11
12
  .ruby-version
data/.travis.yml CHANGED
@@ -1,28 +1,17 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.1
6
- - 2.2.2
7
- - ruby-head
8
- - jruby-19mode
3
+ - 2.5.8
4
+ - 2.6.6
5
+ - 2.7.1
9
6
 
10
7
  sudo: false
11
8
 
12
9
  gemfile:
13
- - gemfiles/3.1.gemfile
14
- - gemfiles/3.2.gemfile
15
- - gemfiles/4.0.gemfile
16
- - gemfiles/4.1.gemfile
17
- - gemfiles/4.2.gemfile
18
- matrix:
19
- include:
20
- - gemfile: gemfiles/5.0.beta2.gemfile
21
- rvm: 2.2.2
22
- allow_failures:
23
- - gemfile: gemfiles/3.0.gemfile
24
- rvm: 2.0.0
25
- - gemfile: gemfiles/3.0.gemfile
26
- rvm: 2.1.1
27
- - rvm: ruby-head
10
+ - gemfiles/rails_5.1.gemfile
11
+ - gemfiles/rails_5.2.gemfile
12
+ - gemfiles/rails_6.0.1.gemfile
28
13
 
14
+ jobs:
15
+ exclude:
16
+ - gemfile: gemfiles/rails_5.1.gemfile
17
+ rvm: 2.7.1
data/Appraisals CHANGED
@@ -1,30 +1,11 @@
1
- appraise "3.1" do
2
- gem "rails", "~> 3.1.0"
3
- gemspec
1
+ appraise "rails-5.1" do
2
+ gem "rails", "~> 5.2"
4
3
  end
5
4
 
6
- appraise "3.2" do
7
- gem "rails", "~> 3.2.15"
8
- gemspec
5
+ appraise "rails-5.2" do
6
+ gem "rails", "~> 5.2"
9
7
  end
10
8
 
11
- appraise "4.0" do
12
- gem "rails", "~> 4.0.0"
13
- gemspec
14
- end
15
-
16
- appraise "4.1" do
17
- gem "rails", "~> 4.1.0"
18
- gemspec
19
- end
20
-
21
-
22
- appraise "4.2" do
23
- gem "rails", "~> 4.2"
24
- gemspec
25
- end
26
-
27
- appraise "5.0.beta2" do
28
- gem "rails", "~> 5.0.0.beta2"
29
- gemspec
9
+ appraise "rails-6.0.1" do
10
+ gem "rails", "~> 6.0.1"
30
11
  end
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ## Master
1
+ ## Unreleased
2
+
3
+ ## 1.4.0
4
+
5
+ * Update readme to include `current_step?` (https://github.com/zombocom/wicked/pull/271)
6
+ * Add `*_url` versions of `wizard_path`, `next_wizard_path`, and `previous_wizard_path` (https://github.com/zombocom/wicked/pull/272)
2
7
 
3
8
  ## 1.3.4
4
9
 
data/Gemfile CHANGED
@@ -1,10 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
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__)
3
+ gemspec
8
4
 
9
5
  group :development, :test do
10
6
  gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
data/README.md CHANGED
@@ -121,11 +121,17 @@ class AfterSignupController < ApplicationController
121
121
  @user = current_user
122
122
  case step
123
123
  when :confirm_password
124
- @user.update_attributes(params[:user])
124
+ @user.update_attributes(user_params)
125
125
  end
126
126
  sign_in(@user, bypass: true) # needed for devise
127
127
  render_wizard @user
128
128
  end
129
+
130
+ private
131
+ def user_params
132
+ params.require(:user)
133
+ .permit(:email, :current_password) # ...
134
+ end
129
135
  end
130
136
  ```
131
137
 
@@ -171,12 +177,17 @@ Now you've got a fully functioning AfterSignup controller! If you have questions
171
177
  **View/URL Helpers:**
172
178
 
173
179
  ```ruby
174
- wizard_path # Grabs the current path in the wizard
175
- wizard_path(:specific_step) # Url of the :specific_step
176
- next_wizard_path # Url of the next step
177
- previous_wizard_path # Url of the previous step
180
+ wizard_path # relative url of the current step
181
+ wizard_path(:specific_step) # relative url of a :specific_step
182
+ next_wizard_path # relative url of the next step
183
+ previous_wizard_path # relative url of the previous step
184
+
185
+ wizard_url # fully qualified url of the current step
186
+ wizard_url(:specific_step) # fully qualified url of a :specific_step
187
+ next_wizard_url # fully qualified url of the next step
188
+ previous_wizard_url # fully qualified url of the previous step
178
189
 
179
- # These only work while in a Wizard, and are not absolute paths
190
+ # These only work while in a Wizard
180
191
  # You can have multiple wizards in a project with multiple `wizard_path` calls
181
192
  ```
182
193
 
@@ -194,6 +205,7 @@ render_wizard # Renders the current step
194
205
  render_wizard(@user) # Shows next_step if @user.save, otherwise renders
195
206
  render_wizard(@user, context: :account_setup) # Shows next_step if @user.save(context: :account_setup), otherwise renders
196
207
  wizard_steps # Gets ordered list of steps
208
+ current_step?(step) # is step the same as the current request's step
197
209
  past_step?(step) # does step come before the current request's step in wizard_steps
198
210
  future_step?(step) # does step come after the current request's step in wizard_steps
199
211
  previous_step?(step) # is step immediately before the current request's step
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2"
6
+
7
+ group :development, :test do
8
+ gem "sqlite3", platform: [:ruby, :mswin, :mingw]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", platform: :jruby
10
+ end
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2"
6
+
7
+ group :development, :test do
8
+ gem "sqlite3", platform: [:ruby, :mswin, :mingw]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", platform: :jruby
10
+ end
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.0.1"
6
+
7
+ group :development, :test do
8
+ gem "sqlite3", platform: [:ruby, :mswin, :mingw]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", platform: :jruby
10
+ end
11
+
12
+ gemspec path: "../"
@@ -1,15 +1,22 @@
1
1
  module Wicked::Controller::Concerns::Path
2
2
  extend ActiveSupport::Concern
3
3
 
4
-
5
4
  def next_wizard_path(options = {})
6
5
  wizard_path(@next_step, options)
7
6
  end
8
7
 
8
+ def next_wizard_url(options = {})
9
+ wizard_url(@next_step, options)
10
+ end
11
+
9
12
  def previous_wizard_path(options = {})
10
13
  wizard_path(@previous_step, options)
11
14
  end
12
15
 
16
+ def previous_wizard_url(options = {})
17
+ wizard_url(@previous_step, options)
18
+ end
19
+
13
20
  def wicked_controller
14
21
  params[:controller]
15
22
  end
@@ -18,7 +25,6 @@ module Wicked::Controller::Concerns::Path
18
25
  params[:action]
19
26
  end
20
27
 
21
-
22
28
  def wizard_path(goto_step = nil, options = {})
23
29
  options = options.respond_to?(:to_h) ? options.to_h : options
24
30
  options = { :controller => wicked_controller,
@@ -28,5 +34,8 @@ module Wicked::Controller::Concerns::Path
28
34
  }.merge options
29
35
  url_for(options)
30
36
  end
31
- end
32
37
 
38
+ def wizard_url(goto_step = nil, options = {})
39
+ wizard_path(goto_step, options.merge(only_path: false))
40
+ end
41
+ end
@@ -1,7 +1,6 @@
1
1
  module Wicked::Controller::Concerns::RenderRedirect
2
2
  extend ActiveSupport::Concern
3
3
 
4
-
5
4
  def render_wizard(resource = nil, options = {}, params = {})
6
5
  process_resource!(resource, options)
7
6
 
@@ -83,7 +83,6 @@ module Wicked::Controller::Concerns::Steps
83
83
  step ||= steps.first
84
84
  end
85
85
 
86
-
87
86
  def next_step(current_step = nil)
88
87
  return @next_step if current_step.nil?
89
88
  index = steps.index(current_step)
@@ -91,18 +90,15 @@ module Wicked::Controller::Concerns::Steps
91
90
  step ||= Wicked::FINISH_STEP
92
91
  end
93
92
 
94
- private
95
-
96
- def step_index_for(step_name)
93
+ private def step_index_for(step_name)
97
94
  steps.index(step_name)
98
95
  end
99
96
 
100
- def current_step_index
97
+ private def current_step_index
101
98
  step_index_for(step)
102
99
  end
103
100
 
104
- def current_and_given_step_exists?(step_name)
101
+ private def current_and_given_step_exists?(step_name)
105
102
  current_step_index.present? && steps.index(step_name).present?
106
103
  end
107
104
  end
108
-
@@ -1,3 +1,3 @@
1
1
  module Wicked
2
- VERSION = "1.3.4"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -57,7 +57,6 @@ module Wicked
57
57
  end
58
58
 
59
59
 
60
- private
61
60
  # sets up a translated wizard controller
62
61
  # translations are expected under the 'wicked' namespace
63
62
  #
@@ -74,12 +73,10 @@ module Wicked
74
73
  #
75
74
  # steps "wicked.first", "wicked.second"
76
75
  #
77
- def setup_wizard_translated
76
+ private def setup_wizard_translated
78
77
  self.steps = wizard_translations.keys # must come before setting previous/next steps
79
78
  setup_wizard
80
79
  end
81
- public
82
80
  end
83
81
  end
84
82
  end
85
-
data/lib/wicked/wizard.rb CHANGED
@@ -15,7 +15,6 @@ module Wicked
15
15
  end
16
16
 
17
17
  # Include the modules!!
18
-
19
18
  include Wicked::Controller::Concerns::Path
20
19
  include Wicked::Controller::Concerns::RenderRedirect
21
20
  include Wicked::Controller::Concerns::Steps
@@ -23,12 +22,12 @@ module Wicked
23
22
  included do
24
23
  include Wicked::Controller::Concerns::Action
25
24
  # Give our Views helper methods!
26
- helper_method :wizard_path, :next_wizard_path, :previous_wizard_path,
27
- :step, :wizard_steps, :current_step?,
28
- :past_step?, :future_step?, :previous_step?,
29
- :next_step?
25
+ helper_method :wizard_path, :wizard_url, :next_wizard_path, :next_wizard_url, :previous_wizard_path,
26
+ :previous_wizard_url, :step, :wizard_steps, :current_step?, :past_step?, :future_step?,
27
+ :next_step?, :previous_step?
28
+
30
29
  # Set @step and @next_step variables
31
- before_action :setup_wizard
30
+ before_action :initialize_wicked_variables, :setup_wizard
32
31
  end
33
32
 
34
33
  # forward to first step with whatever params are provided
@@ -41,14 +40,17 @@ module Wicked
41
40
  step_name
42
41
  end
43
42
 
44
- private
43
+ private def initialize_wicked_variables
44
+ @skip_to = nil
45
+ @wicked_redirect_params = nil
46
+ end
45
47
 
46
- def check_redirect_to_first_last!(step)
48
+ private def check_redirect_to_first_last!(step)
47
49
  redirect_to wizard_path(steps.first) if step.to_s == Wicked::FIRST_STEP
48
50
  redirect_to wizard_path(steps.last) if step.to_s == Wicked::LAST_STEP
49
51
  end
50
52
 
51
- def setup_step_from(the_step)
53
+ private def setup_step_from(the_step)
52
54
  return if steps.nil?
53
55
 
54
56
  the_step ||= steps.first
@@ -61,23 +63,21 @@ module Wicked
61
63
  the_step
62
64
  end
63
65
 
64
- def check_steps!
66
+ private def check_steps!
65
67
  raise UndefinedStepsError if steps.nil?
66
68
  end
67
69
 
68
- def set_previous_next(step)
70
+ private def set_previous_next(step)
69
71
  @previous_step = previous_step(step)
70
72
  @next_step = next_step(step)
71
73
  end
72
74
 
73
- def setup_wizard
75
+ private def setup_wizard
74
76
  check_steps!
75
77
  return if params[:id].nil?
76
78
 
77
79
  @step = setup_step_from(params[:id])
78
80
  set_previous_next(@step)
79
81
  end
80
- public
81
82
  end
82
83
  end
83
-
@@ -35,4 +35,3 @@ class Wicked::WizardController < ApplicationController
35
35
  # render_wizard @user
36
36
  # end
37
37
  end
38
-
@@ -4,4 +4,6 @@ first
4
4
  <%= "params[:foo] #{params[:foo]}" %>
5
5
  <%= link_to 'last', wizard_path(:last_step) %>
6
6
  <%= link_to 'current', wizard_path %>
7
- <%= link_to 'skip', next_wizard_path %>
7
+ <%= link_to 'current url', wizard_url %>
8
+ <%= link_to 'skip', next_wizard_path %>
9
+ <%= link_to 'next url', next_wizard_url %>
@@ -1,3 +1,4 @@
1
1
  second
2
2
 
3
- <%= link_to 'previous', previous_wizard_path %>
3
+ <%= link_to 'previous', previous_wizard_path %>
4
+ <%= link_to 'previous url', previous_wizard_url %>
@@ -5,13 +5,23 @@ class HelpersTest < ActiveSupport::IntegrationCase
5
5
  test 'next_wizard_path' do
6
6
  step = :first
7
7
  visit(bar_path(step))
8
+ assert has_link?('skip', href: '/bar/second')
8
9
  click_link 'skip'
9
10
  assert_has_content?('second')
10
11
  end
11
12
 
13
+ test 'next_wizard_url' do
14
+ step = :first
15
+ visit(bar_path(step))
16
+ assert has_link?('next url', href: 'http://www.example.com/bar/second')
17
+ click_link 'next url'
18
+ assert_has_content?('second')
19
+ end
20
+
12
21
  test 'wizard_path' do
13
22
  step = :first
14
23
  visit(bar_path(step))
24
+ assert has_link?('current', href: '/bar/first')
15
25
  click_link 'current'
16
26
  assert_has_content?(step.to_s)
17
27
  end
@@ -23,9 +33,26 @@ class HelpersTest < ActiveSupport::IntegrationCase
23
33
  assert_has_content?('last_step')
24
34
  end
25
35
 
36
+ test 'wizard_url' do
37
+ step = :first
38
+ visit(bar_path(step))
39
+ assert has_link?('current url', href: 'http://www.example.com/bar/first')
40
+ click_link 'current'
41
+ assert_has_content?(step.to_s)
42
+ end
43
+
26
44
  test 'previous_wizard_path' do
27
45
  step = :second
28
46
  visit(bar_path(step))
47
+ assert has_link?('previous', href: '/bar/first')
48
+ click_link 'previous'
49
+ assert_has_content?("first")
50
+ end
51
+
52
+ test 'previous_wizard_url' do
53
+ step = :second
54
+ visit(bar_path(step))
55
+ assert has_link?('previous url', href: 'http://www.example.com/bar/first')
29
56
  click_link 'previous'
30
57
  assert_has_content?("first")
31
58
  end
@@ -7,7 +7,6 @@ class SecurityTest < ActiveSupport::IntegrationCase
7
7
  assert_raise(Wicked::Wizard::InvalidStepError) do
8
8
  visit(bar_path(step))
9
9
  end
10
- refute has_content?('sqlite3')
11
10
  end
12
11
 
13
12
  # only works on *nix systems
@@ -18,6 +17,5 @@ class SecurityTest < ActiveSupport::IntegrationCase
18
17
  assert_raise(Wicked::Wizard::InvalidStepError) do
19
18
  visit(bar_path(step))
20
19
  end
21
- refute has_content?('aardvark')
22
20
  end
23
21
  end
data/test/test_helper.rb CHANGED
@@ -1,15 +1,10 @@
1
1
  # Configure Rails Envinronment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
-
5
-
6
4
  ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
7
5
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
8
6
  require "rails/test_help"
9
7
 
10
-
11
-
12
-
13
8
  ActionMailer::Base.delivery_method = :test
14
9
  ActionMailer::Base.perform_deliveries = true
15
10
  ActionMailer::Base.default_url_options[:host] = "test.com"
@@ -21,10 +16,15 @@ require "capybara/rails"
21
16
  Capybara.default_driver = :rack_test
22
17
  Capybara.default_selector = :css
23
18
 
24
-
25
-
26
- # Run any available migration
27
- ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
19
+ # https://github.com/plataformatec/devise/blob/master/test/orm/active_record.rb
20
+ migrate_path = File.expand_path("../rails_app/db/migrate", __FILE__)
21
+ if Rails.version.start_with? '6'
22
+ ActiveRecord::MigrationContext.new(migrate_path, ActiveRecord::SchemaMigration).migrate
23
+ elsif Rails.version.start_with? '5.2'
24
+ ActiveRecord::MigrationContext.new(migrate_path).migrate
25
+ else
26
+ ActiveRecord::Migrator.migrate(migrate_path)
27
+ end
28
28
 
29
29
  # Load support files
30
30
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
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.3.4
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Schneeman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-16 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -88,6 +88,7 @@ extensions: []
88
88
  extra_rdoc_files:
89
89
  - README.md
90
90
  files:
91
+ - ".github/workflows/check_changelog.yml"
91
92
  - ".gitignore"
92
93
  - ".travis.yml"
93
94
  - Appraisals
@@ -97,12 +98,9 @@ files:
97
98
  - MIT-LICENSE
98
99
  - README.md
99
100
  - Rakefile
100
- - gemfiles/3.1.gemfile
101
- - gemfiles/3.2.gemfile
102
- - gemfiles/4.0.gemfile
103
- - gemfiles/4.1.gemfile
104
- - gemfiles/4.2.gemfile
105
- - gemfiles/5.0.beta2.gemfile
101
+ - gemfiles/rails_5.1.gemfile
102
+ - gemfiles/rails_5.2.gemfile
103
+ - gemfiles/rails_6.0.1.gemfile
106
104
  - lib/wicked.rb
107
105
  - lib/wicked/controller/concerns/action.rb
108
106
  - lib/wicked/controller/concerns/path.rb
@@ -217,7 +215,7 @@ homepage: https://github.com/schneems/wicked
217
215
  licenses:
218
216
  - MIT
219
217
  metadata: {}
220
- post_install_message:
218
+ post_install_message:
221
219
  rdoc_options: []
222
220
  require_paths:
223
221
  - lib
@@ -232,8 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
230
  - !ruby/object:Gem::Version
233
231
  version: '0'
234
232
  requirements: []
235
- rubygems_version: 3.0.3
236
- signing_key:
233
+ rubygems_version: 3.2.32
234
+ signing_key:
237
235
  specification_version: 4
238
236
  summary: Use Wicked to turn your controller into a wizard
239
237
  test_files:
data/gemfiles/3.1.gemfile DELETED
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
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.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"
data/gemfiles/3.2.gemfile DELETED
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
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.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"
data/gemfiles/4.0.gemfile DELETED
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 4.0.0"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"
data/gemfiles/4.1.gemfile DELETED
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
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.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"
data/gemfiles/4.2.gemfile DELETED
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 4.2"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 5.0.0.beta2"
6
-
7
- group :development, :test do
8
- gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", :platform => :jruby
10
- end
11
-
12
- gemspec :path => "../"