batman-rails 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/lib/batman-rails/version.rb +1 -1
  4. data/lib/generators/batman/app_generator.rb +1 -1
  5. data/lib/templates/rails/controller.rb +1 -1
  6. data/test/define_view_helper_test.rb +1 -1
  7. data/test/sample/.gitignore +16 -5
  8. data/test/sample/Gemfile +30 -20
  9. data/test/sample/README.rdoc +28 -0
  10. data/test/sample/Rakefile +1 -2
  11. data/test/sample/app/{mailers/.gitkeep → assets/images/.keep} +0 -0
  12. data/test/sample/app/assets/javascripts/application.js +11 -4
  13. data/test/sample/app/assets/stylesheets/application.css +13 -5
  14. data/test/sample/app/controllers/application_controller.rb +3 -1
  15. data/test/sample/app/{models/.gitkeep → controllers/concerns/.keep} +0 -0
  16. data/test/sample/{lib/assets/.gitkeep → app/mailers/.keep} +0 -0
  17. data/test/sample/{lib/tasks/.gitkeep → app/models/.keep} +0 -0
  18. data/test/sample/{log/.gitkeep → app/models/concerns/.keep} +0 -0
  19. data/test/sample/app/views/layouts/application.html.erb +2 -2
  20. data/test/sample/bin/bundle +3 -0
  21. data/test/sample/bin/rails +8 -0
  22. data/test/sample/bin/rake +8 -0
  23. data/test/sample/bin/spring +18 -0
  24. data/test/sample/config.ru +1 -1
  25. data/test/sample/config/application.rb +3 -28
  26. data/test/sample/config/boot.rb +1 -3
  27. data/test/sample/config/database.yml +8 -8
  28. data/test/sample/config/environment.rb +3 -3
  29. data/test/sample/config/environments/development.rb +21 -14
  30. data/test/sample/config/environments/production.rb +48 -25
  31. data/test/sample/config/environments/test.rb +18 -21
  32. data/test/sample/config/initializers/cookies_serializer.rb +3 -0
  33. data/test/sample/config/initializers/filter_parameter_logging.rb +4 -0
  34. data/test/sample/config/initializers/inflections.rb +9 -3
  35. data/test/sample/config/initializers/mime_types.rb +0 -1
  36. data/test/sample/config/initializers/session_store.rb +1 -6
  37. data/test/sample/config/initializers/wrap_parameters.rb +6 -6
  38. data/test/sample/config/locales/en.yml +20 -2
  39. data/test/sample/config/routes.rb +23 -25
  40. data/test/sample/config/secrets.yml +22 -0
  41. data/test/sample/db/seeds.rb +2 -2
  42. data/test/sample/{test/fixtures/.gitkeep → lib/assets/.keep} +0 -0
  43. data/test/sample/{test/functional/.gitkeep → lib/tasks/.keep} +0 -0
  44. data/test/sample/{test/integration/.gitkeep → log/.keep} +0 -0
  45. data/test/sample/public/404.html +54 -13
  46. data/test/sample/public/422.html +54 -13
  47. data/test/sample/public/500.html +53 -13
  48. data/test/sample/public/robots.txt +2 -2
  49. data/test/sample/test/{unit/.gitkeep → controllers/.keep} +0 -0
  50. data/test/sample/{vendor/assets/stylesheets/.gitkeep → test/fixtures/.keep} +0 -0
  51. data/test/sample/{vendor/plugins/.gitkeep → test/helpers/.keep} +0 -0
  52. data/test/sample/test/integration/.keep +0 -0
  53. data/test/sample/test/mailers/.keep +0 -0
  54. data/test/sample/test/models/.keep +0 -0
  55. data/test/sample/test/test_helper.rb +2 -2
  56. data/test/sample/vendor/assets/javascripts/.keep +0 -0
  57. data/test/sample/vendor/assets/stylesheets/.keep +0 -0
  58. metadata +64 -52
  59. data/test/sample/README +0 -261
  60. data/test/sample/app/assets/images/rails.png +0 -0
  61. data/test/sample/config/initializers/secret_token.rb +0 -7
  62. data/test/sample/doc/README_FOR_APP +0 -2
  63. data/test/sample/public/index.html +0 -241
  64. data/test/sample/script/rails +0 -6
  65. data/test/sample/test/performance/browsing_test.rb +0 -12
@@ -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'
@@ -1,12 +0,0 @@
1
- require 'test_helper'
2
- require 'rails/performance_test_help'
3
-
4
- class BrowsingTest < ActionDispatch::PerformanceTest
5
- # Refer to the documentation for all available options
6
- # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
- # :output => 'tmp/performance', :formats => [:flat] }
8
-
9
- def test_homepage
10
- get '/'
11
- end
12
- end