Skip to content

Commit 9882dc6

Browse files
committed
minor: update gemspec and Rakefile
1 parent 8b1fbbb commit 9882dc6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Rakefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,9 @@ namespace :gem do
176176

177177
desc "Install the gem locally"
178178
task :install do
179-
sh "gem install --no-rdoc --no-ri json"
180-
181-
sh "gem uninstall -x -a -I bson"
182179
sh "gem build bson.gemspec"
183180
sh "gem install --no-rdoc --no-ri bson-*.gem"
184181

185-
sh "gem uninstall -x -a -I mongo"
186182
sh "gem build mongo.gemspec"
187183
sh "gem install --no-rdoc --no-ri mongo-*.gem"
188184

mongo.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ Gem::Specification.new do |s|
1111

1212
s.require_paths = ['lib']
1313

14-
s.files = ['README.md', 'HISTORY', 'Rakefile',
15-
'mongo.gemspec', 'LICENSE.txt']
14+
s.files = ['README.md', 'Rakefile', 'mongo.gemspec', 'LICENSE.txt']
1615
s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
17-
s.files += Dir['examples/**/*.rb'] + Dir['bin/**/*.rb']
16+
s.files += Dir['docs/**/*.md'] + Dir['examples/**/*.rb'] + Dir['bin/**/*.rb']
1817
s.files += Dir['bin/mongo_console']
1918
s.test_files = Dir['test/**/*.rb']
2019

0 commit comments

Comments
 (0)