rack-mini-profiler 0.1.22 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack-mini-profiler might be problematic. Click here for more details.

Files changed (35) hide show
  1. checksums.yaml +7 -0
  2. data/Ruby/CHANGELOG +69 -35
  3. data/Ruby/README.md +47 -9
  4. data/Ruby/lib/html/flamegraph.html +351 -0
  5. data/Ruby/lib/html/includes.css +451 -75
  6. data/Ruby/lib/html/includes.js +134 -23
  7. data/Ruby/lib/html/includes.less +38 -35
  8. data/Ruby/lib/html/includes.tmpl +40 -15
  9. data/Ruby/lib/html/jquery.1.7.1.js +1 -1
  10. data/Ruby/lib/html/jquery.tmpl.js +1 -1
  11. data/Ruby/lib/html/list.js +7 -6
  12. data/Ruby/lib/html/profile_handler.js +1 -62
  13. data/Ruby/lib/mini_profiler/client_timer_struct.rb +1 -1
  14. data/Ruby/lib/mini_profiler/config.rb +58 -52
  15. data/Ruby/lib/mini_profiler/context.rb +11 -10
  16. data/Ruby/lib/mini_profiler/custom_timer_struct.rb +22 -0
  17. data/Ruby/lib/mini_profiler/flame_graph.rb +54 -0
  18. data/Ruby/lib/mini_profiler/gc_profiler.rb +8 -4
  19. data/Ruby/lib/mini_profiler/page_timer_struct.rb +7 -2
  20. data/Ruby/lib/mini_profiler/profiler.rb +207 -157
  21. data/Ruby/lib/mini_profiler/profiling_methods.rb +131 -108
  22. data/Ruby/lib/mini_profiler/request_timer_struct.rb +20 -1
  23. data/Ruby/lib/mini_profiler/sql_timer_struct.rb +1 -1
  24. data/Ruby/lib/mini_profiler/storage/abstract_store.rb +31 -27
  25. data/Ruby/lib/mini_profiler/storage/file_store.rb +111 -109
  26. data/Ruby/lib/mini_profiler/storage/memcache_store.rb +11 -9
  27. data/Ruby/lib/mini_profiler/storage/memory_store.rb +65 -63
  28. data/Ruby/lib/mini_profiler/storage/redis_store.rb +54 -44
  29. data/Ruby/lib/mini_profiler/version.rb +5 -0
  30. data/Ruby/lib/mini_profiler_rails/railtie.rb +44 -40
  31. data/Ruby/lib/patches/net_patches.rb +14 -0
  32. data/Ruby/lib/patches/sql_patches.rb +89 -48
  33. data/Ruby/lib/rack-mini-profiler.rb +1 -0
  34. data/rack-mini-profiler.gemspec +1 -1
  35. metadata +41 -52
@@ -1,5 +1,6 @@
1
1
  require 'mini_profiler/profiler'
2
2
  require 'patches/sql_patches'
3
+ require 'patches/net_patches'
3
4
 
4
5
  if defined?(::Rails) && ::Rails::VERSION::MAJOR.to_i >= 3
5
6
  require 'mini_profiler_rails/railtie'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rack-mini-profiler"
3
- s.version = "0.1.22"
3
+ s.version = "0.1.27"
4
4
  s.summary = "Profiles loading speed for rack applications."
5
5
  s.authors = ["Sam Saffron", "Robin Ward","Aleks Totic"]
6
6
  s.description = "Profiling toolkit for Rack applications with Rails integration. Client Side profiling, DB profiling and Server profiling."
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mini-profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
5
- prerelease:
4
+ version: 0.1.27
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sam Saffron
@@ -11,60 +10,53 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-09-20 00:00:00.000000000 Z
13
+ date: 2013-06-26 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rack
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: 1.1.3
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: 1.1.3
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: rake
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rack-test
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - '>='
54
48
  - !ruby/object:Gem::Version
55
49
  version: '0'
56
50
  type: :development
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ! '>='
54
+ - - '>='
62
55
  - !ruby/object:Gem::Version
63
56
  version: '0'
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: activerecord
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ~>
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ~>
78
69
  - !ruby/object:Gem::Version
@@ -87,66 +78,64 @@ extra_rdoc_files:
87
78
  - Ruby/CHANGELOG
88
79
  files:
89
80
  - rack-mini-profiler.gemspec
90
- - Ruby/lib/mini_profiler/sql_timer_struct.rb
91
- - Ruby/lib/mini_profiler/request_timer_struct.rb
92
- - Ruby/lib/mini_profiler/timer_struct.rb
81
+ - Ruby/lib/mini_profiler_rails/railtie.rb
82
+ - Ruby/lib/html/list.css
83
+ - Ruby/lib/html/jquery.tmpl.js
84
+ - Ruby/lib/html/list.tmpl
85
+ - Ruby/lib/html/share.html
86
+ - Ruby/lib/html/includes.less
87
+ - Ruby/lib/html/profile_handler.js
88
+ - Ruby/lib/html/includes.tmpl
89
+ - Ruby/lib/html/includes.js
90
+ - Ruby/lib/html/list.js
91
+ - Ruby/lib/html/jquery.1.7.1.js
92
+ - Ruby/lib/html/flamegraph.html
93
+ - Ruby/lib/html/includes.css
94
+ - Ruby/lib/mini_profiler/context.rb
93
95
  - Ruby/lib/mini_profiler/page_timer_struct.rb
96
+ - Ruby/lib/mini_profiler/storage/file_store.rb
97
+ - Ruby/lib/mini_profiler/storage/memcache_store.rb
98
+ - Ruby/lib/mini_profiler/storage/memory_store.rb
99
+ - Ruby/lib/mini_profiler/storage/abstract_store.rb
100
+ - Ruby/lib/mini_profiler/storage/redis_store.rb
94
101
  - Ruby/lib/mini_profiler/client_settings.rb
95
- - Ruby/lib/mini_profiler/context.rb
96
- - Ruby/lib/mini_profiler/config.rb
97
102
  - Ruby/lib/mini_profiler/profiling_methods.rb
98
103
  - Ruby/lib/mini_profiler/gc_profiler.rb
99
104
  - Ruby/lib/mini_profiler/client_timer_struct.rb
105
+ - Ruby/lib/mini_profiler/sql_timer_struct.rb
106
+ - Ruby/lib/mini_profiler/config.rb
107
+ - Ruby/lib/mini_profiler/custom_timer_struct.rb
108
+ - Ruby/lib/mini_profiler/version.rb
109
+ - Ruby/lib/mini_profiler/timer_struct.rb
100
110
  - Ruby/lib/mini_profiler/profiler.rb
101
- - Ruby/lib/mini_profiler/storage/memory_store.rb
102
- - Ruby/lib/mini_profiler/storage/file_store.rb
103
- - Ruby/lib/mini_profiler/storage/redis_store.rb
104
- - Ruby/lib/mini_profiler/storage/abstract_store.rb
105
- - Ruby/lib/mini_profiler/storage/memcache_store.rb
106
- - Ruby/lib/rack-mini-profiler.rb
107
- - Ruby/lib/html/jquery.1.7.1.js
108
- - Ruby/lib/html/includes.tmpl
109
- - Ruby/lib/html/share.html
110
- - Ruby/lib/html/includes.less
111
- - Ruby/lib/html/list.css
112
- - Ruby/lib/html/includes.js
113
- - Ruby/lib/html/jquery.tmpl.js
114
- - Ruby/lib/html/list.tmpl
115
- - Ruby/lib/html/profile_handler.js
116
- - Ruby/lib/html/includes.css
117
- - Ruby/lib/html/list.js
118
- - Ruby/lib/mini_profiler_rails/railtie.rb
111
+ - Ruby/lib/mini_profiler/request_timer_struct.rb
112
+ - Ruby/lib/mini_profiler/flame_graph.rb
113
+ - Ruby/lib/patches/net_patches.rb
119
114
  - Ruby/lib/patches/sql_patches.rb
115
+ - Ruby/lib/rack-mini-profiler.rb
120
116
  - Ruby/README.md
121
117
  - Ruby/CHANGELOG
122
118
  homepage: http://miniprofiler.com
123
119
  licenses: []
120
+ metadata: {}
124
121
  post_install_message:
125
122
  rdoc_options: []
126
123
  require_paths:
127
124
  - Ruby/lib
128
125
  required_ruby_version: !ruby/object:Gem::Requirement
129
- none: false
130
126
  requirements:
131
- - - ! '>='
127
+ - - '>='
132
128
  - !ruby/object:Gem::Version
133
129
  version: '0'
134
- segments:
135
- - 0
136
- hash: -138209491
137
130
  required_rubygems_version: !ruby/object:Gem::Requirement
138
- none: false
139
131
  requirements:
140
- - - ! '>='
132
+ - - '>='
141
133
  - !ruby/object:Gem::Version
142
134
  version: '0'
143
- segments:
144
- - 0
145
- hash: -138209491
146
135
  requirements: []
147
136
  rubyforge_project:
148
- rubygems_version: 1.8.24
137
+ rubygems_version: 2.0.2
149
138
  signing_key:
150
- specification_version: 3
139
+ specification_version: 4
151
140
  summary: Profiles loading speed for rack applications.
152
141
  test_files: []