mongo_test_server 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module MongoTestServer
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -49,7 +49,7 @@ module MongoTestServer
49
49
  self.path = path
50
50
  self.name = name
51
51
  @mongo_process_or_thread = nil
52
- @mongo_instance_id = "#{Time.now.to_i}_#{Random.new.rand(10000000000..90000000000)}"
52
+ @mongo_instance_id = "#{Time.now.to_i}_#{Random.new.rand(100000..900000)}"
53
53
  @oplog_size = 200
54
54
  @configured = true
55
55
  self.started = false
@@ -68,7 +68,7 @@ module MongoTestServer
68
68
  end
69
69
 
70
70
  def name
71
- @name ||= "#{Random.new.rand(10000000000..90000000000)}"
71
+ @name ||= "#{Random.new.rand(100000..900000)}"
72
72
  end
73
73
 
74
74
  def mongo_dir
metadata CHANGED
@@ -1,51 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_test_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ prerelease:
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Axel Eriksson
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-15 00:00:00.000000000 Z
12
+ date: 2012-03-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongo
16
- requirement: &70365632511940 !ruby/object:Gem::Requirement
17
- none: false
16
+ version_requirements: &2056 !ruby/object:Gem::Requirement
18
17
  requirements:
19
18
  - - ! '>='
20
19
  - !ruby/object:Gem::Version
21
20
  version: 1.6.0
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *70365632511940
25
- - !ruby/object:Gem::Dependency
26
- name: bson_ext
27
- requirement: &70365632698560 !ruby/object:Gem::Requirement
28
21
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: 1.3.0
33
- type: :development
22
+ requirement: *2056
34
23
  prerelease: false
35
- version_requirements: *70365632698560
24
+ type: :runtime
36
25
  - !ruby/object:Gem::Dependency
37
26
  name: rspec
38
- requirement: &70365632691840 !ruby/object:Gem::Requirement
39
- none: false
27
+ version_requirements: &2074 !ruby/object:Gem::Requirement
40
28
  requirements:
41
29
  - - ! '>='
42
30
  - !ruby/object:Gem::Version
43
31
  version: 2.6.0
44
- type: :development
32
+ none: false
33
+ requirement: *2074
45
34
  prerelease: false
46
- version_requirements: *70365632691840
47
- description: Standalone mongo test server for use with rspec or other unit testing
48
- framework
35
+ type: :development
36
+ description: Standalone mongo test server for use with rspec or other unit testing framework
49
37
  email:
50
38
  - john@insane.se
51
39
  executables: []
@@ -65,28 +53,29 @@ files:
65
53
  - test.rb
66
54
  homepage: ''
67
55
  licenses: []
68
- post_install_message:
56
+ post_install_message:
69
57
  rdoc_options: []
70
58
  require_paths:
71
59
  - lib
72
60
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
61
  requirements:
75
62
  - - ! '>='
76
63
  - !ruby/object:Gem::Version
77
64
  version: '0'
78
- required_rubygems_version: !ruby/object:Gem::Requirement
79
65
  none: false
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
67
  requirements:
81
68
  - - ! '>='
82
69
  - !ruby/object:Gem::Version
83
70
  version: '0'
71
+ none: false
84
72
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 1.8.11
87
- signing_key:
73
+ rubyforge_project:
74
+ rubygems_version: 1.8.17
75
+ signing_key:
88
76
  specification_version: 3
89
77
  summary: Standalone mongo test server for use with rspec or other unit testing framework
90
78
  test_files:
91
79
  - spec/mongo_test_server/mongo_test_server_spec.rb
92
80
  - spec/spec_helper.rb
81
+ ...