jquery-simpletree-rails 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eee1ac67e88c2e63df787780b2a858108284feb
|
4
|
+
data.tar.gz: 59b3f95390a3fcba2150002f9989cde512537b7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f61011297743bc4ca091e1d98376ddd127bd53272b42841f0d58aa20d101ad73da81e8f7a59ea07a321b4b4e891824684205dbe734a07042021d9f1e3b7b345
|
7
|
+
data.tar.gz: ff0d0fa181a30d6d289ed92b035062ee8b0689dbd5e4ccc3642928ed4324635eda0ec999f4e9ad880052639236c4fc16d2decbddf0b30b7ed8b756ae4ecc23ee
|
data/README.md
CHANGED
@@ -18,10 +18,33 @@ $ bundle install
|
|
18
18
|
|
19
19
|
Add this to 'app/assets/javascripts/application.js':
|
20
20
|
|
21
|
-
|
21
|
+
```
|
22
|
+
//= require simpleTree/jquery.simpletree
|
23
|
+
```
|
22
24
|
|
23
25
|
Add this to 'app/assets/stylesheets/application.css':
|
24
26
|
|
25
|
-
|
27
|
+
```
|
28
|
+
*= require simpleTree/_simpleTree
|
29
|
+
```
|
30
|
+
|
31
|
+
Or, if you use scss:
|
32
|
+
|
33
|
+
```scss
|
34
|
+
@import 'simpleTree/simpleTree';
|
35
|
+
```
|
36
|
+
|
37
|
+
to 'app/assets/stylesheets/application.scss'.
|
26
38
|
|
27
39
|
That's it!
|
40
|
+
|
41
|
+
Now, to apply the treeview, you need to manage from your JavaScript code, for instance:
|
42
|
+
|
43
|
+
```javascript
|
44
|
+
$(document).ready(function(){
|
45
|
+
$('ul.treeview').simpleTree();
|
46
|
+
});
|
47
|
+
|
48
|
+
```
|
49
|
+
|
50
|
+
Please have a look to https://github.com/mauntrelio/jquery-simpletree/ for further information about APIs (collapse, expand, repaint, etc..);
|
File without changes
|
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["maurizio@imanetti.net"]
|
11
11
|
|
12
12
|
spec.homepage = "https://github.com/mauntrelio/jquery-simpletree-rails"
|
13
|
-
spec.summary = %q{Use jQuery simpleTree with Rails 3.1
|
14
|
-
spec.description = %q{This gem provides jQuery simpleTree for Rails 3.1
|
13
|
+
spec.summary = %q{Use jQuery simpleTree with Rails > 3.1}
|
14
|
+
spec.description = %q{This gem provides jQuery simpleTree for Rails > 3.1 applications}
|
15
15
|
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-simpletree-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maurizio Manetti
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03
|
11
|
+
date: 2017-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description: This gem provides jQuery simpleTree for Rails 3.1
|
55
|
+
description: This gem provides jQuery simpleTree for Rails > 3.1 applications
|
56
56
|
email:
|
57
57
|
- maurizio@imanetti.net
|
58
58
|
executables: []
|
@@ -71,7 +71,7 @@ files:
|
|
71
71
|
- app/assets/images/simpleTree/plus.gif
|
72
72
|
- app/assets/images/simpleTree/vdot.gif
|
73
73
|
- app/assets/javascripts/simpleTree/jquery.simpletree.js
|
74
|
-
- app/assets/stylesheets/simpleTree/
|
74
|
+
- app/assets/stylesheets/simpleTree/_simpleTree.scss
|
75
75
|
- jquery-simpletree-rails.gemspec
|
76
76
|
- lib/jquery-simpletree-rails.rb
|
77
77
|
- lib/jquery/simpletree/rails.rb
|
@@ -97,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.4.8
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
|
-
summary: Use jQuery simpleTree with Rails 3.1
|
103
|
+
summary: Use jQuery simpleTree with Rails > 3.1
|
104
104
|
test_files: []
|