skippy 0.5.2.a → 0.5.3.a
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/.github/workflows/tests.yaml +2 -2
- data/lib/skippy/os/win.rb +15 -4
- data/lib/skippy/version.rb +1 -1
- data/skippy.gemspec +31 -31
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61513bd2f06b1b4f74f5cf202c243016a9bf68a55e49f8ce78becbd325163d04
|
4
|
+
data.tar.gz: 4c6c6b5b123e221db534d44c1652b839ecffbfbe2f60d599aac5c610217dbe9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3332a3092cd39921ba685359872cac27fad438e6ed18315e43722a66e46b18457efc1c33898160e994a6c3a47ed9f5a82e2ad52c49989e47b64ce4f5b47c96
|
7
|
+
data.tar.gz: 1498945f967f68da72739639b2daabf5188142de96d699568c33fcea5d6ab3d3fa6853d58241d39536b9547434e014a2152db4458ae51616be7a15156d924546
|
data/lib/skippy/os/win.rb
CHANGED
@@ -27,17 +27,28 @@ class Skippy::OSWin < Skippy::OSCommon
|
|
27
27
|
apps = []
|
28
28
|
program_files_paths.each { |program_files|
|
29
29
|
pattern = "#{program_files}/{@Last Software,Google,SketchUp}/*SketchUp *"
|
30
|
-
Dir.glob(pattern) { |
|
31
|
-
|
30
|
+
Dir.glob(pattern) { |app_path|
|
31
|
+
ext_filename = 'SketchUp.exe'
|
32
|
+
exe = File.join(app_path, ext_filename)
|
33
|
+
path = app_path
|
34
|
+
|
35
|
+
# SketchUp 2025.0 changed the location of the executable.
|
36
|
+
unless File.exist?(exe)
|
37
|
+
path = File.join(app_path, 'SketchUp')
|
38
|
+
exe = File.join(path, ext_filename)
|
39
|
+
end
|
40
|
+
|
41
|
+
next unless File.exist?(exe)
|
42
|
+
|
32
43
|
debug_dll = File.join(path, 'SURubyDebugger.dll')
|
33
|
-
version = sketchup_version_from_path(
|
44
|
+
version = sketchup_version_from_path(app_path)
|
34
45
|
next unless version
|
35
46
|
|
36
47
|
apps << Skippy::SketchUpApp.from_hash(
|
37
48
|
executable: exe,
|
38
49
|
version: version,
|
39
50
|
can_debug: File.exist?(debug_dll),
|
40
|
-
is64bit: SYSTEM_64BIT &&
|
51
|
+
is64bit: SYSTEM_64BIT && app_path.start_with?("#{PROGRAM_FILES_64BIT}/")
|
41
52
|
)
|
42
53
|
}
|
43
54
|
}
|
data/lib/skippy/version.rb
CHANGED
data/skippy.gemspec
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
# rubocop:disable all
|
2
|
-
|
3
|
-
lib = File.expand_path('../lib', __FILE__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'skippy/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'skippy'
|
9
|
-
spec.version = Skippy::VERSION
|
10
|
-
spec.authors = ['Thomas Thomassen']
|
11
|
-
spec.email = ['thomas@thomthom.net']
|
12
|
-
|
13
|
-
spec.summary = %q{CLI development tool for SketchUp extensions.}
|
14
|
-
spec.description = %q{Automate common tasks for SketchUp extension development, including managing library dependencies.}
|
15
|
-
spec.homepage = 'https://github.com/thomthom/skippy'
|
16
|
-
spec.license = 'MIT'
|
17
|
-
|
18
|
-
spec.required_ruby_version = '>= 2.3'
|
19
|
-
|
20
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
21
|
-
f.match(%r{^(test|spec|features)/})
|
22
|
-
end
|
23
|
-
spec.bindir = 'exe'
|
24
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
-
spec.require_paths = ['lib']
|
26
|
-
|
27
|
-
spec.add_dependency 'git', '~> 1.3'
|
28
|
-
spec.add_dependency 'naturally', '~> 2.1'
|
29
|
-
spec.add_dependency 'sorted_set', '~> 1.0'
|
30
|
-
spec.add_dependency 'thor', '>= 0.19', '< 2.0'
|
31
|
-
end
|
1
|
+
# rubocop:disable all
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'skippy/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'skippy'
|
9
|
+
spec.version = Skippy::VERSION
|
10
|
+
spec.authors = ['Thomas Thomassen']
|
11
|
+
spec.email = ['thomas@thomthom.net']
|
12
|
+
|
13
|
+
spec.summary = %q{CLI development tool for SketchUp extensions.}
|
14
|
+
spec.description = %q{Automate common tasks for SketchUp extension development, including managing library dependencies.}
|
15
|
+
spec.homepage = 'https://github.com/thomthom/skippy'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.required_ruby_version = '>= 2.3'
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_dependency 'git', '~> 1.3'
|
28
|
+
spec.add_dependency 'naturally', '~> 2.1'
|
29
|
+
spec.add_dependency 'sorted_set', '~> 1.0'
|
30
|
+
spec.add_dependency 'thor', '>= 0.19', '< 2.0'
|
31
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skippy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3.a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Thomassen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: 1.3.1
|
210
210
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
211
|
+
rubygems_version: 3.4.19
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: CLI development tool for SketchUp extensions.
|