appsignal 0.12.beta.47 → 0.12.beta.48

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: 8abee3c3d71ca75aaa7a6f2a4ff11c7048329883
4
- data.tar.gz: d2b8b6c04bfe5c10e350b0693cc467c7f02ab7c1
3
+ metadata.gz: 5658edf9d4db584e33616ae5afd18a28188443ea
4
+ data.tar.gz: 6774b6ebbf6c9fc36f6f22650642e606f1be1d04
5
5
  SHA512:
6
- metadata.gz: d2318f555f6410570f8fcad5429df6701e105d58c99ee535fb94d09c08b0e42ad1635fa92db3da1297c638040239adf522d45ad7c890a60ff842368191667e33
7
- data.tar.gz: 3f025a757774b7402d15861bbf2eb4df2f8da6c7fc3bf230e1a4840c25f8d0acf297f0ceeb1126bb200238bcd637e2b876e455f47185c0590da314ea9dc163d2
6
+ metadata.gz: 9b026072e5c2b3be49e69b4e29264969a77ba6268c879df57ca94f2bfe06c8f9a19fd1a39e8124c511706e9cc80032c591c7c501669d2e77e61b8084f56ed93f
7
+ data.tar.gz: 9eee9ebcb0e364cc4ecb316fd4bc39c97eddfb6b0cf3006792bbb656fd1a14365aba04616f7263e37c5621e8ebd141cfa3f2b31e8c049982cd54a8648bfef494
@@ -1,11 +1,11 @@
1
1
  ---
2
- :version: 5a887a7
2
+ :version: a963523
3
3
  :triples:
4
4
  x86_64-linux:
5
- :checksum: 481ce01a72f60ad30dd5e1e71dd692b994e6bc0e81e392a4bff7c3c6d6854f8e
6
- :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/5a887a7/appsignal-agent-x86_64-linux-static.tar.gz
5
+ :checksum: 84101688ff238ad0e8672ec61b7b1227b92429e8a4c3ff981a3de0447fcc5b27
6
+ :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/a963523/appsignal-agent-x86_64-linux-static.tar.gz
7
7
  :lib_filename: libappsignal.a
8
8
  x86_64-darwin:
9
- :checksum: 107da57143ffc0747f511d9b7e48dac01f3816038e6e4eaed2811a1c2d8b0443
10
- :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/5a887a7/appsignal-agent-x86_64-darwin-static.tar.gz
9
+ :checksum: a50fa1b52cd85d4bb544c68381fa5c3b01a7b3d7aa44fe17995fcb5212a63688
10
+ :download_url: https://appsignal-agent-releases.global.ssl.fastly.net/a963523/appsignal-agent-x86_64-darwin-static.tar.gz
11
11
  :lib_filename: libappsignal.a
@@ -165,7 +165,11 @@ module Appsignal
165
165
  # Strip path from endpoint so we're backwards compatible with
166
166
  # earlier versions of the gem.
167
167
  endpoint_uri = URI(config_hash[:endpoint])
168
- config_hash[:endpoint] = "#{endpoint_uri.scheme}://#{endpoint_uri.host}"
168
+ if endpoint_uri.port == 443
169
+ config_hash[:endpoint] = "#{endpoint_uri.scheme}://#{endpoint_uri.host}"
170
+ else
171
+ config_hash[:endpoint] = "#{endpoint_uri.scheme}://#{endpoint_uri.host}:#{endpoint_uri.port}"
172
+ end
169
173
 
170
174
  if config_hash[:push_api_key]
171
175
  @valid = true
@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
2
 
3
3
  module Appsignal
4
- VERSION = '0.12.beta.47'
4
+ VERSION = '0.12.beta.48'
5
5
  end
@@ -41,6 +41,14 @@ describe Appsignal::Config do
41
41
  end
42
42
  end
43
43
 
44
+ context "when there is an endpoint with a non-standard port" do
45
+ let(:config) { project_fixture_config('production', :endpoint => 'http://localhost:4567') }
46
+
47
+ it "should keep the port" do
48
+ subject[:endpoint].should == 'http://localhost:4567'
49
+ end
50
+ end
51
+
44
52
  describe "#[]" do
45
53
  it "should get the value for an existing key" do
46
54
  subject[:push_api_key].should == 'abc'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.beta.47
4
+ version: 0.12.beta.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman