gemwork 0.1.0 → 0.1.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 +4 -0
- data/README.md +16 -5
- data/lib/gemwork/version.rb +1 -1
- 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: bc57190aa8c46237997e662dbac45d8e1e9dbb0a5d50e2e335c46ce7b8913e3e
|
4
|
+
data.tar.gz: 8f54f31acca9656c45fdbfff877df73c3d7f488e0186c3b1d26f690f1e79e706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e9b9385d323fb963467c638d0872d68cc7e6350bb73e998b402354d2d34aa00f9557ce4afe191a773862654d87438bb8727fc3cbc82753e7f23ceefb4b626bc
|
7
|
+
data.tar.gz: 14aab1f9fccd407b26c2ef20d32966747c62cd24ee58d521262a01a6532e90466af6dee830eeaa7a9d47198b730848799e172eb4c6506f35c1f37dbf004cee9e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -84,17 +84,28 @@ Development of Gemwork often requires making updates to its code and then testin
|
|
84
84
|
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. To facilitate this, it is recommended to add this compile/local-install step to the child gem's `bin/setup` executable:
|
85
85
|
|
86
86
|
```bash
|
87
|
-
# ./bin/setup for your child gem:
|
87
|
+
# Example ./bin/setup for your child gem:
|
88
88
|
|
89
|
-
|
89
|
+
#!/usr/bin/env bash
|
90
90
|
|
91
91
|
# Recompile and install Gemwork locally.
|
92
|
-
|
92
|
+
if [ -n "$REBUILD_GEMWORK" ]; then
|
93
|
+
( cd ~/dev/gemwork && rake install:local )
|
94
|
+
fi
|
95
|
+
|
96
|
+
set -euo pipefail
|
97
|
+
IFS=$'\n\t'
|
98
|
+
set -vx
|
93
99
|
|
94
|
-
# The above code should be placed above this line in your bin/setup:
|
95
100
|
bundle install
|
96
101
|
|
97
|
-
#
|
102
|
+
# Do any other automated setup that you need to do here
|
103
|
+
```
|
104
|
+
|
105
|
+
With the above, you can opt in to using a locally built and installed Gemwork gem from your child gem:
|
106
|
+
|
107
|
+
```bash
|
108
|
+
REBUILD_GEMWORK=1 bin/setup
|
98
109
|
```
|
99
110
|
|
100
111
|
### Releases
|
data/lib/gemwork/version.rb
CHANGED