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
@@ -7,9 +7,9 @@ module TheSortableTreeHelper
7
7
 
8
8
  # Default renderers
9
9
  TREE_RENDERERS = {
10
- :tree => RenderTreeHelper,
11
- :sortable => RenderSortableTreeHelper,
12
- :expandable => RenderExpandableTreeHelper,
10
+ :tree => RenderTreeHelper,
11
+ :sortable => RenderSortableTreeHelper,
12
+ :expandable => RenderExpandableTreeHelper,
13
13
  :nested_options => RenderNestedOptionsHelper
14
14
  }
15
15
 
data/gem_version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TheSortableTree
2
- VERSION = "2.6.1"
2
+ VERSION = "2.6.2"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '~> 4.1.0'
3
+ gem 'rails', '4.2'
4
4
  gem 'sqlite3'
5
5
 
6
6
  gem 'json'
@@ -10,13 +10,16 @@ gem 'jquery-rails'
10
10
  gem 'jquery-ui-rails'
11
11
 
12
12
  gem 'quiet_assets'
13
+ gem 'sass-rails'
13
14
 
14
15
  gem 'awesome_nested_set', github: "collectiveidea/awesome_nested_set"
15
16
  gem 'the_sortable_tree', path: '../../'
17
+ # gem 'the_sortable_tree', '2.6.1'
18
+
19
+ gem 'protozaur', github: "the-teacher/protozaur"
16
20
 
17
21
  group :assets do
18
22
  gem 'uglifier'
19
- gem 'sass-rails'
20
23
  gem 'coffee-rails'
21
24
  end
22
25
 
@@ -37,4 +40,4 @@ end
37
40
  group :test do
38
41
  gem 'factory_girl'
39
42
  gem 'database_cleaner'
40
- end
43
+ end
@@ -1,48 +1,38 @@
1
- ## TheSortableTree Test Application
1
+ ## TheSortableTree Test Application
2
2
 
3
- #### Ruby 2.0.0p247 + Rails 4 + Haml 4 + the_sortable_tree (2.3.0)
3
+ * Ruby 2.3.3
4
+ * Rails 4
5
+ * Haml 4
6
+ * the_sortable_tree
4
7
 
8
+ ### Setup the App
5
9
 
6
- ### Install App and try to use TheSortableTree
10
+ 1. Copy and configure `database.yml`
7
11
 
8
- Create Database config file
12
+ ```
13
+ cp config/database.yml.example config/database.yml
14
+ ```
9
15
 
10
- ```
11
- cp config/database.yml.example config/database.yml
12
- ```
16
+ 2. Create DB and Seeds for development
13
17
 
14
- Create Database and Test data
18
+ ```
19
+ rake db:bootstrap_and_seed
20
+ ```
15
21
 
16
- ```
17
- rake db:bootstrap_and_seed
18
- ```
22
+ 3. Launch the App
19
23
 
20
- Start Rails 4
24
+ ```
25
+ bin/rails s
26
+ ```
21
27
 
22
- ```
23
- rails s
24
- ```
28
+ or
25
29
 
26
- or
30
+ ```
31
+ bin/rails s -p 3000 -b site.com
32
+ ```
27
33
 
28
- ```
29
- rails s -p 3000 -b site.com
30
- ```
34
+ 4. Visit the Index page
31
35
 
32
- Open browser
33
-
34
- ```
35
- localhost:3000
36
- ```
37
-
38
- ### How to run tests for TheSortable tree
39
-
40
- ```ruby
41
- git clone git@github.com:the-teacher/the_sortable_tree.git
42
- cd the_sortable_tree/spec/dummy_app/
43
-
44
- # cp config/database.yml.example config/database.yml
45
-
46
- rake db:bootstrap RAILS_ENV=test
47
- rspec
48
- ```
36
+ ```
37
+ localhost:3000
38
+ ```
@@ -1,20 +1,16 @@
1
1
  /*
2
- // This is a manifest file that'll be compiled into including all the files listed below.
3
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
4
- // be included in the compiled file accessible from http://example.com/assets/application.js
5
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
6
- // the compiled file.
7
-
8
2
  //= require jquery
9
3
  //= require jquery_ujs
10
4
  //= require jquery-ui/core
11
5
  //= require jquery-ui/sortable
12
-
13
- //= require jquery.ui.nestedSortable
14
- //= require sortable_tree/initializer
15
6
 
16
- //= require expandable_tree/jquery.cookie
17
- //= require expandable_tree/restorable
18
- //= require expandable_tree/hashchange
19
- //= require expandable_tree/initializer
7
+ //= require the_sortable_tree/jquery.ui.nestedSortable
8
+
9
+ //= require the_sortable_tree/sortable_ui/base
10
+ //= require the_sortable_tree/sortable_ui/initializer
11
+
12
+ //= require the_sortable_tree/expandable_tree/jquery.cookie
13
+ //= require the_sortable_tree/expandable_tree/restorable
14
+ //= require the_sortable_tree/expandable_tree/hashchange
15
+ //= require the_sortable_tree/expandable_tree/initializer
20
16
  */
@@ -1,11 +1,10 @@
1
1
  /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *= require_self
2
+ //= require ptz/reset
3
+ //= require ptz/base
4
+ //= require ptz/framework
6
5
 
7
- *= require tree
8
- *= require sortable_tree
9
- *= require nested_options
10
- *= require expandable_tree
11
- */
6
+ //= require the_sortable_tree/sortable_ui/base
7
+
8
+ //= require the_sortable_tree/tree
9
+ //= require the_sortable_tree/expandable_tree
10
+ */
@@ -2,7 +2,5 @@
2
2
  = stylesheet_link_tag :tree
3
3
 
4
4
  %h1 Admin::Pages#index
5
-
6
5
  %p= link_to raw('← back'), '/'
7
-
8
- %ol.tree= build_server_tree @pages
6
+ %ol.tst_tree= build_server_tree @pages
@@ -1,3 +1,3 @@
1
1
  %p= link_to raw('← back'), '/'
2
- %ol.sortable_tree{ data: { rebuild_url: rebuild_admin_pages_url } }
3
- = build_server_tree @pages, type: :sortable
2
+ %ol.the_sortable_tree{ data: { rebuild_url: rebuild_admin_pages_url } }
3
+ = build_server_tree @pages, type: :sortable
@@ -1,3 +1,3 @@
1
1
  %p= link_to raw('← back'), '/'
2
- %ol.sortable_tree{ data: { rebuild_url: rebuild_admin_pages_url } }
2
+ %ol.the_sortable_tree{ data: { rebuild_url: rebuild_admin_pages_url } }
3
3
  = build_server_tree @pages, type: :sortable
@@ -2,7 +2,7 @@
2
2
 
3
3
  %p= link_to raw('← back'), '/'
4
4
 
5
- %ol.sortable_tree{ :data => { :rebuild_url => rebuild_pages_url } }
5
+ %ol.the_sortable_tree{ :data => { :rebuild_url => rebuild_pages_url } }
6
6
  = build_server_tree @pages, :type => :sortable
7
7
 
8
8
  %h2 Root:
@@ -1,3 +1,3 @@
1
1
  %p= link_to raw('← back'), '/'
2
2
 
3
- %ol.tree= build_server_tree @article_categories
3
+ %ol.tst_tree= build_server_tree @article_categories
@@ -1,4 +1,4 @@
1
1
  %p= link_to raw('← back'), '/'
2
2
 
3
- %ol.sortable_tree{ :data => { :max_levels => 3, :rebuild_url => rebuild_article_categories_url } }
3
+ %ol.the_sortable_tree{ :data => { :max_levels => 3, :rebuild_url => rebuild_article_categories_url } }
4
4
  = build_server_tree @article_categories, :type => :sortable
@@ -1,3 +1,2 @@
1
1
  %p= link_to raw('← back'), '/'
2
-
3
- %ol.tree= build_server_tree @inventory_categories
2
+ %ol.tst_tree= build_server_tree @inventory_categories
@@ -1,4 +1,4 @@
1
1
  %p= link_to raw('← back'), '/'
2
2
 
3
- %ol.sortable_tree{ data: { max_levels: 3, rebuild_url: rebuild_inventory_categories_url } }
3
+ %ol.the_sortable_tree{ data: { max_levels: 3, rebuild_url: rebuild_inventory_categories_url } }
4
4
  = build_server_tree @inventory_categories, type: :sortable
@@ -12,7 +12,11 @@
12
12
  </head>
13
13
  <body>
14
14
 
15
- <%= yield %>
15
+ <div class='ma w80p p20'>
16
+ <%= yield %>
17
+ </div>
16
18
 
17
19
  </body>
20
+
21
+ <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
18
22
  </html>
@@ -4,5 +4,5 @@
4
4
 
5
5
  Count: #{ @pages.to_a.count }
6
6
 
7
- %ol.sortable_tree.expandable{ data: { max_levels: 5, rebuild_url: rebuild_pages_url, expand_node_url: expand_node_pages_url, cookie_store: :true, cookie_scope: @pages.first.class } }
7
+ %ol.the_sortable_tree.expandable{ data: { max_levels: 5, rebuild_url: rebuild_pages_url, expand_node_url: expand_node_pages_url, cookie_store: :true, cookie_scope: @pages.first.class } }
8
8
  = expandable_tree @pages
@@ -1 +1 @@
1
- %ol.nested_set= expandable_tree @children
1
+ %ol.the_sotrable_tree-nested_set= expandable_tree @children
@@ -1,3 +1,2 @@
1
1
  %p= link_to raw('&larr; back'), '/'
2
-
3
- %ol.tree= just_tree @pages
2
+ %ol.tst_tree= just_tree @pages
@@ -1,8 +1,9 @@
1
- %p= link_to raw('&larr; back'), '/'
1
+ .ma.w800
2
+ %p.mb20= link_to raw('&larr; back'), '/'
3
+ %p.mb20= link_to 'Create New Page', new_page_path
2
4
 
3
- %p= link_to 'Create New Page', new_page_path
5
+ .fs18.mb20
6
+ Count: #{ @pages.to_a.count }
4
7
 
5
- Count: #{ @pages.to_a.count }
6
-
7
- %ol.sortable_tree{ data: { rebuild_url: rebuild_pages_url } }
8
- = sortable_tree @pages, namespace: :admin
8
+ %ol.the_sortable_tree{ data: { rebuild_url: rebuild_pages_url } }
9
+ = sortable_tree @pages, namespace: :admin
@@ -1,3 +1,4 @@
1
- %p= link_to raw('&larr; back'), '/'
1
+ .ma.w800
2
+ %p= link_to raw('&larr; back'), '/'
2
3
 
3
- = select_tag :pages, nested_options(@pages, selected: @pages.last), class: :nested_options
4
+ = select_tag :pages, nested_options(@pages, selected: @pages.last), class: :nested_options
@@ -1,40 +1,41 @@
1
- %h1 Welcome to TheSortableTree test application!
1
+ .w800.ma.fs16.ffa.lh150
2
+ %h1.mb30 Welcome to TheSortableTree test application!
2
3
 
3
- %h4 Default views
4
+ %h4.mb20 Default views
4
5
 
5
- %h5 Pages (model Pages)
6
+ %h5.mb20 Pages (model Pages)
6
7
 
7
- %ul
8
- %li= link_to 'pages/index (just tree)', pages_path
9
- %li= link_to 'pages/nested_options', nested_options_pages_path
10
- %li= link_to 'pages/manage (sortable tree)', manage_pages_path
11
- %li= link_to 'pages/node_manage (sortable tree)', node_manage_pages_path
12
- %li= link_to 'pages/expand (expandable tree)', expand_pages_path
8
+ %ul.ml40.mb20
9
+ %li= link_to 'pages/index (just tree)', pages_path
10
+ %li= link_to 'pages/nested_options', nested_options_pages_path
11
+ %li= link_to 'pages/manage (sortable tree)', manage_pages_path
12
+ %li= link_to 'pages/node_manage (sortable tree)', node_manage_pages_path
13
+ %li= link_to 'pages/expand (expandable tree)', expand_pages_path
13
14
 
14
- %h5 Admin::Pages (model Admin::Pages + namespace :admin)
15
+ %h5.mb20 Admin::Pages (model Admin::Pages + namespace :admin)
15
16
 
16
- %ul
17
- %li= link_to '/admin/pages/index (just tree)', admin_pages_path
18
- %li= link_to '/admin/pages/nested_options', nested_options_admin_pages_path
19
- %li= link_to '/admin/pages/manage (sortable tree)', manage_admin_pages_path
20
- %li= link_to '/admin/pages/node_manage (sortable tree)', node_manage_admin_pages_path
17
+ %ul.ml40.mb20
18
+ %li= link_to '/admin/pages/index (just tree)', admin_pages_path
19
+ %li= link_to '/admin/pages/nested_options', nested_options_admin_pages_path
20
+ %li= link_to '/admin/pages/manage (sortable tree)', manage_admin_pages_path
21
+ %li= link_to '/admin/pages/node_manage (sortable tree)', node_manage_admin_pages_path
21
22
 
22
- %h5 Сompound model name (Inventory::Category)
23
+ %h5.mb20 Сompound model name (Inventory::Category)
23
24
 
24
- %ul
25
- %li= link_to 'inventory/categories/index', inventory_categories_path
26
- %li= link_to 'inventory/categories/manage (sortable tree)', manage_inventory_categories_path
25
+ %ul.ml40.mb20
26
+ %li= link_to 'inventory/categories/index', inventory_categories_path
27
+ %li= link_to 'inventory/categories/manage (sortable tree)', manage_inventory_categories_path
27
28
 
28
- %h5 Сompound model name (ArticleCategory)
29
+ %h5.mb20 Сompound model name (ArticleCategory)
29
30
 
30
- %ul
31
- %li= link_to 'article_categories/index', article_categories_path
32
- %li= link_to 'article_categories/manage (sortable tree)', manage_article_categories_path
31
+ %ul.ml40.mb20
32
+ %li= link_to 'article_categories/index', article_categories_path
33
+ %li= link_to 'article_categories/manage (sortable tree)', manage_article_categories_path
33
34
 
34
- %h4 Customized views
35
+ -# %h4 Customized views
35
36
 
36
- -#
37
- %ul
38
- %li= link_to 'comments/index (min)', comments_path
39
- %li= link_to 'comments/manage (sortable tree)', manage_comments_path
40
- %li= link_to 'comments/manage (Tree of Comments)', comments_comments_path
37
+ -#
38
+ %ul
39
+ %li= link_to 'comments/index (min)', comments_path
40
+ %li= link_to 'comments/manage (sortable tree)', manage_comments_path
41
+ %li= link_to 'comments/manage (Tree of Comments)', comments_comments_path
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'bundler' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("bundler", "bundler")
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'coderay' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("coderay", "coderay")
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'erubis' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("erubis", "erubis")
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'haml' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("haml", "haml")