appshot 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,11 +15,11 @@ class Appshot
15
15
  end
16
16
 
17
17
  def lock
18
- %x[#{@mongo_binary} --host localhost:#{@port} --eval "db.runCommand({ fsync:1, lock:1 })" admin ]
18
+ %x[#{@mongo_binary} --host localhost:#{@port} --eval "db.fsyncLock()"]
19
19
  end
20
20
 
21
21
  def unlock
22
- %x[#{@mongo_binary} --host localhost:#{@port} --eval "db.$cmd.sys.unlock.findOne()" admin ]
22
+ %x[#{@mongo_binary} --host localhost:#{@port} --eval "db.fsyncUnlock()"]
23
23
  end
24
24
  end
25
25
  end
@@ -13,7 +13,7 @@ class Appshot
13
13
  end
14
14
 
15
15
  def invoke_save
16
- %x[ #{redis_binary} bgsave ]
16
+ %x[ #{@redis_binary} bgsave ]
17
17
  end
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  class Appshot
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-17 00:00:00.000000000 Z
12
+ date: 2012-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -278,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
278
  version: '0'
279
279
  segments:
280
280
  - 0
281
- hash: 169757010813523960
281
+ hash: 2272615325912088486
282
282
  required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  none: false
284
284
  requirements:
@@ -287,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
287
  version: '0'
288
288
  segments:
289
289
  - 0
290
- hash: 169757010813523960
290
+ hash: 2272615325912088486
291
291
  requirements: []
292
292
  rubyforge_project:
293
293
  rubygems_version: 1.8.24