the_local 0.4.1 → 0.4.3

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: c99c7f1c03fdf84c8e5180e9f3fe740a4712d16843b05a68be93c6e5f8d084cf
4
- data.tar.gz: 0f54279ed111c33b424579dfdfe1d913cd9e1a0956ef906a1e24f28b4bf23151
3
+ metadata.gz: a6895ca0b0eff8b1376c89560beed7401aadade35cff798dbd76d702ef2f363e
4
+ data.tar.gz: 5f4e5397acf13f164b83343bc8ebb9244a3df7a82109ba5a96efbfcb936c0739
5
5
  SHA512:
6
- metadata.gz: 65973e9cc66580978399dc2dfed03dbea10c3c76837c04f37dd82aa32adeb77a7c86e9141b38fa7ce3a451cdab1ea7baf779f9e144fdd063f247e17493a78f6b
7
- data.tar.gz: c717b4c90d5e9fc3e07c7efaab0a78dc529799f0d7d4592d49405342380a39ac8a3ed97c1cd3813c9df462073f3b45fbc946f94bd04b790d1f4e437a7a2f413d
6
+ metadata.gz: 86e09b4001886e6f33a3f26751c710883c5e06587924cd9964e39acdee52439a029456cdf05d435a3dd9d87c05f0e29ba95faad830af477dacd05ad0392dc94a
7
+ data.tar.gz: 7532c1d70470706abdeee55fc40902df354f9dd1bfa04b27120bca1b1a03c887d14e8672339130d6916386d283a2c27b562d64971f359cd22d693f6eb1321f18
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [0.4.3] - 2026-10-10
2
+
3
+ - A develop local is written with a shell, so it can run the host app's tests,
4
+ linter and git as the host's own process requires.
5
+
6
+ ## [0.4.2] - 2026-10-10
7
+
8
+ - Installing inside a gem now installs the locals of the runtime dependencies
9
+ declared in its gemspec, so a dependency no longer has to be listed in the
10
+ Gemfile as well. A host app still installs locals only for the gems in its
11
+ own Gemfile.
12
+
1
13
  ## [0.4.1] - 2026-07-31
2
14
 
3
15
  - Installing no longer appends a blank line to the host's `CLAUDE.md` on every
@@ -50,7 +50,7 @@ history, no rationale, no asides.
50
50
  ---
51
51
  name: <gem>-develop
52
52
  description: Use PROACTIVELY for <the declared tasks, named> — MUST BE USED instead of <the thing people hand-roll>.
53
- tools: Read, Write, Edit, Grep
53
+ tools: Bash, Read, Write, Edit, Grep
54
54
  scope: <copied verbatim from the manifest>
55
55
  ---
56
56
 
@@ -16,7 +16,7 @@ module TheLocal
16
16
  Sync.new(
17
17
  registry: TheLocal.registry,
18
18
  destination: destination,
19
- direct_dependencies: definition.dependencies.map(&:name) - [own_gem_name(definition, destination)],
19
+ direct_dependencies: direct_dependencies(definition, own_spec(definition, destination)),
20
20
  bundled_gems: definition.specs.map(&:name)
21
21
  ).call
22
22
  end
@@ -25,9 +25,15 @@ module TheLocal
25
25
  definition.specs.map { |spec| { name: spec.name, path: spec.full_gem_path } }
26
26
  end
27
27
 
28
- def self.own_gem_name(definition, destination)
28
+ def self.direct_dependencies(definition, own_spec)
29
+ return definition.dependencies.map(&:name) unless own_spec
30
+
31
+ (definition.dependencies + own_spec.runtime_dependencies).map(&:name) - [own_spec.name]
32
+ end
33
+
34
+ def self.own_spec(definition, destination)
29
35
  here = File.expand_path(destination)
30
- definition.specs.find { |spec| File.expand_path(spec.full_gem_path) == here }&.name
36
+ definition.specs.find { |spec| File.expand_path(spec.full_gem_path) == here }
31
37
  end
32
38
  end
33
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TheLocal
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - tylercschneider
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-07-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: the_local lets any gem or app declare Claude Code subagents ("locals")
14
13
  that know its conventions, and installs the aggregated set from every installed
@@ -89,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
88
  - !ruby/object:Gem::Version
90
89
  version: '0'
91
90
  requirements: []
92
- rubygems_version: 3.5.16
93
- signing_key:
91
+ rubygems_version: 4.0.20
94
92
  specification_version: 4
95
93
  summary: Resident Claude Code expert subagents, contributed by the gems an app uses.
96
94
  test_files: []