ey_snaplock 0.1.1.pre → 0.1.1.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ module EY
24
24
  %x<#{@mysql} -B -N -e 'show processlist;'>.split("\n").each do |process_entry|
25
25
  id, user, host, db, command, time, state, info = process_entry.split("\t")
26
26
 
27
- next if %w{root system}.include? user
27
+ next if user == 'system user'
28
28
  next if ['Sleep', 'Binlog Dump'].include? command
29
29
 
30
30
  return true if time.to_i > cutoff_in_seconds
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  class Snaplock
3
- VERSION = '0.1.1.pre'
3
+ VERSION = '0.1.1.pre2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_snaplock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.1.pre2
5
5
  prerelease: 6
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-11-20 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
@@ -148,3 +148,4 @@ signing_key:
148
148
  specification_version: 3
149
149
  summary: Server side components for Engine Yard's snapshotting process
150
150
  test_files: []
151
+ has_rdoc: