the_sortable_tree 2.6.1 → 2.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -5
  3. data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/hashchange.js.coffee +0 -0
  4. data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/initializer.js.coffee +0 -0
  5. data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/jquery.cookie.coffee +0 -0
  6. data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/restorable.js.coffee +0 -0
  7. data/app/assets/javascripts/{jquery.ui.nestedSortable.js → the_sortable_tree/jquery.ui.nestedSortable.js} +0 -0
  8. data/app/assets/javascripts/the_sortable_tree/sortable_ui/base.js.coffee +87 -0
  9. data/app/assets/javascripts/{sortable_tree → the_sortable_tree/sortable_ui}/initializer.js.coffee +14 -11
  10. data/app/assets/stylesheets/the_sortable_tree/expandable_tree.sass +23 -0
  11. data/app/assets/stylesheets/the_sortable_tree/sortable_ui/base.sass +36 -0
  12. data/app/assets/stylesheets/the_sortable_tree/tree.sass +35 -0
  13. data/app/helpers/render_expandable_tree_helper.rb +3 -3
  14. data/app/helpers/render_sortable_tree_helper.rb +30 -12
  15. data/app/helpers/render_tree_helper.rb +6 -5
  16. data/app/helpers/the_sortable_tree_helper.rb +3 -3
  17. data/gem_version.rb +1 -1
  18. data/spec/dummy_app/Gemfile +6 -3
  19. data/spec/dummy_app/README.md +26 -36
  20. data/spec/dummy_app/app/assets/javascripts/application.js +9 -13
  21. data/spec/dummy_app/app/assets/stylesheets/application.css +8 -9
  22. data/spec/dummy_app/app/views/admin/pages/index.html.haml +1 -3
  23. data/spec/dummy_app/app/views/admin/pages/manage.html.haml +2 -2
  24. data/spec/dummy_app/app/views/admin/pages/namespaced_link.html.haml +1 -1
  25. data/spec/dummy_app/app/views/admin/pages/node_manage.html.haml +1 -1
  26. data/spec/dummy_app/app/views/article_categories/index.html.haml +1 -1
  27. data/spec/dummy_app/app/views/article_categories/manage.html.haml +1 -1
  28. data/spec/dummy_app/app/views/inventory/categories/index.html.haml +1 -2
  29. data/spec/dummy_app/app/views/inventory/categories/manage.html.haml +1 -1
  30. data/spec/dummy_app/app/views/layouts/application.html.erb +5 -1
  31. data/spec/dummy_app/app/views/pages/expand.html.haml +1 -1
  32. data/spec/dummy_app/app/views/pages/expand_node.html.haml +1 -1
  33. data/spec/dummy_app/app/views/pages/index.html.haml +1 -2
  34. data/spec/dummy_app/app/views/pages/manage.html.haml +7 -6
  35. data/spec/dummy_app/app/views/pages/nested_options.html.haml +3 -2
  36. data/spec/dummy_app/app/views/welcome/index.html.haml +30 -29
  37. data/spec/dummy_app/bin/bundler +17 -0
  38. data/spec/dummy_app/bin/coderay +17 -0
  39. data/spec/dummy_app/bin/erubis +17 -0
  40. data/spec/dummy_app/bin/haml +17 -0
  41. data/spec/dummy_app/bin/html2haml +17 -0
  42. data/spec/dummy_app/bin/htmldiff +17 -0
  43. data/spec/dummy_app/bin/ldiff +17 -0
  44. data/spec/dummy_app/bin/nokogiri +17 -0
  45. data/spec/dummy_app/bin/pry +17 -0
  46. data/spec/dummy_app/bin/rackup +17 -0
  47. data/spec/dummy_app/bin/rails +17 -0
  48. data/spec/dummy_app/bin/rake +17 -0
  49. data/spec/dummy_app/bin/rspec +17 -0
  50. data/spec/dummy_app/bin/ruby_parse +17 -0
  51. data/spec/dummy_app/bin/ruby_parse_extract_error +17 -0
  52. data/spec/dummy_app/bin/sass +17 -0
  53. data/spec/dummy_app/bin/sass-convert +17 -0
  54. data/spec/dummy_app/bin/scss +17 -0
  55. data/spec/dummy_app/bin/sprockets +17 -0
  56. data/spec/dummy_app/bin/thor +17 -0
  57. data/spec/dummy_app/bin/tilt +17 -0
  58. metadata +55 -121
  59. data/app/assets/stylesheets/expandable_tree.scss +0 -26
  60. data/app/assets/stylesheets/nested_options.scss +0 -25
  61. data/app/assets/stylesheets/sortable_tree.scss +0 -108
  62. data/app/assets/stylesheets/tree.scss +0 -35
  63. data/app/views/sortable/client/_tree.html.erb +0 -9
  64. data/app/views/tree/client/_tree.html.erb +0 -23
  65. data/spec/dummy_app/Gemfile.lock +0 -210
  66. data/spec/dummy_app/_test/fixtures/admin/pages.yml +0 -7
  67. data/spec/dummy_app/_test/fixtures/article_categories.yml +0 -9
  68. data/spec/dummy_app/_test/fixtures/comments.yml +0 -13
  69. data/spec/dummy_app/_test/fixtures/inventory/categories.yml +0 -9
  70. data/spec/dummy_app/_test/functional/inventory/category_controller_test.rb +0 -14
  71. data/spec/dummy_app/_test/performance/browsing_test.rb +0 -12
  72. data/spec/dummy_app/_test/test_helper.rb +0 -13
  73. data/spec/dummy_app/_test/unit/admin/page_test.rb +0 -7
  74. data/spec/dummy_app/_test/unit/article_category_test.rb +0 -7
  75. data/spec/dummy_app/_test/unit/comment_test.rb +0 -7
  76. data/spec/dummy_app/_test/unit/helpers/inventory/category_helper_test.rb +0 -4
  77. data/spec/dummy_app/_test/unit/inventory/category_test.rb +0 -7
  78. data/spec/dummy_app/config/database.yml +0 -7
  79. data/spec/dummy_app/db/development.db +0 -0
  80. data/spec/dummy_app/db/test.db +0 -0
  81. data/spec/dummy_app/doc/README_FOR_APP +0 -2
  82. data/spec/dummy_app/script/rails +0 -6
  83. data/spec/dummy_app/spec/build_tree_helper.rb +0 -39
  84. data/spec/dummy_app/spec/spec_helper.rb +0 -52
  85. data/spec/dummy_app/spec/views/pages/index.html.haml_spec.rb +0 -48
  86. data/spec/old_tests/controlllers/controller_mixin_spec.rb +0 -49
  87. data/spec/old_tests/dummy/README.rdoc +0 -261
  88. data/spec/old_tests/dummy/Rakefile +0 -7
  89. data/spec/old_tests/dummy/app/assets/javascripts/application.js +0 -15
  90. data/spec/old_tests/dummy/app/assets/stylesheets/application.css +0 -13
  91. data/spec/old_tests/dummy/app/controllers/application_controller.rb +0 -3
  92. data/spec/old_tests/dummy/app/controllers/tests_controller.rb +0 -3
  93. data/spec/old_tests/dummy/app/views/layouts/application.html.erb +0 -14
  94. data/spec/old_tests/dummy/config.ru +0 -4
  95. data/spec/old_tests/dummy/config/application.rb +0 -56
  96. data/spec/old_tests/dummy/config/boot.rb +0 -10
  97. data/spec/old_tests/dummy/config/database.yml +0 -25
  98. data/spec/old_tests/dummy/config/environment.rb +0 -5
  99. data/spec/old_tests/dummy/config/environments/development.rb +0 -37
  100. data/spec/old_tests/dummy/config/environments/production.rb +0 -67
  101. data/spec/old_tests/dummy/config/environments/test.rb +0 -37
  102. data/spec/old_tests/dummy/config/initializers/backtrace_silencers.rb +0 -7
  103. data/spec/old_tests/dummy/config/initializers/inflections.rb +0 -15
  104. data/spec/old_tests/dummy/config/initializers/mime_types.rb +0 -5
  105. data/spec/old_tests/dummy/config/initializers/secret_token.rb +0 -7
  106. data/spec/old_tests/dummy/config/initializers/session_store.rb +0 -8
  107. data/spec/old_tests/dummy/config/initializers/wrap_parameters.rb +0 -14
  108. data/spec/old_tests/dummy/config/locales/en.yml +0 -5
  109. data/spec/old_tests/dummy/config/routes.rb +0 -3
  110. data/spec/old_tests/dummy/db/test.sqlite3 +0 -0
  111. data/spec/old_tests/dummy/log/test.log +0 -4
  112. data/spec/old_tests/dummy/public/404.html +0 -26
  113. data/spec/old_tests/dummy/public/422.html +0 -26
  114. data/spec/old_tests/dummy/public/500.html +0 -25
  115. data/spec/old_tests/dummy/public/favicon.ico +0 -0
  116. data/spec/old_tests/dummy/script/rails +0 -6
  117. data/spec/old_tests/spec_helper.rb +0 -15
@@ -1,25 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- </div>
24
- </body>
25
- </html>
File without changes
@@ -1,6 +0,0 @@
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'
@@ -1,15 +0,0 @@
1
- # Configure Rails Envinronment
2
- ENV["RAILS_ENV"] = "test"
3
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
-
5
- require 'rspec/rails'
6
-
7
- ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
8
-
9
- # Requires supporting ruby files with custom matchers and macros, etc,
10
- # in spec/support/ and its subdirectories.
11
- Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
12
-
13
- RSpec.configure do |config|
14
- config.use_transactional_fixtures = true
15
- end