scout-essentials 1.8.2 → 1.8.3
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/VERSION +1 -1
- data/lib/scout/open/util.rb +13 -0
- data/scout-essentials.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 180ae6bb601e12e1c23e74925fefaba6186aaeb540ae6f5721d1b2f4fa02ff2a
|
|
4
|
+
data.tar.gz: cc84e75b6542104f3776dee0870a0efe2f7a2ce1fda9e1121dfc1eaddcc078bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1c092479b0102e5e5e9b56b4c64f22b6eca3a5766f3ca53a7e7cfb13ea0422c37e51222feb62df1726fc10fc840122d704db3f739e9dd69c502c92bdca4bdd6
|
|
7
|
+
data.tar.gz: 1684cfd60654dba6953fa2cb87c0d0f0ec644532ea3da978d21a7ebe78c450c42b6ada7fab296ee3313f3661a2be12119b1b69dc666d4aee4fa885da7f0ab923
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.8.
|
|
1
|
+
1.8.3
|
data/lib/scout/open/util.rb
CHANGED
|
@@ -161,4 +161,17 @@ module Open
|
|
|
161
161
|
listener.stop
|
|
162
162
|
end
|
|
163
163
|
end
|
|
164
|
+
|
|
165
|
+
def self.find(path)
|
|
166
|
+
path = path.path if Step === path
|
|
167
|
+
path = path.find if Path === path
|
|
168
|
+
|
|
169
|
+
if Open.remote?(path)
|
|
170
|
+
path
|
|
171
|
+
elsif Open.exists?(path)
|
|
172
|
+
self.realpath(path)
|
|
173
|
+
else
|
|
174
|
+
File.expand_path(path)
|
|
175
|
+
end
|
|
176
|
+
end
|
|
164
177
|
end
|
data/scout-essentials.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: scout-essentials 1.8.
|
|
5
|
+
# stub: scout-essentials 1.8.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "scout-essentials".freeze
|
|
9
|
-
s.version = "1.8.
|
|
9
|
+
s.version = "1.8.3".freeze
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|