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.
- checksums.yaml +4 -4
- data/README.md +22 -5
- data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/hashchange.js.coffee +0 -0
- data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/initializer.js.coffee +0 -0
- data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/jquery.cookie.coffee +0 -0
- data/app/assets/javascripts/{expandable_tree → the_sortable_tree/expandable_tree}/restorable.js.coffee +0 -0
- data/app/assets/javascripts/{jquery.ui.nestedSortable.js → the_sortable_tree/jquery.ui.nestedSortable.js} +0 -0
- data/app/assets/javascripts/the_sortable_tree/sortable_ui/base.js.coffee +87 -0
- data/app/assets/javascripts/{sortable_tree → the_sortable_tree/sortable_ui}/initializer.js.coffee +14 -11
- data/app/assets/stylesheets/the_sortable_tree/expandable_tree.sass +23 -0
- data/app/assets/stylesheets/the_sortable_tree/sortable_ui/base.sass +36 -0
- data/app/assets/stylesheets/the_sortable_tree/tree.sass +35 -0
- data/app/helpers/render_expandable_tree_helper.rb +3 -3
- data/app/helpers/render_sortable_tree_helper.rb +30 -12
- data/app/helpers/render_tree_helper.rb +6 -5
- data/app/helpers/the_sortable_tree_helper.rb +3 -3
- data/gem_version.rb +1 -1
- data/spec/dummy_app/Gemfile +6 -3
- data/spec/dummy_app/README.md +26 -36
- data/spec/dummy_app/app/assets/javascripts/application.js +9 -13
- data/spec/dummy_app/app/assets/stylesheets/application.css +8 -9
- data/spec/dummy_app/app/views/admin/pages/index.html.haml +1 -3
- data/spec/dummy_app/app/views/admin/pages/manage.html.haml +2 -2
- data/spec/dummy_app/app/views/admin/pages/namespaced_link.html.haml +1 -1
- data/spec/dummy_app/app/views/admin/pages/node_manage.html.haml +1 -1
- data/spec/dummy_app/app/views/article_categories/index.html.haml +1 -1
- data/spec/dummy_app/app/views/article_categories/manage.html.haml +1 -1
- data/spec/dummy_app/app/views/inventory/categories/index.html.haml +1 -2
- data/spec/dummy_app/app/views/inventory/categories/manage.html.haml +1 -1
- data/spec/dummy_app/app/views/layouts/application.html.erb +5 -1
- data/spec/dummy_app/app/views/pages/expand.html.haml +1 -1
- data/spec/dummy_app/app/views/pages/expand_node.html.haml +1 -1
- data/spec/dummy_app/app/views/pages/index.html.haml +1 -2
- data/spec/dummy_app/app/views/pages/manage.html.haml +7 -6
- data/spec/dummy_app/app/views/pages/nested_options.html.haml +3 -2
- data/spec/dummy_app/app/views/welcome/index.html.haml +30 -29
- data/spec/dummy_app/bin/bundler +17 -0
- data/spec/dummy_app/bin/coderay +17 -0
- data/spec/dummy_app/bin/erubis +17 -0
- data/spec/dummy_app/bin/haml +17 -0
- data/spec/dummy_app/bin/html2haml +17 -0
- data/spec/dummy_app/bin/htmldiff +17 -0
- data/spec/dummy_app/bin/ldiff +17 -0
- data/spec/dummy_app/bin/nokogiri +17 -0
- data/spec/dummy_app/bin/pry +17 -0
- data/spec/dummy_app/bin/rackup +17 -0
- data/spec/dummy_app/bin/rails +17 -0
- data/spec/dummy_app/bin/rake +17 -0
- data/spec/dummy_app/bin/rspec +17 -0
- data/spec/dummy_app/bin/ruby_parse +17 -0
- data/spec/dummy_app/bin/ruby_parse_extract_error +17 -0
- data/spec/dummy_app/bin/sass +17 -0
- data/spec/dummy_app/bin/sass-convert +17 -0
- data/spec/dummy_app/bin/scss +17 -0
- data/spec/dummy_app/bin/sprockets +17 -0
- data/spec/dummy_app/bin/thor +17 -0
- data/spec/dummy_app/bin/tilt +17 -0
- metadata +55 -121
- data/app/assets/stylesheets/expandable_tree.scss +0 -26
- data/app/assets/stylesheets/nested_options.scss +0 -25
- data/app/assets/stylesheets/sortable_tree.scss +0 -108
- data/app/assets/stylesheets/tree.scss +0 -35
- data/app/views/sortable/client/_tree.html.erb +0 -9
- data/app/views/tree/client/_tree.html.erb +0 -23
- data/spec/dummy_app/Gemfile.lock +0 -210
- data/spec/dummy_app/_test/fixtures/admin/pages.yml +0 -7
- data/spec/dummy_app/_test/fixtures/article_categories.yml +0 -9
- data/spec/dummy_app/_test/fixtures/comments.yml +0 -13
- data/spec/dummy_app/_test/fixtures/inventory/categories.yml +0 -9
- data/spec/dummy_app/_test/functional/inventory/category_controller_test.rb +0 -14
- data/spec/dummy_app/_test/performance/browsing_test.rb +0 -12
- data/spec/dummy_app/_test/test_helper.rb +0 -13
- data/spec/dummy_app/_test/unit/admin/page_test.rb +0 -7
- data/spec/dummy_app/_test/unit/article_category_test.rb +0 -7
- data/spec/dummy_app/_test/unit/comment_test.rb +0 -7
- data/spec/dummy_app/_test/unit/helpers/inventory/category_helper_test.rb +0 -4
- data/spec/dummy_app/_test/unit/inventory/category_test.rb +0 -7
- data/spec/dummy_app/config/database.yml +0 -7
- data/spec/dummy_app/db/development.db +0 -0
- data/spec/dummy_app/db/test.db +0 -0
- data/spec/dummy_app/doc/README_FOR_APP +0 -2
- data/spec/dummy_app/script/rails +0 -6
- data/spec/dummy_app/spec/build_tree_helper.rb +0 -39
- data/spec/dummy_app/spec/spec_helper.rb +0 -52
- data/spec/dummy_app/spec/views/pages/index.html.haml_spec.rb +0 -48
- data/spec/old_tests/controlllers/controller_mixin_spec.rb +0 -49
- data/spec/old_tests/dummy/README.rdoc +0 -261
- data/spec/old_tests/dummy/Rakefile +0 -7
- data/spec/old_tests/dummy/app/assets/javascripts/application.js +0 -15
- data/spec/old_tests/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/old_tests/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/old_tests/dummy/app/controllers/tests_controller.rb +0 -3
- data/spec/old_tests/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/old_tests/dummy/config.ru +0 -4
- data/spec/old_tests/dummy/config/application.rb +0 -56
- data/spec/old_tests/dummy/config/boot.rb +0 -10
- data/spec/old_tests/dummy/config/database.yml +0 -25
- data/spec/old_tests/dummy/config/environment.rb +0 -5
- data/spec/old_tests/dummy/config/environments/development.rb +0 -37
- data/spec/old_tests/dummy/config/environments/production.rb +0 -67
- data/spec/old_tests/dummy/config/environments/test.rb +0 -37
- data/spec/old_tests/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/old_tests/dummy/config/initializers/inflections.rb +0 -15
- data/spec/old_tests/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/old_tests/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/old_tests/dummy/config/initializers/session_store.rb +0 -8
- data/spec/old_tests/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/old_tests/dummy/config/locales/en.yml +0 -5
- data/spec/old_tests/dummy/config/routes.rb +0 -3
- data/spec/old_tests/dummy/db/test.sqlite3 +0 -0
- data/spec/old_tests/dummy/log/test.log +0 -4
- data/spec/old_tests/dummy/public/404.html +0 -26
- data/spec/old_tests/dummy/public/422.html +0 -26
- data/spec/old_tests/dummy/public/500.html +0 -25
- data/spec/old_tests/dummy/public/favicon.ico +0 -0
- data/spec/old_tests/dummy/script/rails +0 -6
- 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
|