Skip to content

Commit

Permalink
Ignore the LICENSE file added in tzdata v2016a.
Browse files Browse the repository at this point in the history
  • Loading branch information
philr committed Jan 28, 2016
1 parent 65074be commit b9607e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tzinfo/data/tzdataparser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def execute

files = Dir.entries(@input_dir).select do |file|
file =~ /\A[^\.]+\z/ &&
!%w(backzone checktab.awk leapseconds leapseconds.awk leap-seconds.list CONTRIBUTING Makefile NEWS README SOURCE Theory zoneinfo2tdf.pl).include?(file) &&
!%w(backzone checktab.awk leapseconds leapseconds.awk leap-seconds.list CONTRIBUTING LICENSE Makefile NEWS README SOURCE Theory zoneinfo2tdf.pl).include?(file) &&
File.file?(File.join(@input_dir, file))
end

Expand Down
2 changes: 1 addition & 1 deletion test/tc_definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TCDefinitions < Minitest::Test
def data_files
files = Dir.entries(DATA_DIR).select do |name|
name =~ /\A[^\.]+\z/ &&
!%w(backzone checktab.awk leapseconds leapseconds.awk leap-seconds.list CONTRIBUTING Makefile NEWS README SOURCE Theory zoneinfo2tdf.pl).include?(name) &&
!%w(backzone checktab.awk leapseconds leapseconds.awk leap-seconds.list CONTRIBUTING LICENSE Makefile NEWS README SOURCE Theory zoneinfo2tdf.pl).include?(name) &&
File.file?(File.join(DATA_DIR, name))
end

Expand Down

0 comments on commit b9607e4

Please sign in to comment.