skylight 0.3.19 → 0.3.20
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 +4 -0
- data/lib/skylight/cli.rb +2 -1
- data/lib/skylight/railtie.rb +2 -1
- data/lib/skylight/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4753335500fc79c83707c6022d126ff56277629
|
|
4
|
+
data.tar.gz: 738b3feeb6ab06e25317f6d2978530437cff41d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 309981c22e1a0db6a1f63d616fde5ba902e5f2f626f028bd100eb155ab4567239a3a3b6ec954f9f12565aa2d7f3b317de42b4de7c7d6fda00f9f00a200ded4c0
|
|
7
|
+
data.tar.gz: 3fe913784d4cf625a65215b94b13b5d4479cce6c2ff0a3c28b86cbe35343fd9b2c8037c2d86567357de3f09e26c0d88020381e83c10fc2bdd5f1cab222bd894f
|
data/CHANGELOG.md
CHANGED
data/lib/skylight/cli.rb
CHANGED
|
@@ -69,7 +69,8 @@ repository and deploy from there. You can learn more about the process at:
|
|
|
69
69
|
# will prevent us from communicating with the Skylight API
|
|
70
70
|
begin
|
|
71
71
|
namefile = Tempfile.new('skylight-app-name')
|
|
72
|
-
|
|
72
|
+
# Windows appears to need double quotes for `rails runner`
|
|
73
|
+
`rails runner "File.open('#{namefile.path}', 'w') {|f| f.write(Rails.application.class.name) }"`
|
|
73
74
|
name = namefile.read.split("::").first.underscore.titleize
|
|
74
75
|
ensure
|
|
75
76
|
namefile.close
|
data/lib/skylight/railtie.rb
CHANGED
|
@@ -33,7 +33,8 @@ module Skylight
|
|
|
33
33
|
Rails.logger.warn "[SKYLIGHT] [#{Skylight::VERSION}] No configuration found; disabling Skylight agent"
|
|
34
34
|
end
|
|
35
35
|
elsif Rails.env.development?
|
|
36
|
-
log_warning config, "[SKYLIGHT] [#{Skylight::VERSION}] Running Skylight in development mode. No data will be reported until you deploy your app
|
|
36
|
+
log_warning config, "[SKYLIGHT] [#{Skylight::VERSION}] Running Skylight in development mode. No data will be reported until you deploy your app.\n" \
|
|
37
|
+
"(To disable this message, set `alert_logger_file` in your config.)"
|
|
37
38
|
elsif !Rails.env.test?
|
|
38
39
|
log_warning config, "[SKYLIGHT] [#{Skylight::VERSION}] You are running in the #{Rails.env} environment but haven't added it to config.skylight.environments, so no data will be sent to skylight.io."
|
|
39
40
|
end
|
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: 0.3.
|
|
4
|
+
version: 0.3.20
|
|
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-
|
|
11
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|