Skip to content

Commit 610294b

Browse files
committed
Reduce gem size
From 60MB to 40KB, by effectively excluding the vendor/* folder now.
1 parent bad78dd commit 610294b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Gemfile.lock
1212
.vagrant
1313
Vagrantfile
1414
!example_box/Vagrantfile
15-
coverage/
16-
vendor/
15+
coverage/*
16+
vendor/*

vagrant-cloudstack.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
4848
# as git).
4949
#
5050
gitignore.any? do |ignore|
51-
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
51+
File.fnmatch(ignore, file) ||
5252
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
5353
end
5454
end

0 commit comments

Comments
 (0)