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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 067f6d51c1853d7a05e181e42c0291c5b7d642e7
4
- data.tar.gz: 3b6390f8c2297c208b803fecc2b0c37c57e63d6d
3
+ metadata.gz: b4753335500fc79c83707c6022d126ff56277629
4
+ data.tar.gz: 738b3feeb6ab06e25317f6d2978530437cff41d2
5
5
  SHA512:
6
- metadata.gz: cbc6aaa40ead5b216b451c3a00cd7c76c591307f40b3e72a7387addeb886c531ee34636539f4f0483966b0ff2733f532f2c3fb785fe256b2a8bfa7cb025db613
7
- data.tar.gz: 9290e766596e3d9bf1858070b4a4f413b15f9a381e90dac68587ec4bdb2c8727b6c49c4bf99e45204d3fac74f79d5e9f7141b0cbfdf544a67c3a0689baf1b1e1
6
+ metadata.gz: 309981c22e1a0db6a1f63d616fde5ba902e5f2f626f028bd100eb155ab4567239a3a3b6ec954f9f12565aa2d7f3b317de42b4de7c7d6fda00f9f00a200ded4c0
7
+ data.tar.gz: 3fe913784d4cf625a65215b94b13b5d4479cce6c2ff0a3c28b86cbe35343fd9b2c8037c2d86567357de3f09e26c0d88020381e83c10fc2bdd5f1cab222bd894f
@@ -1,3 +1,7 @@
1
+ ## 0.3.20 (September 3, 2014)
2
+
3
+ * [BUGFIX] Fix app name fetching on Windows for `skylight setup`
4
+
1
5
  ## 0.3.19 (July 30, 2014)
2
6
 
3
7
  * [IMPROVEMENT] HEAD requests are no longer instrumented and will not count towards usage totals.
@@ -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
- `rails runner 'File.open(\"#{namefile.path}\", \"w\") {|f| f.write(Rails.application.class.name) }'`
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
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.3.19'
2
+ VERSION = '0.3.20'
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.3.19
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-07-30 00:00:00.000000000 Z
11
+ date: 2014-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport