appsignal 1.1.5.beta.3 → 1.1.5.beta.4

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: 8ab24c0a488648acac563bdbf764376900b0d28b
4
- data.tar.gz: 5458e8dbfbcc4a16a50c58eda06769c78eca10a8
3
+ metadata.gz: de7615d5bea9087c925387b49b7e7ece2abb8a06
4
+ data.tar.gz: f12d1a6ddfecc3508e9ae302e9903b68ad586d15
5
5
  SHA512:
6
- metadata.gz: 6d2f97e01145a80d25aede13c6679380feff0778b2ee3bd1e0433d6be0d08d819a847e26459db65bbaa83b88cebd50e575bc4cc50484db1b4e7645b0c7e3330b
7
- data.tar.gz: 0bd95af4c2c48c75a27e47d4a14f4a4acc063afdd03ccb3b2da648510f343c25722b706faf8c3a9c7d19d3e360d4b6abedea0b467ce5a0e7e88e2f07498afaad
6
+ metadata.gz: a66d79e25e348922c409441dc1c38aa3aef552c5cad5a655a15e8515743d53699a1ecb8afa31f171741bbcd8224c2bcdb84844ad99954a323dc2647d398c1225
7
+ data.tar.gz: bb65573b9fa1789b0ac62dfb47e97fa7802e429ae5a709aa4bae9e72127c4dc18ba28c9521d617c9d8ad1ed20f09a8329bc3cce732c2a66f5ff3bdae7615d14a
@@ -5,6 +5,7 @@
5
5
  * Support for x86-linux
6
6
  * Some improvements in debug logging
7
7
  * Check of log file path is writable
8
+ * Use bundled CA certs when installing agent
8
9
 
9
10
  # 1.1.4
10
11
  * Better debug logging for agent issues
@@ -10,6 +10,7 @@ require File.expand_path('../../lib/appsignal/version.rb', __FILE__)
10
10
  EXT_PATH = File.expand_path('..', __FILE__)
11
11
  AGENT_CONFIG = YAML.load(File.read(File.join(EXT_PATH, 'agent.yml')))
12
12
  ARCH = "#{Gem::Platform.local.cpu}-#{Gem::Platform.local.os}"
13
+ CA_CERT_PATH = File.join(EXT_PATH, '../resources/cacert.pem')
13
14
 
14
15
  def ext_path(path)
15
16
  File.join(EXT_PATH, path)
@@ -51,7 +52,7 @@ def install
51
52
  File.exists?(ext_path('appsignal_extension.h'))
52
53
  logger.info "Downloading agent release from #{arch_config['download_url']}"
53
54
 
54
- archive = open(arch_config['download_url'])
55
+ archive = open(arch_config['download_url'], :ssl_ca_cert => CA_CERT_PATH)
55
56
 
56
57
  if Digest::SHA256.hexdigest(archive.read) == arch_config['checksum']
57
58
  logger.info 'Checksum of downloaded archive verified, extracting archive'
@@ -1,5 +1,5 @@
1
1
  require 'yaml'
2
2
 
3
3
  module Appsignal
4
- VERSION = '1.1.5.beta.3'
4
+ VERSION = '1.1.5.beta.4'
5
5
  end
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: 1.1.5.beta.3
4
+ version: 1.1.5.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-15 00:00:00.000000000 Z
12
+ date: 2016-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack