bson_ext 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -161,7 +161,7 @@ task :rdoc do
161
161
  version = eval(File.read("mongo.gemspec")).version
162
162
  out = File.join('html', version.to_s)
163
163
  FileUtils.rm_rf('html')
164
- system "rdoc --main README.rdoc --op #{out} --inline-source --quiet README.rdoc `find lib -name '*.rb'`"
164
+ system "rdoc --main README.md --op #{out} --inline-source --quiet README.md `find lib -name '*.rb'`"
165
165
  end
166
166
 
167
167
  desc "Generate YARD documentation"
@@ -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 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"
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/GridFS.md,docs/FAQ.md,docs/REPLICA_SETS.md,docs/WRITE_CONCERN.md,docs/HISTORY.md,docs/CREDITS.md,docs/1.0_UPGRADE.md"
173
173
  end
174
174
 
175
175
  namespace :gem do
@@ -248,8 +248,8 @@ static int write_element(VALUE key, VALUE value, VALUE extra, int allow_id) {
248
248
  long long ll_value;
249
249
  ll_value = NUM2LL(value);
250
250
 
251
- if (ll_value > 2147483647L ||
252
- ll_value < -2147483648L) {
251
+ if (ll_value > 2147483647LL ||
252
+ ll_value < -2147483648LL) {
253
253
  write_name_and_type(buffer, key, 0x12);
254
254
  SAFE_WRITE(buffer, (char*)&ll_value, 8);
255
255
  } else {
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- #define VERSION "1.1.2"
17
+ #define VERSION "1.1.3"
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
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-11-04 00:00:00 -04:00
18
+ date: 2010-11-29 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -31,13 +31,13 @@ files:
31
31
  - Rakefile
32
32
  - bson_ext.gemspec
33
33
  - ext/cbson/extconf.rb
34
+ - ext/cbson/encoding_helpers.c
34
35
  - ext/cbson/buffer.c
35
36
  - ext/cbson/cbson.c
36
- - ext/cbson/encoding_helpers.c
37
- - ext/cbson/buffer.h
38
37
  - ext/cbson/encoding_helpers.h
39
38
  - ext/cbson/version.h
40
- has_rdoc: false
39
+ - ext/cbson/buffer.h
40
+ has_rdoc: true
41
41
  homepage: http://www.mongodb.org
42
42
  licenses: []
43
43