skylight 0.4.0.beta2 → 0.4.0

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: 5c2c971886aa2187432210157c789a499aa414b3
4
- data.tar.gz: 89f8c9dd4bcca24cca6f9cb58871a223bd142bbd
3
+ metadata.gz: f41a143e4cf033132f7bc8eb4dc0b9a11c362b90
4
+ data.tar.gz: 8aa8c73c68d6e05289efed9773f38f8b9e63befd
5
5
  SHA512:
6
- metadata.gz: 006fecbbc09d50807beecb2d46dcb21ef2f7750bc719f535cee16200e368f2caf2de8bd1074de133d7e24e44ad1e27cd960bad2cdedb0fffa511fe903e29e0ec
7
- data.tar.gz: e6caf8cd228af8c0e61ffd134581e9f7d9639451b3050e07996ef11aacd26ccb5520190654393a1d78772a4ab2226712c227f642824a09ba89e93cc2a65d6e65
6
+ metadata.gz: 1f54a122a8affaf55194c093792eadaa34d02cc5b850c5297845f80fdae9645581413463b159852cbaacdd88fc38d6da75a5d4f881f7266d44131d4e430d0a7d
7
+ data.tar.gz: 5d42410b700fd20f4dc17c9b728ce37b2635df0482794f7eb6b3f6cc76c205429df32e3225608e28d56eb80d7320ba5a3016815312ef89d7afacf7d1127ab2d3
@@ -1,6 +1,6 @@
1
1
  ---
2
- version: "0.4.0-e42cc44"
2
+ version: "0.4.0-17128bb"
3
3
  checksums:
4
- x86-linux: "77c56fc8a34ae2b1a1f5af97ce177e59beeff5475410864af9aafbf130dab323"
5
- x86_64-linux: "1f16effac4b96f3b214df061927cd6332a913c07b3f1d76b3c8053e9156a5732"
6
- x86_64-darwin: "5f95596ccbd720b68b98ba012b7371c18ea674712c52d45a807620e9c5c3d127"
4
+ x86-linux: "82f4cbee3ea37896c3f6197799a42750513bcc05e11ab60d897913db56d70be9"
5
+ x86_64-linux: "812557897d1713e2e4580644230488edc9f9217fe9e73c312c4353357b3be909"
6
+ x86_64-darwin: "9adc46857840d85d5158db6b395b5e1430535a8e15b3b4c880bbd1bdff4a377d"
@@ -262,6 +262,7 @@ module Skylight
262
262
  def validate_authentication
263
263
  # If a session token is specified, don't bother attempting to validate
264
264
  if config[:session_token]
265
+ debug "using pre-generated session token"
265
266
  true
266
267
  else
267
268
  api = Api.new(config)
@@ -59,22 +59,11 @@ module Skylight
59
59
 
60
60
  # @api private
61
61
  def self.warn_skylight_native_missing(config)
62
- # TODO: Dumping the error messages this way is pretty hacky
63
- is_rails = defined?(Rails)
64
- env_name = is_rails ? Rails.env : "development"
65
-
66
- if env_name == "development" || env_name == "test"
67
- config.alert_logger.warn \
68
- "[SKYLIGHT] [#{Skylight::VERSION}] Running Skylight in #{env_name} mode. " \
69
- "No data will be reported until you deploy your app.\n" \
70
- "(To disable this message, set `alert_log_file` in your config.)"
71
- else
72
- config.alert_logger.error \
73
- "[SKYLIGHT] [#{Skylight::VERSION}] The Skylight native extension for your platform wasn't found. " \
74
- "The monitoring portion of Skylight is only supported on production servers running 32- or " \
75
- "64-bit Linux. The missing extension will not affect the functioning of your application " \
76
- "and you can continue local development without data being reported. If you are on a " \
77
- "supported platform, please contact support at support@skylight.io."
78
- end
62
+ config.alert_logger.error \
63
+ "[SKYLIGHT] [#{Skylight::VERSION}] The Skylight native extension for " \
64
+ "your platform wasn't found. Supported operating systems are " \
65
+ "Linux 2.6.18+ and Mac OS X 10.8+. The missing extension will not " \
66
+ "affect the functioning of your application. If you are on a " \
67
+ "supported platform, please contact support at support@skylight.io."
79
68
  end
80
69
  end
@@ -70,7 +70,7 @@ module Skylight
70
70
 
71
71
  configure_logging(config, app)
72
72
 
73
- config['agent.sockfile_path'] ||= tmp
73
+ config['daemon.sockdir_path'] ||= tmp
74
74
  config['normalizers.render.view_paths'] = existent_paths(app.config.paths["app/views"]) + [Rails.root.to_s]
75
75
  config.validate!
76
76
  config
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.4.0-beta2'
2
+ VERSION = '0.4.0'
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: 0.4.0.beta2
4
+ version: 0.4.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: 2014-10-23 00:00:00.000000000 Z
11
+ date: 2014-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -160,9 +160,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  version: 1.9.2
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">"
163
+ - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: 1.3.1
165
+ version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
168
  rubygems_version: 2.2.2