Skip to content

Commit

Permalink
Make the gemspec work on Ruby 2.1
Browse files Browse the repository at this point in the history
also, excluded the following five files as well:

.codeclimate.yml
.github/workflows/publish.yml
.github/workflows/test.yml
.gitignore
.rubocop.yml
  • Loading branch information
amatsuda committed Jul 23, 2024
1 parent ace92a9 commit 9ba8755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocket.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.description = 'Universal Ruby library to handle WebSocket protocol'
s.license = 'MIT'

s.files = `git ls-files`.split("\n").grep_v(/^spec/)
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(spec/|\.)}) }
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

Expand Down

0 comments on commit 9ba8755

Please sign in to comment.