skylight 1.0.0.beta5 → 1.0.0
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 +4 -4
- data/CHANGELOG.md +5 -2
- data/ext/extconf.rb +18 -13
- data/lib/skylight/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28dd7214b4627640a19b45a6e5fc331fbfacf27c
|
|
4
|
+
data.tar.gz: 024db5832f07bc150605be92ab4e08dd564d5e17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e061ebe3cb082688bf4b1986aa48bd6cb9ed3810097f1eced4f0c96c589d53eb3072c394fa163c5d792ce8c271efb9202931f02b68f325c8d36d19ce4f2e283e
|
|
7
|
+
data.tar.gz: 51def9a798e16514df5de9eecb62ad70ed78d00770837ef73c81805a5b6b6d948c707cecd6011515eb9b6f8fa3d61b7a052394b8134938515315478a445c9ebf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
## 1.0.0
|
|
1
|
+
## 1.0.0 (October 19, 2016)
|
|
2
2
|
|
|
3
3
|
* [BETA FEATURE] Track separate segments for endpoints. Contact support@skylight.io to have this feature enabled for your account.
|
|
4
4
|
* [FEATURE] Initial 'skylight doctor' command
|
|
5
5
|
* [BREAKING] Removed old `skylight setup` without creation token
|
|
6
6
|
* [BREAKING] Remove Ruby based SQL lexer
|
|
7
7
|
* [IMPROVEMENT] Internal refactors
|
|
8
|
-
* [IMPROVEMENT] On Heroku, log to STDOUT instead of logfile
|
|
9
8
|
* [BUGFIX] Correctly pass 'false' config values to Rust agent
|
|
10
9
|
|
|
10
|
+
## 0.10.6 (August 10, 2016)
|
|
11
|
+
|
|
12
|
+
* [BUGFIX] Turn off -Werror and -pedantic for builds. [Issue #64](https://github.com/skylightio/skylight-ruby/issues/64)
|
|
13
|
+
|
|
11
14
|
## 0.10.5 (June 22, 2016)
|
|
12
15
|
|
|
13
16
|
* [BUGFIX] Fix issue with Grape multi-method naming
|
data/ext/extconf.rb
CHANGED
|
@@ -24,6 +24,8 @@ SKYLIGHT_SOURCE_URL = ENV['SKYLIGHT_SOURCE_URL']
|
|
|
24
24
|
SKYLIGHT_VERSION = ENV['SKYLIGHT_VERSION']
|
|
25
25
|
SKYLIGHT_CHECKSUM = ENV['SKYLIGHT_CHECKSUM']
|
|
26
26
|
|
|
27
|
+
SKYLIGHT_EXT_STRICT = ENV.key?("SKYLIGHT_EXT_STRICT") && ENV['SKYLIGHT_EXT_STRICT'] =~ /^true$/i
|
|
28
|
+
|
|
27
29
|
# Setup logger
|
|
28
30
|
LOG = Logger.new(MultiIO.new(STDOUT, File.open(SKYLIGHT_INSTALL_LOG, 'a')))
|
|
29
31
|
|
|
@@ -185,9 +187,16 @@ unless have_func('rb_thread_call_without_gvl', 'ruby/thread.h')
|
|
|
185
187
|
have_func('rb_thread_blocking_region') or abort "Ruby is unexpectedly missing rb_thread_blocking_region. This should not happen."
|
|
186
188
|
end
|
|
187
189
|
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
|
|
190
|
+
# Previous comment stated:
|
|
191
|
+
# -Werror is needed for the fast thread local storage
|
|
192
|
+
#
|
|
193
|
+
# Despite this comment, everything appears to build fine without the flag on. Since this
|
|
194
|
+
# flag can cause issues for some customers we're turning it off by default. However,
|
|
195
|
+
# in development and CI, we still have the option of turning it back on to help catch
|
|
196
|
+
# potential issues.
|
|
197
|
+
if SKYLIGHT_EXT_STRICT
|
|
198
|
+
$CFLAGS << " -Werror"
|
|
199
|
+
end
|
|
191
200
|
|
|
192
201
|
checking_for 'fast thread local storage' do
|
|
193
202
|
if try_compile("__thread int foo;")
|
|
@@ -196,17 +205,13 @@ checking_for 'fast thread local storage' do
|
|
|
196
205
|
end
|
|
197
206
|
end
|
|
198
207
|
|
|
199
|
-
# spec = nil
|
|
200
|
-
# checking_for('thread_specific', '%s') do
|
|
201
|
-
# spec = %w[__declspec(thread) __thread].find {|th|
|
|
202
|
-
# try_compile("#{th} int foo;", "", :werror => true)
|
|
203
|
-
# }
|
|
204
|
-
# spec or 'no'
|
|
205
|
-
# end
|
|
206
|
-
# $defs << "-DRB_THREAD_SPECIFIC=#{spec}" if spec
|
|
207
|
-
|
|
208
208
|
# Flag -std=c99 required for older build systems
|
|
209
|
-
$CFLAGS << " -std=c99 -
|
|
209
|
+
$CFLAGS << " -std=c99 -Wall -fno-strict-aliasing"
|
|
210
|
+
|
|
211
|
+
# Allow stricter checks to be turned on for development or debugging
|
|
212
|
+
if SKYLIGHT_EXT_STRICT
|
|
213
|
+
$CFLAGS << " -pedantic"
|
|
214
|
+
end
|
|
210
215
|
|
|
211
216
|
# TODO: Compute the relative path to the location
|
|
212
217
|
create_makefile 'skylight_native', File.expand_path('..', __FILE__) # or fail "could not create makefile"
|
data/lib/skylight/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: skylight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tilde, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -180,9 +180,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
180
180
|
version: 1.9.2
|
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
requirements:
|
|
183
|
-
- - "
|
|
183
|
+
- - ">="
|
|
184
184
|
- !ruby/object:Gem::Version
|
|
185
|
-
version:
|
|
185
|
+
version: '0'
|
|
186
186
|
requirements: []
|
|
187
187
|
rubyforge_project:
|
|
188
188
|
rubygems_version: 2.5.1
|
|
@@ -190,4 +190,3 @@ signing_key:
|
|
|
190
190
|
specification_version: 4
|
|
191
191
|
summary: Skylight is a smart profiler for Rails apps
|
|
192
192
|
test_files: []
|
|
193
|
-
has_rdoc:
|