skylight 1.0.0.beta2 → 1.0.0.beta3

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: 65cea5cc60bb1c3e0a8025ca0486b586434cd54b
4
- data.tar.gz: 7c98c5e24d2922cd684462ae86d5c125e1432a80
3
+ metadata.gz: 4624d9778ee894c7de5d5b892c1c691a90597ea9
4
+ data.tar.gz: 041745f8d26066a7bfbe0e2db38f7ba84be1b1d1
5
5
  SHA512:
6
- metadata.gz: 6767a9393d6fe515fea63ee0b4c0b92b424606325b3842fbd5949dd1e22b4cee787e8bcacd7ea67e8009872912c6202d63a6a700b8ad74d39b1b3a81d4307eae
7
- data.tar.gz: 1a1240244582028e5e1bbb40e7a551e053f8158586c4fce0032b4b0a44a42b58fdbf98981d0bf2b744a2a20f97d7788b3af6d3f1e98ed0793f0f757a603ba191
6
+ metadata.gz: 728c0f355ba9b206376b78db6201da29d365c56d11e7dc8c5c4f32457ce52817440ff0c8cd2c22825fecb094b8aa915526ea80e3d1b3594a3cff65ed35fd077d
7
+ data.tar.gz: 0f0d0eb10449986b40cb2feadd57fc9d947798e9920f2d6b893b987b0a6ce3a6480c3db170bc430ba8e18de59cdfad81ae250bf1dd4a07175c2c721818b94c45
@@ -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.1 (January 4, 2016)
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
@@ -1,6 +1,6 @@
1
1
  ---
2
- version: "0.7.0-b2a5f4b"
2
+ version: "1.0.0-4a74d28"
3
3
  checksums:
4
- x86-linux: "4ea1f0382dbbba12454d5121a4b400278b2b515b79b676e7d4a2655cdc088bfe"
5
- x86_64-linux: "42a958e6fe7f5d9b459e10ffc62c336c44f00e46c253b7f466a72f2902e8e130"
6
- x86_64-darwin: "7958533c605d98f43fbe54cdd7f7a6e39d6c8fee30acd29494465213afd123ef"
4
+ x86-linux: "66e1b9fd8c9223febf8e7febb56a2ad71714ab61193d153e2bf0f462409cb4f7"
5
+ x86_64-linux: "40d7e0822610244d916df5488a83af5bdc7b2aa8b2410abc672a42cfab629f3f"
6
+ x86_64-darwin: "1484612b150317f1debdcaeab9bea806749d8be9ac132b8cd1b92781d1972b46"
@@ -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 "Your app is already on Skylight. http://www.skylight.io", :green
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
 
@@ -25,11 +25,17 @@ module Skylight
25
25
 
26
26
  if activate?
27
27
  if config
28
- if Instrumenter.start!(config)
29
- app.middleware.insert 0, Middleware, config: config
30
- Rails.logger.info "[SKYLIGHT] [#{Skylight::VERSION}] Skylight agent enabled"
31
- else
32
- Rails.logger.info "[SKYLIGHT] [#{Skylight::VERSION}] Unable to start"
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)
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '1.0.0-beta2'
2
+ VERSION = '1.0.0-beta3'
3
3
  end
4
4
 
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.beta2
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-01-14 00:00:00.000000000 Z
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.4.5.1
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