skylight 0.6.2.beta.2 → 0.7.0.beta.1

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: 14aa7e3642c22e6321b288a7dbf139e8b3014610
4
- data.tar.gz: 755e36a7f63eae26452dbd6e25c78f583e9f787b
3
+ metadata.gz: e25aa5a9714f87f62d2719f8a5b6548718c54415
4
+ data.tar.gz: 5ad4d42a25bb9455adcd9d7751a752b62b476abe
5
5
  SHA512:
6
- metadata.gz: f3d64c94bae698e2cd21ad81d29fed5d3aeb76635c2f8ee6247e573ab17b32bdd3754b121deaf0928780c85c77e4edb5ded1685d2e56752344a7ec4f9b4d7e13
7
- data.tar.gz: 54c7e5198473f0a34b72a0ac9986e88a0c1eb46f2fba86d8778ce256378cecd014a48321f05b023ffc1c28b53c56dcdefee5d4d16065bad840637e31e9d3e3d6
6
+ metadata.gz: 8b08e53f0f51dda865c32132143c4f33e6625f0206ef3d85d90a4befe9660d72abe003697c5239cb4f3179bbbcaab655cd348a6baa470d9559631d2695335e83
7
+ data.tar.gz: a0d5192c9959c816605383595114440af7455b3bc51def55e3ba9f72405739b876bb698dd72838ef8837128704928e3084db7df5ed4c974a498b0e38398fa7de
@@ -1,3 +1,8 @@
1
+ ## 0.7.0-beta.1 (July 15, 2015)
2
+
3
+ * [BUGFIX] Don't crash on ruby stack overflow
4
+ * [IMPROVEMENT] Update to latest openssl & curl
5
+
1
6
  ## 0.6.2-beta.2 (July 1, 2015)
2
7
 
3
8
  * No changes. Replaces bad 0.6.2-beta.1 build.
@@ -20,6 +20,10 @@ SKYLIGHT_FETCH_LIB = !ENV.key?('SKYLIGHT_FETCH_LIB') || ENV['SKYLIGHT_FETCH_LIB
20
20
  SKYLIGHT_HDR_PATH = ENV['SKYLIGHT_HDR_PATH'] || ENV['SKYLIGHT_LIB_PATH'] || '.'
21
21
  SKYLIGHT_LIB_PATH = ENV['SKYLIGHT_LIB_PATH'] || File.expand_path("../../lib/skylight/native/#{Platform.tuple}", __FILE__)
22
22
 
23
+ SKYLIGHT_SOURCE_URL = ENV['SKYLIGHT_SOURCE_URL']
24
+ SKYLIGHT_VERSION = ENV['SKYLIGHT_VERSION']
25
+ SKYLIGHT_CHECKSUM = ENV['SKYLIGHT_CHECKSUM']
26
+
23
27
  # Setup logger
24
28
  LOG = Logger.new(MultiIO.new(STDOUT, File.open(SKYLIGHT_INSTALL_LOG, 'a')))
25
29
 
@@ -74,22 +78,29 @@ if !File.exist?(libskylight) && !File.exist?(skylight_dlopen_c) && !File.exist?(
74
78
  fail "`#{libskylight_yml}` does not contain data"
75
79
  end
76
80
 
77
- unless version = libskylight_info["version"]
78
- fail "libskylight version missing from `#{libskylight_yml}`"
79
- end
81
+ if version = SKYLIGHT_VERSION
82
+ unless checksum = SKYLIGHT_CHECKSUM
83
+ fail "no checksum provided when using custom version"
84
+ end
85
+ else
86
+ unless version = libskylight_info["version"]
87
+ fail "libskylight version missing from `#{libskylight_yml}`"
88
+ end
80
89
 
81
- unless checksums = libskylight_info["checksums"]
82
- fail "libskylight checksums missing from `#{libskylight_yml}`"
83
- end
90
+ unless checksums = libskylight_info["checksums"]
91
+ fail "libskylight checksums missing from `#{libskylight_yml}`"
92
+ end
84
93
 
85
- unless checksum = checksums[Platform.tuple]
86
- fail "no checksum entry for requested architecture -- " \
87
- "this probably means the requested architecture is not supported; " \
88
- "platform=#{Platform.tuple}; available=#{checksums.keys}", :info
94
+ unless checksum = checksums[Platform.tuple]
95
+ fail "no checksum entry for requested architecture -- " \
96
+ "this probably means the requested architecture is not supported; " \
97
+ "platform=#{Platform.tuple}; available=#{checksums.keys}", :info
98
+ end
89
99
  end
90
100
 
91
101
  begin
92
102
  res = NativeExtFetcher.fetch(
103
+ source: SKYLIGHT_SOURCE_URL,
93
104
  version: version,
94
105
  target: hdrpath,
95
106
  checksum: checksum,
@@ -1,6 +1,6 @@
1
1
  ---
2
- version: "0.5.0-fbaa3ed"
2
+ version: "0.7.0-e9d6c44"
3
3
  checksums:
4
- x86-linux: "926a77991c02dfb399de5bc08a39d989803f63eb4992183285e9e663df6e3c7b"
5
- x86_64-linux: "d44821e2955758d84db1f50b2c2bd0025252f67ab3d42b57e241a8a3f492dbbc"
6
- x86_64-darwin: "35ac0581f439ffb66a0563f74bce957cd6ec718143a21af9f82fb5e2c43bb80e"
4
+ x86-linux: "3e31ad5d50706a722c7ffdc16ca6e9e38b61aae58d150055414045272a24bb96"
5
+ x86_64-linux: "7dcab809351964524c54c775196a36d5cda36d4993f0d368baf5d5e2632f81e0"
6
+ x86_64-darwin: "38e48af8c65308d2367a3996b85e3c052509f0774b4f45a45e01f56f08fb2ec9"
@@ -13,7 +13,7 @@ module Skylight
13
13
  config.skylight.config_path = "config/skylight.yml"
14
14
 
15
15
  # The probes to load
16
- # net_http is on by default
16
+ # net_http and action_view are on by default
17
17
  # Also available: excon, redis
18
18
  config.skylight.probes = ['net_http', 'action_view']
19
19
 
@@ -19,7 +19,7 @@ module Skylight
19
19
 
20
20
  def self.fetch(opts = {})
21
21
  fetcher = new(
22
- BASE_URL,
22
+ opts[:source] || BASE_URL,
23
23
  opts[:target],
24
24
  opts[:version],
25
25
  opts[:checksum],
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.6.2-beta.2'
2
+ VERSION = '0.7.0-beta.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2.beta.2
4
+ version: 0.7.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0
20
20
  type: :runtime
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: 3.0.0
27
27
  description:
@@ -163,17 +163,17 @@ require_paths:
163
163
  - lib
164
164
  required_ruby_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ">="
166
+ - - '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: 1.9.2
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">"
171
+ - - '>'
172
172
  - !ruby/object:Gem::Version
173
173
  version: 1.3.1
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.4.6
176
+ rubygems_version: 2.2.2
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Skylight is a smart profiler for Rails apps