bson_ext 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +17 -4
- data/ext/cbson/version.h +1 -1
- metadata +5 -5
data/Rakefile
CHANGED
@@ -169,7 +169,7 @@ task :ydoc do
|
|
169
169
|
require File.join(File.dirname(__FILE__), 'lib', 'mongo')
|
170
170
|
out = File.join('ydoc', Mongo::VERSION)
|
171
171
|
FileUtils.rm_rf('ydoc')
|
172
|
-
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e
|
172
|
+
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e yard/yard_ext.rb -p yard/templates -o #{out} --title MongoRuby-#{Mongo::VERSION} --files docs/TUTORIAL.md,docs/HISTORY.md,docs/CREDITS.md,docs/1.0_UPGRADE.md"
|
173
173
|
end
|
174
174
|
|
175
175
|
namespace :gem do
|
@@ -177,22 +177,35 @@ namespace :gem do
|
|
177
177
|
desc "Install the gem locally"
|
178
178
|
task :install do
|
179
179
|
sh "gem build bson.gemspec"
|
180
|
-
sh "gem install bson-*.gem"
|
180
|
+
sh "gem install --no-rdoc --no-ri bson-*.gem"
|
181
|
+
|
181
182
|
sh "gem build mongo.gemspec"
|
182
|
-
sh "gem install mongo-*.gem"
|
183
|
+
sh "gem install --no-rdoc --no-ri mongo-*.gem"
|
184
|
+
|
183
185
|
sh "rm mongo-*.gem"
|
184
186
|
sh "rm bson-*.gem"
|
185
187
|
end
|
186
188
|
|
187
189
|
desc "Install the optional c extensions"
|
188
190
|
task :install_extensions do
|
191
|
+
sh "gem uninstall -x -a -I bson_ext"
|
189
192
|
sh "gem build bson_ext.gemspec"
|
190
|
-
sh "gem install bson_ext-*.gem"
|
193
|
+
sh "gem install --no-rdoc --no-ri bson_ext-*.gem"
|
191
194
|
sh "rm bson_ext-*.gem"
|
192
195
|
end
|
193
196
|
|
194
197
|
end
|
195
198
|
|
199
|
+
namespace :ci do
|
200
|
+
namespace :test do
|
201
|
+
task :c do
|
202
|
+
Rake::Task['gem:install'].invoke
|
203
|
+
Rake::Task['gem:install_extensions'].invoke
|
204
|
+
Rake::Task['test:c'].invoke
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
196
209
|
task :default => :list
|
197
210
|
|
198
211
|
task :list do
|
data/ext/cbson/version.h
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bson_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Dirolf
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-04 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -37,7 +37,7 @@ files:
|
|
37
37
|
- ext/cbson/buffer.h
|
38
38
|
- ext/cbson/encoding_helpers.h
|
39
39
|
- ext/cbson/version.h
|
40
|
-
has_rdoc:
|
40
|
+
has_rdoc: false
|
41
41
|
homepage: http://www.mongodb.org
|
42
42
|
licenses: []
|
43
43
|
|