skylight 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/LICENSE.md +1 -1
- data/lib/skylight/util/component.rb +7 -3
- data/lib/skylight/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9284c24d50d2627e053cf5e7e73d8c5961b71c085f0f8200f7a505857e47d82
|
4
|
+
data.tar.gz: 84e8183da0dde6c1834da6db92898f280f2bda2c04d1657e375c09987b9625e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd8007de9e639b06f71040fc1f01ced07059878be13b2a08eda4b8560b1f3ab6bfea11cddd23d7c30dd0bd7821a81163a31b9e470374d468d99a111112bdb70d
|
7
|
+
data.tar.gz: add7a4ffab54af803c6bbebecb5fd1deba798b0a02e9b89d50aa2ac0a62084c0ea50aeb927863652e93a2f1d53428905f19b8c25d5b8715cbdd8d2e719f6e09c
|
data/CHANGELOG.md
CHANGED
data/LICENSE.md
CHANGED
@@ -79,7 +79,7 @@ module Skylight
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def known_web_context?
|
82
|
-
rails_server? ||
|
82
|
+
rails_server? || rack_server? || passenger? || unicorn?
|
83
83
|
end
|
84
84
|
|
85
85
|
def known_worker_context?
|
@@ -91,8 +91,12 @@ module Skylight
|
|
91
91
|
defined?(Rails::Server)
|
92
92
|
end
|
93
93
|
|
94
|
-
def
|
95
|
-
program_name[/rackup$/]
|
94
|
+
def rack_server?
|
95
|
+
program_name[/(?<!\w)(falcon|puma|rackup|thin)$/]
|
96
|
+
end
|
97
|
+
|
98
|
+
def unicorn?
|
99
|
+
program_name[/\Aunicorn/]
|
96
100
|
end
|
97
101
|
|
98
102
|
def passenger?
|
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: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: skylight-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.
|
19
|
+
version: 4.0.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.
|
26
|
+
version: 4.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: beefcake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|