activerecord_translatable 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +35 -36
  3. data/Rakefile +9 -19
  4. data/lib/activerecord_translatable.rb +7 -14
  5. data/lib/activerecord_translatable/extension.rb +1 -1
  6. data/lib/version.rb +1 -1
  7. data/spec/activerecord_translateable_spec.rb +127 -118
  8. data/spec/spec_helper.rb +5 -9
  9. metadata +39 -101
  10. data/spec/dummy/README.rdoc +0 -261
  11. data/spec/dummy/Rakefile +0 -7
  12. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  13. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  14. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  15. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  16. data/spec/dummy/app/models/foo.rb +0 -2
  17. data/spec/dummy/app/models/noarraything.rb +0 -4
  18. data/spec/dummy/app/models/something.rb +0 -3
  19. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  20. data/spec/dummy/config.ru +0 -4
  21. data/spec/dummy/config/application.rb +0 -65
  22. data/spec/dummy/config/boot.rb +0 -10
  23. data/spec/dummy/config/database.yml +0 -29
  24. data/spec/dummy/config/environment.rb +0 -5
  25. data/spec/dummy/config/environments/development.rb +0 -37
  26. data/spec/dummy/config/environments/production.rb +0 -67
  27. data/spec/dummy/config/environments/test.rb +0 -37
  28. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  29. data/spec/dummy/config/initializers/i18n_backend.rb +0 -1
  30. data/spec/dummy/config/initializers/inflections.rb +0 -15
  31. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  32. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  33. data/spec/dummy/config/initializers/session_store.rb +0 -8
  34. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  35. data/spec/dummy/config/locales/en.yml +0 -5
  36. data/spec/dummy/config/routes.rb +0 -58
  37. data/spec/dummy/db/migrate/20121015083259_create_somethings.rb +0 -8
  38. data/spec/dummy/db/migrate/20130124094113_create_foo.rb +0 -7
  39. data/spec/dummy/db/migrate/20130124100555_create_noarraythings.rb +0 -9
  40. data/spec/dummy/db/schema.rb +0 -33
  41. data/spec/dummy/log/development.log +0 -423
  42. data/spec/dummy/log/test.log +0 -7826
  43. data/spec/dummy/public/404.html +0 -26
  44. data/spec/dummy/public/422.html +0 -26
  45. data/spec/dummy/public/500.html +0 -25
  46. data/spec/dummy/public/favicon.ico +0 -0
  47. data/spec/dummy/script/rails +0 -6
@@ -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'