derailed_benchmarks 0.0.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.travis.yml +13 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +133 -0
- data/README.md +415 -51
- data/Rakefile +27 -0
- data/bin/derailed +84 -0
- data/derailed_benchmarks.gemspec +6 -1
- data/lib/derailed_benchmarks.rb +32 -0
- data/lib/derailed_benchmarks/auth_helper.rb +32 -0
- data/lib/derailed_benchmarks/auth_helpers/devise.rb +36 -0
- data/lib/derailed_benchmarks/core_ext/kernel_require.rb +72 -0
- data/lib/derailed_benchmarks/require_tree.rb +45 -0
- data/lib/derailed_benchmarks/tasks.rb +71 -110
- data/lib/derailed_benchmarks/version.rb +1 -1
- data/test/derailed_benchmarks/core_ext/kernel_require_test.rb +29 -0
- data/test/derailed_benchmarks/require_tree_test.rb +54 -0
- data/test/derailed_test.rb +12 -0
- data/test/fixtures/require/child_one.rb +4 -0
- data/test/fixtures/require/child_two.rb +9 -0
- data/test/fixtures/require/parent_one.rb +6 -0
- data/test/fixtures/require/raise_child.rb +4 -0
- data/test/fixtures/require/relative_child.rb +2 -0
- data/test/integration/tasks_test.rb +82 -0
- data/test/rails_app/Rakefile +7 -0
- data/test/rails_app/app/assets/javascripts/authenticated.js +2 -0
- data/test/rails_app/app/assets/stylesheets/authenticated.css +4 -0
- data/test/rails_app/app/controllers/application_controller.rb +9 -0
- data/test/rails_app/app/controllers/authenticated_controller.rb +12 -0
- data/test/rails_app/app/controllers/pages_controller.rb +7 -0
- data/test/rails_app/app/helpers/application_helper.rb +2 -0
- data/test/rails_app/app/helpers/authenticated_helper.rb +2 -0
- data/test/rails_app/app/models/user.rb +11 -0
- data/test/rails_app/app/views/authenticated/index.html.erb +1 -0
- data/test/rails_app/app/views/layouts/application.html.erb +14 -0
- data/test/rails_app/app/views/pages/index.html.erb +1 -0
- data/test/rails_app/config.ru +4 -0
- data/test/rails_app/config/application.rb +48 -0
- data/test/rails_app/config/boot.rb +10 -0
- data/test/rails_app/config/database.yml +22 -0
- data/test/rails_app/config/environment.rb +5 -0
- data/test/rails_app/config/environments/development.rb +25 -0
- data/test/rails_app/config/environments/production.rb +49 -0
- data/test/rails_app/config/environments/test.rb +35 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_app/config/initializers/devise.rb +256 -0
- data/test/rails_app/config/initializers/inflections.rb +10 -0
- data/test/rails_app/config/initializers/mime_types.rb +5 -0
- data/test/rails_app/config/initializers/secret_token.rb +7 -0
- data/test/rails_app/config/initializers/session_store.rb +8 -0
- data/test/rails_app/config/locales/devise.en.yml +59 -0
- data/test/rails_app/config/locales/en.yml +9 -0
- data/test/rails_app/config/locales/es.yml +10 -0
- data/test/rails_app/config/routes.rb +64 -0
- data/test/rails_app/db/migrate/20141210070547_devise_create_users.rb +42 -0
- data/test/rails_app/db/schema.rb +34 -0
- data/test/rails_app/perf.rake +4 -0
- data/test/rails_app/public/404.html +26 -0
- data/test/rails_app/public/422.html +26 -0
- data/test/rails_app/public/500.html +26 -0
- data/test/rails_app/public/favicon.ico +0 -0
- data/test/rails_app/public/javascripts/application.js +2 -0
- data/test/rails_app/public/javascripts/controls.js +965 -0
- data/test/rails_app/public/javascripts/dragdrop.js +974 -0
- data/test/rails_app/public/javascripts/effects.js +1123 -0
- data/test/rails_app/public/javascripts/prototype.js +6001 -0
- data/test/rails_app/public/javascripts/rails.js +202 -0
- data/test/rails_app/public/stylesheets/.gitkeep +0 -0
- data/test/rails_app/script/rails +6 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +53 -0
- metadata +198 -6
| @@ -0,0 +1,202 @@ | |
| 1 | 
            +
            (function() {
         | 
| 2 | 
            +
              Ajax.Responders.register({
         | 
| 3 | 
            +
                onCreate: function(request) {
         | 
| 4 | 
            +
                  var token = $$('meta[name=csrf-token]')[0];
         | 
| 5 | 
            +
                  if (token) {
         | 
| 6 | 
            +
                    if (!request.options.requestHeaders) request.options.requestHeaders = {};
         | 
| 7 | 
            +
                    request.options.requestHeaders['X-CSRF-Token'] = token.readAttribute('content');
         | 
| 8 | 
            +
                  }
         | 
| 9 | 
            +
                }
         | 
| 10 | 
            +
              });
         | 
| 11 | 
            +
             | 
| 12 | 
            +
              // Technique from Juriy Zaytsev
         | 
| 13 | 
            +
              // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
         | 
| 14 | 
            +
              function isEventSupported(eventName) {
         | 
| 15 | 
            +
                var el = document.createElement('div');
         | 
| 16 | 
            +
                eventName = 'on' + eventName;
         | 
| 17 | 
            +
                var isSupported = (eventName in el);
         | 
| 18 | 
            +
                if (!isSupported) {
         | 
| 19 | 
            +
                  el.setAttribute(eventName, 'return;');
         | 
| 20 | 
            +
                  isSupported = typeof el[eventName] == 'function';
         | 
| 21 | 
            +
                }
         | 
| 22 | 
            +
                el = null;
         | 
| 23 | 
            +
                return isSupported;
         | 
| 24 | 
            +
              }
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              function isForm(element) {
         | 
| 27 | 
            +
                return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM';
         | 
| 28 | 
            +
              }
         | 
| 29 | 
            +
             | 
| 30 | 
            +
              function isInput(element) {
         | 
| 31 | 
            +
                if (Object.isElement(element)) {
         | 
| 32 | 
            +
                  var name = element.nodeName.toUpperCase();
         | 
| 33 | 
            +
                  return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA';
         | 
| 34 | 
            +
                }
         | 
| 35 | 
            +
                else return false;
         | 
| 36 | 
            +
              }
         | 
| 37 | 
            +
             | 
| 38 | 
            +
              var submitBubbles = isEventSupported('submit'),
         | 
| 39 | 
            +
                  changeBubbles = isEventSupported('change');
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              if (!submitBubbles || !changeBubbles) {
         | 
| 42 | 
            +
                // augment the Event.Handler class to observe custom events when needed
         | 
| 43 | 
            +
                Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
         | 
| 44 | 
            +
                  function(init, element, eventName, selector, callback) {
         | 
| 45 | 
            +
                    init(element, eventName, selector, callback);
         | 
| 46 | 
            +
                    // is the handler being attached to an element that doesn't support this event?
         | 
| 47 | 
            +
                    if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
         | 
| 48 | 
            +
                         (!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
         | 
| 49 | 
            +
                      // "submit" => "emulated:submit"
         | 
| 50 | 
            +
                      this.eventName = 'emulated:' + this.eventName;
         | 
| 51 | 
            +
                    }
         | 
| 52 | 
            +
                  }
         | 
| 53 | 
            +
                );
         | 
| 54 | 
            +
              }
         | 
| 55 | 
            +
             | 
| 56 | 
            +
              if (!submitBubbles) {
         | 
| 57 | 
            +
                // discover forms on the page by observing focus events which always bubble
         | 
| 58 | 
            +
                document.on('focusin', 'form', function(focusEvent, form) {
         | 
| 59 | 
            +
                  // special handler for the real "submit" event (one-time operation)
         | 
| 60 | 
            +
                  if (!form.retrieve('emulated:submit')) {
         | 
| 61 | 
            +
                    form.on('submit', function(submitEvent) {
         | 
| 62 | 
            +
                      var emulated = form.fire('emulated:submit', submitEvent, true);
         | 
| 63 | 
            +
                      // if custom event received preventDefault, cancel the real one too
         | 
| 64 | 
            +
                      if (emulated.returnValue === false) submitEvent.preventDefault();
         | 
| 65 | 
            +
                    });
         | 
| 66 | 
            +
                    form.store('emulated:submit', true);
         | 
| 67 | 
            +
                  }
         | 
| 68 | 
            +
                });
         | 
| 69 | 
            +
              }
         | 
| 70 | 
            +
             | 
| 71 | 
            +
              if (!changeBubbles) {
         | 
| 72 | 
            +
                // discover form inputs on the page
         | 
| 73 | 
            +
                document.on('focusin', 'input, select, textarea', function(focusEvent, input) {
         | 
| 74 | 
            +
                  // special handler for real "change" events
         | 
| 75 | 
            +
                  if (!input.retrieve('emulated:change')) {
         | 
| 76 | 
            +
                    input.on('change', function(changeEvent) {
         | 
| 77 | 
            +
                      input.fire('emulated:change', changeEvent, true);
         | 
| 78 | 
            +
                    });
         | 
| 79 | 
            +
                    input.store('emulated:change', true);
         | 
| 80 | 
            +
                  }
         | 
| 81 | 
            +
                });
         | 
| 82 | 
            +
              }
         | 
| 83 | 
            +
             | 
| 84 | 
            +
              function handleRemote(element) {
         | 
| 85 | 
            +
                var method, url, params;
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                var event = element.fire("ajax:before");
         | 
| 88 | 
            +
                if (event.stopped) return false;
         | 
| 89 | 
            +
             | 
| 90 | 
            +
                if (element.tagName.toLowerCase() === 'form') {
         | 
| 91 | 
            +
                  method = element.readAttribute('method') || 'post';
         | 
| 92 | 
            +
                  url    = element.readAttribute('action');
         | 
| 93 | 
            +
                  // serialize the form with respect to the submit button that was pressed
         | 
| 94 | 
            +
                  params = element.serialize({ submit: element.retrieve('rails:submit-button') });
         | 
| 95 | 
            +
                  // clear the pressed submit button information
         | 
| 96 | 
            +
                  element.store('rails:submit-button', null);
         | 
| 97 | 
            +
                } else {
         | 
| 98 | 
            +
                  method = element.readAttribute('data-method') || 'get';
         | 
| 99 | 
            +
                  url    = element.readAttribute('href');
         | 
| 100 | 
            +
                  params = {};
         | 
| 101 | 
            +
                }
         | 
| 102 | 
            +
             | 
| 103 | 
            +
                new Ajax.Request(url, {
         | 
| 104 | 
            +
                  method: method,
         | 
| 105 | 
            +
                  parameters: params,
         | 
| 106 | 
            +
                  evalScripts: true,
         | 
| 107 | 
            +
             | 
| 108 | 
            +
                  onCreate:   function(response) { element.fire("ajax:create",   response); },
         | 
| 109 | 
            +
                  onComplete: function(response) { element.fire("ajax:complete", response); },
         | 
| 110 | 
            +
                  onSuccess:  function(response) { element.fire("ajax:success",  response); },
         | 
| 111 | 
            +
                  onFailure:  function(response) { element.fire("ajax:failure",  response); }
         | 
| 112 | 
            +
                });
         | 
| 113 | 
            +
             | 
| 114 | 
            +
                element.fire("ajax:after");
         | 
| 115 | 
            +
              }
         | 
| 116 | 
            +
             | 
| 117 | 
            +
              function insertHiddenField(form, name, value) {
         | 
| 118 | 
            +
                form.insert(new Element('input', { type: 'hidden', name: name, value: value }));
         | 
| 119 | 
            +
              }
         | 
| 120 | 
            +
             | 
| 121 | 
            +
              function handleMethod(element) {
         | 
| 122 | 
            +
                var method = element.readAttribute('data-method'),
         | 
| 123 | 
            +
                    url = element.readAttribute('href'),
         | 
| 124 | 
            +
                    csrf_param = $$('meta[name=csrf-param]')[0],
         | 
| 125 | 
            +
                    csrf_token = $$('meta[name=csrf-token]')[0];
         | 
| 126 | 
            +
             | 
| 127 | 
            +
                var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
         | 
| 128 | 
            +
                $(element.parentNode).insert(form);
         | 
| 129 | 
            +
             | 
| 130 | 
            +
                if (method !== 'post') {
         | 
| 131 | 
            +
                  insertHiddenField(form, '_method', method);
         | 
| 132 | 
            +
                }
         | 
| 133 | 
            +
             | 
| 134 | 
            +
                if (csrf_param) {
         | 
| 135 | 
            +
                  insertHiddenField(form, csrf_param.readAttribute('content'), csrf_token.readAttribute('content'));
         | 
| 136 | 
            +
                }
         | 
| 137 | 
            +
             | 
| 138 | 
            +
                form.submit();
         | 
| 139 | 
            +
              }
         | 
| 140 | 
            +
             | 
| 141 | 
            +
              function disableFormElements(form) {
         | 
| 142 | 
            +
                form.select('input[type=submit][data-disable-with]').each(function(input) {
         | 
| 143 | 
            +
                  input.store('rails:original-value', input.getValue());
         | 
| 144 | 
            +
                  input.setValue(input.readAttribute('data-disable-with')).disable();
         | 
| 145 | 
            +
                });
         | 
| 146 | 
            +
              }
         | 
| 147 | 
            +
              
         | 
| 148 | 
            +
              function enableFormElements(form) {
         | 
| 149 | 
            +
                form.select('input[type=submit][data-disable-with]').each(function(input) {
         | 
| 150 | 
            +
                  input.setValue(input.retrieve('rails:original-value')).enable();
         | 
| 151 | 
            +
                });
         | 
| 152 | 
            +
              }
         | 
| 153 | 
            +
             | 
| 154 | 
            +
              function allowAction(element) {
         | 
| 155 | 
            +
                var message = element.readAttribute('data-confirm');
         | 
| 156 | 
            +
                return !message || confirm(message);
         | 
| 157 | 
            +
              }
         | 
| 158 | 
            +
             | 
| 159 | 
            +
              document.on('click', 'a[data-confirm], a[data-remote], a[data-method]', function(event, link) {
         | 
| 160 | 
            +
                if (!allowAction(link)) {
         | 
| 161 | 
            +
                  event.stop();
         | 
| 162 | 
            +
                  return false;
         | 
| 163 | 
            +
                }
         | 
| 164 | 
            +
             | 
| 165 | 
            +
                if (link.readAttribute('data-remote')) {
         | 
| 166 | 
            +
                  handleRemote(link);
         | 
| 167 | 
            +
                  event.stop();
         | 
| 168 | 
            +
                } else if (link.readAttribute('data-method')) {
         | 
| 169 | 
            +
                  handleMethod(link);
         | 
| 170 | 
            +
                  event.stop();
         | 
| 171 | 
            +
                }
         | 
| 172 | 
            +
              });
         | 
| 173 | 
            +
             | 
| 174 | 
            +
              document.on("click", "form input[type=submit], form button[type=submit], form button:not([type])", function(event, button) {
         | 
| 175 | 
            +
                // register the pressed submit button
         | 
| 176 | 
            +
                event.findElement('form').store('rails:submit-button', button.name || false);
         | 
| 177 | 
            +
              });
         | 
| 178 | 
            +
             | 
| 179 | 
            +
              document.on("submit", function(event) {
         | 
| 180 | 
            +
                var form = event.findElement();
         | 
| 181 | 
            +
             | 
| 182 | 
            +
                if (!allowAction(form)) {
         | 
| 183 | 
            +
                  event.stop();
         | 
| 184 | 
            +
                  return false;
         | 
| 185 | 
            +
                }
         | 
| 186 | 
            +
             | 
| 187 | 
            +
                if (form.readAttribute('data-remote')) {
         | 
| 188 | 
            +
                  handleRemote(form);
         | 
| 189 | 
            +
                  event.stop();
         | 
| 190 | 
            +
                } else {
         | 
| 191 | 
            +
                  disableFormElements(form);
         | 
| 192 | 
            +
                }
         | 
| 193 | 
            +
              });
         | 
| 194 | 
            +
             | 
| 195 | 
            +
              document.on('ajax:create', 'form', function(event, form) {
         | 
| 196 | 
            +
                if (form == event.findElement()) disableFormElements(form);
         | 
| 197 | 
            +
              });
         | 
| 198 | 
            +
              
         | 
| 199 | 
            +
              document.on('ajax:complete', 'form', function(event, form) {
         | 
| 200 | 
            +
                if (form == event.findElement()) enableFormElements(form);
         | 
| 201 | 
            +
              });
         | 
| 202 | 
            +
            })();
         | 
| 
            File without changes
         | 
| @@ -0,0 +1,6 @@ | |
| 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'
         | 
    
        data/test/test_helper.rb
    ADDED
    
    | @@ -0,0 +1,53 @@ | |
| 1 | 
            +
            require 'rubygems'
         | 
| 2 | 
            +
            require 'bundler/setup'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            # Configure Rails Envinronment
         | 
| 5 | 
            +
            ENV["RAILS_ENV"] = "test"
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            require 'rails'
         | 
| 8 | 
            +
            require 'rails/test_help'
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            require 'stringio'
         | 
| 11 | 
            +
            require 'pathname'
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            require 'derailed_benchmarks'
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            require File.expand_path("../rails_app/config/environment.rb",  __FILE__)
         | 
| 16 | 
            +
            require "rails/test_help"
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            ActionMailer::Base.delivery_method    = :test
         | 
| 19 | 
            +
            ActionMailer::Base.perform_deliveries = true
         | 
| 20 | 
            +
            ActionMailer::Base.default_url_options[:host] = "test.com"
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            Rails.backtrace_cleaner.remove_silencers!
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            # Configure capybara for integration testing
         | 
| 25 | 
            +
            require "capybara/rails"
         | 
| 26 | 
            +
            Capybara.default_driver   = :rack_test
         | 
| 27 | 
            +
            Capybara.default_selector = :css
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            # Run any available migration
         | 
| 30 | 
            +
            ActiveRecord::Migrator.migrate File.expand_path("../rails_app/db/migrate/", __FILE__)
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            # Load support files
         | 
| 33 | 
            +
            Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
         | 
| 34 | 
            +
             | 
| 35 | 
            +
             | 
| 36 | 
            +
            class ActiveSupport::IntegrationCase
         | 
| 37 | 
            +
              def assert_has_content?(content)
         | 
| 38 | 
            +
                assert has_content?(content), "Expected #{page.body} to include #{content.inspect}"
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
            end
         | 
| 41 | 
            +
             | 
| 42 | 
            +
             | 
| 43 | 
            +
            def fixtures_dir(name = "")
         | 
| 44 | 
            +
              root_path("test/fixtures").join(name)
         | 
| 45 | 
            +
            end
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            def root_path(name = "")
         | 
| 48 | 
            +
              Pathname.new(File.expand_path("../..", __FILE__)).join(name)
         | 
| 49 | 
            +
            end
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            def rails_app_path(name = "")
         | 
| 52 | 
            +
              root_path("test/rails_app").join(name)
         | 
| 53 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: derailed_benchmarks
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version:  | 
| 4 | 
            +
              version: 1.0.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Richard Schneeman
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2015-05-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: memory_profiler
         | 
| @@ -52,19 +52,156 @@ dependencies: | |
| 52 52 | 
             
                - - "~>"
         | 
| 53 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 54 | 
             
                    version: '2'
         | 
| 55 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 56 | 
            +
              name: rack
         | 
| 57 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 | 
            +
                requirements:
         | 
| 59 | 
            +
                - - "~>"
         | 
| 60 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 61 | 
            +
                    version: '1'
         | 
| 62 | 
            +
              type: :runtime
         | 
| 63 | 
            +
              prerelease: false
         | 
| 64 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 | 
            +
                requirements:
         | 
| 66 | 
            +
                - - "~>"
         | 
| 67 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            +
                    version: '1'
         | 
| 69 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 70 | 
            +
              name: rake
         | 
| 71 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 | 
            +
                requirements:
         | 
| 73 | 
            +
                - - "~>"
         | 
| 74 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            +
                    version: '10.4'
         | 
| 76 | 
            +
              type: :runtime
         | 
| 77 | 
            +
              prerelease: false
         | 
| 78 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 | 
            +
                requirements:
         | 
| 80 | 
            +
                - - "~>"
         | 
| 81 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            +
                    version: '10.4'
         | 
| 83 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 84 | 
            +
              name: capybara
         | 
| 85 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 86 | 
            +
                requirements:
         | 
| 87 | 
            +
                - - "~>"
         | 
| 88 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            +
                    version: '2'
         | 
| 90 | 
            +
              type: :development
         | 
| 91 | 
            +
              prerelease: false
         | 
| 92 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 | 
            +
                requirements:
         | 
| 94 | 
            +
                - - "~>"
         | 
| 95 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            +
                    version: '2'
         | 
| 97 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 98 | 
            +
              name: rails
         | 
| 99 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 | 
            +
                requirements:
         | 
| 101 | 
            +
                - - "~>"
         | 
| 102 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            +
                    version: '3'
         | 
| 104 | 
            +
              type: :development
         | 
| 105 | 
            +
              prerelease: false
         | 
| 106 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 | 
            +
                requirements:
         | 
| 108 | 
            +
                - - "~>"
         | 
| 109 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            +
                    version: '3'
         | 
| 111 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 112 | 
            +
              name: devise
         | 
| 113 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 114 | 
            +
                requirements:
         | 
| 115 | 
            +
                - - "~>"
         | 
| 116 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 117 | 
            +
                    version: '3'
         | 
| 118 | 
            +
              type: :development
         | 
| 119 | 
            +
              prerelease: false
         | 
| 120 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 121 | 
            +
                requirements:
         | 
| 122 | 
            +
                - - "~>"
         | 
| 123 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 124 | 
            +
                    version: '3'
         | 
| 55 125 | 
             
            description: " Go faster, off the Rails "
         | 
| 56 126 | 
             
            email:
         | 
| 57 127 | 
             
            - richard.schneeman+rubygems@gmail.com
         | 
| 58 | 
            -
            executables: | 
| 128 | 
            +
            executables:
         | 
| 129 | 
            +
            - derailed
         | 
| 59 130 | 
             
            extensions: []
         | 
| 60 131 | 
             
            extra_rdoc_files: []
         | 
| 61 132 | 
             
            files:
         | 
| 62 133 | 
             
            - ".gitignore"
         | 
| 134 | 
            +
            - ".travis.yml"
         | 
| 135 | 
            +
            - CHANGELOG.md
         | 
| 136 | 
            +
            - Gemfile
         | 
| 137 | 
            +
            - Gemfile.lock
         | 
| 63 138 | 
             
            - README.md
         | 
| 139 | 
            +
            - Rakefile
         | 
| 140 | 
            +
            - bin/derailed
         | 
| 64 141 | 
             
            - derailed_benchmarks.gemspec
         | 
| 65 142 | 
             
            - lib/derailed_benchmarks.rb
         | 
| 143 | 
            +
            - lib/derailed_benchmarks/auth_helper.rb
         | 
| 144 | 
            +
            - lib/derailed_benchmarks/auth_helpers/devise.rb
         | 
| 145 | 
            +
            - lib/derailed_benchmarks/core_ext/kernel_require.rb
         | 
| 146 | 
            +
            - lib/derailed_benchmarks/require_tree.rb
         | 
| 66 147 | 
             
            - lib/derailed_benchmarks/tasks.rb
         | 
| 67 148 | 
             
            - lib/derailed_benchmarks/version.rb
         | 
| 149 | 
            +
            - test/derailed_benchmarks/core_ext/kernel_require_test.rb
         | 
| 150 | 
            +
            - test/derailed_benchmarks/require_tree_test.rb
         | 
| 151 | 
            +
            - test/derailed_test.rb
         | 
| 152 | 
            +
            - test/fixtures/require/child_one.rb
         | 
| 153 | 
            +
            - test/fixtures/require/child_two.rb
         | 
| 154 | 
            +
            - test/fixtures/require/parent_one.rb
         | 
| 155 | 
            +
            - test/fixtures/require/raise_child.rb
         | 
| 156 | 
            +
            - test/fixtures/require/relative_child.rb
         | 
| 157 | 
            +
            - test/integration/tasks_test.rb
         | 
| 158 | 
            +
            - test/rails_app/Rakefile
         | 
| 159 | 
            +
            - test/rails_app/app/assets/javascripts/authenticated.js
         | 
| 160 | 
            +
            - test/rails_app/app/assets/stylesheets/authenticated.css
         | 
| 161 | 
            +
            - test/rails_app/app/controllers/application_controller.rb
         | 
| 162 | 
            +
            - test/rails_app/app/controllers/authenticated_controller.rb
         | 
| 163 | 
            +
            - test/rails_app/app/controllers/pages_controller.rb
         | 
| 164 | 
            +
            - test/rails_app/app/helpers/application_helper.rb
         | 
| 165 | 
            +
            - test/rails_app/app/helpers/authenticated_helper.rb
         | 
| 166 | 
            +
            - test/rails_app/app/models/user.rb
         | 
| 167 | 
            +
            - test/rails_app/app/views/authenticated/index.html.erb
         | 
| 168 | 
            +
            - test/rails_app/app/views/layouts/application.html.erb
         | 
| 169 | 
            +
            - test/rails_app/app/views/pages/index.html.erb
         | 
| 170 | 
            +
            - test/rails_app/config.ru
         | 
| 171 | 
            +
            - test/rails_app/config/application.rb
         | 
| 172 | 
            +
            - test/rails_app/config/boot.rb
         | 
| 173 | 
            +
            - test/rails_app/config/database.yml
         | 
| 174 | 
            +
            - test/rails_app/config/environment.rb
         | 
| 175 | 
            +
            - test/rails_app/config/environments/development.rb
         | 
| 176 | 
            +
            - test/rails_app/config/environments/production.rb
         | 
| 177 | 
            +
            - test/rails_app/config/environments/test.rb
         | 
| 178 | 
            +
            - test/rails_app/config/initializers/backtrace_silencers.rb
         | 
| 179 | 
            +
            - test/rails_app/config/initializers/devise.rb
         | 
| 180 | 
            +
            - test/rails_app/config/initializers/inflections.rb
         | 
| 181 | 
            +
            - test/rails_app/config/initializers/mime_types.rb
         | 
| 182 | 
            +
            - test/rails_app/config/initializers/secret_token.rb
         | 
| 183 | 
            +
            - test/rails_app/config/initializers/session_store.rb
         | 
| 184 | 
            +
            - test/rails_app/config/locales/devise.en.yml
         | 
| 185 | 
            +
            - test/rails_app/config/locales/en.yml
         | 
| 186 | 
            +
            - test/rails_app/config/locales/es.yml
         | 
| 187 | 
            +
            - test/rails_app/config/routes.rb
         | 
| 188 | 
            +
            - test/rails_app/db/migrate/20141210070547_devise_create_users.rb
         | 
| 189 | 
            +
            - test/rails_app/db/schema.rb
         | 
| 190 | 
            +
            - test/rails_app/perf.rake
         | 
| 191 | 
            +
            - test/rails_app/public/404.html
         | 
| 192 | 
            +
            - test/rails_app/public/422.html
         | 
| 193 | 
            +
            - test/rails_app/public/500.html
         | 
| 194 | 
            +
            - test/rails_app/public/favicon.ico
         | 
| 195 | 
            +
            - test/rails_app/public/javascripts/application.js
         | 
| 196 | 
            +
            - test/rails_app/public/javascripts/controls.js
         | 
| 197 | 
            +
            - test/rails_app/public/javascripts/dragdrop.js
         | 
| 198 | 
            +
            - test/rails_app/public/javascripts/effects.js
         | 
| 199 | 
            +
            - test/rails_app/public/javascripts/prototype.js
         | 
| 200 | 
            +
            - test/rails_app/public/javascripts/rails.js
         | 
| 201 | 
            +
            - test/rails_app/public/stylesheets/.gitkeep
         | 
| 202 | 
            +
            - test/rails_app/script/rails
         | 
| 203 | 
            +
            - test/support/integration_case.rb
         | 
| 204 | 
            +
            - test/test_helper.rb
         | 
| 68 205 | 
             
            homepage: https://github.com/schneems/derailed_benchmarks
         | 
| 69 206 | 
             
            licenses:
         | 
| 70 207 | 
             
            - MIT
         | 
| @@ -85,9 +222,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 85 222 | 
             
                  version: '0'
         | 
| 86 223 | 
             
            requirements: []
         | 
| 87 224 | 
             
            rubyforge_project: 
         | 
| 88 | 
            -
            rubygems_version: 2. | 
| 225 | 
            +
            rubygems_version: 2.4.5
         | 
| 89 226 | 
             
            signing_key: 
         | 
| 90 227 | 
             
            specification_version: 4
         | 
| 91 228 | 
             
            summary: Benchmarks designed to performance test your ENTIRE site
         | 
| 92 | 
            -
            test_files: | 
| 93 | 
            -
             | 
| 229 | 
            +
            test_files:
         | 
| 230 | 
            +
            - test/derailed_benchmarks/core_ext/kernel_require_test.rb
         | 
| 231 | 
            +
            - test/derailed_benchmarks/require_tree_test.rb
         | 
| 232 | 
            +
            - test/derailed_test.rb
         | 
| 233 | 
            +
            - test/fixtures/require/child_one.rb
         | 
| 234 | 
            +
            - test/fixtures/require/child_two.rb
         | 
| 235 | 
            +
            - test/fixtures/require/parent_one.rb
         | 
| 236 | 
            +
            - test/fixtures/require/raise_child.rb
         | 
| 237 | 
            +
            - test/fixtures/require/relative_child.rb
         | 
| 238 | 
            +
            - test/integration/tasks_test.rb
         | 
| 239 | 
            +
            - test/rails_app/Rakefile
         | 
| 240 | 
            +
            - test/rails_app/app/assets/javascripts/authenticated.js
         | 
| 241 | 
            +
            - test/rails_app/app/assets/stylesheets/authenticated.css
         | 
| 242 | 
            +
            - test/rails_app/app/controllers/application_controller.rb
         | 
| 243 | 
            +
            - test/rails_app/app/controllers/authenticated_controller.rb
         | 
| 244 | 
            +
            - test/rails_app/app/controllers/pages_controller.rb
         | 
| 245 | 
            +
            - test/rails_app/app/helpers/application_helper.rb
         | 
| 246 | 
            +
            - test/rails_app/app/helpers/authenticated_helper.rb
         | 
| 247 | 
            +
            - test/rails_app/app/models/user.rb
         | 
| 248 | 
            +
            - test/rails_app/app/views/authenticated/index.html.erb
         | 
| 249 | 
            +
            - test/rails_app/app/views/layouts/application.html.erb
         | 
| 250 | 
            +
            - test/rails_app/app/views/pages/index.html.erb
         | 
| 251 | 
            +
            - test/rails_app/config.ru
         | 
| 252 | 
            +
            - test/rails_app/config/application.rb
         | 
| 253 | 
            +
            - test/rails_app/config/boot.rb
         | 
| 254 | 
            +
            - test/rails_app/config/database.yml
         | 
| 255 | 
            +
            - test/rails_app/config/environment.rb
         | 
| 256 | 
            +
            - test/rails_app/config/environments/development.rb
         | 
| 257 | 
            +
            - test/rails_app/config/environments/production.rb
         | 
| 258 | 
            +
            - test/rails_app/config/environments/test.rb
         | 
| 259 | 
            +
            - test/rails_app/config/initializers/backtrace_silencers.rb
         | 
| 260 | 
            +
            - test/rails_app/config/initializers/devise.rb
         | 
| 261 | 
            +
            - test/rails_app/config/initializers/inflections.rb
         | 
| 262 | 
            +
            - test/rails_app/config/initializers/mime_types.rb
         | 
| 263 | 
            +
            - test/rails_app/config/initializers/secret_token.rb
         | 
| 264 | 
            +
            - test/rails_app/config/initializers/session_store.rb
         | 
| 265 | 
            +
            - test/rails_app/config/locales/devise.en.yml
         | 
| 266 | 
            +
            - test/rails_app/config/locales/en.yml
         | 
| 267 | 
            +
            - test/rails_app/config/locales/es.yml
         | 
| 268 | 
            +
            - test/rails_app/config/routes.rb
         | 
| 269 | 
            +
            - test/rails_app/db/migrate/20141210070547_devise_create_users.rb
         | 
| 270 | 
            +
            - test/rails_app/db/schema.rb
         | 
| 271 | 
            +
            - test/rails_app/perf.rake
         | 
| 272 | 
            +
            - test/rails_app/public/404.html
         | 
| 273 | 
            +
            - test/rails_app/public/422.html
         | 
| 274 | 
            +
            - test/rails_app/public/500.html
         | 
| 275 | 
            +
            - test/rails_app/public/favicon.ico
         | 
| 276 | 
            +
            - test/rails_app/public/javascripts/application.js
         | 
| 277 | 
            +
            - test/rails_app/public/javascripts/controls.js
         | 
| 278 | 
            +
            - test/rails_app/public/javascripts/dragdrop.js
         | 
| 279 | 
            +
            - test/rails_app/public/javascripts/effects.js
         | 
| 280 | 
            +
            - test/rails_app/public/javascripts/prototype.js
         | 
| 281 | 
            +
            - test/rails_app/public/javascripts/rails.js
         | 
| 282 | 
            +
            - test/rails_app/public/stylesheets/.gitkeep
         | 
| 283 | 
            +
            - test/rails_app/script/rails
         | 
| 284 | 
            +
            - test/support/integration_case.rb
         | 
| 285 | 
            +
            - test/test_helper.rb
         |