skylight 1.0.0.beta2 → 1.0.0.beta3
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 +12 -1
- data/ext/libskylight.yml +4 -4
- data/lib/skylight/cli.rb +6 -1
- data/lib/skylight/railtie.rb +11 -10
- data/lib/skylight/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4624d9778ee894c7de5d5b892c1c691a90597ea9
|
|
4
|
+
data.tar.gz: 041745f8d26066a7bfbe0e2db38f7ba84be1b1d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 728c0f355ba9b206376b78db6201da29d365c56d11e7dc8c5c4f32457ce52817440ff0c8cd2c22825fecb094b8aa915526ea80e3d1b3594a3cff65ed35fd077d
|
|
7
|
+
data.tar.gz: 0f0d0eb10449986b40cb2feadd57fc9d947798e9920f2d6b893b987b0a6ce3a6480c3db170bc430ba8e18de59cdfad81ae250bf1dd4a07175c2c721818b94c45
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 1.0.0.beta3 (February 23, 2016)
|
|
2
|
+
|
|
3
|
+
* [BUGFIX] Update Rust Agent with SQL improvements, including handling for arrays and WITH
|
|
4
|
+
* [BUGFIX] Don't validate config on disabled environments
|
|
5
|
+
* [IMPROVEMENT] Better message when config/skylight.yml already exists
|
|
6
|
+
* [IMPROVEMENT] Test new Sinatra versions
|
|
7
|
+
|
|
1
8
|
## 1.0.0.beta2 (January 14, 2016)
|
|
2
9
|
|
|
3
10
|
* [BUGFIX] Fix version format so Rust agent can load config.
|
|
@@ -7,7 +14,11 @@
|
|
|
7
14
|
* [FEATURE] Deploy tracking support. Contact support@skylight.io to have this enabled for your account.
|
|
8
15
|
* [BUGFIX] Correct documentation link in `skylight setup`.
|
|
9
16
|
|
|
10
|
-
## 0.10.
|
|
17
|
+
## 0.10.2 (January 19, 2016)
|
|
18
|
+
|
|
19
|
+
* [BUGFIX] Fix git repository warning on startup. [Issue #58](https://github.com/skylightio/skylight-ruby/issues/58)
|
|
20
|
+
|
|
21
|
+
## 0.10.1 (January 4, 2016) [YANKED]
|
|
11
22
|
|
|
12
23
|
* [FEATURE] Preliminary work for deploy tracking (not yet functional)
|
|
13
24
|
* [BUGFIX] Don't crash if user config (~/.skylight) is empty
|
data/ext/libskylight.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: "0.
|
|
2
|
+
version: "1.0.0-4a74d28"
|
|
3
3
|
checksums:
|
|
4
|
-
x86-linux: "
|
|
5
|
-
x86_64-linux: "
|
|
6
|
-
x86_64-darwin: "
|
|
4
|
+
x86-linux: "66e1b9fd8c9223febf8e7febb56a2ad71714ab61193d153e2bf0f462409cb4f7"
|
|
5
|
+
x86_64-linux: "40d7e0822610244d916df5488a83af5bdc7b2aa8b2410abc672a42cfab629f3f"
|
|
6
|
+
x86_64-darwin: "1484612b150317f1debdcaeab9bea806749d8be9ac132b8cd1b92781d1972b46"
|
data/lib/skylight/cli.rb
CHANGED
|
@@ -13,7 +13,12 @@ module Skylight
|
|
|
13
13
|
desc "setup TOKEN", "Sets up a new app using the provided token"
|
|
14
14
|
def setup(token=nil)
|
|
15
15
|
if File.exist?(config_path)
|
|
16
|
-
say
|
|
16
|
+
say <<-OUT, :green
|
|
17
|
+
A config/skylight.yml already exists for your application.
|
|
18
|
+
|
|
19
|
+
Visit your app at https://www.skylight.io/app or remove config/skylight.yml
|
|
20
|
+
to set it up as a new app in Skylight.
|
|
21
|
+
OUT
|
|
17
22
|
return
|
|
18
23
|
end
|
|
19
24
|
|
data/lib/skylight/railtie.rb
CHANGED
|
@@ -25,11 +25,17 @@ module Skylight
|
|
|
25
25
|
|
|
26
26
|
if activate?
|
|
27
27
|
if config
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
begin
|
|
29
|
+
config.validate!
|
|
30
|
+
|
|
31
|
+
if Instrumenter.start!(config)
|
|
32
|
+
app.middleware.insert 0, Middleware, config: config
|
|
33
|
+
Rails.logger.info "[SKYLIGHT] [#{Skylight::VERSION}] Skylight agent enabled"
|
|
34
|
+
else
|
|
35
|
+
Rails.logger.info "[SKYLIGHT] [#{Skylight::VERSION}] Unable to start"
|
|
36
|
+
end
|
|
37
|
+
rescue ConfigError => e
|
|
38
|
+
Rails.logger.error "[SKYLIGHT] [#{Skylight::VERSION}] #{e.message}; disabling Skylight agent"
|
|
33
39
|
end
|
|
34
40
|
end
|
|
35
41
|
elsif Rails.env.development?
|
|
@@ -72,12 +78,7 @@ module Skylight
|
|
|
72
78
|
|
|
73
79
|
config[:'daemon.sockdir_path'] ||= tmp
|
|
74
80
|
config[:'normalizers.render.view_paths'] = existent_paths(app.config.paths["app/views"]) + [Rails.root.to_s]
|
|
75
|
-
config.validate!
|
|
76
81
|
config
|
|
77
|
-
|
|
78
|
-
rescue ConfigError => e
|
|
79
|
-
Rails.logger.error "[SKYLIGHT] [#{Skylight::VERSION}] #{e.message}; disabling Skylight agent"
|
|
80
|
-
nil
|
|
81
82
|
end
|
|
82
83
|
|
|
83
84
|
def configure_logging(config, app)
|
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.beta3
|
|
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-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
185
185
|
version: 1.3.1
|
|
186
186
|
requirements: []
|
|
187
187
|
rubyforge_project:
|
|
188
|
-
rubygems_version: 2.
|
|
188
|
+
rubygems_version: 2.5.2
|
|
189
189
|
signing_key:
|
|
190
190
|
specification_version: 4
|
|
191
191
|
summary: Skylight is a smart profiler for Rails apps
|