gemwork 0.7.4 → 0.7.5
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/CHANGELOG.md +4 -0
- data/README.md +2 -23
- data/lib/gemwork/version.rb +1 -1
- data/lib/tasks/eslint.rake +2 -2
- 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: a77cbf62a0697b0a68af8b80737a461664f6778cd598dd3e6c6517833157b93d
|
4
|
+
data.tar.gz: 7afd9137f62cdf6e7e861a7a2d91253a2ef0ff8d6bb24c3eef40cea98f57f0bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3c533b519c9403d6277d010334279bea3d6cd9ae3b3812b033859c0448bee77e71091ad252d3126edcc6c1d1d295d8949d271907ce0024d2cbc392a08bfcb4
|
7
|
+
data.tar.gz: f9d4b2a2a2fb7a0c8670fd309a3e82a9bb254b105f3394b1ffbaf157f4486c5ef96a4d84b6be0478a76f84335c49cf5f6f00ac5a509ffed2d4b3c3ac00af5ae0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -298,31 +298,10 @@ For Rails projects, you may want to manually install additional gems as well:
|
|
298
298
|
|
299
299
|
Development of Gemwork often requires making updates to its code and then testing them in another child gem that uses Gemwork.
|
300
300
|
|
301
|
-
Even if the child gem already has the `gemwork` gem installed from RubyGems, local changes to Gemwork can be compiled and installed as a local gem, which the child gem will then immediately utilize.
|
301
|
+
Even if the child gem already has the `gemwork` gem installed from RubyGems, local changes to Gemwork can be compiled and installed as a local gem, which the child gem will then immediately utilize. Here is a macro to facilitate this (just update the path to match your gemwork source directory):
|
302
302
|
|
303
303
|
```bash
|
304
|
-
|
305
|
-
|
306
|
-
#!/usr/bin/env bash
|
307
|
-
|
308
|
-
# Recompile and install Gemwork locally.
|
309
|
-
if [ -n "$REBUILD_GEMWORK" ]; then
|
310
|
-
( cd ~/dev/gemwork && bin/setup && rake install:local )
|
311
|
-
fi
|
312
|
-
|
313
|
-
set -euo pipefail
|
314
|
-
IFS=$'\n\t'
|
315
|
-
set -vx
|
316
|
-
|
317
|
-
bundle install
|
318
|
-
|
319
|
-
# Do any other automated setup that you need to do here
|
320
|
-
```
|
321
|
-
|
322
|
-
With the above, you can opt in to using a locally built and installed Gemwork gem from your child gem:
|
323
|
-
|
324
|
-
```bash
|
325
|
-
REBUILD_GEMWORK=1 bin/setup
|
304
|
+
alias gemworkr!='cd ~/dev/gemwork && bin/setup && rake install:local && cd -'
|
326
305
|
```
|
327
306
|
|
328
307
|
### Testing
|
data/lib/gemwork/version.rb
CHANGED
data/lib/tasks/eslint.rake
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
desc "Run eslint on app/javascript
|
3
|
+
desc "Run eslint on app/javascript"
|
4
4
|
task :eslint do
|
5
|
-
command = "npx eslint app/javascript
|
5
|
+
command = "npx eslint app/javascript"
|
6
6
|
success = system(command)
|
7
7
|
|
8
8
|
if success
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul DobbinSchmaltz
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-18 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
- !ruby/object:Gem::Version
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
|
-
rubygems_version: 3.6.
|
262
|
+
rubygems_version: 3.6.3
|
263
263
|
specification_version: 4
|
264
264
|
summary: Common gem framework code used by pdobb's Ruby Gems.
|
265
265
|
test_files: []
|