gorgon 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.ruby-version +1 -0
- data/Gemfile.lock +5 -5
- data/README.md +2 -0
- data/lib/gorgon/g_logger.rb +3 -1
- data/lib/gorgon/originator.rb +8 -9
- data/lib/gorgon/originator_protocol.rb +2 -2
- data/lib/gorgon/shutdown_manager.rb +32 -0
- data/lib/gorgon/version.rb +1 -1
- data/spec/acceptance/run_tests_spec.rb +9 -0
- data/spec/acceptance_spec_helper.rb +7 -0
- data/spec/listener_spec.rb +1 -1
- data/spec/originator_spec.rb +7 -15
- data/spec/shutdown_manager_spec.rb +49 -0
- data/spec/support/mock_app/.gitignore +15 -0
- data/spec/support/mock_app/Gemfile +39 -0
- data/spec/support/mock_app/Gemfile.lock +135 -0
- data/spec/support/mock_app/README.rdoc +261 -0
- data/spec/support/mock_app/Rakefile +7 -0
- data/spec/support/mock_app/app/assets/images/rails.png +0 -0
- data/spec/support/mock_app/app/assets/javascripts/application.js +15 -0
- data/spec/support/mock_app/app/assets/stylesheets/application.css +13 -0
- data/spec/support/mock_app/app/controllers/application_controller.rb +3 -0
- data/spec/support/mock_app/app/helpers/application_helper.rb +2 -0
- data/spec/support/mock_app/app/mailers/.gitkeep +0 -0
- data/spec/support/mock_app/app/models/.gitkeep +0 -0
- data/spec/support/mock_app/app/views/layouts/application.html.erb +14 -0
- data/spec/support/mock_app/config.ru +4 -0
- data/spec/support/mock_app/config/application.rb +62 -0
- data/spec/support/mock_app/config/boot.rb +6 -0
- data/spec/support/mock_app/config/database.yml +25 -0
- data/spec/support/mock_app/config/environment.rb +5 -0
- data/spec/support/mock_app/config/environments/development.rb +37 -0
- data/spec/support/mock_app/config/environments/production.rb +67 -0
- data/spec/support/mock_app/config/environments/test.rb +37 -0
- data/spec/support/mock_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/support/mock_app/config/initializers/inflections.rb +15 -0
- data/spec/support/mock_app/config/initializers/mime_types.rb +5 -0
- data/spec/support/mock_app/config/initializers/secret_token.rb +7 -0
- data/spec/support/mock_app/config/initializers/session_store.rb +8 -0
- data/spec/support/mock_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/support/mock_app/config/locales/en.yml +5 -0
- data/spec/support/mock_app/config/routes.rb +58 -0
- data/spec/support/mock_app/db/seeds.rb +7 -0
- data/spec/support/mock_app/doc/README_FOR_APP +2 -0
- data/spec/support/mock_app/lib/assets/.gitkeep +0 -0
- data/spec/support/mock_app/lib/tasks/.gitkeep +0 -0
- data/spec/support/mock_app/log/.gitkeep +0 -0
- data/spec/support/mock_app/public/404.html +26 -0
- data/spec/support/mock_app/public/422.html +26 -0
- data/spec/support/mock_app/public/500.html +25 -0
- data/spec/support/mock_app/public/favicon.ico +0 -0
- data/spec/support/mock_app/public/index.html +241 -0
- data/spec/support/mock_app/public/robots.txt +5 -0
- data/spec/support/mock_app/script/rails +6 -0
- data/spec/support/mock_app/test/fixtures/.gitkeep +0 -0
- data/spec/support/mock_app/test/functional/.gitkeep +0 -0
- data/spec/support/mock_app/test/integration/.gitkeep +0 -0
- data/spec/support/mock_app/test/performance/browsing_test.rb +12 -0
- data/spec/support/mock_app/test/test_helper.rb +13 -0
- data/spec/support/mock_app/test/unit/.gitkeep +0 -0
- data/spec/support/mock_app/test/unit/passing_test.rb +7 -0
- data/spec/support/mock_app/vendor/assets/javascripts/.gitkeep +0 -0
- data/spec/support/mock_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/support/mock_app/vendor/plugins/.gitkeep +0 -0
- data/spec/support/originator_handler.rb +8 -0
- metadata +59 -2
@@ -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'
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'rails/performance_test_help'
|
3
|
+
|
4
|
+
class BrowsingTest < ActionDispatch::PerformanceTest
|
5
|
+
# Refer to the documentation for all available options
|
6
|
+
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
7
|
+
# :output => 'tmp/performance', :formats => [:flat] }
|
8
|
+
|
9
|
+
def test_homepage
|
10
|
+
get '/'
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gorgon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Fitzsimmons
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rake
|
@@ -165,6 +165,7 @@ extensions: []
|
|
165
165
|
extra_rdoc_files: []
|
166
166
|
files:
|
167
167
|
- .gitignore
|
168
|
+
- .ruby-version
|
168
169
|
- Gemfile
|
169
170
|
- Gemfile.lock
|
170
171
|
- README.md
|
@@ -205,6 +206,7 @@ files:
|
|
205
206
|
- lib/gorgon/settings/initial_files_creator.rb
|
206
207
|
- lib/gorgon/settings/rails_project_files_content.rb
|
207
208
|
- lib/gorgon/settings/simple_project_files_content.rb
|
209
|
+
- lib/gorgon/shutdown_manager.rb
|
208
210
|
- lib/gorgon/source_tree_syncer.rb
|
209
211
|
- lib/gorgon/test_unit_runner.rb
|
210
212
|
- lib/gorgon/unknown_runner.rb
|
@@ -266,6 +268,8 @@ files:
|
|
266
268
|
- lib/gorgon_bunny/lib/gorgon_bunny/transport.rb
|
267
269
|
- lib/gorgon_bunny/lib/gorgon_bunny/version.rb
|
268
270
|
- lib/gorgon_bunny/lib/gorgon_bunny/versioned_delivery_tag.rb
|
271
|
+
- spec/acceptance/run_tests_spec.rb
|
272
|
+
- spec/acceptance_spec_helper.rb
|
269
273
|
- spec/callback_handler_spec.rb
|
270
274
|
- spec/crash_reporter_spec.rb
|
271
275
|
- spec/failures_printer_spec.rb
|
@@ -285,7 +289,60 @@ files:
|
|
285
289
|
- spec/progress_bar_view_spec.rb
|
286
290
|
- spec/rspec_runner_spec.rb
|
287
291
|
- spec/rsync_daemon_spec.rb
|
292
|
+
- spec/shutdown_manager_spec.rb
|
288
293
|
- spec/source_tree_syncer_spec.rb
|
294
|
+
- spec/support/mock_app/.gitignore
|
295
|
+
- spec/support/mock_app/Gemfile
|
296
|
+
- spec/support/mock_app/Gemfile.lock
|
297
|
+
- spec/support/mock_app/README.rdoc
|
298
|
+
- spec/support/mock_app/Rakefile
|
299
|
+
- spec/support/mock_app/app/assets/images/rails.png
|
300
|
+
- spec/support/mock_app/app/assets/javascripts/application.js
|
301
|
+
- spec/support/mock_app/app/assets/stylesheets/application.css
|
302
|
+
- spec/support/mock_app/app/controllers/application_controller.rb
|
303
|
+
- spec/support/mock_app/app/helpers/application_helper.rb
|
304
|
+
- spec/support/mock_app/app/mailers/.gitkeep
|
305
|
+
- spec/support/mock_app/app/models/.gitkeep
|
306
|
+
- spec/support/mock_app/app/views/layouts/application.html.erb
|
307
|
+
- spec/support/mock_app/config.ru
|
308
|
+
- spec/support/mock_app/config/application.rb
|
309
|
+
- spec/support/mock_app/config/boot.rb
|
310
|
+
- spec/support/mock_app/config/database.yml
|
311
|
+
- spec/support/mock_app/config/environment.rb
|
312
|
+
- spec/support/mock_app/config/environments/development.rb
|
313
|
+
- spec/support/mock_app/config/environments/production.rb
|
314
|
+
- spec/support/mock_app/config/environments/test.rb
|
315
|
+
- spec/support/mock_app/config/initializers/backtrace_silencers.rb
|
316
|
+
- spec/support/mock_app/config/initializers/inflections.rb
|
317
|
+
- spec/support/mock_app/config/initializers/mime_types.rb
|
318
|
+
- spec/support/mock_app/config/initializers/secret_token.rb
|
319
|
+
- spec/support/mock_app/config/initializers/session_store.rb
|
320
|
+
- spec/support/mock_app/config/initializers/wrap_parameters.rb
|
321
|
+
- spec/support/mock_app/config/locales/en.yml
|
322
|
+
- spec/support/mock_app/config/routes.rb
|
323
|
+
- spec/support/mock_app/db/seeds.rb
|
324
|
+
- spec/support/mock_app/doc/README_FOR_APP
|
325
|
+
- spec/support/mock_app/lib/assets/.gitkeep
|
326
|
+
- spec/support/mock_app/lib/tasks/.gitkeep
|
327
|
+
- spec/support/mock_app/log/.gitkeep
|
328
|
+
- spec/support/mock_app/public/404.html
|
329
|
+
- spec/support/mock_app/public/422.html
|
330
|
+
- spec/support/mock_app/public/500.html
|
331
|
+
- spec/support/mock_app/public/favicon.ico
|
332
|
+
- spec/support/mock_app/public/index.html
|
333
|
+
- spec/support/mock_app/public/robots.txt
|
334
|
+
- spec/support/mock_app/script/rails
|
335
|
+
- spec/support/mock_app/test/fixtures/.gitkeep
|
336
|
+
- spec/support/mock_app/test/functional/.gitkeep
|
337
|
+
- spec/support/mock_app/test/integration/.gitkeep
|
338
|
+
- spec/support/mock_app/test/performance/browsing_test.rb
|
339
|
+
- spec/support/mock_app/test/test_helper.rb
|
340
|
+
- spec/support/mock_app/test/unit/.gitkeep
|
341
|
+
- spec/support/mock_app/test/unit/passing_test.rb
|
342
|
+
- spec/support/mock_app/vendor/assets/javascripts/.gitkeep
|
343
|
+
- spec/support/mock_app/vendor/assets/stylesheets/.gitkeep
|
344
|
+
- spec/support/mock_app/vendor/plugins/.gitkeep
|
345
|
+
- spec/support/originator_handler.rb
|
289
346
|
- spec/unknown_runner_spec.rb
|
290
347
|
- spec/worker_manager_spec.rb
|
291
348
|
- spec/worker_spec.rb
|