peek-rblineprof 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/README.md +3 -3
- data/app/assets/javascripts/peek/views/rblineprof.js +5 -0
- data/app/views/peek/views/_rblineprof.html.erb +5 -5
- data/lib/peek-rblineprof.rb +1 -0
- data/lib/peek-rblineprof/version.rb +1 -1
- data/lib/peek/rblineprof/controller_helpers.rb +1 -1
- metadata +17 -27
- data/app/assets/javascripts/peek/views/rblineprof.coffee +0 -6
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 15ce03460b9e00518b465efd503c69829caeaca5
|
4
|
+
data.tar.gz: 420db57a2e29e8a3ab908ea0c3be92a36f76a7a1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f67b6485f090585aa154747d38e03d59e25a715e77f45b678fefad22322b08c6bc1ac906ebd74b8c1dd857a36d0633ca8354bca8f079ab89c4094b27d14cc415
|
7
|
+
data.tar.gz: 3f583fa46648cfc819c482e2d642ea0b75f5a5ee5659c799a6308bd46a4adb8d5db253c75b5fdd6f27af01577f7e764649dee3c5138fd3f47c062b6ec2b893ea
|
data/CHANGELOG.md
CHANGED
@@ -9,3 +9,11 @@
|
|
9
9
|
# 0.1.2
|
10
10
|
|
11
11
|
- Fixed an issue where non pygmentized code blocks would not be formatted properly. #1
|
12
|
+
|
13
|
+
# 0.2.0
|
14
|
+
|
15
|
+
- Convert CoffeeScript to JavaScript - [@dewski](https://github.com/dewski)
|
16
|
+
- Fix JavaScript collapsing of files - [#7](https://github.com/peek/peek-rblineprof/pull/7) [@fedesoria](https://github.com/fedesoria)
|
17
|
+
- Use around_action instead of around_filter - [#15](https://github.com/peek/peek-rblineprof/pull/15) [@8398a7](https://github.com/8398a7)
|
18
|
+
- Use `url_for` for generating request parameters - [#11](https://github.com/peek/peek-rblineprof/pull/11) [@wa0x6e](https://github.com/wa0x6e)
|
19
|
+
- Require `peek` before loading `peek-rblineprof` - [#14](https://github.com/peek/peek-rblineprof/pull/14) [@bakunyo](https://github.com/bakunyo)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Peek::Rblineprof
|
2
2
|
|
3
|
-
Peek into how much each line of your Rails application takes throughout a request.
|
3
|
+
Peek into how much time each line of your Rails application takes throughout a request.
|
4
4
|
|
5
5
|
Things this peek view provides:
|
6
6
|
|
@@ -78,8 +78,8 @@ That's it! Now your code will look :sparkles:
|
|
78
78
|
|
79
79
|
## Contributors
|
80
80
|
|
81
|
-
- [@tmm1](https://github.com/tmm1)
|
82
|
-
- [@dewski](https://github.com/dewski)
|
81
|
+
- [@tmm1](https://github.com/tmm1) for [rblineprof](https://github.com/tmm1/rblineprof)
|
82
|
+
- [@dewski](https://github.com/dewski) for this
|
83
83
|
|
84
84
|
## Contributing
|
85
85
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<%= link_to 'Profile', :lineprofiler => true %>
|
2
2
|
<div class="peek-dropdown">
|
3
3
|
<ul>
|
4
|
-
<li><%= link_to 'app', :lineprofiler => 'app' %></li>
|
5
|
-
<li><%= link_to 'views', :lineprofiler => 'views' %></li>
|
6
|
-
<li><%= link_to 'gems', :lineprofiler => 'gems' %></li>
|
7
|
-
<li><%= link_to 'all', :lineprofiler => 'all' %></li>
|
8
|
-
<li><%= link_to 'stdlib', :lineprofiler => 'stdlib' %></li>
|
4
|
+
<li><%= link_to 'app', url_for(:lineprofiler => 'app') %></li>
|
5
|
+
<li><%= link_to 'views', url_for(:lineprofiler => 'views') %></li>
|
6
|
+
<li><%= link_to 'gems', url_for(:lineprofiler => 'gems') %></li>
|
7
|
+
<li><%= link_to 'all', url_for(:lineprofiler => 'all') %></li>
|
8
|
+
<li><%= link_to 'stdlib', url_for(:lineprofiler => 'stdlib') %></li>
|
9
9
|
</ul>
|
10
10
|
</div>
|
data/lib/peek-rblineprof.rb
CHANGED
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peek-rblineprof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Garrett Bjerkhoel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: peek
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rblineprof
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: bundler
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '1.3'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '1.3'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: Peek into how much each line of your Rails application takes throughout
|
@@ -83,13 +74,13 @@ executables: []
|
|
83
74
|
extensions: []
|
84
75
|
extra_rdoc_files: []
|
85
76
|
files:
|
86
|
-
- .gitignore
|
77
|
+
- ".gitignore"
|
87
78
|
- CHANGELOG.md
|
88
79
|
- Gemfile
|
89
80
|
- LICENSE.txt
|
90
81
|
- README.md
|
91
82
|
- Rakefile
|
92
|
-
- app/assets/javascripts/peek/views/rblineprof.
|
83
|
+
- app/assets/javascripts/peek/views/rblineprof.js
|
93
84
|
- app/assets/stylesheets/peek/views/rblineprof.scss
|
94
85
|
- app/assets/stylesheets/peek/views/rblineprof/pygments.scss
|
95
86
|
- app/views/peek/views/_rblineprof.html.erb
|
@@ -102,27 +93,26 @@ files:
|
|
102
93
|
homepage: https://github.com/peek/peek-rblineprof
|
103
94
|
licenses:
|
104
95
|
- MIT
|
96
|
+
metadata: {}
|
105
97
|
post_install_message:
|
106
98
|
rdoc_options: []
|
107
99
|
require_paths:
|
108
100
|
- lib
|
109
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
-
none: false
|
111
102
|
requirements:
|
112
|
-
- -
|
103
|
+
- - ">="
|
113
104
|
- !ruby/object:Gem::Version
|
114
105
|
version: '0'
|
115
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
107
|
requirements:
|
118
|
-
- -
|
108
|
+
- - ">="
|
119
109
|
- !ruby/object:Gem::Version
|
120
110
|
version: '0'
|
121
111
|
requirements: []
|
122
112
|
rubyforge_project:
|
123
|
-
rubygems_version:
|
113
|
+
rubygems_version: 2.5.2
|
124
114
|
signing_key:
|
125
|
-
specification_version:
|
115
|
+
specification_version: 4
|
126
116
|
summary: Peek into how much each line of your Rails application takes throughout a
|
127
117
|
request.
|
128
118
|
test_files: []
|