server_timing 1.0.1 → 1.0.2

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: f7e45473ce34344f2809de13c5f492c112e6cb69
4
- data.tar.gz: 4d1696eb9bcd62d4d7895fac2ebb3d758458bf78
3
+ metadata.gz: fe89669daa3674d09290e519877c9d96cd4e0a85
4
+ data.tar.gz: 2fb10165900c990e4a23de70feac53f1062dfedf
5
5
  SHA512:
6
- metadata.gz: 560e6f7e4866aee67287f7fd2262a75f5fcbf87d4b86e2c8a160bd081bb0f258dd46ee97fa445d7ea1d98b455e195285a58edda3e8b1e8c70dbb839c62ba87c5
7
- data.tar.gz: 4e1982926f3e4b4f98af724bf68082b5f5de5184295aada64a180b540d8e967159e37179abab04ed76d07ef23ab6daf80ac572cf60f4e3eaf1db9791d4272bf0
6
+ metadata.gz: 98c19903f35ddb79d44a78d7984a7150c85cd98582c28d4e9c2080d5a3ca9d16dfabc98c4d2f771ee780bc814c4ef45b86d341fc67cc9de05ad0a3479d8369d7
7
+ data.tar.gz: 18225f4962a57914bb68acac4fc817beb9b39d88049e714a343a1375aa0e0e22e1c601002dd10d5c03a0b61bc76efc8db6f3296517ddb78aeb9b5cee68650669
@@ -1,9 +1,13 @@
1
1
  # Changelog
2
2
 
3
- # 1.0.1
3
+ ## 1.0.2
4
+
5
+ * Switching to double-quoted header values ([#7](https://github.com/scoutapp/ruby_server_timing/pull/7))
6
+
7
+ ## 1.0.1
4
8
 
5
9
  * Fix when `scout_apm` isn't installed separately
6
10
 
7
- # 1.0.0
11
+ ## 1.0.0
8
12
 
9
13
  🚀
data/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  # Server Timing Response Headers for Rails
2
2
 
3
- Bring Ruby on Rails server-side performance metrics 📈 to Chrome's Developer Tools via the `server_timing` gem.
3
+ Bring Ruby on Rails server-side performance metrics 📈 to Chrome's Developer Tools (and other browsers that support the [Server Timing API](https://w3c.github.io/server-timing/)) via the `server_timing` gem.
4
4
 
5
- `server_timing` sends server-side Rails app performance metrics collected from the [scout_apm](https://github.com/scoutapp/scout_apm_ruby) gem to the browser via the [Server Timing](https://w3c.github.io/server-timing/) API. Production-safeâ„¢.
6
-
7
- A [Scout](https://scoutapp.com) account is not required.
5
+ Metrics are collected from the [scout_apm](https://github.com/scoutapp/scout_apm_ruby) gem. A [Scout](https://scoutapp.com) account is not required.
8
6
 
9
7
  ![server timing screenshot](https://s3-us-west-1.amazonaws.com/scout-blog/ruby_server_timing.png?x)
10
8
 
@@ -89,8 +87,7 @@ end
89
87
 
90
88
  ## Overhead
91
89
 
92
- `scout_apm` is designed for use in production apps and is engineered for [low overhead](http://blog.scoutapp.com/articles/2016/02/07/overhead-benchmarks-new-relic-vs-scout) instrumentation.
93
-
90
+ The `scout_apm` gem, a dependency of `server_timing`, applies [low overhead instrumentation](http://blog.scoutapp.com/articles/2016/02/07/overhead-benchmarks-new-relic-vs-scout) designed for production use.
94
91
  ## Development
95
92
 
96
93
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -23,7 +23,7 @@ module ServerTiming
23
23
 
24
24
  def description_to_header
25
25
  return unless description
26
- "desc='#{description}';"
26
+ "desc=\"#{description}\";"
27
27
  end
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module ServerTiming
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_timing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-03 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler