rails_treeview 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 67e244edbc51ef29e50710cab8dd8f5fd90ceee1
4
+ data.tar.gz: 0ba7d422d89016a99c3a46601721915817c68e77
5
+ SHA512:
6
+ metadata.gz: 8c40a3b8d42b6957d2337d54d69b5bfb78fa974be1ca01282bdef9b81c2b1112de10142319a8afe080b66d7d7bbf08e7715f30d7e0778f829af598661623489d
7
+ data.tar.gz: ff5b8051803f383d14d681589ceda7594cf948139df0cc62708dfc6c5c20fd72a9ae970b804f1f9477beacea65f8b1b2aa83a310c8b6ef0e0345de53574d131c
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'rails', '>= 3.0'
4
+
5
+ group :development do
6
+ gem "rspec", ">= 2.8.0"
7
+ gem "rdoc", ">= 3.12"
8
+ gem "bundler", ">= 1.0.0"
9
+ gem "jeweler", ">= 1.8.4"
10
+ gem "simplecov",">= 0.5"
11
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,109 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.2.8)
5
+ actionpack (= 3.2.8)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.8)
8
+ activemodel (= 3.2.8)
9
+ activesupport (= 3.2.8)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ journey (~> 1.0.4)
13
+ rack (~> 1.4.0)
14
+ rack-cache (~> 1.2)
15
+ rack-test (~> 0.6.1)
16
+ sprockets (~> 2.1.3)
17
+ activemodel (3.2.8)
18
+ activesupport (= 3.2.8)
19
+ builder (~> 3.0.0)
20
+ activerecord (3.2.8)
21
+ activemodel (= 3.2.8)
22
+ activesupport (= 3.2.8)
23
+ arel (~> 3.0.2)
24
+ tzinfo (~> 0.3.29)
25
+ activeresource (3.2.8)
26
+ activemodel (= 3.2.8)
27
+ activesupport (= 3.2.8)
28
+ activesupport (3.2.8)
29
+ i18n (~> 0.6)
30
+ multi_json (~> 1.0)
31
+ arel (3.0.2)
32
+ builder (3.0.0)
33
+ diff-lcs (1.1.3)
34
+ erubis (2.7.0)
35
+ git (1.2.5)
36
+ hike (1.2.1)
37
+ i18n (0.6.0)
38
+ jeweler (1.8.4)
39
+ bundler (~> 1.0)
40
+ git (>= 1.2.5)
41
+ rake
42
+ rdoc
43
+ journey (1.0.4)
44
+ json (1.7.5)
45
+ mail (2.4.4)
46
+ i18n (>= 0.4.0)
47
+ mime-types (~> 1.16)
48
+ treetop (~> 1.4.8)
49
+ mime-types (1.19)
50
+ multi_json (1.3.6)
51
+ polyglot (0.3.3)
52
+ rack (1.4.1)
53
+ rack-cache (1.2)
54
+ rack (>= 0.4)
55
+ rack-ssl (1.3.2)
56
+ rack
57
+ rack-test (0.6.1)
58
+ rack (>= 1.0)
59
+ rails (3.2.8)
60
+ actionmailer (= 3.2.8)
61
+ actionpack (= 3.2.8)
62
+ activerecord (= 3.2.8)
63
+ activeresource (= 3.2.8)
64
+ activesupport (= 3.2.8)
65
+ bundler (~> 1.0)
66
+ railties (= 3.2.8)
67
+ railties (3.2.8)
68
+ actionpack (= 3.2.8)
69
+ activesupport (= 3.2.8)
70
+ rack-ssl (~> 1.3.2)
71
+ rake (>= 0.8.7)
72
+ rdoc (~> 3.4)
73
+ thor (>= 0.14.6, < 2.0)
74
+ rake (0.9.2.2)
75
+ rdoc (3.12)
76
+ json (~> 1.4)
77
+ rspec (2.11.0)
78
+ rspec-core (~> 2.11.0)
79
+ rspec-expectations (~> 2.11.0)
80
+ rspec-mocks (~> 2.11.0)
81
+ rspec-core (2.11.1)
82
+ rspec-expectations (2.11.2)
83
+ diff-lcs (~> 1.1.3)
84
+ rspec-mocks (2.11.2)
85
+ simplecov (0.6.4)
86
+ multi_json (~> 1.0)
87
+ simplecov-html (~> 0.5.3)
88
+ simplecov-html (0.5.3)
89
+ sprockets (2.1.3)
90
+ hike (~> 1.2)
91
+ rack (~> 1.0)
92
+ tilt (~> 1.1, != 1.3.0)
93
+ thor (0.16.0)
94
+ tilt (1.3.3)
95
+ treetop (1.4.10)
96
+ polyglot
97
+ polyglot (>= 0.3.1)
98
+ tzinfo (0.3.33)
99
+
100
+ PLATFORMS
101
+ ruby
102
+
103
+ DEPENDENCIES
104
+ bundler (>= 1.0.0)
105
+ jeweler (>= 1.8.4)
106
+ rails (>= 3.0)
107
+ rdoc (>= 3.12)
108
+ rspec (>= 2.8.0)
109
+ simplecov (>= 0.5)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Kristian Mandrup
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,161 @@
1
+ Easy as pie
2
+ ==============
3
+
4
+ A little Rails wrapper for [treeview](https://github.com/Nahrae/rails_treeview) which adds the assets to the asset pipeline and adds some useful Rails helpers.
5
+
6
+ Usage
7
+ -----------
8
+
9
+ In Gemfile:
10
+
11
+ `gem 'rails_treeview'`
12
+
13
+ Configuration
14
+ -----------
15
+
16
+ In `application.css` manifest file:
17
+
18
+ ```css
19
+ /*
20
+ * require rails-treeview
21
+ */
22
+ ```
23
+
24
+ Using Compass, f.ex in `application.css.scss.erb`
25
+
26
+ ```
27
+ @import 'rails-treeview';
28
+ ```
29
+
30
+ In `application.js` manifest file:
31
+
32
+ ```javascript
33
+ //= require rails-treeview
34
+ ```
35
+
36
+ Optionally include `excanvas` as well, which can be used if/when canvas is not available!
37
+
38
+ Rails treeview
39
+ -----------
40
+
41
+ Rails treeview is a jQuery plugin that uses the canvas element to render simple treeview for single values.
42
+ These chars are highly customizable and very easy to implement.
43
+
44
+
45
+ Get started
46
+ -----------
47
+
48
+ Follow Configuration instructions above and also include jQuery 1.7+.
49
+
50
+ Add the treeview element to your site to represent treeview:
51
+
52
+ <div class="treeview"></div>
53
+
54
+ The engine adds a view helper `rails_treeview(percent, label = nil)` to all Rails views ;)
55
+ Use as follows
56
+
57
+ Simple HAML example:
58
+
59
+ ```haml
60
+ = rails_treeview 73
61
+ ```
62
+
63
+ ERB examples:
64
+
65
+ Or with a custom label:
66
+
67
+ ```erb
68
+ <%= rails_treeview (6/24.0 * 100), '6 done' %>
69
+ ```
70
+
71
+ Customize `div` options, fx css `class`:
72
+
73
+ ```erb
74
+ <%= rails_treeview (6/24.0 * 100), '6 done', :class => 'treeview' %>
75
+ ```
76
+
77
+ Finally you have to initialize the plugin with your desired configuration:
78
+
79
+ ```javascript
80
+ $(document).ready(function() {
81
+ $('.treeview').treeview({
82
+ //your configuration goes here
83
+ });
84
+ });
85
+ ```
86
+
87
+ Configuration parameter
88
+ -----------------------
89
+
90
+ You can pass a set of these options to the initialize function to set a custom behaviour and look for the plugin.
91
+
92
+ <table>
93
+ <tr>
94
+ <th>Property (Type)</th>
95
+ <th>Default</th>
96
+ <th>Description</th>
97
+ </tr>
98
+ <tr>
99
+ <td><strong>barColor</strong></td>
100
+ <td>#ef1e25</td>
101
+ <td>The color of the circular bar. You can pass either a css valid color string like rgb, rgba hex or string colors. But you can also pass a function that accepts the current percentage as a value to return a dynamically generated color.</td>
102
+ </tr>
103
+ <tr>
104
+ <td><strong>trackColor</strong></td>
105
+ <td>#f2f2f2</td>
106
+ <td>The color of the track for the bar, false to disable rendering.</td>
107
+ </tr>
108
+ <tr>
109
+ <td><strong>scaleColor</strong></td>
110
+ <td>#dfe0e0</td>
111
+ <td>The color of the scale lines, false to disable rendering.</td>
112
+ </tr>
113
+ <tr>
114
+ <td><strong>lineCap</strong></td>
115
+ <td>round</td>
116
+ <td>Defines how the ending of the bar line looks like. Possible values are: <code>butt</code>, <code>round</code> and <code>square</code>.</td>
117
+ </tr>
118
+ <tr>
119
+ <td><strong>lineWidth</strong></td>
120
+ <td>3</td>
121
+ <td>Width of the bar line in px.</td>
122
+ </tr>
123
+ <tr>
124
+ <td><strong>size</strong></td>
125
+ <td>110</td>
126
+ <td>Size of the treeview in px. It will always be a square.</td>
127
+ </tr>
128
+ <tr>
129
+ <td><strong>animate</strong></td>
130
+ <td>false</td>
131
+ <td>Time in milliseconds for a eased animation of the bar growing, or false to deactivate.</td>
132
+ </tr>
133
+ <tr>
134
+ <td><strong>onStart</strong></td>
135
+ <td>$.noop</td>
136
+ <td>Callback function that is called at the start of any animation (only if animate is not false).</td>
137
+ </tr>
138
+ <tr>
139
+ <td><strong>onStop</strong></td>
140
+ <td>$.noop</td>
141
+ <td>Callback function that is called at the end of any animation (only if animate is not false).</td>
142
+ </tr>
143
+ </table>
144
+
145
+ Public plugin methods
146
+ -----------
147
+
148
+ If you want to update the current percentage of the a treeview, you can call the `update method. The instance of the plugin is saved in the jQuery-data.
149
+
150
+
151
+
152
+ ## Contributing to rails_treeview
153
+
154
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
155
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
156
+ * Fork the project.
157
+ * Start a feature/bugfix branch.
158
+ * Commit and push until you are happy with your contribution.
159
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
160
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
161
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "rails_treeview"
18
+ gem.homepage = "http://github.com/kristianmandrup/rails_treeview"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Rails asset wrapper for treeview}
21
+ gem.description = %Q{Makes it easy to add treeview to Rails 3+ apps}
22
+ gem.email = "kmandrup@gmail.com"
23
+ gem.authors = ["Kristian Mandrup"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "rails_treeview #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.2
@@ -0,0 +1,9 @@
1
+ module EasyAsPie
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ initializer 'easy as pie config' do
5
+ ActionView::Base.send :include, EasyAsPie::ViewHelper
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,17 @@
1
+ module EasyAsPie
2
+ module ViewHelper
3
+
4
+ # <div class="treeview" data-percent="73">73%</div>
5
+ def rails_treeview percent, *args
6
+ raise ArgumentError, "Must take a percent argument" unless percent
7
+ pie_options = {:"data-percent" => percent, :class => 'treeview'}
8
+
9
+ options = args.extract_options!
10
+ pie_options.merge!(options || {})
11
+
12
+ label = args.first || "#{percent}%"
13
+
14
+ content_tag :div, label, pie_options
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,2 @@
1
+ require 'rails_treeview/view_helper'
2
+ require 'rails_treeview/engine' if defined?(::Rails::Engine)
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "rails_treeview"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Nahrae Jin"]
12
+ s.date = "2015-01-02"
13
+ s.description = "Makes it easy to add treeview to Rails 4+ apps"
14
+ s.email = "jinnahrae@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "rails_treeview.gemspec",
29
+ "lib/rails_treeview.rb",
30
+ "lib/rails_treeview/engine.rb",
31
+ "lib/rails_treeview/view_helper.rb",
32
+ "spec/rails_treeview/view_helper_spec.rb",
33
+ "spec/spec_helper.rb",
34
+ "vendor/assets/javascripts/rails-treeview.js",
35
+ "vendor/assets/javascripts/rails-treeview.js.coffee",
36
+ "vendor/assets/stylesheets/rails-treeview.css",
37
+ "vendor/assets/images/icons.png"
38
+ ]
39
+ s.homepage = "http://github.com/Nahrae/rails_treeview"
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = "1.8.24"
43
+ s.summary = "Rails asset wrapper for treeview"
44
+
45
+ if s.respond_to? :specification_version then
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_runtime_dependency(%q<rails>, [">= 3.0"])
50
+ s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
51
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
52
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
53
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
54
+ s.add_development_dependency(%q<simplecov>, [">= 0.5"])
55
+ else
56
+ s.add_dependency(%q<rails>, [">= 3.0"])
57
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
58
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
59
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
60
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
61
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
62
+ end
63
+ else
64
+ s.add_dependency(%q<rails>, [">= 3.0"])
65
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
66
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
67
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
68
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
69
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
70
+ end
71
+ end
72
+
File without changes
@@ -0,0 +1,46 @@
1
+ # coding: utf-8
2
+ require 'rubygems'
3
+ require 'rails'
4
+ require 'json'
5
+ require 'active_support'
6
+ require 'action_pack'
7
+ require 'action_view'
8
+ require 'action_controller'
9
+ require 'action_view/template'
10
+
11
+ require 'rspec'
12
+ require 'rails_treeview'
13
+
14
+ # WorldFlags::Rails::Engine.add_view_ext
15
+
16
+ SPEC_DIR = File.dirname(__FILE__)
17
+
18
+ module ControllerTestHelpers
19
+
20
+ def self.included(base)
21
+ base.class_eval do
22
+
23
+ include ActionView::Helpers,
24
+ ActionView::Helpers::CaptureHelper,
25
+ ActionView::Helpers::JavaScriptHelper,
26
+ ActionView::Helpers::AssetTagHelper
27
+
28
+ # allow tabs.create to run by stubbing an output_buffer
29
+ attr_accessor :output_buffer
30
+ @output_buffer = ""
31
+
32
+ # stub content_for for testing
33
+ def content_for(name, content = nil, &block)
34
+ # this doesn't exist, and causes errors
35
+ @_content_for = {} unless defined? @_content_for
36
+ # we've got to initialize this, so we can concat to it
37
+ @_content_for[name] = '' if @_content_for[name].nil?
38
+ # now the rest is the same as in rails
39
+ content = capture(&block) if block_given?
40
+ @_content_for[name] << content if content
41
+ @_content_for[name] unless content
42
+ end
43
+ end
44
+ end
45
+
46
+ end
Binary file
@@ -0,0 +1,6 @@
1
+ $(document).delegate('.expander','click',function(){
2
+ $(this).toggleClass('expanded')
3
+ .nextAll('ul:first').toggleClass('expanded');
4
+ window.myScroll.refresh();
5
+ return true;
6
+ });
@@ -0,0 +1,4 @@
1
+ $(document).delegate ".expander", "click", ->
2
+ $(this).toggleClass("expanded").nextAll("ul:first").toggleClass "expanded"
3
+ window.myScroll.refresh()
4
+ true
@@ -0,0 +1,69 @@
1
+ .tree {
2
+ margin: 10px 0 0 4px;
3
+ }
4
+ .search-icon{
5
+ background: #fff url(/images/search-icon.png?_=1) no-repeat scroll;
6
+ width: 20px;
7
+ height: 20px;
8
+ position: absolute;
9
+ top: 36px;
10
+ left: 13px;
11
+ }
12
+ .tree,.tree ul {
13
+ list-style-type: none;
14
+ position: relative;
15
+ padding: 0;
16
+ cursor: default;
17
+ border-left: 1px dotted #999;
18
+ }
19
+ .tree ul {
20
+ margin: 0;
21
+ display: none;
22
+ }
23
+ .tree li {
24
+ position: relative;
25
+ margin: 0 0 0 20px;
26
+ padding: 2px 0 2px 0;
27
+ background: #fff url(icons.png?_=1) no-repeat scroll;
28
+ background-position: -124px 4px;
29
+ cursor: pointer;
30
+ text-indent: 28px;
31
+ }
32
+ /* extend a line to the list item */
33
+ .tree li:before {
34
+ position: absolute;
35
+ top: 12px;
36
+ left: -20px;
37
+ height: 10px;
38
+ width: 22px;
39
+ border-top: 1px dotted #999;
40
+ content: ' ';
41
+ }
42
+
43
+ /* erase all lines for last item */
44
+ .tree li:last-child:after {
45
+ position: absolute;
46
+ top: 13px;
47
+ left: -23px;
48
+ bottom: 0;
49
+ width: 6px;
50
+ background-color: white;
51
+ content: ' ';
52
+ }
53
+ /* add expander widget */
54
+ .tree .expander {
55
+ background-position: -124px -4px;
56
+ position: absolute;
57
+ top: 2px;
58
+ left: -20px;
59
+ height: 19px;
60
+ width: 129px;
61
+ cursor: pointer;
62
+ }
63
+ .tree .expander::before{
64
+
65
+ }
66
+
67
+ .tree .expander:hover { }
68
+ .tree .expander.expanded { background-position: -124px -4px; }
69
+ .tree ul.expanded { display: block; }
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_treeview
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Nahrae Jin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.8.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.8.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '3.12'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.8.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 1.8.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0.5'
97
+ description: Makes it easy to add treeview to Rails 4+ apps
98
+ email: jinnahrae@gmail.com
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files:
102
+ - LICENSE.txt
103
+ - README.md
104
+ files:
105
+ - ".document"
106
+ - ".rspec"
107
+ - Gemfile
108
+ - Gemfile.lock
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - VERSION
113
+ - lib/rails_treeview.rb
114
+ - lib/rails_treeview/engine.rb
115
+ - lib/rails_treeview/view_helper.rb
116
+ - rails_treeview.gemspec
117
+ - spec/rails_treeview/view_helper_spec.rb
118
+ - spec/spec_helper.rb
119
+ - vendor/assets/images/icons.png
120
+ - vendor/assets/javascripts/rails-treeview.js
121
+ - vendor/assets/javascripts/rails-treeview.js.coffee
122
+ - vendor/assets/stylesheets/rails-treeview.css
123
+ homepage: http://github.com/Nahrae/rails_treeview
124
+ licenses:
125
+ - MIT
126
+ metadata: {}
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.2.2
144
+ signing_key:
145
+ specification_version: 3
146
+ summary: Rails asset wrapper for treeview
147
+ test_files: []