sequenced 2.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ci.yml +100 -0
  3. data/Appraisals +19 -0
  4. data/CHANGELOG.md +32 -0
  5. data/Gemfile +12 -3
  6. data/MIT-LICENSE +1 -1
  7. data/README.md +90 -50
  8. data/Rakefile +39 -15
  9. data/gemfiles/rails_5_2.gemfile +17 -0
  10. data/gemfiles/rails_5_2.gemfile.lock +193 -0
  11. data/gemfiles/rails_6.gemfile +17 -0
  12. data/gemfiles/rails_6.gemfile.lock +204 -0
  13. data/gemfiles/rails_6_1.gemfile +17 -0
  14. data/gemfiles/rails_6_1.gemfile.lock +207 -0
  15. data/gemfiles/rails_7.gemfile +17 -0
  16. data/gemfiles/rails_7.gemfile.lock +206 -0
  17. data/gemfiles/rails_master.gemfile +17 -0
  18. data/gemfiles/rails_master.gemfile.lock +215 -0
  19. data/lib/sequenced/acts_as_sequenced.rb +34 -8
  20. data/lib/sequenced/generator.rb +28 -13
  21. data/lib/sequenced/version.rb +1 -1
  22. data/lib/sequenced.rb +5 -3
  23. data/sequenced.gemspec +8 -10
  24. metadata +29 -168
  25. data/.travis.yml +0 -4
  26. data/TODO.md +0 -7
  27. data/test/acts_as_sequenced_test.rb +0 -132
  28. data/test/dummy/README.rdoc +0 -261
  29. data/test/dummy/Rakefile +0 -7
  30. data/test/dummy/app/assets/javascripts/application.js +0 -15
  31. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  32. data/test/dummy/app/controllers/application_controller.rb +0 -3
  33. data/test/dummy/app/helpers/application_helper.rb +0 -2
  34. data/test/dummy/app/mailers/.gitkeep +0 -0
  35. data/test/dummy/app/models/.gitkeep +0 -0
  36. data/test/dummy/app/models/account.rb +0 -6
  37. data/test/dummy/app/models/address.rb +0 -4
  38. data/test/dummy/app/models/answer.rb +0 -4
  39. data/test/dummy/app/models/comment.rb +0 -8
  40. data/test/dummy/app/models/email.rb +0 -4
  41. data/test/dummy/app/models/invoice.rb +0 -4
  42. data/test/dummy/app/models/monster.rb +0 -3
  43. data/test/dummy/app/models/order.rb +0 -4
  44. data/test/dummy/app/models/policeman.rb +0 -5
  45. data/test/dummy/app/models/product.rb +0 -8
  46. data/test/dummy/app/models/question.rb +0 -4
  47. data/test/dummy/app/models/rating.rb +0 -3
  48. data/test/dummy/app/models/subscription.rb +0 -3
  49. data/test/dummy/app/models/user.rb +0 -4
  50. data/test/dummy/app/models/werewolf.rb +0 -2
  51. data/test/dummy/app/models/zombie.rb +0 -2
  52. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  53. data/test/dummy/config/application.rb +0 -56
  54. data/test/dummy/config/boot.rb +0 -10
  55. data/test/dummy/config/database.yml +0 -25
  56. data/test/dummy/config/environment.rb +0 -5
  57. data/test/dummy/config/environments/development.rb +0 -37
  58. data/test/dummy/config/environments/production.rb +0 -67
  59. data/test/dummy/config/environments/test.rb +0 -38
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  61. data/test/dummy/config/initializers/inflections.rb +0 -15
  62. data/test/dummy/config/initializers/mime_types.rb +0 -5
  63. data/test/dummy/config/initializers/secret_token.rb +0 -7
  64. data/test/dummy/config/initializers/session_store.rb +0 -8
  65. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  66. data/test/dummy/config/locales/en.yml +0 -5
  67. data/test/dummy/config/routes.rb +0 -58
  68. data/test/dummy/config.ru +0 -4
  69. data/test/dummy/db/development.sqlite3 +0 -0
  70. data/test/dummy/db/migrate/20120219165346_create_questions.rb +0 -10
  71. data/test/dummy/db/migrate/20120219165548_create_answers.rb +0 -13
  72. data/test/dummy/db/migrate/20120219171957_create_accounts.rb +0 -9
  73. data/test/dummy/db/migrate/20120219172039_create_invoices.rb +0 -12
  74. data/test/dummy/db/migrate/20120219172922_create_orders.rb +0 -10
  75. data/test/dummy/db/migrate/20120219174931_create_subscriptions.rb +0 -10
  76. data/test/dummy/db/migrate/20120219175744_create_users.rb +0 -12
  77. data/test/dummy/db/migrate/20120219232323_create_addresses.rb +0 -9
  78. data/test/dummy/db/migrate/20120220000804_create_comments.rb +0 -12
  79. data/test/dummy/db/migrate/20130411225444_create_emails.rb +0 -12
  80. data/test/dummy/db/migrate/20130715002029_create_ratings.rb +0 -10
  81. data/test/dummy/db/migrate/20130730004055_create_products.rb +0 -9
  82. data/test/dummy/db/migrate/20131226000000_create_monsters.rb +0 -9
  83. data/test/dummy/db/migrate/20140404195334_create_policemen.rb +0 -9
  84. data/test/dummy/db/schema.rb +0 -108
  85. data/test/dummy/db/test.sqlite3 +0 -0
  86. data/test/dummy/lib/assets/.gitkeep +0 -0
  87. data/test/dummy/log/.gitkeep +0 -0
  88. data/test/dummy/log/development.log +0 -62
  89. data/test/dummy/log/test.log +0 -30088
  90. data/test/dummy/public/404.html +0 -26
  91. data/test/dummy/public/422.html +0 -26
  92. data/test/dummy/public/500.html +0 -25
  93. data/test/dummy/public/favicon.ico +0 -0
  94. data/test/dummy/script/rails +0 -6
  95. data/test/test_helper.rb +0 -13
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/404.html -->
21
- <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/422.html -->
21
- <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,25 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- </div>
24
- </body>
25
- </html>
File without changes
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'
data/test/test_helper.rb DELETED
@@ -1,13 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
- ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__)
4
-
5
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
6
- require "rails/test_help"
7
-
8
- Rails.backtrace_cleaner.remove_silencers!
9
-
10
- ActiveRecord::Migrator.migrate(File.expand_path("../dummy/db/migrate/", __FILE__))
11
-
12
- # Load support files
13
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }