Skip to content

Commit 2c9451f

Browse files
thiagoaclaude
andcommitted
Add duck mascot to README
Exclude assets/ from the installed gem, alongside the already-excluded test/ and spec/ directories. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 21d7948 commit 2c9451f

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
[![CI](https://github.com/thoughtbot/duck_typer/actions/workflows/ci.yml/badge.svg)](https://github.com/thoughtbot/duck_typer/actions/workflows/ci.yml)
44

5+
<div align="center">
6+
<img alt="DuckTyper mascot" src="assets/duck_mugshot.png" width="300">
7+
</div>
8+
9+
> If it quacks like a duck, it's a duck. Or is it a duck in disguise?
10+
511
DuckTyper enforces duck-typed interfaces in Ruby by comparing the
612
public method signatures of classes, surfacing mismatches through
713
your test suite.

assets/duck_mugshot.png

664 KB
Loading

duck_typer.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
2525
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
2626
ls.readlines("\x0", chomp: true).reject do |f|
2727
(f == gemspec) ||
28-
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
28+
f.start_with?(*%w[assets/ bin/ test/ spec/ features/ .git appveyor Gemfile])
2929
end
3030
end
3131
spec.bindir = "exe"

0 commit comments

Comments
 (0)