extface 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5786f7ad0ead78d2845a75050b446f11f7390e91
4
- data.tar.gz: c9cad39fd1bd55d726cd3b819ab1e5905c2825e6
3
+ metadata.gz: 6bbc2d977da32db1463599d13544e374be4a6d32
4
+ data.tar.gz: d8929b045ad4c3b5b3c441f6066e477e6e4f477c
5
5
  SHA512:
6
- metadata.gz: 8b0aa36e274f4ef4cdf48c39e5a58f889a69da25d4607c9866869a1ce63ae3cedc9fcd84fa1923a6aac5429659b659c30399b836ea4ee662cba9b5a194376a4e
7
- data.tar.gz: 993ea8519d2fba9d9b640252a809952c0acff8fd6e63164150bef2f928e4ae2203f8d928611957304d20f04af908be8435003c881a2ce6c567fc41137d38ca5d
6
+ metadata.gz: f65921db2cff2f256389e55929e7ca15fb338d25e10ccbaf8ede4f98b74b43bc3e05e3312a69fb5e32d104fd1c1df640e02dbbddb19802227b7a0c61ca879c98
7
+ data.tar.gz: 0205fa24fa473b79d52e7ae9f13201c704ce6d83f05255e07d9f576cabf1138928c92511fb5f9b9890848ab8692964a53e6ef66def9a8475f3f1032bf958da6e
@@ -18,6 +18,7 @@ module Extface
18
18
  INVALID_FRAME_RETRIES = 6 #count (bad length, bad checksum)
19
19
  ACKS_MAX_WAIT = 60 #count / nothing is forever
20
20
  NAKS_MAX_COUNT = 3 #count
21
+ BAD_SEQ_MAX_COUNT = 3
21
22
 
22
23
  TAX_GROUPS_MAP = {
23
24
  1 => "\xc0",
@@ -243,12 +244,22 @@ module Extface
243
244
  end
244
245
 
245
246
  def frecv(timeout) # return RespFrame or nil
246
- if frame_bytes = pull(timeout)
247
- return RespFrame.new(frame_bytes.b)
248
- else
249
- errors.add :base, "No data received from device"
250
- return nil
247
+ rframe = nil
248
+ BAD_SEQ_MAX_COUNT.times do
249
+ if frame_bytes = pull(timeout)
250
+ rframe = RespFrame.new(frame_bytes.b)
251
+ if rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
252
+ break
253
+ else
254
+ errors.add :base, "Sequence mismatch"
255
+ rframe = nil #invalidate mismatch sequence frame for the last retry
256
+ end
257
+ else
258
+ errors.add :base, "No data received from device"
259
+ break
260
+ end
251
261
  end
262
+ return rframe
252
263
  end
253
264
 
254
265
  private
@@ -6,6 +6,7 @@ module Extface
6
6
  INVALID_FRAME_RETRIES = 6 #count (bad length, bad checksum)
7
7
  ACKS_MAX_WAIT = 60 #count / nothing is forever
8
8
  NAKS_MAX_COUNT = 3 #count
9
+ BAD_SEQ_MAX_COUNT = 3
9
10
 
10
11
  TAX_GROUPS_MAP = {
11
12
  1 => "\xc0",
@@ -206,13 +207,24 @@ module Extface
206
207
  return result
207
208
  end
208
209
 
209
- def frecv(timeout) # return RespFrame or nil
210
- if frame_bytes = pull(timeout)
211
- return Frame.new(frame_bytes.b)
212
- else
213
- errors.add :base, "No data received from device"
214
- return nil
210
+ def frecv(timeout) # return Frame or nil
211
+ rframe = nil
212
+ BAD_SEQ_MAX_COUNT.times do
213
+ if frame_bytes = pull(timeout)
214
+ rframe = Frame.new(frame_bytes.b)
215
+ if rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
216
+ break
217
+ else
218
+ errors.add :base, "Sequence mismatch"
219
+ p "Invalid sequence (expected: #{sequence_number(false).to_s(16)}, got: #{rframe.seq.ord.to_s(16)})"
220
+ rframe = nil #invalidate mismatch sequence frame for the last retry
221
+ end
222
+ else
223
+ errors.add :base, "No data received from device"
224
+ break
225
+ end
215
226
  end
227
+ return rframe
216
228
  end
217
229
 
218
230
  def build_packet(cmd, data = "")
@@ -259,9 +271,9 @@ module Extface
259
271
  end
260
272
  end
261
273
 
262
- def sequence_number
274
+ def sequence_number(increment = true)
263
275
  @seq ||= 0x1f
264
- @seq += 1
276
+ @seq += 1 if increment
265
277
  @seq = 0x1f if @seq == 0x7f
266
278
  @seq
267
279
  end
@@ -11,6 +11,7 @@ module Extface
11
11
  RESPONSE_TIMEOUT = 3 #seconds
12
12
  INVALID_FRAME_RETRIES = 6 #count
13
13
  BUSY_MAX_WAIT_CYCLES = 60 #count
14
+ BAD_SEQ_MAX_COUNT = 3
14
15
 
15
16
  FLAG_TRUE = "\xff\xff"
16
17
  FLAG_FALSE = "\x00\x00"
@@ -260,12 +261,22 @@ module Extface
260
261
  end
261
262
 
262
263
  def frecv(timeout) # return RespFrame or nil
263
- if frame_bytes = pull(timeout)
264
- return Frame.new(frame_bytes.b)
265
- else
266
- errors.add :base, "No data received from device"
267
- return nil
264
+ rframe = nil
265
+ BAD_SEQ_MAX_COUNT.times do
266
+ if frame_bytes = pull(timeout)
267
+ rframe = Frame.new(frame_bytes.b)
268
+ if rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
269
+ break
270
+ else
271
+ errors.add :base, "Sequence mismatch"
272
+ rframe = nil #invalidate mismatch sequence frame for the last retry
273
+ end
274
+ else
275
+ errors.add :base, "No data received from device"
276
+ break
277
+ end
268
278
  end
279
+ return rframe
269
280
  end
270
281
 
271
282
  def pbcd(byte)
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
Binary file
@@ -1,50 +1,19 @@
1
- # Logfile created on 2015-05-20 00:00:00 -0400 by logger.rb/44203
2
- D, [2015-05-20T00:00:00.879764 #12792] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
- D, [2015-05-20T00:00:01.864476 #12792] DEBUG -- : <-- 01 2C 2F 2D 50 04 88 80 C0 80 80 B0 05 30 34 35 39 03
4
- D, [2015-05-20T00:00:10.882294 #12792] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
- D, [2015-05-20T00:02:23.587163 #13078] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
6
- D, [2015-05-20T00:02:33.590490 #13078] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
- D, [2015-05-20T00:05:57.424966 #13165] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
- D, [2015-05-20T00:06:07.427669 #13165] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
- D, [2015-05-20T00:11:16.034082 #13292] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
- D, [2015-05-20T00:11:26.037421 #13292] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
- D, [2015-05-20T00:12:25.752623 #13380] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
- D, [2015-05-20T00:12:35.754555 #13380] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
13
- D, [2015-05-20T20:40:45.021721 #18536] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
14
- D, [2015-05-20T20:40:55.025295 #18536] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
15
- D, [2015-05-20T20:49:13.593703 #18786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
16
- D, [2015-05-20T20:49:23.596921 #18786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
17
- D, [2015-05-20T20:54:25.928473 #18906] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
18
- D, [2015-05-20T20:54:35.930771 #18906] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
19
- D, [2015-05-20T20:56:35.192220 #18999] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
20
- D, [2015-05-20T20:56:45.195491 #18999] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
21
- D, [2015-05-20T20:57:06.769014 #19061] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
22
- D, [2015-05-20T20:59:56.493674 #19192] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
23
- D, [2015-05-20T21:01:03.263484 #19242] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
24
- D, [2015-05-20T21:01:14.283471 #19242] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
25
- D, [2015-05-20T21:03:28.148111 #19852] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
26
- D, [2015-05-20T21:03:59.190794 #19852] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
27
- D, [2015-05-20T21:08:03.907754 #20052] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
28
- D, [2015-05-20T21:08:04.913893 #20052] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
29
- D, [2015-05-20T21:08:14.917506 #20052] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
30
- D, [2015-05-20T21:09:23.691963 #20128] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
31
- D, [2015-05-20T21:09:24.700683 #20128] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
32
- D, [2015-05-20T21:09:34.702780 #20128] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
33
- D, [2015-05-20T21:09:55.455803 #20190] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
34
- D, [2015-05-20T21:09:56.462589 #20190] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
35
- D, [2015-05-20T21:18:51.410818 #20423] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
36
- D, [2015-05-20T21:18:52.421114 #20423] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
37
- D, [2015-05-20T21:23:13.779847 #20514] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
38
- D, [2015-05-20T21:23:14.789402 #20514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
39
- D, [2015-05-20T21:24:49.539369 #20579] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
40
- D, [2015-05-20T21:24:50.545307 #20579] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
41
- D, [2015-05-20T21:25:12.498320 #20623] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
42
- D, [2015-05-20T21:25:13.505509 #20623] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
43
- D, [2015-05-20T21:25:29.604673 #20659] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
44
- D, [2015-05-20T21:25:30.610458 #20659] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
45
- D, [2015-05-20T21:34:15.068446 #20763] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
46
- D, [2015-05-20T21:34:56.070028 #20821] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
47
- D, [2015-05-20T21:34:57.075958 #20821] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
48
- D, [2015-05-20T21:36:07.919667 #20896] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
49
- D, [2015-05-20T21:36:42.552371 #20944] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
50
- D, [2015-05-20T21:36:43.564406 #20944] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
1
+ # Logfile created on 2015-08-20 22:58:49 -0400 by logger.rb/44203
2
+ D, [2015-08-20T22:58:49.387760 #8731] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2015-08-20T23:02:51.092705 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
+ D, [2015-08-20T23:03:01.094521 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
5
+ D, [2015-08-20T23:15:08.348198 #9708] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
6
+ D, [2015-08-20T23:15:27.362920 #9748] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
+ D, [2015-08-20T23:15:43.740630 #9786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
+ D, [2015-08-20T23:17:54.654980 #9909] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
+ D, [2015-08-20T23:18:16.956819 #9946] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
+ D, [2015-08-20T23:21:02.456584 #10031] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
+ D, [2015-08-20T23:22:58.259650 #10084] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
+ D, [2015-08-20T23:27:00.101687 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
13
+ D, [2015-08-20T23:27:10.104003 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
14
+ D, [2015-08-20T23:29:04.699820 #10232] DEBUG -- : --> 01 25 2F 4A 58 05 30 30 3F 3B 03
15
+ D, [2015-08-20T23:29:05.707869 #10232] DEBUG -- : --> 01 24 30 2C 05 30 30 38 35 03
16
+ D, [2015-08-20T23:29:52.412818 #10274] DEBUG -- : --> 01 25 2E 4A 58 05 30 30 3F 3A 03
17
+ D, [2015-08-20T23:30:24.424356 #10315] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
18
+ D, [2015-08-20T23:34:26.072999 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
19
+ D, [2015-08-20T23:34:36.074700 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,50 @@
1
+ # Logfile created on 2015-05-20 00:00:00 -0400 by logger.rb/44203
2
+ D, [2015-05-20T00:00:00.879764 #12792] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2015-05-20T00:00:01.864476 #12792] DEBUG -- : <-- 01 2C 2F 2D 50 04 88 80 C0 80 80 B0 05 30 34 35 39 03
4
+ D, [2015-05-20T00:00:10.882294 #12792] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
+ D, [2015-05-20T00:02:23.587163 #13078] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
6
+ D, [2015-05-20T00:02:33.590490 #13078] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
+ D, [2015-05-20T00:05:57.424966 #13165] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
+ D, [2015-05-20T00:06:07.427669 #13165] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
+ D, [2015-05-20T00:11:16.034082 #13292] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
+ D, [2015-05-20T00:11:26.037421 #13292] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
+ D, [2015-05-20T00:12:25.752623 #13380] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
+ D, [2015-05-20T00:12:35.754555 #13380] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
13
+ D, [2015-05-20T20:40:45.021721 #18536] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
14
+ D, [2015-05-20T20:40:55.025295 #18536] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
15
+ D, [2015-05-20T20:49:13.593703 #18786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
16
+ D, [2015-05-20T20:49:23.596921 #18786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
17
+ D, [2015-05-20T20:54:25.928473 #18906] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
18
+ D, [2015-05-20T20:54:35.930771 #18906] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
19
+ D, [2015-05-20T20:56:35.192220 #18999] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
20
+ D, [2015-05-20T20:56:45.195491 #18999] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
21
+ D, [2015-05-20T20:57:06.769014 #19061] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
22
+ D, [2015-05-20T20:59:56.493674 #19192] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
23
+ D, [2015-05-20T21:01:03.263484 #19242] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
24
+ D, [2015-05-20T21:01:14.283471 #19242] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
25
+ D, [2015-05-20T21:03:28.148111 #19852] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
26
+ D, [2015-05-20T21:03:59.190794 #19852] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
27
+ D, [2015-05-20T21:08:03.907754 #20052] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
28
+ D, [2015-05-20T21:08:04.913893 #20052] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
29
+ D, [2015-05-20T21:08:14.917506 #20052] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
30
+ D, [2015-05-20T21:09:23.691963 #20128] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
31
+ D, [2015-05-20T21:09:24.700683 #20128] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
32
+ D, [2015-05-20T21:09:34.702780 #20128] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
33
+ D, [2015-05-20T21:09:55.455803 #20190] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
34
+ D, [2015-05-20T21:09:56.462589 #20190] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
35
+ D, [2015-05-20T21:18:51.410818 #20423] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
36
+ D, [2015-05-20T21:18:52.421114 #20423] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
37
+ D, [2015-05-20T21:23:13.779847 #20514] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
38
+ D, [2015-05-20T21:23:14.789402 #20514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
39
+ D, [2015-05-20T21:24:49.539369 #20579] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
40
+ D, [2015-05-20T21:24:50.545307 #20579] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
41
+ D, [2015-05-20T21:25:12.498320 #20623] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
42
+ D, [2015-05-20T21:25:13.505509 #20623] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
43
+ D, [2015-05-20T21:25:29.604673 #20659] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
44
+ D, [2015-05-20T21:25:30.610458 #20659] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
45
+ D, [2015-05-20T21:34:15.068446 #20763] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
46
+ D, [2015-05-20T21:34:56.070028 #20821] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
47
+ D, [2015-05-20T21:34:57.075958 #20821] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
48
+ D, [2015-05-20T21:36:07.919667 #20896] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
49
+ D, [2015-05-20T21:36:42.552371 #20944] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
50
+ D, [2015-05-20T21:36:43.564406 #20944] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -3489,3 +3489,666 @@ Extface::Driver::Datecs::Fp550Test: test_response_frame
3489
3489
  Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3490
3490
  Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3491
3491
   (0.1ms) rollback transaction
3492
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3493
+  (108.1ms) DROP TABLE "extface_devices"
3494
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3495
+  (64.7ms) DROP TABLE "extface_drivers"
3496
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3497
+  (56.1ms) DROP TABLE "extface_jobs"
3498
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3499
+  (0.2ms) select sqlite_version(*)
3500
+  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3501
+  (64.7ms) DROP TABLE "extface_serial_configs"
3502
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3503
+  (72.9ms) DROP TABLE "shops"
3504
+  (73.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3505
+  (0.3ms) SELECT version FROM "schema_migrations"
3506
+  (0.2ms) begin transaction
3507
+ Fixture Delete (0.3ms) DELETE FROM "extface_serial_configs"
3508
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962, 258259918)
3509
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 599072141)
3510
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
3511
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962, 'Shop', 980190962, 258259918)
3512
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 'Shop', 980190962, 599072141)
3513
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 229906743, 'Shop', 980190962, 229906743)
3514
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3515
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 258259918)
3516
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 412842077)
3517
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 599072141)
3518
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 229906743)
3519
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3520
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962)
3521
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374)
3522
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3523
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962)
3524
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374)
3525
+  (77.4ms) commit transaction
3526
+  (0.2ms) begin transaction
3527
+ -----------------------------------------------------
3528
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3529
+ -----------------------------------------------------
3530
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3531
+ Extface::Device Load (0.4ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3532
+  (0.2ms) rollback transaction
3533
+  (0.1ms) begin transaction
3534
+ ----------------------------------------------
3535
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3536
+ ----------------------------------------------
3537
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3538
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3539
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3540
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3541
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3542
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3543
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3544
+  (0.8ms) rollback transaction
3545
+  (0.1ms) begin transaction
3546
+ -----------------------------------------------
3547
+ Extface::Driver::Datecs::Fp550Test: test_handle
3548
+ -----------------------------------------------
3549
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3550
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3551
+  (0.4ms) rollback transaction
3552
+  (0.2ms) begin transaction
3553
+ -------------------------------------------------------
3554
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3555
+ -------------------------------------------------------
3556
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3557
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3558
+  (0.2ms) rollback transaction
3559
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3560
+  (94.3ms) DROP TABLE "extface_devices"
3561
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3562
+  (72.8ms) DROP TABLE "extface_drivers"
3563
+  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3564
+  (64.4ms) DROP TABLE "extface_jobs"
3565
+  (81.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3566
+  (0.2ms) select sqlite_version(*)
3567
+  (81.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3568
+  (64.4ms) DROP TABLE "extface_serial_configs"
3569
+  (81.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3570
+  (72.8ms) DROP TABLE "shops"
3571
+  (62.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3572
+  (0.2ms) SELECT version FROM "schema_migrations"
3573
+  (0.1ms) begin transaction
3574
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3575
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962, 258259918)
3576
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374, 599072141)
3577
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3578
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962, 'Shop', 980190962, 258259918)
3579
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374, 'Shop', 980190962, 599072141)
3580
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 229906743, 'Shop', 980190962, 229906743)
3581
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3582
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 258259918)
3583
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 412842077)
3584
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 599072141)
3585
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 229906743)
3586
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3587
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962)
3588
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374)
3589
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3590
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962)
3591
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374)
3592
+  (53.9ms) commit transaction
3593
+  (0.1ms) begin transaction
3594
+ -----------------------------------------------------
3595
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3596
+ -----------------------------------------------------
3597
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3598
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3599
+  (0.1ms) rollback transaction
3600
+  (0.1ms) begin transaction
3601
+ ----------------------------------------------
3602
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3603
+ ----------------------------------------------
3604
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3605
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3606
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3607
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3608
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3609
+  (0.2ms) rollback transaction
3610
+  (0.1ms) begin transaction
3611
+ -----------------------------------------------
3612
+ Extface::Driver::Datecs::Fp550Test: test_handle
3613
+ -----------------------------------------------
3614
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3615
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3616
+  (0.3ms) rollback transaction
3617
+  (0.1ms) begin transaction
3618
+ -------------------------------------------------------
3619
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3620
+ -------------------------------------------------------
3621
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3622
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3623
+  (0.1ms) rollback transaction
3624
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3625
+  (119.9ms) DROP TABLE "extface_devices"
3626
+  (73.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3627
+  (72.8ms) DROP TABLE "extface_drivers"
3628
+  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3629
+  (64.4ms) DROP TABLE "extface_jobs"
3630
+  (73.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3631
+  (0.2ms) select sqlite_version(*)
3632
+  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3633
+  (56.3ms) DROP TABLE "extface_serial_configs"
3634
+  (64.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3635
+  (64.5ms) DROP TABLE "shops"
3636
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3637
+  (0.2ms) SELECT version FROM "schema_migrations"
3638
+  (0.1ms) begin transaction
3639
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3640
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962, 258259918)
3641
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374, 599072141)
3642
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3643
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962, 'Shop', 980190962, 258259918)
3644
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374, 'Shop', 980190962, 599072141)
3645
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 229906743, 'Shop', 980190962, 229906743)
3646
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3647
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 258259918)
3648
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 412842077)
3649
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 599072141)
3650
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 229906743)
3651
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3652
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962)
3653
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374)
3654
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3655
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962)
3656
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374)
3657
+  (51.6ms) commit transaction
3658
+  (0.2ms) begin transaction
3659
+ -----------------------------------------------------
3660
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3661
+ -----------------------------------------------------
3662
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3663
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3664
+  (0.1ms) rollback transaction
3665
+  (0.1ms) begin transaction
3666
+ ----------------------------------------------
3667
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3668
+ ----------------------------------------------
3669
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3670
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3671
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3672
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3673
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3674
+  (0.3ms) rollback transaction
3675
+  (0.1ms) begin transaction
3676
+ -----------------------------------------------
3677
+ Extface::Driver::Datecs::Fp550Test: test_handle
3678
+ -----------------------------------------------
3679
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3680
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3681
+  (0.2ms) rollback transaction
3682
+  (0.1ms) begin transaction
3683
+ -------------------------------------------------------
3684
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3685
+ -------------------------------------------------------
3686
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3687
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3688
+  (0.1ms) rollback transaction
3689
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3690
+  (88.4ms) DROP TABLE "extface_devices"
3691
+  (73.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3692
+  (72.7ms) DROP TABLE "extface_drivers"
3693
+  (62.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3694
+  (59.1ms) DROP TABLE "extface_jobs"
3695
+  (62.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3696
+  (0.2ms) select sqlite_version(*)
3697
+  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3698
+  (51.1ms) DROP TABLE "extface_serial_configs"
3699
+  (62.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3700
+  (56.3ms) DROP TABLE "shops"
3701
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3702
+  (0.3ms) SELECT version FROM "schema_migrations"
3703
+  (0.1ms) begin transaction
3704
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3705
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962, 258259918)
3706
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374, 599072141)
3707
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3708
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962, 'Shop', 980190962, 258259918)
3709
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374, 'Shop', 980190962, 599072141)
3710
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 229906743, 'Shop', 980190962, 229906743)
3711
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3712
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 258259918)
3713
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 412842077)
3714
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 599072141)
3715
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 229906743)
3716
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3717
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962)
3718
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374)
3719
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3720
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962)
3721
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374)
3722
+  (60.1ms) commit transaction
3723
+  (0.1ms) begin transaction
3724
+ -----------------------------------------------------
3725
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3726
+ -----------------------------------------------------
3727
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3728
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3729
+  (0.1ms) rollback transaction
3730
+  (0.1ms) begin transaction
3731
+ ----------------------------------------------
3732
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3733
+ ----------------------------------------------
3734
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3735
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3736
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3737
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3738
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3739
+  (0.2ms) rollback transaction
3740
+  (0.1ms) begin transaction
3741
+ -----------------------------------------------
3742
+ Extface::Driver::Datecs::Fp550Test: test_handle
3743
+ -----------------------------------------------
3744
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3745
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3746
+  (0.2ms) rollback transaction
3747
+  (0.2ms) begin transaction
3748
+ -------------------------------------------------------
3749
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3750
+ -------------------------------------------------------
3751
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3752
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3753
+  (0.1ms) rollback transaction
3754
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3755
+  (79.3ms) DROP TABLE "extface_devices"
3756
+  (65.7ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3757
+  (72.6ms) DROP TABLE "extface_drivers"
3758
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3759
+  (47.5ms) DROP TABLE "extface_jobs"
3760
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3761
+  (0.2ms) select sqlite_version(*)
3762
+  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3763
+  (56.0ms) DROP TABLE "extface_serial_configs"
3764
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3765
+  (72.8ms) DROP TABLE "shops"
3766
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3767
+  (0.2ms) SELECT version FROM "schema_migrations"
3768
+  (0.1ms) begin transaction
3769
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3770
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 258259918)
3771
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 599072141)
3772
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3773
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 'Shop', 980190962, 258259918)
3774
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 'Shop', 980190962, 599072141)
3775
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 229906743, 'Shop', 980190962, 229906743)
3776
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3777
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 258259918)
3778
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 412842077)
3779
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 599072141)
3780
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 229906743)
3781
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3782
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962)
3783
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374)
3784
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3785
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962)
3786
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374)
3787
+  (61.3ms) commit transaction
3788
+  (0.1ms) begin transaction
3789
+ -----------------------------------------------------
3790
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3791
+ -----------------------------------------------------
3792
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3793
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3794
+  (0.1ms) rollback transaction
3795
+  (0.1ms) begin transaction
3796
+ ----------------------------------------------
3797
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3798
+ ----------------------------------------------
3799
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3800
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3801
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3802
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3803
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3804
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3805
+  (95.9ms) DROP TABLE "extface_devices"
3806
+  (56.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3807
+  (75.6ms) DROP TABLE "extface_drivers"
3808
+  (54.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3809
+  (51.0ms) DROP TABLE "extface_jobs"
3810
+  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3811
+  (0.2ms) select sqlite_version(*)
3812
+  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3813
+  (59.4ms) DROP TABLE "extface_serial_configs"
3814
+  (73.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3815
+  (78.1ms) DROP TABLE "shops"
3816
+  (68.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3817
+  (0.5ms) SELECT version FROM "schema_migrations"
3818
+  (0.2ms) begin transaction
3819
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3820
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962, 258259918)
3821
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374, 599072141)
3822
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3823
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962, 'Shop', 980190962, 258259918)
3824
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374, 'Shop', 980190962, 599072141)
3825
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 229906743, 'Shop', 980190962, 229906743)
3826
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
3827
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 258259918)
3828
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 412842077)
3829
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 599072141)
3830
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 229906743)
3831
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3832
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962)
3833
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374)
3834
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3835
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962)
3836
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374)
3837
+  (54.2ms) commit transaction
3838
+  (0.1ms) begin transaction
3839
+ -----------------------------------------------------
3840
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3841
+ -----------------------------------------------------
3842
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3843
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3844
+  (0.1ms) rollback transaction
3845
+  (0.1ms) begin transaction
3846
+ ----------------------------------------------
3847
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3848
+ ----------------------------------------------
3849
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3850
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3851
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3852
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3853
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3854
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3855
+  (105.5ms) DROP TABLE "extface_devices"
3856
+  (73.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3857
+  (53.2ms) DROP TABLE "extface_drivers"
3858
+  (76.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3859
+  (48.3ms) DROP TABLE "extface_jobs"
3860
+  (65.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3861
+  (0.2ms) select sqlite_version(*)
3862
+  (64.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3863
+  (56.1ms) DROP TABLE "extface_serial_configs"
3864
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3865
+  (408.6ms) DROP TABLE "shops"
3866
+  (75.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3867
+  (0.2ms) SELECT version FROM "schema_migrations"
3868
+  (0.1ms) begin transaction
3869
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3870
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962, 258259918)
3871
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374, 599072141)
3872
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3873
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962, 'Shop', 980190962, 258259918)
3874
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374, 'Shop', 980190962, 599072141)
3875
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 229906743, 'Shop', 980190962, 229906743)
3876
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3877
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 258259918)
3878
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 412842077)
3879
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 599072141)
3880
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 229906743)
3881
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3882
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962)
3883
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374)
3884
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3885
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962)
3886
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374)
3887
+  (67.0ms) commit transaction
3888
+  (0.2ms) begin transaction
3889
+ -----------------------------------------------------
3890
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3891
+ -----------------------------------------------------
3892
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3893
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3894
+  (0.2ms) rollback transaction
3895
+  (0.1ms) begin transaction
3896
+ ----------------------------------------------
3897
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3898
+ ----------------------------------------------
3899
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3900
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3901
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3902
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3903
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3904
+  (0.3ms) rollback transaction
3905
+  (0.2ms) begin transaction
3906
+ -----------------------------------------------
3907
+ Extface::Driver::Datecs::Fp550Test: test_handle
3908
+ -----------------------------------------------
3909
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3910
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3911
+  (0.2ms) rollback transaction
3912
+  (0.1ms) begin transaction
3913
+ -------------------------------------------------------
3914
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3915
+ -------------------------------------------------------
3916
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3917
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3918
+  (0.2ms) rollback transaction
3919
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3920
+  (113.7ms) DROP TABLE "extface_devices"
3921
+  (62.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3922
+  (67.5ms) DROP TABLE "extface_drivers"
3923
+  (65.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3924
+  (56.7ms) DROP TABLE "extface_jobs"
3925
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3926
+  (0.2ms) select sqlite_version(*)
3927
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3928
+  (56.5ms) DROP TABLE "extface_serial_configs"
3929
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3930
+  (73.0ms) DROP TABLE "shops"
3931
+  (74.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3932
+  (0.2ms) SELECT version FROM "schema_migrations"
3933
+  (0.1ms) begin transaction
3934
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
3935
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962, 258259918)
3936
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374, 599072141)
3937
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
3938
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962, 'Shop', 980190962, 258259918)
3939
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374, 'Shop', 980190962, 599072141)
3940
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 229906743, 'Shop', 980190962, 229906743)
3941
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
3942
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 258259918)
3943
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 412842077)
3944
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 599072141)
3945
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 229906743)
3946
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
3947
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962)
3948
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374)
3949
+ Fixture Delete (0.1ms) DELETE FROM "shops"
3950
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962)
3951
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374)
3952
+  (48.7ms) commit transaction
3953
+  (0.1ms) begin transaction
3954
+ -----------------------------------------------------
3955
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
3956
+ -----------------------------------------------------
3957
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3958
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3959
+  (0.1ms) rollback transaction
3960
+  (0.1ms) begin transaction
3961
+ ----------------------------------------------
3962
+ Extface::Driver::Datecs::Fp550Test: test_fsend
3963
+ ----------------------------------------------
3964
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3965
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3966
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
3967
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3968
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3969
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
3970
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
3971
+  (1.2ms) rollback transaction
3972
+  (0.2ms) begin transaction
3973
+ -----------------------------------------------
3974
+ Extface::Driver::Datecs::Fp550Test: test_handle
3975
+ -----------------------------------------------
3976
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3977
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3978
+  (0.2ms) rollback transaction
3979
+  (0.1ms) begin transaction
3980
+ -------------------------------------------------------
3981
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
3982
+ -------------------------------------------------------
3983
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
3984
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
3985
+  (0.1ms) rollback transaction
3986
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3987
+  (81.6ms) DROP TABLE "extface_devices"
3988
+  (70.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
3989
+  (67.5ms) DROP TABLE "extface_drivers"
3990
+  (73.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
3991
+  (64.7ms) DROP TABLE "extface_jobs"
3992
+  (73.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
3993
+  (0.2ms) select sqlite_version(*)
3994
+  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
3995
+  (64.7ms) DROP TABLE "extface_serial_configs"
3996
+  (73.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
3997
+  (72.8ms) DROP TABLE "shops"
3998
+  (73.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
3999
+  (0.3ms) SELECT version FROM "schema_migrations"
4000
+  (0.1ms) begin transaction
4001
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4002
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962, 258259918)
4003
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374, 599072141)
4004
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4005
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962, 'Shop', 980190962, 258259918)
4006
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374, 'Shop', 980190962, 599072141)
4007
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 229906743, 'Shop', 980190962, 229906743)
4008
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4009
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 258259918)
4010
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 412842077)
4011
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 599072141)
4012
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 229906743)
4013
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4014
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962)
4015
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374)
4016
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4017
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962)
4018
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374)
4019
+  (63.8ms) commit transaction
4020
+  (0.2ms) begin transaction
4021
+ -----------------------------------------------------
4022
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
4023
+ -----------------------------------------------------
4024
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4025
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4026
+  (0.2ms) rollback transaction
4027
+  (0.1ms) begin transaction
4028
+ ----------------------------------------------
4029
+ Extface::Driver::Datecs::Fp550Test: test_fsend
4030
+ ----------------------------------------------
4031
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4032
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4033
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4034
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4035
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4036
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4037
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4038
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4039
+  (98.2ms) DROP TABLE "extface_devices"
4040
+  (65.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4041
+  (64.5ms) DROP TABLE "extface_drivers"
4042
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4043
+  (56.4ms) DROP TABLE "extface_jobs"
4044
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4045
+  (0.2ms) select sqlite_version(*)
4046
+  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4047
+  (55.7ms) DROP TABLE "extface_serial_configs"
4048
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4049
+  (80.6ms) DROP TABLE "shops"
4050
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4051
+  (0.2ms) SELECT version FROM "schema_migrations"
4052
+  (0.1ms) begin transaction
4053
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4054
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 258259918)
4055
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 599072141)
4056
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4057
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 'Shop', 980190962, 258259918)
4058
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 'Shop', 980190962, 599072141)
4059
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 229906743, 'Shop', 980190962, 229906743)
4060
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4061
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 258259918)
4062
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 412842077)
4063
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 599072141)
4064
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 229906743)
4065
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4066
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962)
4067
+ Fixture Insert (0.2ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374)
4068
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4069
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962)
4070
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374)
4071
+  (64.2ms) commit transaction
4072
+  (0.1ms) begin transaction
4073
+ -----------------------------------------------------
4074
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
4075
+ -----------------------------------------------------
4076
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4077
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4078
+  (0.2ms) rollback transaction
4079
+  (0.1ms) begin transaction
4080
+ ----------------------------------------------
4081
+ Extface::Driver::Datecs::Fp550Test: test_fsend
4082
+ ----------------------------------------------
4083
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4084
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4085
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4086
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4087
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4088
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4089
+  (87.4ms) DROP TABLE "extface_devices"
4090
+  (84.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4091
+  (64.7ms) DROP TABLE "extface_drivers"
4092
+  (62.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4093
+  (50.8ms) DROP TABLE "extface_jobs"
4094
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4095
+  (0.2ms) select sqlite_version(*)
4096
+  (61.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4097
+  (51.3ms) DROP TABLE "extface_serial_configs"
4098
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4099
+  (64.5ms) DROP TABLE "shops"
4100
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4101
+  (0.2ms) SELECT version FROM "schema_migrations"
4102
+  (0.1ms) begin transaction
4103
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4104
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962, 258259918)
4105
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374, 599072141)
4106
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4107
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962, 'Shop', 980190962, 258259918)
4108
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374, 'Shop', 980190962, 599072141)
4109
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 229906743, 'Shop', 980190962, 229906743)
4110
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4111
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 258259918)
4112
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 412842077)
4113
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 599072141)
4114
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 229906743)
4115
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4116
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962)
4117
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374)
4118
+ Fixture Delete (0.0ms) DELETE FROM "shops"
4119
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962)
4120
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374)
4121
+  (60.4ms) commit transaction
4122
+  (0.1ms) begin transaction
4123
+ -----------------------------------------------------
4124
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
4125
+ -----------------------------------------------------
4126
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4127
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4128
+  (0.1ms) rollback transaction
4129
+  (0.1ms) begin transaction
4130
+ ----------------------------------------------
4131
+ Extface::Driver::Datecs::Fp550Test: test_fsend
4132
+ ----------------------------------------------
4133
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4134
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4135
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4136
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4137
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4138
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4139
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4140
+  (0.9ms) rollback transaction
4141
+  (0.1ms) begin transaction
4142
+ -----------------------------------------------
4143
+ Extface::Driver::Datecs::Fp550Test: test_handle
4144
+ -----------------------------------------------
4145
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4146
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4147
+  (0.3ms) rollback transaction
4148
+  (0.1ms) begin transaction
4149
+ -------------------------------------------------------
4150
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
4151
+ -------------------------------------------------------
4152
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4153
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4154
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-03 00:00:00.000000000 Z
11
+ date: 2015-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -203,6 +203,7 @@ files:
203
203
  - test/dummy/db/test.sqlite3
204
204
  - test/dummy/log/extface/229906743/fp550.log
205
205
  - test/dummy/log/extface/229906743/fp550.log.20150519
206
+ - test/dummy/log/extface/229906743/fp550.log.20150819
206
207
  - test/dummy/log/test.log
207
208
  - test/dummy/public/404.html
208
209
  - test/dummy/public/422.html
@@ -262,6 +263,7 @@ test_files:
262
263
  - test/controllers/extface/devices_controller_test.rb
263
264
  - test/controllers/extface/jobs_controller_test.rb
264
265
  - test/dummy/config.ru
266
+ - test/dummy/log/extface/229906743/fp550.log.20150819
265
267
  - test/dummy/log/extface/229906743/fp550.log.20150519
266
268
  - test/dummy/log/extface/229906743/fp550.log
267
269
  - test/dummy/log/test.log