rails-idle 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/LICENSE +22 -0
- data/lib/rails-idle.rb +68 -0
- data/lib/rails-idle/collector.rb +21 -0
- data/lib/rails-idle/collector/base.rb +39 -0
- data/lib/rails-idle/collector/views.rb +92 -0
- data/lib/rails-idle/init.rb +22 -0
- data/lib/rails-idle/railtie.rb +9 -0
- data/lib/rails-idle/report.rb +42 -0
- data/lib/rails-idle/storage.rb +9 -0
- data/lib/rails-idle/storage/base.rb +33 -0
- data/lib/rails-idle/storage/rails_cache.rb +39 -0
- data/lib/rails-idle/tree_builder.rb +33 -0
- data/lib/rails-idle/version.rb +3 -0
- data/lib/rails-idle/web.rb +23 -0
- data/lib/rails-idle/web_helpers.rb +49 -0
- data/rails-idle.gemspec +22 -0
- data/web/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/web/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/web/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/web/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/web/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/web/assets/javascripts/jquery.min.js +4 -0
- data/web/assets/javascripts/jquery.treegrid.bootstrap3.js +4 -0
- data/web/assets/javascripts/jquery.treegrid.min.js +2 -0
- data/web/assets/stylesheets/bootstrap.min.css +5 -0
- data/web/assets/stylesheets/jquery.treegrid.css +6 -0
- data/web/views/dashboard.haml +21 -0
- data/web/views/layout.haml +18 -0
- metadata +114 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
!!! 5
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%title Rails Idle
|
5
|
+
%link{href: "#{root_path}stylesheets/bootstrap.min.css", media:'screen', rel: 'stylesheet', type: 'text/css'}
|
6
|
+
%link{href: "#{root_path}stylesheets/jquery.treegrid.css", media:'screen', rel: 'stylesheet', type: 'text/css'}
|
7
|
+
%script{src: "#{root_path}javascripts/jquery.min.js"}
|
8
|
+
%script{src: "#{root_path}javascripts/jquery.treegrid.min.js"}
|
9
|
+
%script{src: "#{root_path}javascripts/jquery.treegrid.bootstrap3.js"}
|
10
|
+
:javascript
|
11
|
+
$(document).ready(function() {
|
12
|
+
$('.tree').treegrid();
|
13
|
+
$('.treegrid-1').treegrid('collapseAll');
|
14
|
+
$('.treegrid-1').treegrid('expand');
|
15
|
+
});
|
16
|
+
%body
|
17
|
+
.container
|
18
|
+
= yield
|
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails-idle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vitalik Danchenko
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
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: sinatra
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: haml
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Gem detects usage of template(views, partials) rendering
|
56
|
+
email: vitalik.danchenko@gmail.com
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- ".gitignore"
|
62
|
+
- LICENSE
|
63
|
+
- lib/rails-idle.rb
|
64
|
+
- lib/rails-idle/collector.rb
|
65
|
+
- lib/rails-idle/collector/base.rb
|
66
|
+
- lib/rails-idle/collector/views.rb
|
67
|
+
- lib/rails-idle/init.rb
|
68
|
+
- lib/rails-idle/railtie.rb
|
69
|
+
- lib/rails-idle/report.rb
|
70
|
+
- lib/rails-idle/storage.rb
|
71
|
+
- lib/rails-idle/storage/base.rb
|
72
|
+
- lib/rails-idle/storage/rails_cache.rb
|
73
|
+
- lib/rails-idle/tree_builder.rb
|
74
|
+
- lib/rails-idle/version.rb
|
75
|
+
- lib/rails-idle/web.rb
|
76
|
+
- lib/rails-idle/web_helpers.rb
|
77
|
+
- rails-idle.gemspec
|
78
|
+
- web/assets/fonts/glyphicons-halflings-regular.eot
|
79
|
+
- web/assets/fonts/glyphicons-halflings-regular.svg
|
80
|
+
- web/assets/fonts/glyphicons-halflings-regular.ttf
|
81
|
+
- web/assets/fonts/glyphicons-halflings-regular.woff
|
82
|
+
- web/assets/fonts/glyphicons-halflings-regular.woff2
|
83
|
+
- web/assets/javascripts/jquery.min.js
|
84
|
+
- web/assets/javascripts/jquery.treegrid.bootstrap3.js
|
85
|
+
- web/assets/javascripts/jquery.treegrid.min.js
|
86
|
+
- web/assets/stylesheets/bootstrap.min.css
|
87
|
+
- web/assets/stylesheets/jquery.treegrid.css
|
88
|
+
- web/views/dashboard.haml
|
89
|
+
- web/views/layout.haml
|
90
|
+
homepage: https://github.com/vitalikdanchenko/rails-idle
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.9.3
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.4.5
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Rails Idle
|
114
|
+
test_files: []
|