tabulous 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +9 -0
- data/CHANGELOG.md +3 -0
- data/CONTRIBUTING.md +1 -1
- data/README.md +1 -1
- data/Rakefile +4 -1
- data/lib/generators/tabs/templates/tabulous.rb +1 -0
- data/lib/tabulous/version.rb +1 -1
- data/script/for_all_test_apps +3 -1
- data/spec/applications/bootstrap/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/bootstrap/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/bootstrap/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/application.scss +19 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/tabs/tabulous.rb +81 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/layouts/application.html.erb +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/bootstrap/rails_4-2-0/config.ru +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/routes.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134203_create_galaxies.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134205_create_planets.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134207_create_stars.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/custom_renderer/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/custom_renderer/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/custom_renderer/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/custom_renderer.rb +29 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/tabulous.rb +45 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config.ru +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/routes.rb +65 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134851_create_galaxies.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134853_create_planets.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134855_create_stars.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/features/custom_renderer_spec.rb +11 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/main/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/main/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/main/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/main/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/tabs/tabulous.rb +78 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/main/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/main/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/main/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/main/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/main/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/main/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/main/rails_4-2-0/config.ru +4 -0
- data/spec/applications/main/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/main/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/main/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/main/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/main/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/main/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/main/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/main/rails_4-2-0/config/routes.rb +74 -0
- data/spec/applications/main/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212743_create_galaxies.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212744_create_planets.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212746_create_stars.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/main/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/main/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/main/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/main/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/main/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/main/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/main/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/main/rails_4-2-0/spec/features/css_scaffolding_spec.rb +194 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_active_tab_clickable_spec.rb +110 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_render_subtabs_when_empty_spec.rb +116 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_renderer_spec.rb +107 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_when_action_has_no_tab_spec.rb +115 -0
- data/spec/applications/main/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_active_when_spec.rb +272 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_dsl_errors_spec.rb +177 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_enabled_when_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_link_path_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_order_spec.rb +94 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_text_spec.rb +104 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_visible_when_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tabs_dsl_errors_spec.rb +97 -0
- data/spec/applications/main/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/main/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/main/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/main/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/main/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/main/shared/spec/features/css_scaffolding_spec.rb +2 -2
- data/spec/applications/main/shared/spec/features/tab_active_when_spec.rb +5 -5
- data/spec/applications/main/shared/spec/features/tab_link_path_spec.rb +4 -4
- data/spec/applications/multiple_tabsets/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/exoplanets.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/rogue_planets.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/exoplanets.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/rogue_planets.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/exoplanets_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/rogue_planets_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/exoplanets_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/rogue_planets_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/exoplanet.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/rogue_planet.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/tabs/tabulous.rb +56 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/home/index.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/layouts/application.html.erb +12 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config.ru +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/routes.rb +79 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134928_create_galaxies_elliptical_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134930_create_galaxies_lenticular_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134932_create_galaxies_spiral_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134934_create_planets_exoplanets.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134936_create_planets_rogue_planets.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/schema.rb +46 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/multiple_tabsets_spec.rb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/simple_tabs/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/simple_tabs/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/simple_tabs/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/tabs/tabulous.rb +41 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config.ru +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/routes.rb +65 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135007_create_galaxies.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135009_create_planets.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135011_create_stars.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/features/simple_tabs_spec.rb +46 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/simple_tabs/shared/spec/features/simple_tabs_spec.rb +9 -9
- data/spec/applications/subtabs/application_template.rb +14 -0
- data/spec/applications/subtabs/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/subtabs/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/subtabs/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/subtabs/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/exoplanets.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/misc.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/rogue_planets.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/application.css +67 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/exoplanets.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/misc.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/reset.css +52 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/rogue_planets.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/exoplanets_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/misc_controller.rb +13 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/rogue_planets_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/exoplanets_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/misc_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/rogue_planets_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/exoplanet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/rogue_planet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/tabs/tabulous.rb +134 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/home/index.html.erb +12 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/layouts/application.html.erb +20 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_disabled.html.erb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_enabled.html.erb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_hidden.html.erb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_visible.html.erb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/subtabs/rails_4-2-0/config.ru +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/subtabs/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/assets.rb +12 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/subtabs/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/subtabs/rails_4-2-0/config/routes.rb +89 -0
- data/spec/applications/subtabs/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142149_create_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142150_create_galaxies_elliptical_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142152_create_galaxies_lenticular_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142154_create_galaxies_spiral_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142156_create_planets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142158_create_exoplanets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142200_create_rogue_planets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142202_create_stars.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/schema.rb +64 -0
- data/spec/applications/subtabs/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/subtabs/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/subtabs/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/subtabs/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/subtabs/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/subtabs/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/application.css +104 -0
- data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/reset.css +52 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/features/subtabs_spec.rb +69 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/subtabs/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/subtabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/subtabs/shared/spec/features/subtabs_spec.rb +3 -3
- data/spec/applications/universal/spec/spec_helper.rb +2 -0
- data/spec/applications/universal_gemfile.rb +20 -1
- data/tabulous.gemspec +1 -1
- metadata +804 -50
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: da3c4fc6559977a0d753c287deeafd5c895423a9
|
4
|
+
data.tar.gz: 2cb4cd179438b864e0af686c71777bbe84b48221
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d6fb336ddba3240711c371ce8bb00f8da172f63d0ebb0d088ae8fa990c54cf51cb46c2fc3e344bab073edcd9e73f4e0703d21c6f337737017b8245b86bbfd60a
|
7
|
+
data.tar.gz: 2d67e57b0e9855b8190a87be88082f8e18a79e0b261af1b4d026e5a6513454ec4dee885e882fc7cecf63a2348127d939dfd03a85bde3b7f5c9b70d2760c69aeb
|
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -8,7 +8,7 @@ Pull requests are welcome. If you want your pull request to be more than a disc
|
|
8
8
|
|
9
9
|
* your code should be well-written and follow the style of the rest of the tabulous code
|
10
10
|
* you should write new specs for your code if existing specs do not offer good coverage
|
11
|
-
* you should make sure the specs pass in all versions of Rails 3.0 or later and Ruby
|
11
|
+
* you should make sure the specs pass in all versions of Rails 3.0 or later and all versions of Ruby 1.9 and later
|
12
12
|
|
13
13
|
## Running Specs
|
14
14
|
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Tabulous provides an easy way to add tabs to your Rails application.
|
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
9
|
-
Tabulous works with Rails
|
9
|
+
Tabulous works with Rails 4.2, 4.1, 4.0, 3.2, 3.1 and 3.0. It has been tested on MRI Ruby 2.2.0, 2.1.2, 2.0.0, and 1.9.3. It does not work with Ruby 1.8.
|
10
10
|
|
11
11
|
## Getting Started
|
12
12
|
|
data/Rakefile
CHANGED
@@ -22,7 +22,7 @@ task :test do
|
|
22
22
|
puts " $ script/for_all_test_apps bundle exec rake"
|
23
23
|
puts
|
24
24
|
puts "To run integration specs in a Ruby 1.9 environment:"
|
25
|
-
puts "
|
25
|
+
puts " $ script/for_all_test_apps bundle exec rake"
|
26
26
|
puts
|
27
27
|
puts "To run integration specs in a Ruby 2.0 environment:"
|
28
28
|
puts " $ RUBY_COMPATIBILITY=2.0 script/for_all_test_apps bundle exec rake"
|
@@ -30,6 +30,9 @@ task :test do
|
|
30
30
|
puts "To run integration specs in a Ruby 2.1 environment:"
|
31
31
|
puts " $ RUBY_COMPATIBILITY=2.1 script/for_all_test_apps bundle exec rake"
|
32
32
|
puts
|
33
|
+
puts "To run integration specs in a Ruby 2.2 environment:"
|
34
|
+
puts " $ RUBY_COMPATIBILITY=2.2 script/for_all_test_apps bundle exec rake"
|
35
|
+
puts
|
33
36
|
puts "To run unit specs:"
|
34
37
|
puts " $ bundle exec rake spec:units"
|
35
38
|
puts
|
@@ -12,6 +12,7 @@ Tabulous.setup do
|
|
12
12
|
<% unique_routes.keys.each do |controller_name| -%>
|
13
13
|
<% next if controller_name == 'rails/info' -%>
|
14
14
|
<% next if controller_name == 'rails/welcome' -%>
|
15
|
+
<% next if controller_name == 'rails/mailers' -%>
|
15
16
|
<% next if unique_routes[controller_name].nil? -%>
|
16
17
|
<% underscored_name = controller_name.gsub('/', '_')
|
17
18
|
title = underscored_name.titleize
|
data/lib/tabulous/version.rb
CHANGED
data/script/for_all_test_apps
CHANGED
@@ -16,7 +16,9 @@ include FileUtils
|
|
16
16
|
|
17
17
|
command = ARGV.join(' ')
|
18
18
|
|
19
|
-
if ENV['RUBY_COMPATIBILITY'] == '2.
|
19
|
+
if ENV['RUBY_COMPATIBILITY'] == '2.2'
|
20
|
+
apps_to_test = Dir['spec/applications/*/rails_4-1*'] + Dir['spec/applications/*/rails_4-2*']
|
21
|
+
elsif ENV['RUBY_COMPATIBILITY'] == '2.1'
|
20
22
|
apps_to_test = Dir['spec/applications/*/rails_4*']
|
21
23
|
elsif ENV['RUBY_COMPATIBILITY'] == '2.0'
|
22
24
|
apps_to_test = Dir['spec/applications/*/rails_3-2*'] + Dir['spec/applications/*/rails_4*']
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
+
|
7
|
+
# Ignore bundler config.
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*
|
16
|
+
!/log/.keep
|
17
|
+
/tmp
|
@@ -0,0 +1,26 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
gem 'tabulous', :path => "../../../.."
|
3
|
+
gem 'sqlite3', '>= 1.3.9'
|
4
|
+
group :test, :development do
|
5
|
+
gem "rspec-rails"
|
6
|
+
end
|
7
|
+
group :test do
|
8
|
+
gem 'capybara', "~> 2.2.0"
|
9
|
+
gem 'launchy'
|
10
|
+
end
|
11
|
+
gem 'rails', '~> 4.2.0'
|
12
|
+
gem 'sass-rails', '~> 5.0'
|
13
|
+
gem 'bootstrap-sass', '~> 3.0.2.0'
|
14
|
+
gem 'coffee-rails', '~> 4.1.0'
|
15
|
+
gem 'uglifier', '>= 1.3.0'
|
16
|
+
gem 'jquery-rails'
|
17
|
+
gem 'turbolinks'
|
18
|
+
gem 'jbuilder', '~> 2.0'
|
19
|
+
group :test do
|
20
|
+
gem 'turn', :require => false
|
21
|
+
gem 'minitest'
|
22
|
+
end
|
23
|
+
group :development do
|
24
|
+
gem 'web-console', '~> 2.0'
|
25
|
+
gem 'spring'
|
26
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
== README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
25
|
+
|
26
|
+
|
27
|
+
Please feel free to use a different markup language if you do not plan to run
|
28
|
+
<tt>rake doc:app</tt>.
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require bootstrap
|
16
|
+
//= require_tree .
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
14
|
+
|
15
|
+
@import "bootstrap";
|
16
|
+
|
17
|
+
#main_content {
|
18
|
+
margin: 60px;
|
19
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #fff;
|
3
|
+
color: #333;
|
4
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
+
font-size: 13px;
|
6
|
+
line-height: 18px;
|
7
|
+
}
|
8
|
+
|
9
|
+
p, ol, ul, td {
|
10
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
11
|
+
font-size: 13px;
|
12
|
+
line-height: 18px;
|
13
|
+
}
|
14
|
+
|
15
|
+
pre {
|
16
|
+
background-color: #eee;
|
17
|
+
padding: 10px;
|
18
|
+
font-size: 11px;
|
19
|
+
}
|
20
|
+
|
21
|
+
a {
|
22
|
+
color: #000;
|
23
|
+
&:visited {
|
24
|
+
color: #666;
|
25
|
+
}
|
26
|
+
&:hover {
|
27
|
+
color: #fff;
|
28
|
+
background-color: #000;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
div {
|
33
|
+
&.field, &.actions {
|
34
|
+
margin-bottom: 10px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
#notice {
|
39
|
+
color: green;
|
40
|
+
}
|
41
|
+
|
42
|
+
.field_with_errors {
|
43
|
+
padding: 2px;
|
44
|
+
background-color: red;
|
45
|
+
display: table;
|
46
|
+
}
|
47
|
+
|
48
|
+
#error_explanation {
|
49
|
+
width: 450px;
|
50
|
+
border: 2px solid red;
|
51
|
+
padding: 7px;
|
52
|
+
padding-bottom: 0;
|
53
|
+
margin-bottom: 20px;
|
54
|
+
background-color: #f0f0f0;
|
55
|
+
h2 {
|
56
|
+
text-align: left;
|
57
|
+
font-weight: bold;
|
58
|
+
padding: 5px 5px 5px 15px;
|
59
|
+
font-size: 12px;
|
60
|
+
margin: -7px;
|
61
|
+
margin-bottom: 0px;
|
62
|
+
background-color: #c00;
|
63
|
+
color: #fff;
|
64
|
+
}
|
65
|
+
ul li {
|
66
|
+
font-size: 12px;
|
67
|
+
list-style: square;
|
68
|
+
}
|
69
|
+
}
|
File without changes
|
@@ -0,0 +1,74 @@
|
|
1
|
+
class GalaxiesController < ApplicationController
|
2
|
+
before_action :set_galaxy, only: [:show, :edit, :update, :destroy]
|
3
|
+
|
4
|
+
# GET /galaxies
|
5
|
+
# GET /galaxies.json
|
6
|
+
def index
|
7
|
+
@galaxies = Galaxy.all
|
8
|
+
end
|
9
|
+
|
10
|
+
# GET /galaxies/1
|
11
|
+
# GET /galaxies/1.json
|
12
|
+
def show
|
13
|
+
end
|
14
|
+
|
15
|
+
# GET /galaxies/new
|
16
|
+
def new
|
17
|
+
@galaxy = Galaxy.new
|
18
|
+
end
|
19
|
+
|
20
|
+
# GET /galaxies/1/edit
|
21
|
+
def edit
|
22
|
+
end
|
23
|
+
|
24
|
+
# POST /galaxies
|
25
|
+
# POST /galaxies.json
|
26
|
+
def create
|
27
|
+
@galaxy = Galaxy.new(galaxy_params)
|
28
|
+
|
29
|
+
respond_to do |format|
|
30
|
+
if @galaxy.save
|
31
|
+
format.html { redirect_to @galaxy, notice: 'Galaxy was successfully created.' }
|
32
|
+
format.json { render :show, status: :created, location: @galaxy }
|
33
|
+
else
|
34
|
+
format.html { render :new }
|
35
|
+
format.json { render json: @galaxy.errors, status: :unprocessable_entity }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# PATCH/PUT /galaxies/1
|
41
|
+
# PATCH/PUT /galaxies/1.json
|
42
|
+
def update
|
43
|
+
respond_to do |format|
|
44
|
+
if @galaxy.update(galaxy_params)
|
45
|
+
format.html { redirect_to @galaxy, notice: 'Galaxy was successfully updated.' }
|
46
|
+
format.json { render :show, status: :ok, location: @galaxy }
|
47
|
+
else
|
48
|
+
format.html { render :edit }
|
49
|
+
format.json { render json: @galaxy.errors, status: :unprocessable_entity }
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# DELETE /galaxies/1
|
55
|
+
# DELETE /galaxies/1.json
|
56
|
+
def destroy
|
57
|
+
@galaxy.destroy
|
58
|
+
respond_to do |format|
|
59
|
+
format.html { redirect_to galaxies_url, notice: 'Galaxy was successfully destroyed.' }
|
60
|
+
format.json { head :no_content }
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
private
|
65
|
+
# Use callbacks to share common setup or constraints between actions.
|
66
|
+
def set_galaxy
|
67
|
+
@galaxy = Galaxy.find(params[:id])
|
68
|
+
end
|
69
|
+
|
70
|
+
# Never trust parameters from the scary internet, only allow the white list through.
|
71
|
+
def galaxy_params
|
72
|
+
params.require(:galaxy).permit(:name)
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
class PlanetsController < ApplicationController
|
2
|
+
before_action :set_planet, only: [:show, :edit, :update, :destroy]
|
3
|
+
|
4
|
+
# GET /planets
|
5
|
+
# GET /planets.json
|
6
|
+
def index
|
7
|
+
@planets = Planet.all
|
8
|
+
end
|
9
|
+
|
10
|
+
# GET /planets/1
|
11
|
+
# GET /planets/1.json
|
12
|
+
def show
|
13
|
+
end
|
14
|
+
|
15
|
+
# GET /planets/new
|
16
|
+
def new
|
17
|
+
@planet = Planet.new
|
18
|
+
end
|
19
|
+
|
20
|
+
# GET /planets/1/edit
|
21
|
+
def edit
|
22
|
+
end
|
23
|
+
|
24
|
+
# POST /planets
|
25
|
+
# POST /planets.json
|
26
|
+
def create
|
27
|
+
@planet = Planet.new(planet_params)
|
28
|
+
|
29
|
+
respond_to do |format|
|
30
|
+
if @planet.save
|
31
|
+
format.html { redirect_to @planet, notice: 'Planet was successfully created.' }
|
32
|
+
format.json { render :show, status: :created, location: @planet }
|
33
|
+
else
|
34
|
+
format.html { render :new }
|
35
|
+
format.json { render json: @planet.errors, status: :unprocessable_entity }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# PATCH/PUT /planets/1
|
41
|
+
# PATCH/PUT /planets/1.json
|
42
|
+
def update
|
43
|
+
respond_to do |format|
|
44
|
+
if @planet.update(planet_params)
|
45
|
+
format.html { redirect_to @planet, notice: 'Planet was successfully updated.' }
|
46
|
+
format.json { render :show, status: :ok, location: @planet }
|
47
|
+
else
|
48
|
+
format.html { render :edit }
|
49
|
+
format.json { render json: @planet.errors, status: :unprocessable_entity }
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# DELETE /planets/1
|
55
|
+
# DELETE /planets/1.json
|
56
|
+
def destroy
|
57
|
+
@planet.destroy
|
58
|
+
respond_to do |format|
|
59
|
+
format.html { redirect_to planets_url, notice: 'Planet was successfully destroyed.' }
|
60
|
+
format.json { head :no_content }
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
private
|
65
|
+
# Use callbacks to share common setup or constraints between actions.
|
66
|
+
def set_planet
|
67
|
+
@planet = Planet.find(params[:id])
|
68
|
+
end
|
69
|
+
|
70
|
+
# Never trust parameters from the scary internet, only allow the white list through.
|
71
|
+
def planet_params
|
72
|
+
params.require(:planet).permit(:name)
|
73
|
+
end
|
74
|
+
end
|