tengine_core 0.5.32 → 0.5.33

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.32
1
+ 0.5.33
@@ -8,7 +8,7 @@ module Tengine::Core::SafeUpdatable
8
8
  options = { :upsert => false, :multiple => false }
9
9
  options.update(opts) if opts
10
10
 
11
- options = options.merge({ :safe => safemode(collection) })
11
+ options = options.merge({ :safe => safemode(collection, 1024) })
12
12
 
13
13
  max_retries = 100
14
14
  retries = 0
@@ -28,10 +28,10 @@ module Tengine::Core::SafeUpdatable
28
28
  end
29
29
  end
30
30
 
31
- def safemode(collection)
31
+ def safemode(collection, wtimeout=61440)
32
32
  res = true
33
33
  case collection.driver.db.connection when Mongo::ReplSetConnection then
34
- res = { :w => "majority", :wtimeout => 1024, }
34
+ res = { :w => "majority", :wtimeout => wtimeout, }
35
35
  end
36
36
  res
37
37
  end
data/tengine_core.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "tengine_core"
8
- s.version = "0.5.32"
8
+ s.version = "0.5.33"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["taigou", "totty", "g-morita", "shyouhei", "akm", "hiroshinakao"]
12
- s.date = "2012-02-17"
12
+ s.date = "2012-02-20"
13
13
  s.description = "tengine_core is a framework/engine to support distributed processing"
14
14
  s.email = "tengine@nautilus-technologies.com"
15
15
  s.executables = ["tengined", "tengine_heartbeat_watchd", "tengine_atd"]
@@ -177,7 +177,7 @@ Gem::Specification.new do |s|
177
177
  s.homepage = "http://github.com/tengine/tengine_core"
178
178
  s.licenses = ["MPL2.0/LGPLv3"]
179
179
  s.require_paths = ["lib"]
180
- s.rubygems_version = "1.8.15"
180
+ s.rubygems_version = "1.8.17"
181
181
  s.summary = "tengine_core is a framework/engine to support distributed processing"
182
182
 
183
183
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tengine_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.32
4
+ version: 0.5.33
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,11 +14,11 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2012-02-17 00:00:00.000000000Z
17
+ date: 2012-02-20 00:00:00.000000000Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activesupport
21
- requirement: &70278185546440 !ruby/object:Gem::Requirement
21
+ requirement: &70326622039380 !ruby/object:Gem::Requirement
22
22
  none: false
23
23
  requirements:
24
24
  - - ~>
@@ -26,10 +26,10 @@ dependencies:
26
26
  version: 3.1.0
27
27
  type: :runtime
28
28
  prerelease: false
29
- version_requirements: *70278185546440
29
+ version_requirements: *70326622039380
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activemodel
32
- requirement: &70278185545960 !ruby/object:Gem::Requirement
32
+ requirement: &70326622038860 !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
35
  - - ~>
@@ -37,10 +37,10 @@ dependencies:
37
37
  version: 3.1.0
38
38
  type: :runtime
39
39
  prerelease: false
40
- version_requirements: *70278185545960
40
+ version_requirements: *70326622038860
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: selectable_attr
43
- requirement: &70278185545440 !ruby/object:Gem::Requirement
43
+ requirement: &70326622038320 !ruby/object:Gem::Requirement
44
44
  none: false
45
45
  requirements:
46
46
  - - ~>
@@ -48,10 +48,10 @@ dependencies:
48
48
  version: 0.3.15
49
49
  type: :runtime
50
50
  prerelease: false
51
- version_requirements: *70278185545440
51
+ version_requirements: *70326622038320
52
52
  - !ruby/object:Gem::Dependency
53
53
  name: bson
54
- requirement: &70278185544840 !ruby/object:Gem::Requirement
54
+ requirement: &70326622037260 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ~>
@@ -59,10 +59,10 @@ dependencies:
59
59
  version: 1.5.2
60
60
  type: :runtime
61
61
  prerelease: false
62
- version_requirements: *70278185544840
62
+ version_requirements: *70326622037260
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: bson_ext
65
- requirement: &70278185544240 !ruby/object:Gem::Requirement
65
+ requirement: &70326622008260 !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
68
  - - ~>
@@ -70,10 +70,10 @@ dependencies:
70
70
  version: 1.5.2
71
71
  type: :runtime
72
72
  prerelease: false
73
- version_requirements: *70278185544240
73
+ version_requirements: *70326622008260
74
74
  - !ruby/object:Gem::Dependency
75
75
  name: mongo
76
- requirement: &70278185543640 !ruby/object:Gem::Requirement
76
+ requirement: &70326622007780 !ruby/object:Gem::Requirement
77
77
  none: false
78
78
  requirements:
79
79
  - - ~>
@@ -81,10 +81,10 @@ dependencies:
81
81
  version: 1.5.2
82
82
  type: :runtime
83
83
  prerelease: false
84
- version_requirements: *70278185543640
84
+ version_requirements: *70326622007780
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: mongoid
87
- requirement: &70278185542980 !ruby/object:Gem::Requirement
87
+ requirement: &70326622007280 !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
90
90
  - - ~>
@@ -92,10 +92,10 @@ dependencies:
92
92
  version: 2.3.3
93
93
  type: :runtime
94
94
  prerelease: false
95
- version_requirements: *70278185542980
95
+ version_requirements: *70326622007280
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: tengine_support
98
- requirement: &70278185542380 !ruby/object:Gem::Requirement
98
+ requirement: &70326622006760 !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
101
101
  - - ~>
@@ -103,10 +103,10 @@ dependencies:
103
103
  version: 0.3.12
104
104
  type: :runtime
105
105
  prerelease: false
106
- version_requirements: *70278185542380
106
+ version_requirements: *70326622006760
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: tengine_event
109
- requirement: &70278185541720 !ruby/object:Gem::Requirement
109
+ requirement: &70326622006240 !ruby/object:Gem::Requirement
110
110
  none: false
111
111
  requirements:
112
112
  - - ~>
@@ -114,10 +114,10 @@ dependencies:
114
114
  version: 0.4.0
115
115
  type: :runtime
116
116
  prerelease: false
117
- version_requirements: *70278185541720
117
+ version_requirements: *70326622006240
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: daemons
120
- requirement: &70278185541120 !ruby/object:Gem::Requirement
120
+ requirement: &70326622005720 !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
123
123
  - - ~>
@@ -125,10 +125,10 @@ dependencies:
125
125
  version: 1.1.4
126
126
  type: :runtime
127
127
  prerelease: false
128
- version_requirements: *70278185541120
128
+ version_requirements: *70326622005720
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: rspec
131
- requirement: &70278185540520 !ruby/object:Gem::Requirement
131
+ requirement: &70326622005240 !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
134
134
  - - ~>
@@ -136,10 +136,10 @@ dependencies:
136
136
  version: 2.6.0
137
137
  type: :development
138
138
  prerelease: false
139
- version_requirements: *70278185540520
139
+ version_requirements: *70326622005240
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: factory_girl
142
- requirement: &70278185539920 !ruby/object:Gem::Requirement
142
+ requirement: &70326622004720 !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements:
145
145
  - - ~>
@@ -147,10 +147,10 @@ dependencies:
147
147
  version: 2.1.2
148
148
  type: :development
149
149
  prerelease: false
150
- version_requirements: *70278185539920
150
+ version_requirements: *70326622004720
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: yard
153
- requirement: &70278185506400 !ruby/object:Gem::Requirement
153
+ requirement: &70326622004120 !ruby/object:Gem::Requirement
154
154
  none: false
155
155
  requirements:
156
156
  - - ~>
@@ -158,10 +158,10 @@ dependencies:
158
158
  version: 0.7.2
159
159
  type: :development
160
160
  prerelease: false
161
- version_requirements: *70278185506400
161
+ version_requirements: *70326622004120
162
162
  - !ruby/object:Gem::Dependency
163
163
  name: bundler
164
- requirement: &70278185505800 !ruby/object:Gem::Requirement
164
+ requirement: &70326622003520 !ruby/object:Gem::Requirement
165
165
  none: false
166
166
  requirements:
167
167
  - - ~>
@@ -169,10 +169,10 @@ dependencies:
169
169
  version: 1.0.18
170
170
  type: :development
171
171
  prerelease: false
172
- version_requirements: *70278185505800
172
+ version_requirements: *70326622003520
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: jeweler
175
- requirement: &70278185505200 !ruby/object:Gem::Requirement
175
+ requirement: &70326622002940 !ruby/object:Gem::Requirement
176
176
  none: false
177
177
  requirements:
178
178
  - - ~>
@@ -180,10 +180,10 @@ dependencies:
180
180
  version: 1.6.4
181
181
  type: :development
182
182
  prerelease: false
183
- version_requirements: *70278185505200
183
+ version_requirements: *70326622002940
184
184
  - !ruby/object:Gem::Dependency
185
185
  name: simplecov
186
- requirement: &70278185504600 !ruby/object:Gem::Requirement
186
+ requirement: &70326622002340 !ruby/object:Gem::Requirement
187
187
  none: false
188
188
  requirements:
189
189
  - - ~>
@@ -191,10 +191,10 @@ dependencies:
191
191
  version: 0.5.3
192
192
  type: :development
193
193
  prerelease: false
194
- version_requirements: *70278185504600
194
+ version_requirements: *70326622002340
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: ZenTest
197
- requirement: &70278185504020 !ruby/object:Gem::Requirement
197
+ requirement: &70326622001800 !ruby/object:Gem::Requirement
198
198
  none: false
199
199
  requirements:
200
200
  - - ~>
@@ -202,10 +202,10 @@ dependencies:
202
202
  version: 4.6.2
203
203
  type: :development
204
204
  prerelease: false
205
- version_requirements: *70278185504020
205
+ version_requirements: *70326622001800
206
206
  - !ruby/object:Gem::Dependency
207
207
  name: rdiscount
208
- requirement: &70278185503460 !ruby/object:Gem::Requirement
208
+ requirement: &70326622001260 !ruby/object:Gem::Requirement
209
209
  none: false
210
210
  requirements:
211
211
  - - ! '>='
@@ -213,10 +213,10 @@ dependencies:
213
213
  version: '0'
214
214
  type: :development
215
215
  prerelease: false
216
- version_requirements: *70278185503460
216
+ version_requirements: *70326622001260
217
217
  - !ruby/object:Gem::Dependency
218
218
  name: kramdown
219
- requirement: &70278185502980 !ruby/object:Gem::Requirement
219
+ requirement: &70326622000660 !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements:
222
222
  - - ! '>='
@@ -224,7 +224,7 @@ dependencies:
224
224
  version: '0'
225
225
  type: :development
226
226
  prerelease: false
227
- version_requirements: *70278185502980
227
+ version_requirements: *70326622000660
228
228
  description: tengine_core is a framework/engine to support distributed processing
229
229
  email: tengine@nautilus-technologies.com
230
230
  executables:
@@ -412,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  version: '0'
413
413
  requirements: []
414
414
  rubyforge_project:
415
- rubygems_version: 1.8.16
415
+ rubygems_version: 1.8.17
416
416
  signing_key:
417
417
  specification_version: 3
418
418
  summary: tengine_core is a framework/engine to support distributed processing