peek-performance_bar 1.1.6 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2003553056d22a680513e8904728ee685521fc8c
4
- data.tar.gz: e456e37f2b0c875e61c66a2c7cd823548ae69533
3
+ metadata.gz: 33412378a62a7642ce1723d66202e58549b70861
4
+ data.tar.gz: a100dcb4245288ef484b96cfae686c374b0bbb3a
5
5
  SHA512:
6
- metadata.gz: 7d2ae35cfc7c1187acc8e3aa0b9dc8c93e3caaaf0c277dcdfc99be02ed6edd9631edc8194e5c89d72470e806ef049f6bb5df3022bfa9cc7825f49a5388cf89b6
7
- data.tar.gz: 33c66f9522e2ea4f7279b2f4b4e91661ef29e18a2ac67d04a7eea8679c9c04ce8f07ae3898ebf1f9644933855b3b7e55cbdbaed91da1eed8dacd327a74afc468
6
+ metadata.gz: 348d866861f468a05d8f0dd1978384f785e207e489254d6ff7c76e3d53aabe4bbf2086179c736c3ea88f5f6bee35886ad3feb053feedd09fbee46b8bd94e2354
7
+ data.tar.gz: 11e66edef013115eaaffdea56cc2fd3ea8cdd6bb94e58bcd7f522c1da054980b080e816e9cc01a821a49d923275fbd5a7c12a1272a0b3f04377bef6d89f19581
data/CHANGELOG.md CHANGED
@@ -30,3 +30,7 @@
30
30
  # 1.1.6
31
31
 
32
32
  - Namespace ProcessUtilization middleware to Peek::Views::PerformanceBar - #21 (@jnunemaker)
33
+
34
+ # 1.2.0
35
+
36
+ - Allow `PerformanceBar::ProcessUtilization::Body` to behave like normal response body - #22 (@tubaxenor)
@@ -1,5 +1,5 @@
1
1
  module Peek
2
2
  module PerformanceBar
3
- VERSION = '1.1.6'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
@@ -121,6 +121,13 @@ module Peek
121
121
  @block.call
122
122
  nil
123
123
  end
124
+
125
+ # Delegate calls to @body to be compatible with other middlewares
126
+ def method_missing(name, *args, &block)
127
+ super unless @body.respond_to?(name)
128
+
129
+ @body.send(name, *args, &block)
130
+ end
124
131
  end
125
132
 
126
133
  # Rack entry point.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peek-performance_bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett Bjerkhoel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-10 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: peek
@@ -42,12 +42,12 @@ files:
42
42
  - app/helpers/peek/performance_bar_helper.rb
43
43
  - app/views/peek/results/_performance_bar.html.erb
44
44
  - app/views/peek/views/_performance_bar.html.erb
45
- - glimpse-performance_bar.gemspec
46
45
  - lib/peek-performance_bar.rb
47
46
  - lib/peek-performance_bar/railtie.rb
48
47
  - lib/peek-performance_bar/version.rb
49
48
  - lib/peek/views/performance_bar.rb
50
49
  - lib/peek/views/performance_bar/process_utilization.rb
50
+ - peek-performance_bar.gemspec
51
51
  homepage: https://github.com/peek/peek-performance_bar
52
52
  licenses: []
53
53
  metadata: {}
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.2.2
70
+ rubygems_version: 2.2.3
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Take a peek into the MySQL queries made during your application's requests.