speed_gun 0.0.2 → 0.0.3

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: 5cf528977aacdbf3ccd15ec92ab77584c15a907d
4
- data.tar.gz: d46b1fcb2f3a1347479846fb9e958723d147733e
3
+ metadata.gz: 427c6de7fed65b49851a00b76bb1609a545caea8
4
+ data.tar.gz: 19af253428603a30052a922fb9f8ba590339d655
5
5
  SHA512:
6
- metadata.gz: 4b27e2f2d0f288178c9c026eaf4ed47ddd9779e5d60d2c88aae99ca831839d8daa0d2c9d06bac204a7b2c1b6270d9336997d7ed9966c33ab6c6bdd17c35d936f
7
- data.tar.gz: f9114c2faffeeb1d1831e08b05fef6408136389593f1608d8e5531be694737a8e10106b6e9acc3744f0002aeed87b59f40377bc2d4bc72e67bc3049168b61889
6
+ metadata.gz: f4e1c0897e47a5a1ada176ae6eaa26e38f7e2e5a0eb8b8b71c091b4d69a01e9a446c2e0f3ccfeb8bfb9d6861d3c71e783c226ef4db9818e9657b1e6f95ad45f8
7
+ data.tar.gz: 70bb7b12a36d8d076f796e8e62f04e59f45abf7933abf6fd2791f3bf243cd1729a9e95222f4392b6831ed7311faf9851ca7ae0dc65e2e61544c899904f6cd9f9
@@ -66,7 +66,7 @@ if(!window['speedGun']) { window.speedGun = {}; };
66
66
  }
67
67
 
68
68
  var loadedInterval = setInterval(function() {
69
- if (performance.timing.loadEventEnd != 0) {
69
+ if (performance && performance.timing && performance.timing.loadEventEnd != 0) {
70
70
  clearInterval(loadedInterval);
71
71
 
72
72
  speedGun.id = $('#speed_gun').data('speed-gun-id');
@@ -66,7 +66,7 @@ if(!window['speedGun']) { window.speedGun = {}; };
66
66
  }
67
67
 
68
68
  var loadedInterval = setInterval(function() {
69
- if (performance.timing.loadEventEnd != 0) {
69
+ if (performance && performance.timing && performance.timing.loadEventEnd != 0) {
70
70
  clearInterval(loadedInterval);
71
71
 
72
72
  speedGun.id = $('#speed_gun').data('speed-gun-id');
@@ -1,3 +1,3 @@
1
1
  module SpeedGun
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speed_gun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-19 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sinatra
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.4.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.4.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: msgpack
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.5.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.5.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: multi_json
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: slim
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: useragent
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.10'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.10'
111
111
  description: better web app profiler on Rails and Rack apps
@@ -115,8 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - .gitignore
119
- - .rubocop.yml
118
+ - ".gitignore"
119
+ - ".rubocop.yml"
120
120
  - Gemfile
121
121
  - LICENSE.txt
122
122
  - README.md
@@ -167,17 +167,17 @@ require_paths:
167
167
  - lib
168
168
  required_ruby_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - '>='
170
+ - - ">="
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - '>='
175
+ - - ">="
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.1.11
180
+ rubygems_version: 2.2.0
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: better web app profiler on Rails and Rack apps