Skip to content

Commit

Permalink
Update gemspec files
Browse files Browse the repository at this point in the history
- Add only the files we need for this library and documentation
- Exclude test suite
- Ignore built gems
- Use Dir instead of system git command to list files
  • Loading branch information
HarlemSquirrel committed Aug 29, 2020
1 parent d95697c commit 7cddc21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Gemfile.lock
.bundle
bin/
.idea
*.gem
6 changes: 3 additions & 3 deletions net-ldap.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Our roadmap for Net::LDAP 1.0 is to gain full <em>client</em> compliance with
the most recent LDAP RFCs (4510-4519, plutions of 4520-4532).}
s.email = ["blackhedd@rubyforge.org", "gemiel@gmail.com", "rory.ocon@gmail.com", "kaspar.schiess@absurd.li", "austin@rubyforge.org"]
s.extra_rdoc_files = ["Contributors.rdoc", "Hacking.rdoc", "History.rdoc", "License.rdoc", "README.rdoc"]
s.files = `git ls-files`.split $/
s.files = Dir["*.rdoc", "lib/**/*"]
s.test_files = s.files.grep(%r{^test})
s.homepage = %q{http://github.com/ruby-ldap/ruby-net-ldap}
s.rdoc_options = ["--main", "README.rdoc"]
Expand All @@ -32,6 +32,6 @@ the most recent LDAP RFCs (4510-4519, plutions of 4520-4532).}
s.add_development_dependency("flexmock", "~> 1.3")
s.add_development_dependency("rake", "~> 12.3.3")
s.add_development_dependency("rubocop", "~> 0.49.0")
s.add_development_dependency("test-unit")
s.add_development_dependency("byebug") unless RUBY_PLATFORM == "java"
s.add_development_dependency("test-unit", "~> 3.3")
s.add_development_dependency("byebug", "~> 9.0.6") unless RUBY_PLATFORM == "java"
end

0 comments on commit 7cddc21

Please sign in to comment.