corn 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -7
  2. data/lib/corn/post.rb +1 -1
  3. metadata +48 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 939489a883d8ffc993fd10af0075cca1a36ecc6d
4
- data.tar.gz: 477da0e4d9b6d50f618d9ac2faf7adf9ecf2696f
5
- SHA512:
6
- metadata.gz: 29f8ef1199f36c884dc5c53effc485f9fe91691f7a39cd2151e457995ac728242d59bbdfe27be019d011eaf831e99ead332138a2fcae7117635b1cb52f631e59
7
- data.tar.gz: f082093672aed933a128c614edfa6b41f0c7fbf1418fd16464e55b606748663ec5c4c846d7802a068fd6848fca6a3c2ef554505d72af27a1adbd04236fc067ed
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1ff8db881c521ceb58ac042cdcb8a707768da281
4
+ data.tar.gz: ec0048ff2da0f637e4f1cb9a7cdf53e9941f1ca9
5
+ SHA512:
6
+ metadata.gz: 505b222b6998f772a4def63b12f431ea0ea7c5de50042dbb7812a98a195b3ab1bee980bd11e81a57f7b1f5f8baf336fa78495e21860bc26b49726db172d329aa
7
+ data.tar.gz: 7429d8ae6c5355d82ef16c0d64d1a2b8c003f3a1f05948b4a15187ce249a097974a163e5575d66ddbe419a9945d205f861b65756c7319d712da22898c77c3733
@@ -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
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.4
5
5
  platform: ruby
6
- authors:
7
- - Xiao Li
8
- autorequire:
6
+ authors:
7
+ - Xiao Li
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2014-06-15 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: sampling_prof
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - - ">="
20
- - !ruby/object:Gem::Version
21
- version: "0.4"
22
- type: :runtime
23
- version_requirements: *id001
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
- email:
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
- files:
36
- - README.md
37
- - lib/corn.rb
38
- - lib/corn/config.rb
39
- - lib/corn/post.rb
40
- - lib/corn/rack.rb
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
- - MIT
42
+ licenses:
43
+ - MIT
45
44
  metadata: {}
46
-
47
- post_install_message:
45
+ post_install_message:
48
46
  rdoc_options: []
49
-
50
- require_paths:
51
- - lib
52
- required_ruby_version: !ruby/object:Gem::Requirement
53
- requirements:
54
- - &id002
55
- - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
58
- required_rubygems_version: !ruby/object:Gem::Requirement
59
- requirements:
60
- - *id002
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
-