Skip to content

Commit

Permalink
Excluded test application's *.md files from the gem build (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuczynski authored Jan 8, 2020
1 parent baaae44 commit a20b526
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Metrics/LineLength:
Max: 120

Style/RegexpLiteral:
EnforcedStyle: slashes
AllowInnerSlashes: true

Style/FrozenStringLiteralComment:
EnforcedStyle: never
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

* Fix missing new_ostruct_member in Ruby 2.7 ([#255](https://github.com/railsconfig/config/pull/255))
* Fix validation contract documentation ([#260](https://github.com/railsconfig/config/pull/260))
* Excluded test application's *.md files from the gem build ([#267](https://github.com/railsconfig/config/pull/267))

### Changes

Expand Down
3 changes: 1 addition & 2 deletions config.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Please consider donating to our open collective to help us maintain this project
👉 Donate: \e[34mhttps://opencollective.com/rubyconfig/donate\e[0m\n"

s.files = `git ls-files`.split($/)
s.files.select! { |file| /(^lib\/|\.md$|\.gemspec$)/ =~ file }
s.files += Dir.glob('doc/**/*')
s.files.select! { |file| /(^lib\/|\w*.md$|\.gemspec$)/ =~ file }

s.require_paths = ['lib']
s.required_ruby_version = '>= 2.4.0'
Expand Down

0 comments on commit a20b526

Please sign in to comment.