Skip to content

Commit ba7af89

Browse files
Exclude symlinks #81 and other development/auxiliary files from the gem
1 parent 2910cfb commit ba7af89

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

amq-protocol.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env gem build
22
# encoding: utf-8
33

4-
require "base64"
5-
64
require File.expand_path("../lib/amq/protocol/version", __FILE__)
75

86
Gem::Specification.new do |s|
@@ -20,7 +18,7 @@ Gem::Specification.new do |s|
2018
s.required_ruby_version = Gem::Requirement.new(">= 2.2")
2119

2220
# files
23-
s.files = `git ls-files`.split("\n").reject { |file| file =~ /^vendor\// }
21+
s.files = Dir.glob("lib/**/*.rb") + %w[LICENSE README.md ChangeLog.md]
2422
s.require_paths = ["lib"]
2523

2624
s.extra_rdoc_files = ["README.md"] + Dir.glob("doc/*")

0 commit comments

Comments
 (0)