reactive-ruby 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +101 -0
  3. data/README.md +19 -11
  4. data/example/{tutorial → rails-tutorial}/.gitignore +0 -0
  5. data/example/{tutorial → rails-tutorial}/Gemfile +0 -0
  6. data/example/{tutorial → rails-tutorial}/Gemfile.lock +2 -2
  7. data/example/{tutorial → rails-tutorial}/README.rdoc +0 -0
  8. data/example/{tutorial → rails-tutorial}/Rakefile +0 -0
  9. data/example/{tutorial → rails-tutorial}/app/assets/images/.keep +0 -0
  10. data/example/rails-tutorial/app/assets/javascripts/application.rb +15 -0
  11. data/example/{tutorial → rails-tutorial}/app/assets/stylesheets/application.css +0 -0
  12. data/example/{tutorial → rails-tutorial}/app/controllers/application_controller.rb +0 -0
  13. data/example/{tutorial → rails-tutorial}/app/controllers/concerns/.keep +0 -0
  14. data/example/{tutorial → rails-tutorial}/app/controllers/home_controller.rb +0 -0
  15. data/example/{tutorial → rails-tutorial}/app/helpers/application_helper.rb +0 -0
  16. data/example/{tutorial → rails-tutorial}/app/mailers/.keep +0 -0
  17. data/example/{tutorial → rails-tutorial}/app/models/.keep +0 -0
  18. data/example/{tutorial → rails-tutorial}/app/models/concerns/.keep +0 -0
  19. data/example/{tutorial → rails-tutorial}/app/views/components.rb +0 -0
  20. data/example/{tutorial → rails-tutorial}/app/views/components/home/show.rb +0 -0
  21. data/example/{tutorial → rails-tutorial}/app/views/layouts/application.html.erb +0 -0
  22. data/example/{tutorial → rails-tutorial}/bin/bundle +0 -0
  23. data/example/{tutorial → rails-tutorial}/bin/rails +0 -0
  24. data/example/{tutorial → rails-tutorial}/bin/rake +0 -0
  25. data/example/{tutorial → rails-tutorial}/bin/setup +0 -0
  26. data/example/{tutorial → rails-tutorial}/bin/spring +0 -0
  27. data/example/{tutorial → rails-tutorial}/config.ru +0 -0
  28. data/example/{tutorial → rails-tutorial}/config/application.rb +0 -0
  29. data/example/{tutorial → rails-tutorial}/config/boot.rb +0 -0
  30. data/example/{tutorial → rails-tutorial}/config/database.yml +0 -0
  31. data/example/{tutorial → rails-tutorial}/config/environment.rb +0 -0
  32. data/example/{tutorial → rails-tutorial}/config/environments/development.rb +0 -0
  33. data/example/{tutorial → rails-tutorial}/config/environments/production.rb +0 -0
  34. data/example/{tutorial → rails-tutorial}/config/environments/test.rb +0 -0
  35. data/example/{tutorial → rails-tutorial}/config/initializers/assets.rb +0 -0
  36. data/example/{tutorial → rails-tutorial}/config/initializers/backtrace_silencers.rb +0 -0
  37. data/example/{tutorial → rails-tutorial}/config/initializers/cookies_serializer.rb +0 -0
  38. data/example/{tutorial → rails-tutorial}/config/initializers/filter_parameter_logging.rb +0 -0
  39. data/example/{tutorial → rails-tutorial}/config/initializers/inflections.rb +0 -0
  40. data/example/{tutorial → rails-tutorial}/config/initializers/mime_types.rb +0 -0
  41. data/example/{tutorial → rails-tutorial}/config/initializers/session_store.rb +0 -0
  42. data/example/{tutorial → rails-tutorial}/config/initializers/wrap_parameters.rb +0 -0
  43. data/example/{tutorial → rails-tutorial}/config/locales/en.yml +0 -0
  44. data/example/{tutorial → rails-tutorial}/config/routes.rb +0 -0
  45. data/example/{tutorial → rails-tutorial}/config/secrets.yml +0 -0
  46. data/example/{tutorial → rails-tutorial}/db/seeds.rb +0 -0
  47. data/example/{tutorial → rails-tutorial}/lib/assets/.keep +0 -0
  48. data/example/{tutorial → rails-tutorial}/lib/tasks/.keep +0 -0
  49. data/example/{tutorial → rails-tutorial}/log/.keep +0 -0
  50. data/example/{tutorial → rails-tutorial}/public/404.html +0 -0
  51. data/example/{tutorial → rails-tutorial}/public/422.html +0 -0
  52. data/example/{tutorial → rails-tutorial}/public/500.html +0 -0
  53. data/example/{tutorial → rails-tutorial}/public/favicon.ico +0 -0
  54. data/example/{tutorial → rails-tutorial}/public/robots.txt +0 -0
  55. data/example/{tutorial → rails-tutorial}/test/controllers/.keep +0 -0
  56. data/example/{tutorial → rails-tutorial}/test/fixtures/.keep +0 -0
  57. data/example/{tutorial → rails-tutorial}/test/helpers/.keep +0 -0
  58. data/example/{tutorial → rails-tutorial}/test/integration/.keep +0 -0
  59. data/example/{tutorial → rails-tutorial}/test/mailers/.keep +0 -0
  60. data/example/{tutorial → rails-tutorial}/test/models/.keep +0 -0
  61. data/example/{tutorial → rails-tutorial}/test/test_helper.rb +0 -0
  62. data/example/{tutorial → rails-tutorial}/vendor/assets/javascripts/.keep +0 -0
  63. data/example/{tutorial → rails-tutorial}/vendor/assets/stylesheets/.keep +0 -0
  64. data/example/sinatra-tutorial/.DS_Store +0 -0
  65. data/example/sinatra-tutorial/Gemfile +5 -0
  66. data/example/sinatra-tutorial/Gemfile.lock +101 -0
  67. data/example/{react-tutorial → sinatra-tutorial}/README.md +0 -0
  68. data/example/sinatra-tutorial/_comments.json +38 -0
  69. data/example/{react-tutorial/example.js.rb → sinatra-tutorial/app/example.rb} +3 -2
  70. data/example/sinatra-tutorial/app/jquery.js +5 -0
  71. data/example/{react-tutorial → sinatra-tutorial}/config.ru +1 -6
  72. data/example/{react-tutorial → sinatra-tutorial}/public/base.css +0 -0
  73. data/lib/reactive-ruby.rb +1 -7
  74. data/lib/reactive-ruby/version.rb +1 -1
  75. data/lib/sources/react.js +19801 -0
  76. data/reactive-ruby.gemspec +3 -2
  77. metadata +74 -85
  78. data/example/react-tutorial/Gemfile +0 -7
  79. data/example/react-tutorial/Gemfile.lock +0 -49
  80. data/example/react-tutorial/_comments.json +0 -14
  81. data/example/tutorial/Gemfile.xlock +0 -211
  82. data/example/tutorial/app/assets/javascripts/application.rb +0 -10
@@ -1,10 +0,0 @@
1
- #assets/javascript/application.rb
2
- # only put files that are browser side only.
3
-
4
- require 'components' # this pulls in your components from the components.rb manifest file
5
- require 'jquery' # you need both these files to access jQuery from Opal
6
- require 'opal-jquery' # they must be in this order, and after the components require
7
- require 'browser' # opal access to browser specific methods (such as setTimer)
8
- require 'react_ujs' # this is required and is part of the prerendering system
9
- # whatever else you might need here
10
-