skylight 0.6.2.beta.2 → 0.7.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/ext/extconf.rb +21 -10
- data/ext/libskylight.yml +4 -4
- data/lib/skylight/railtie.rb +1 -1
- data/lib/skylight/util/native_ext_fetcher.rb +1 -1
- data/lib/skylight/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e25aa5a9714f87f62d2719f8a5b6548718c54415
|
4
|
+
data.tar.gz: 5ad4d42a25bb9455adcd9d7751a752b62b476abe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b08e53f0f51dda865c32132143c4f33e6625f0206ef3d85d90a4befe9660d72abe003697c5239cb4f3179bbbcaab655cd348a6baa470d9559631d2695335e83
|
7
|
+
data.tar.gz: a0d5192c9959c816605383595114440af7455b3bc51def55e3ba9f72405739b876bb698dd72838ef8837128704928e3084db7df5ed4c974a498b0e38398fa7de
|
data/CHANGELOG.md
CHANGED
data/ext/extconf.rb
CHANGED
@@ -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
|
-
|
78
|
-
|
79
|
-
|
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
|
-
|
82
|
-
|
83
|
-
|
90
|
+
unless checksums = libskylight_info["checksums"]
|
91
|
+
fail "libskylight checksums missing from `#{libskylight_yml}`"
|
92
|
+
end
|
84
93
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
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,
|
data/ext/libskylight.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
|
-
version: "0.
|
2
|
+
version: "0.7.0-e9d6c44"
|
3
3
|
checksums:
|
4
|
-
x86-linux: "
|
5
|
-
x86_64-linux: "
|
6
|
-
x86_64-darwin: "
|
4
|
+
x86-linux: "3e31ad5d50706a722c7ffdc16ca6e9e38b61aae58d150055414045272a24bb96"
|
5
|
+
x86_64-linux: "7dcab809351964524c54c775196a36d5cda36d4993f0d368baf5d5e2632f81e0"
|
6
|
+
x86_64-darwin: "38e48af8c65308d2367a3996b85e3c052509f0774b4f45a45e01f56f08fb2ec9"
|
data/lib/skylight/railtie.rb
CHANGED
@@ -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
|
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
|
|
data/lib/skylight/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|