corn 0.4.3 → 0.4.4
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 +7 -7
- data/lib/corn/post.rb +1 -1
- metadata +48 -52
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 1ff8db881c521ceb58ac042cdcb8a707768da281
|
|
4
|
+
data.tar.gz: ec0048ff2da0f637e4f1cb9a7cdf53e9941f1ca9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 505b222b6998f772a4def63b12f431ea0ea7c5de50042dbb7812a98a195b3ab1bee980bd11e81a57f7b1f5f8baf336fa78495e21860bc26b49726db172d329aa
|
|
7
|
+
data.tar.gz: 7429d8ae6c5355d82ef16c0d64d1a2b8c003f3a1f05948b4a15187ce249a097974a163e5575d66ddbe419a9945d205f861b65756c7319d712da22898c77c3733
|
data/lib/corn/post.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Corn
|
|
|
38
38
|
http = Net::HTTP.new(uri.host, uri.port)
|
|
39
39
|
if uri.scheme == 'https'
|
|
40
40
|
http.use_ssl = true
|
|
41
|
-
if Corn.ssl_verify_peer
|
|
41
|
+
if Corn.ssl_verify_peer?
|
|
42
42
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
43
43
|
http.ca_file = Corn.ssl_ca_file if Corn.ssl_ca_file
|
|
44
44
|
http.ca_path = Corn.ssl_ca_path if Corn.ssl_ca_path
|
metadata
CHANGED
|
@@ -1,69 +1,65 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: corn
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
|
-
authors:
|
|
7
|
-
|
|
8
|
-
autorequire:
|
|
6
|
+
authors:
|
|
7
|
+
- Xiao Li
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
date: 2014-06-15 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: sampling_prof
|
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - '>='
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0.4'
|
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
|
21
|
+
requirements:
|
|
22
|
+
- - '>='
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: '0.4'
|
|
25
|
+
prerelease: false
|
|
26
|
+
type: :runtime
|
|
24
27
|
description: |
|
|
25
28
|
Corn collects your application's profiling data by sampling_prof gem, and submits the result to server, so that you can merge multiple server's profiling data and do analysis together.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- swing1979@gmail.com
|
|
29
|
+
email:
|
|
30
|
+
- swing1979@gmail.com
|
|
29
31
|
executables: []
|
|
30
|
-
|
|
31
32
|
extensions: []
|
|
32
|
-
|
|
33
33
|
extra_rdoc_files: []
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- lib/corn/rack/slow_request_profiler.rb
|
|
34
|
+
files:
|
|
35
|
+
- README.md
|
|
36
|
+
- lib/corn.rb
|
|
37
|
+
- lib/corn/config.rb
|
|
38
|
+
- lib/corn/post.rb
|
|
39
|
+
- lib/corn/rack.rb
|
|
40
|
+
- lib/corn/rack/slow_request_profiler.rb
|
|
42
41
|
homepage: https://github.com/xli/corn
|
|
43
|
-
licenses:
|
|
44
|
-
|
|
42
|
+
licenses:
|
|
43
|
+
- MIT
|
|
45
44
|
metadata: {}
|
|
46
|
-
|
|
47
|
-
post_install_message:
|
|
45
|
+
post_install_message:
|
|
48
46
|
rdoc_options: []
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
47
|
+
require_paths:
|
|
48
|
+
- lib
|
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - '>='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- - '>='
|
|
57
|
+
- !ruby/object:Gem::Version
|
|
58
|
+
version: '0'
|
|
61
59
|
requirements: []
|
|
62
|
-
|
|
63
|
-
rubyforge_project:
|
|
60
|
+
rubyforge_project:
|
|
64
61
|
rubygems_version: 2.1.9
|
|
65
|
-
signing_key:
|
|
62
|
+
signing_key:
|
|
66
63
|
specification_version: 4
|
|
67
64
|
summary: Corn submits profiling data to Corn server.
|
|
68
65
|
test_files: []
|
|
69
|
-
|