moby.rb 2.1.0 → 2.1.2

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: ea5753adffb397d0fac04ca72298366c2bb8d9c87c066c2dfe8de3af606f510b
4
- data.tar.gz: 754b6d481b1987fb9b7ee4e921c5ca8b4705512a772311c807ecd3be903ea62f
3
+ metadata.gz: ba3a6afc597c9db1e16979d49de9c456fa0f09df9b79bd8da727dc20753f1b28
4
+ data.tar.gz: 13d28ed4e1c2bfdb853b17220888883f44a0bec6fcb29f93d6c885f5b43798ee
5
5
  SHA512:
6
- metadata.gz: b3ead9e9efbd5b51a363c0da8a94cb70d953c0e3b3f0fbd70babfcd9b7676a7800ad885f0a1845d0eb34d5763119ffa74c61c57417234adcea41cca8a558a3fa
7
- data.tar.gz: 18db52de4d569c2a2e24de03ecc42d3f67ec6a0ecfda3e226c6820a596a8f8d5e23e0d56d7c893d958db124383c578b5fc23071628799ff030a4048db0f2802b
6
+ metadata.gz: 2501b61bde0ded5c8940f469398a1593cf1820e308f2dfb6cebc8399480b847d17e3b7f0131fdbd329e36a5e173bb3e9b95bc5f020ed2baa1dd77c1636056e43
7
+ data.tar.gz: d61bc512e3c585a303e98be3a16bcc56bfa74b735b56e987d435345b355848e679ccccf5007b536f85395db8135a0ae2abcd321d5f77913eb9908b8db9eea55e
data/CHANGELOG CHANGED
@@ -1,5 +1,24 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 20260819
4
+
5
+ 2.1.2: ~ moby.rb.gemspec: spec.files as [...].flatten with a Dir[] per glob, in place of one Dir[] over the lot.
6
+
7
+ 1. ~ moby.rb.gemspec: spec.files built as an array with Dir[] around each glob and flattened, rather than a single Dir[] taking the globs and the loose filenames together. This is the form the other six gems use, and it is the safer one. Dir[] answers with what matches, so under the old form a loose filename naming a file which is not there contributes nothing and the gem builds anyway, short of what its manifest said. Under this one the name reaches spec.files as a literal and gem build refuses: "[\"LICENSE\"] are not files". Nothing was being dropped here — all six loose files are present and the same 27 ship — but the old form could not have told me so.
8
+ 2. The same applies to a filename holding a glob character. Under the old form weird[1].txt is read as a character class and matches nothing; under this one it is a name.
9
+ 3. impuri went five published versions declaring spec.license = 'MIT' with no LICENSE in the repository, which is this failure in the shape it actually takes. Its 0.12.4 added the file. Under a Dir[] over the lot, adding 'LICENSE' to the manifest would have gone on building quietly until somebody thought to look inside the gem.
10
+ 4. The order is unchanged, the globs having already been first with the loose files alphabetically after them.
11
+ 5. ~ Moby::VERSION: /2.1.1/2.1.2/
12
+
13
+
14
+ ## 20260817
15
+
16
+ 2.1.1: Bring the .gitignore into line with the template.
17
+
18
+ 1. + .gitignore: The `# .gitignore` heading the other repositories carry, and a `# AI` section ignoring .claude.
19
+ 2. ~ .gitignore: /\/test\/tmp\/\n\/tmp\//tmp\//, one pattern covering both and any other tmp directory besides.
20
+
21
+
3
22
  ## 20260812
4
23
 
5
24
  2.1.0: Expose the word list on the command line.
data/lib/Moby/VERSION.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # Moby::VERSION
3
3
 
4
4
  class Moby
5
- VERSION = '2.1.0'
5
+ VERSION = '2.1.2'
6
6
  end
data/moby.rb.gemspec CHANGED
@@ -39,17 +39,17 @@ Gem::Specification.new do |spec|
39
39
  'webmock'
40
40
  ]
41
41
 
42
- spec.files = Dir[
43
- 'bin/*',
44
- 'lib/**/*.rb',
45
- 'test/**/*.rb',
42
+ spec.files = [
43
+ Dir['bin/*'],
44
+ Dir['lib/**/*.rb'],
45
+ Dir['test/**/*.rb'],
46
46
  'CHANGELOG',
47
47
  'Gemfile',
48
48
  'LICENSE.txt',
49
49
  'moby.rb.gemspec',
50
50
  'Rakefile',
51
51
  'README.md',
52
- ]
52
+ ].flatten
53
53
 
54
54
  spec.bindir = 'bin'
55
55
  spec.executables = ['moby']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moby.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran