qwirk 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +5 -0
- data/lib/qwirk.rb +51 -10
- data/lib/qwirk/adapter/base/expanding_worker_config.rb +31 -18
- data/lib/qwirk/adapter/base/worker_config.rb +34 -11
- data/lib/qwirk/adapter/in_memory/publisher.rb +1 -1
- data/lib/qwirk/adapter/in_memory/queue.rb +27 -29
- data/lib/qwirk/adapter/in_memory/topic.rb +10 -12
- data/lib/qwirk/adapter/in_memory/worker.rb +9 -0
- data/lib/qwirk/adapter/in_memory/worker_config.rb +4 -0
- data/lib/qwirk/adapter/inline/worker.rb +4 -0
- data/lib/qwirk/adapter/inline/worker_config.rb +4 -0
- data/lib/qwirk/adapter_factory.rb +5 -1
- data/lib/qwirk/base_worker.rb +1 -5
- data/lib/qwirk/engine.rb +2 -6
- data/lib/qwirk/manager.rb +18 -10
- data/lib/qwirk/marshal_strategy/json.rb +1 -1
- data/lib/qwirk/remote_exception.rb +9 -1
- data/lib/qwirk/task.rb +61 -44
- data/lib/qwirk/worker.rb +16 -7
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/views/layouts/application.html.erb +3 -3
- data/test/dummy/config/application.rb +22 -8
- data/test/dummy/config/database.yml +3 -0
- data/test/dummy/config/environments/development.rb +15 -4
- data/test/dummy/config/environments/production.rb +31 -13
- data/test/dummy/config/environments/test.rb +9 -7
- data/test/dummy/config/initializers/inflections.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +1 -1
- data/test/dummy/config/routes.rb +2 -56
- data/test/dummy/public/500.html +0 -1
- data/test/dummy/script/rails +1 -1
- data/test/fixtures/qwirk/jobs.yml +11 -0
- data/test/functional/qwirk/jobs_controller_test.rb +9 -0
- data/test/{base_test.rb → models/base_worker_test.rb} +1 -4
- data/test/models/marshal_strategy_test.rb +61 -0
- data/test/{unit → models}/qwirk/batch/acquire_file_strategy_test.rb +0 -0
- data/test/{unit → models}/qwirk/batch/active_record/batch_job_test.rb +0 -0
- data/test/{unit → models}/qwirk/batch/parse_file_strategy_test.rb +0 -0
- data/test/test_helper.rb +7 -4
- data/test/unit/helpers/qwirk/jobs_helper_test.rb +6 -0
- data/test/unit/qwirk/job_test.rb +9 -0
- metadata +179 -117
- data/lib/qwirk/task.rb.sav +0 -194
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/javascripts/application.js +0 -2
- data/test/dummy/public/javascripts/controls.js +0 -965
- data/test/dummy/public/javascripts/dragdrop.js +0 -974
- data/test/dummy/public/javascripts/effects.js +0 -1123
- data/test/dummy/public/javascripts/prototype.js +0 -6001
- data/test/dummy/public/javascripts/rails.js +0 -191
- data/test/marshal_strategy_test.rb +0 -62
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.