skippy 0.4.2.a → 0.4.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 +5 -5
- data/.appveyor.yml +32 -0
- data/.vscode/tasks.json +18 -18
- data/README.md +2 -2
- data/lib/skippy/os/common.rb +7 -0
- data/lib/skippy/os/mac.rb +3 -1
- data/lib/skippy/os/win.rb +3 -1
- data/lib/skippy/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 991d733215aa26f37690ad9c68cd6d515e648c287584c1acaa91d54ddfb74544
|
4
|
+
data.tar.gz: c5da843a98f179df55787c15805b3e0ea7b614bad8dcd450d1b503b0295050f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d095d565fc66112b57b16ab89d807ce8b2d3f4a8dc0dd8edd27f5456224a37b906b5b023bf9937fdb8fd533ea18fac75af7fad9ef61f735f003854c225f1ade
|
7
|
+
data.tar.gz: 2cc778b7b6b08973447c1868944302c2debb5a3b6e7ba03474873997f45c6b1dcd7af32866aab776740035eb0a4b3050c07dcbb7fa5f41837ee09ce1301fc748
|
data/.appveyor.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
version: "{build}-{branch}"
|
2
|
+
|
3
|
+
branches:
|
4
|
+
only:
|
5
|
+
- master
|
6
|
+
- dev-appveyor
|
7
|
+
|
8
|
+
cache:
|
9
|
+
- vendor/bundle
|
10
|
+
|
11
|
+
environment:
|
12
|
+
matrix:
|
13
|
+
- RUBY_VERSION: 25
|
14
|
+
- RUBY_VERSION: 26
|
15
|
+
|
16
|
+
install:
|
17
|
+
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
18
|
+
- gem update --no-document --system 2.7.8
|
19
|
+
- gem install bundler --no-document --version="<2.0.0"
|
20
|
+
- bundle config --local path vendor/bundle
|
21
|
+
- bundle install
|
22
|
+
- git submodule update --init --recursive
|
23
|
+
|
24
|
+
build: off
|
25
|
+
|
26
|
+
before_test:
|
27
|
+
- ruby -v
|
28
|
+
- gem -v
|
29
|
+
- bundle -v
|
30
|
+
|
31
|
+
test_script:
|
32
|
+
- bundle exec rake
|
data/.vscode/tasks.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
{
|
2
|
-
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
3
|
-
// for the documentation about the tasks.json format
|
4
|
-
"version": "2.0.0",
|
5
|
-
"tasks": [
|
6
|
-
{
|
7
|
-
"label": "rake test FILE",
|
8
|
-
"type": "shell",
|
9
|
-
"command": "bundle",
|
10
|
-
"args": [
|
11
|
-
"exec",
|
12
|
-
"rake",
|
13
|
-
"TEST=${relativeFile}"
|
14
|
-
],
|
15
|
-
"group": "test"
|
16
|
-
}
|
17
|
-
]
|
18
|
-
}
|
1
|
+
{
|
2
|
+
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
3
|
+
// for the documentation about the tasks.json format
|
4
|
+
"version": "2.0.0",
|
5
|
+
"tasks": [
|
6
|
+
{
|
7
|
+
"label": "rake test FILE",
|
8
|
+
"type": "shell",
|
9
|
+
"command": "bundle",
|
10
|
+
"args": [
|
11
|
+
"exec",
|
12
|
+
"rake",
|
13
|
+
"TEST=${relativeFile}"
|
14
|
+
],
|
15
|
+
"group": "test"
|
16
|
+
}
|
17
|
+
]
|
18
|
+
}
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Skippy
|
2
2
|
|
3
|
-
[](https://badge.fury.io/rb/skippy)
|
3
|
+
[](https://badge.fury.io/rb/skippy) [](https://ci.appveyor.com/project/thomthom/skippy/branch/master)
|
4
4
|
|
5
5
|
Skippy is a Command Line Interface which aims to automate common developer tasks for SketchUp Ruby extension development.
|
6
6
|
|
@@ -32,7 +32,7 @@ For Windows the easiest way to get Ruby running is using the [Ruby Installer for
|
|
32
32
|
## Installation
|
33
33
|
|
34
34
|
```bash
|
35
|
-
gem install skippy
|
35
|
+
gem install skippy --pre
|
36
36
|
```
|
37
37
|
|
38
38
|
## Usage
|
data/lib/skippy/os/common.rb
CHANGED
data/lib/skippy/os/mac.rb
CHANGED
@@ -18,7 +18,9 @@ class Skippy::OSMac < Skippy::OSCommon
|
|
18
18
|
Dir.glob(pattern) { |path|
|
19
19
|
app = File.join(path, 'SketchUp.app')
|
20
20
|
debug_lib = File.join(app, 'Contents/Frameworks/SURubyDebugger.dylib')
|
21
|
-
version =
|
21
|
+
version = sketchup_version_from_path(path)
|
22
|
+
next unless version
|
23
|
+
|
22
24
|
apps << Skippy::SketchUpApp.from_hash(
|
23
25
|
executable: app,
|
24
26
|
version: version,
|
data/lib/skippy/os/win.rb
CHANGED
@@ -28,7 +28,9 @@ class Skippy::OSWin < Skippy::OSCommon
|
|
28
28
|
Dir.glob(pattern) { |path|
|
29
29
|
exe = File.join(path, 'SketchUp.exe')
|
30
30
|
debug_dll = File.join(path, 'SURubyDebugger.dll')
|
31
|
-
version =
|
31
|
+
version = sketchup_version_from_path(path)
|
32
|
+
next unless version
|
33
|
+
|
32
34
|
apps << Skippy::SketchUpApp.from_hash(
|
33
35
|
executable: exe,
|
34
36
|
version: version,
|
data/lib/skippy/version.rb
CHANGED
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.4.
|
4
|
+
version: 0.4.3.a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Thomassen
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -137,6 +137,7 @@ executables:
|
|
137
137
|
extensions: []
|
138
138
|
extra_rdoc_files: []
|
139
139
|
files:
|
140
|
+
- ".appveyor.yml"
|
140
141
|
- ".editorconfig"
|
141
142
|
- ".gitignore"
|
142
143
|
- ".gitmodules"
|
@@ -245,7 +246,7 @@ homepage: https://github.com/thomthom/skippy
|
|
245
246
|
licenses:
|
246
247
|
- MIT
|
247
248
|
metadata: {}
|
248
|
-
post_install_message:
|
249
|
+
post_install_message:
|
249
250
|
rdoc_options: []
|
250
251
|
require_paths:
|
251
252
|
- lib
|
@@ -260,9 +261,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
261
|
- !ruby/object:Gem::Version
|
261
262
|
version: 1.3.1
|
262
263
|
requirements: []
|
263
|
-
|
264
|
-
|
265
|
-
signing_key:
|
264
|
+
rubygems_version: 3.0.3
|
265
|
+
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: CLI development tool for SketchUp extensions.
|
268
268
|
test_files: []
|