workbook_rails 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +12 -7
  3. data/Gemfile.lock +251 -179
  4. data/README.md +24 -30
  5. data/Rakefile +6 -15
  6. data/lib/tasks/workbook_rails_tasks.rake +2 -0
  7. data/lib/workbook_rails/action_controller.rb +20 -18
  8. data/lib/workbook_rails/engine.rb +8 -8
  9. data/lib/workbook_rails/template_handler.rb +9 -7
  10. data/lib/workbook_rails/version.rb +3 -1
  11. data/lib/workbook_rails.rb +3 -2
  12. data/spec/ci.rb +5 -1
  13. data/spec/dummy/Rakefile +3 -1
  14. data/spec/dummy/app/assets/config/manifest.js +3 -0
  15. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  16. data/spec/dummy/app/controllers/home_controller.rb +14 -20
  17. data/spec/dummy/app/controllers/likes_controller.rb +3 -1
  18. data/spec/dummy/app/controllers/users_controller.rb +4 -2
  19. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  20. data/spec/dummy/app/mailers/notifier.rb +6 -5
  21. data/spec/dummy/app/models/like.rb +2 -0
  22. data/spec/dummy/app/models/user.rb +2 -0
  23. data/spec/dummy/bin/bundle +3 -1
  24. data/spec/dummy/bin/rails +3 -1
  25. data/spec/dummy/bin/rake +2 -0
  26. data/spec/dummy/config/application.rb +9 -8
  27. data/spec/dummy/config/boot.rb +4 -2
  28. data/spec/dummy/config/environment.rb +3 -1
  29. data/spec/dummy/config/environments/development.rb +2 -0
  30. data/spec/dummy/config/environments/production.rb +2 -0
  31. data/spec/dummy/config/environments/test.rb +6 -4
  32. data/spec/dummy/config/initializers/backtrace_silencers.rb +2 -0
  33. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -1
  34. data/spec/dummy/config/initializers/filter_parameter_logging.rb +2 -0
  35. data/spec/dummy/config/initializers/inflections.rb +2 -0
  36. data/spec/dummy/config/initializers/mime_types.rb +2 -0
  37. data/spec/dummy/config/initializers/secret_token.rb +3 -1
  38. data/spec/dummy/config/initializers/session_store.rb +2 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -0
  40. data/spec/dummy/config/routes.rb +13 -12
  41. data/spec/dummy/config.ru +3 -1
  42. data/spec/dummy/db/migrate/20120717192452_create_users.rb +3 -1
  43. data/spec/dummy/db/migrate/20121206210955_create_likes.rb +3 -1
  44. data/spec/dummy/db/schema.rb +19 -22
  45. data/spec/dummy/db/test.sqlite3 +0 -0
  46. data/spec/dummy/log/test.log +7332 -8068
  47. data/spec/spec_helper.rb +19 -12
  48. data/spec/template_handler_spec.rb +13 -16
  49. data/spec/test_7.2.sh +6 -0
  50. data/spec/test_8.0.sh +6 -0
  51. data/spec/test_8.1.sh +6 -0
  52. data/spec/test_all_rails.sh +10 -4
  53. data/spec/workbook_mailer_spec.rb +9 -4
  54. data/spec/workbook_renderer_spec.rb +22 -16
  55. data/spec/workbook_request_spec.rb +78 -77
  56. metadata +26 -142
  57. data/spec/test_3.2.sh +0 -4
  58. data/spec/test_4.0.sh +0 -4
  59. data/spec/test_4.1.sh +0 -4
  60. data/spec/test_4.2.sh +0 -4
@@ -1,32 +1,29 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
5
4
  #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
5
+ # This file is the source Rails uses to define your schema when running `bin/rails
6
+ # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
11
10
  #
12
- # It's strongly recommended to check this file into your version control system.
11
+ # It's strongly recommended that you check this file into your version control system.
13
12
 
14
- ActiveRecord::Schema.define(:version => 20121206210955) do
15
-
16
- create_table "likes", :force => true do |t|
17
- t.string "name"
18
- t.integer "user_id"
19
- t.datetime "created_at"
20
- t.datetime "updated_at"
13
+ ActiveRecord::Schema[8.0].define(version: 2012_12_06_210955) do
14
+ create_table "likes", force: :cascade do |t|
15
+ t.string "name"
16
+ t.integer "user_id"
17
+ t.datetime "created_at", precision: nil
18
+ t.datetime "updated_at", precision: nil
21
19
  end
22
20
 
23
- create_table "users", :force => true do |t|
24
- t.string "name"
25
- t.string "last_name"
26
- t.string "address"
27
- t.string "email"
28
- t.datetime "created_at"
29
- t.datetime "updated_at"
21
+ create_table "users", force: :cascade do |t|
22
+ t.string "name"
23
+ t.string "last_name"
24
+ t.string "address"
25
+ t.string "email"
26
+ t.datetime "created_at", precision: nil
27
+ t.datetime "updated_at", precision: nil
30
28
  end
31
-
32
29
  end
Binary file