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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/batman-rails/version.rb +1 -1
- data/lib/generators/batman/app_generator.rb +1 -1
- data/lib/templates/rails/controller.rb +1 -1
- data/test/define_view_helper_test.rb +1 -1
- data/test/sample/.gitignore +16 -5
- data/test/sample/Gemfile +30 -20
- data/test/sample/README.rdoc +28 -0
- data/test/sample/Rakefile +1 -2
- data/test/sample/app/{mailers/.gitkeep → assets/images/.keep} +0 -0
- data/test/sample/app/assets/javascripts/application.js +11 -4
- data/test/sample/app/assets/stylesheets/application.css +13 -5
- data/test/sample/app/controllers/application_controller.rb +3 -1
- data/test/sample/app/{models/.gitkeep → controllers/concerns/.keep} +0 -0
- data/test/sample/{lib/assets/.gitkeep → app/mailers/.keep} +0 -0
- data/test/sample/{lib/tasks/.gitkeep → app/models/.keep} +0 -0
- data/test/sample/{log/.gitkeep → app/models/concerns/.keep} +0 -0
- data/test/sample/app/views/layouts/application.html.erb +2 -2
- data/test/sample/bin/bundle +3 -0
- data/test/sample/bin/rails +8 -0
- data/test/sample/bin/rake +8 -0
- data/test/sample/bin/spring +18 -0
- data/test/sample/config.ru +1 -1
- data/test/sample/config/application.rb +3 -28
- data/test/sample/config/boot.rb +1 -3
- data/test/sample/config/database.yml +8 -8
- data/test/sample/config/environment.rb +3 -3
- data/test/sample/config/environments/development.rb +21 -14
- data/test/sample/config/environments/production.rb +48 -25
- data/test/sample/config/environments/test.rb +18 -21
- data/test/sample/config/initializers/cookies_serializer.rb +3 -0
- data/test/sample/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/sample/config/initializers/inflections.rb +9 -3
- data/test/sample/config/initializers/mime_types.rb +0 -1
- data/test/sample/config/initializers/session_store.rb +1 -6
- data/test/sample/config/initializers/wrap_parameters.rb +6 -6
- data/test/sample/config/locales/en.yml +20 -2
- data/test/sample/config/routes.rb +23 -25
- data/test/sample/config/secrets.yml +22 -0
- data/test/sample/db/seeds.rb +2 -2
- data/test/sample/{test/fixtures/.gitkeep → lib/assets/.keep} +0 -0
- data/test/sample/{test/functional/.gitkeep → lib/tasks/.keep} +0 -0
- data/test/sample/{test/integration/.gitkeep → log/.keep} +0 -0
- data/test/sample/public/404.html +54 -13
- data/test/sample/public/422.html +54 -13
- data/test/sample/public/500.html +53 -13
- data/test/sample/public/robots.txt +2 -2
- data/test/sample/test/{unit/.gitkeep → controllers/.keep} +0 -0
- data/test/sample/{vendor/assets/stylesheets/.gitkeep → test/fixtures/.keep} +0 -0
- data/test/sample/{vendor/plugins/.gitkeep → test/helpers/.keep} +0 -0
- data/test/sample/test/integration/.keep +0 -0
- data/test/sample/test/mailers/.keep +0 -0
- data/test/sample/test/models/.keep +0 -0
- data/test/sample/test/test_helper.rb +2 -2
- data/test/sample/vendor/assets/javascripts/.keep +0 -0
- data/test/sample/vendor/assets/stylesheets/.keep +0 -0
- metadata +64 -52
- data/test/sample/README +0 -261
- data/test/sample/app/assets/images/rails.png +0 -0
- data/test/sample/config/initializers/secret_token.rb +0 -7
- data/test/sample/doc/README_FOR_APP +0 -2
- data/test/sample/public/index.html +0 -241
- data/test/sample/script/rails +0 -6
- data/test/sample/test/performance/browsing_test.rb +0 -12
data/test/sample/script/rails
DELETED
@@ -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
|