stopwatch 1.0.0 → 1.0.1
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 +4 -4
- data/{CHANGELOG → CHANGELOG.md} +9 -6
- data/Gemfile.lock +1 -1
- data/lib/stopwatch/railtie.rb +1 -1
- data/lib/stopwatch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b7082f7a65336328d83fdabc50d13c3c569e482
|
|
4
|
+
data.tar.gz: b514dbb0300b7c72ef4c2a59b0fc4aa7c4af231e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9f6b108d6e96a208a8bfce6663091defd72ceb1e010181d46a91e90a65b8c12b2ac9645440daf1ae38876e32616e9ede845caf2580dc864acdde51f5f06c51d
|
|
7
|
+
data.tar.gz: 81569746fedd14b0baa4651f53d27bc93b251d45509bb3d03fc957e1d617885cea62e6573cfd48c1f092f13921af363791c436deba6296241c510b6d28f9c115
|
data/{CHANGELOG → CHANGELOG.md}
RENAMED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
v1.0.
|
|
2
|
-
*
|
|
1
|
+
### v1.0.1
|
|
2
|
+
* No longer uses a string to load the middleware, thanks again @erikj !
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
### v1.0.0
|
|
5
|
+
* Handles UTF-8 characters in body, thanks @erikj for https://github.com/bittersweet/stopwatch/pull/2 !
|
|
6
|
+
|
|
7
|
+
### v0.0.4
|
|
5
8
|
* Only inserts code if the content-type is text/html or application/xhtml+xml
|
|
6
9
|
|
|
7
|
-
v0.0.3
|
|
10
|
+
### v0.0.3
|
|
8
11
|
* Displays every partial that was rendered and the amount of queries it used
|
|
9
12
|
|
|
10
|
-
v0.0.2
|
|
13
|
+
### v0.0.2
|
|
11
14
|
* Show total amount of queries
|
|
12
15
|
|
|
13
|
-
v0.0.1
|
|
16
|
+
### v0.0.1
|
|
14
17
|
* First release, displays duration of rendering the action
|
data/Gemfile.lock
CHANGED
data/lib/stopwatch/railtie.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Stopwatch
|
|
2
2
|
class Railtie < Rails::Railtie
|
|
3
3
|
initializer "newplugin.initialize" do |app|
|
|
4
|
-
app.config.middleware.use
|
|
4
|
+
app.config.middleware.use Rack::LoadSpeed
|
|
5
5
|
|
|
6
6
|
# Start processing
|
|
7
7
|
ActiveSupport::Notifications.subscribe "start_processing.action_controller" do |*args|
|
data/lib/stopwatch/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stopwatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Mulder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|
|
@@ -48,7 +48,7 @@ extra_rdoc_files: []
|
|
|
48
48
|
files:
|
|
49
49
|
- ".gitignore"
|
|
50
50
|
- ".travis.yml"
|
|
51
|
-
- CHANGELOG
|
|
51
|
+
- CHANGELOG.md
|
|
52
52
|
- Gemfile
|
|
53
53
|
- Gemfile.lock
|
|
54
54
|
- README.md
|