Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

README changed

  • Loading branch information...
commit 70e1328176283b0381272864f761f0fbd4427bb8 1 parent e99aa72
Danil Pismenny authored
Showing with 11 additions and 8 deletions.
  1. +4 −0 .gitignore
  2. +5 −4 README.rdoc
  3. 0  {test/rails → rails_example}/.gitignore
  4. +2 −4 {test/rails → rails_example}/Gemfile
  5. 0  {test/rails → rails_example}/Rakefile
  6. 0  {test/rails → rails_example}/app/controllers/application_controller.rb
  7. 0  {test/rails → rails_example}/config.ru
  8. 0  {test/rails → rails_example}/config/application.rb
  9. 0  {test/rails → rails_example}/config/boot.rb
  10. 0  {test/rails → rails_example}/config/database.yml
  11. 0  {test/rails → rails_example}/config/environment.rb
  12. 0  {test/rails → rails_example}/config/environments/development.rb
  13. 0  {test/rails → rails_example}/config/environments/production.rb
  14. 0  {test/rails → rails_example}/config/environments/test.rb
  15. 0  {test/rails → rails_example}/config/initializers/backtrace_silencers.rb
  16. 0  {test/rails → rails_example}/config/initializers/inflections.rb
  17. 0  {test/rails → rails_example}/config/initializers/mime_types.rb
  18. 0  {test/rails → rails_example}/config/initializers/secret_token.rb
  19. 0  {test/rails → rails_example}/config/initializers/session_store.rb
  20. 0  {test/rails → rails_example}/config/locales/en.yml
  21. 0  {test/rails → rails_example}/config/routes.rb
  22. 0  {test/rails → rails_example}/db/seeds.rb
  23. 0  {test/rails → rails_example}/lib/dancers.rb
  24. 0  {test/rails/public/stylesheets → rails_example/lib/tasks}/.gitkeep
  25. 0  {test/rails → rails_example}/public/404.html
  26. 0  {test/rails → rails_example}/public/422.html
  27. 0  {test/rails → rails_example}/public/500.html
  28. 0  {test/rails → rails_example}/public/favicon.ico
  29. 0  {test/rails → rails_example}/public/images/rails.png
  30. 0  {test/rails → rails_example}/public/index.html
  31. 0  {test/rails → rails_example}/public/javascripts/application.js
  32. 0  {test/rails → rails_example}/public/javascripts/controls.js
  33. 0  {test/rails → rails_example}/public/javascripts/dragdrop.js
  34. 0  {test/rails → rails_example}/public/javascripts/effects.js
  35. 0  {test/rails → rails_example}/public/javascripts/prototype.js
  36. 0  {test/rails → rails_example}/public/javascripts/rails.js
  37. 0  {test/rails → rails_example}/public/robots.txt
  38. 0  {test/rails/lib/tasks → rails_example/public/stylesheets}/.gitkeep
  39. 0  {test/rails → rails_example}/script/rails
View
4 .gitignore
@@ -50,3 +50,7 @@ pkg
/test/rails/log/dancer1.pid.lock
/test/rails/log/dancer2.pid
/test/rails/log/dancer2.pid.lock
+/rails_example/log/dancer1.pid
+/rails_example/log/dancer1.pid.lock
+/rails_example/log/dancer2.pid
+/rails_example/log/dancer2.pid.lock
View
9 README.rdoc
@@ -1,6 +1,7 @@
= LoopDance
-No forks. No threads. Just looped scheduler based on `daemon_controller` and `looper`
+No forks. No threads. Just looped scheduler based on `daemon_controller` and `looper`.
+We call it 'Dancer'.
== Easy to install
@@ -8,7 +9,7 @@ No forks. No threads. Just looped scheduler based on `daemon_controller` and `lo
== Simple to setup
-Just create file 'lib/loop_dance.rb':
+Create file 'lib/loop_dance.rb':
class Dancer1 < LoopDance::Dancer
@@ -26,9 +27,9 @@ LoopDance automatically starts at the rails 3 server startup.
== Useful management
-From the application:
+From the rails application:
- Dancer.controller.start unless Dancer.controller.running?
+ Dancer1.controller.start unless Dancer1.controller.running?
By the rake tasks (TODO):
View
0  test/rails/.gitignore → rails_example/.gitignore
File renamed without changes
View
6 test/rails/Gemfile → rails_example/Gemfile
@@ -5,11 +5,9 @@ gem 'rails', '3.0.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem "loop_dance", :path => '../../'
+gem "loop_dance", :path => '../'
-gem "ruby-debug"
-
-gem 'sqlite3-ruby', :require => 'sqlite3'
+#gem 'sqlite3-ruby', :require => 'sqlite3'
# Use unicorn as the web server
# gem 'unicorn'
View
0  test/rails/Rakefile → rails_example/Rakefile
File renamed without changes
View
0  ...app/controllers/application_controller.rb → ...app/controllers/application_controller.rb
File renamed without changes
View
0  test/rails/config.ru → rails_example/config.ru
File renamed without changes
View
0  test/rails/config/application.rb → rails_example/config/application.rb
File renamed without changes
View
0  test/rails/config/boot.rb → rails_example/config/boot.rb
File renamed without changes
View
0  test/rails/config/database.yml → rails_example/config/database.yml
File renamed without changes
View
0  test/rails/config/environment.rb → rails_example/config/environment.rb
File renamed without changes
View
0  .../rails/config/environments/development.rb → ...xample/config/environments/development.rb
File renamed without changes
View
0  test/rails/config/environments/production.rb → ...example/config/environments/production.rb
File renamed without changes
View
0  test/rails/config/environments/test.rb → rails_example/config/environments/test.rb
File renamed without changes
View
0  ...onfig/initializers/backtrace_silencers.rb → ...onfig/initializers/backtrace_silencers.rb
File renamed without changes
View
0  .../rails/config/initializers/inflections.rb → ...xample/config/initializers/inflections.rb
File renamed without changes
View
0  test/rails/config/initializers/mime_types.rb → ...example/config/initializers/mime_types.rb
File renamed without changes
View
0  ...rails/config/initializers/secret_token.rb → ...ample/config/initializers/secret_token.rb
File renamed without changes
View
0  ...ails/config/initializers/session_store.rb → ...mple/config/initializers/session_store.rb
File renamed without changes
View
0  test/rails/config/locales/en.yml → rails_example/config/locales/en.yml
File renamed without changes
View
0  test/rails/config/routes.rb → rails_example/config/routes.rb
File renamed without changes
View
0  test/rails/db/seeds.rb → rails_example/db/seeds.rb
File renamed without changes
View
0  test/rails/lib/dancers.rb → rails_example/lib/dancers.rb
File renamed without changes
View
0  test/rails/public/stylesheets/.gitkeep → rails_example/lib/tasks/.gitkeep
File renamed without changes
View
0  test/rails/public/404.html → rails_example/public/404.html
File renamed without changes
View
0  test/rails/public/422.html → rails_example/public/422.html
File renamed without changes
View
0  test/rails/public/500.html → rails_example/public/500.html
File renamed without changes
View
0  test/rails/public/favicon.ico → rails_example/public/favicon.ico
File renamed without changes
View
0  test/rails/public/images/rails.png → rails_example/public/images/rails.png
File renamed without changes
View
0  test/rails/public/index.html → rails_example/public/index.html
File renamed without changes
View
0  test/rails/public/javascripts/application.js → ...example/public/javascripts/application.js
File renamed without changes
View
0  test/rails/public/javascripts/controls.js → rails_example/public/javascripts/controls.js
File renamed without changes
View
0  test/rails/public/javascripts/dragdrop.js → rails_example/public/javascripts/dragdrop.js
File renamed without changes
View
0  test/rails/public/javascripts/effects.js → rails_example/public/javascripts/effects.js
File renamed without changes
View
0  test/rails/public/javascripts/prototype.js → ...s_example/public/javascripts/prototype.js
File renamed without changes
View
0  test/rails/public/javascripts/rails.js → rails_example/public/javascripts/rails.js
File renamed without changes
View
0  test/rails/public/robots.txt → rails_example/public/robots.txt
File renamed without changes
View
0  test/rails/lib/tasks/.gitkeep → rails_example/public/stylesheets/.gitkeep
File renamed without changes
View
0  test/rails/script/rails → rails_example/script/rails
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.