redis_monitor 0.2.1 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/.travis.yml +1 -1
- data/README.md +7 -9
- data/Rakefile +4 -0
- data/lib/engine/app/controllers/content_controller.rb +1 -1
- data/lib/engine/app/controllers/notifications_controller.rb +19 -0
- data/lib/engine/app/controllers/tasks_controller.rb +47 -0
- data/lib/engine/app/helpers/application_helper.rb +13 -3
- data/lib/engine/app/lib/commands/retrieve_key.rb +5 -0
- data/lib/engine/app/lib/commands/{search_key.rb → search_keys.rb} +1 -1
- data/lib/engine/app/lib/jobs/background_task_job.rb +42 -0
- data/lib/engine/app/models/notification.rb +7 -0
- data/lib/engine/app/models/task.rb +34 -0
- data/lib/engine/app/models/watch_key_task.rb +22 -0
- data/lib/engine/app/models/watch_query_task.rb +24 -0
- data/lib/engine/app/views/content/_search_form.haml +2 -2
- data/lib/engine/app/views/layouts/application.haml +1 -0
- data/lib/engine/app/views/notifications/_notification.haml +9 -0
- data/lib/engine/app/views/notifications/index.haml +14 -0
- data/lib/engine/app/views/tasks/_form.haml +32 -0
- data/lib/engine/app/views/tasks/_task.haml +14 -0
- data/lib/engine/app/views/tasks/edit.haml +3 -0
- data/lib/engine/app/views/tasks/index.haml +21 -0
- data/lib/engine/app/views/tasks/new.haml +3 -0
- data/lib/engine/bin/delayed_job +5 -0
- data/lib/engine/config/database.yml +2 -2
- data/lib/engine/config/initializers/delayed_job.rb +3 -0
- data/lib/engine/config/routes.rb +3 -0
- data/lib/engine/db/migrate/20140112162911_create_tasks.rb +15 -0
- data/lib/engine/db/migrate/20140118155310_create_delayed_jobs.rb +22 -0
- data/lib/engine/db/migrate/20140118183403_create_notifications.rb +10 -0
- data/lib/engine/db/schema.rb +51 -0
- data/lib/engine/public/javascripts/jquery_ujs.js +394 -0
- data/lib/engine/public/stylesheets/custom.css +4 -0
- data/lib/engine/spec/controllers/content_controller_spec.rb +1 -1
- data/lib/engine/spec/controllers/notifications_controller_spec.rb +39 -0
- data/lib/engine/spec/controllers/tasks_controller_spec.rb +109 -0
- data/lib/engine/spec/lib/commands/retrieve_key_spec.rb +15 -0
- data/lib/engine/spec/lib/commands/search_key_spec.rb +2 -2
- data/lib/engine/spec/lib/jobs/background_task_job_spec.rb +55 -0
- data/lib/engine/spec/models/notification_spec.rb +9 -0
- data/lib/engine/spec/models/task_spec.rb +23 -0
- data/lib/engine/spec/models/watch_key_task_spec.rb +13 -0
- data/lib/engine/spec/models/watch_query_task_spec.rb +13 -0
- data/lib/redis_monitor.rb +7 -1
- data/lib/version.rb +1 -1
- data/redis_monitor.gemspec +2 -0
- metadata +61 -10
- data/lib/engine/test/controllers/.keep +0 -0
- data/lib/engine/test/fixtures/.keep +0 -0
- data/lib/engine/test/helpers/.keep +0 -0
- data/lib/engine/test/integration/.keep +0 -0
- data/lib/engine/test/mailers/.keep +0 -0
- data/lib/engine/test/models/.keep +0 -0
- data/lib/engine/test/test_helper.rb +0 -15
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] ||= "test"
|
2
|
-
require File.expand_path('../../config/environment', __FILE__)
|
3
|
-
require 'rails/test_help'
|
4
|
-
|
5
|
-
class ActiveSupport::TestCase
|
6
|
-
ActiveRecord::Migration.check_pending!
|
7
|
-
|
8
|
-
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
9
|
-
#
|
10
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
11
|
-
# -- they do not yet inherit this setting
|
12
|
-
fixtures :all
|
13
|
-
|
14
|
-
# Add more helper methods to be used by all tests here...
|
15
|
-
end
|