gemwork 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d3241df9423a54841f11171d2fbeff4bb63b22085bc187a18fedae95b74ee2f
4
- data.tar.gz: 7a5dea7187011408054ec03e82ec39613db139d40187db044f115a35a3b65133
3
+ metadata.gz: bc57190aa8c46237997e662dbac45d8e1e9dbb0a5d50e2e335c46ce7b8913e3e
4
+ data.tar.gz: 8f54f31acca9656c45fdbfff877df73c3d7f488e0186c3b1d26f690f1e79e706
5
5
  SHA512:
6
- metadata.gz: d0f5e9c142694babd902734ef36ccdee43439ca13a79b3d276a488136e42dfa1a8a2dd6ea2dc38ce727937bbede0e5c94d1e0da04b0508876be932af8cf5e9dd
7
- data.tar.gz: c996bc46e4a8d3b96daeb73d4d3c8ccbf9905267dc3f238de1d2cc3d4d55b500d08945591728e7065a2bbd8a50892e54e568f2d22a7c4544a20f04ca46b06aa9
6
+ metadata.gz: 7e9b9385d323fb963467c638d0872d68cc7e6350bb73e998b402354d2d34aa00f9557ce4afe191a773862654d87438bb8727fc3cbc82753e7f23ceefb4b626bc
7
+ data.tar.gz: 14aab1f9fccd407b26c2ef20d32966747c62cd24ee58d521262a01a6532e90466af6dee830eeaa7a9d47198b730848799e172eb4c6506f35c1f37dbf004cee9e
data/CHANGELOG.md CHANGED
@@ -2,4 +2,8 @@
2
2
 
3
3
  ## [0.1.1] - 2023-11-24
4
4
 
5
+ - Recommend adding a `REBUILD_GEMWORK` flag to README, for use when running `bin/setup` from a child gem.
6
+
7
+ ## [0.1.0] - 2023-11-24
8
+
5
9
  - Initial release
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
- ( cd ~/dev/gemwork && rake install:local )
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gemwork
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul DobbinSchmaltz