Skip to content

Commit a20b526

Browse files
authored
Excluded test application's *.md files from the gem build (#267)
1 parent baaae44 commit a20b526

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Metrics/LineLength:
22
Max: 120
33

4+
Style/RegexpLiteral:
5+
EnforcedStyle: slashes
6+
AllowInnerSlashes: true
7+
48
Style/FrozenStringLiteralComment:
59
EnforcedStyle: never

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

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

1617
### Changes
1718

config.gemspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ Please consider donating to our open collective to help us maintain this project
2121
👉 Donate: \e[34mhttps://opencollective.com/rubyconfig/donate\e[0m\n"
2222

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

2726
s.require_paths = ['lib']
2827
s.required_ruby_version = '>= 2.4.0'

0 commit comments

Comments
 (0)