extface 0.4.3g → 0.4.4a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ two:
13
13
  driver: star_scp700
14
14
 
15
15
  datecs_fp550:
16
- uuid: datect_fp550
16
+ uuid: datecs_fp550
17
17
  name: Datect FP550
18
18
  extfaceable: one(Shop)
19
19
  driver: datecs_fp550
@@ -45,5 +45,14 @@ module Extface
45
45
  assert_equal false, frame.valid?
46
46
  assert frame.errors.messages[:len]
47
47
  end
48
+
49
+ test "fsend" do
50
+ job_thread = Thread.new do
51
+ @driver.set_job(extface_jobs(:one))
52
+ result = @driver.fsend(0x2C) # paper move command
53
+ end
54
+ @driver.handle("\x01\x2C\x2F\x2D\x50\x04\x88\x80\xC0\x80\x80\xB0\x05\x30\x34\x35\x39\x03".b)
55
+ job_thread.join
56
+ end
48
57
  end
49
58
  end
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.3g
4
+ version: 0.4.4a
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-04-19 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -198,6 +198,10 @@ files:
198
198
  - test/dummy/config/routes.rb
199
199
  - test/dummy/db/migrate/20140221203517_create_shops.rb
200
200
  - test/dummy/db/schema.rb
201
+ - test/dummy/db/test.sqlite3
202
+ - test/dummy/log/extface/229906743/fp550.log
203
+ - test/dummy/log/extface/229906743/fp550.log.20150519
204
+ - test/dummy/log/test.log
201
205
  - test/dummy/public/404.html
202
206
  - test/dummy/public/422.html
203
207
  - test/dummy/public/500.html
@@ -256,7 +260,11 @@ test_files:
256
260
  - test/controllers/extface/devices_controller_test.rb
257
261
  - test/controllers/extface/jobs_controller_test.rb
258
262
  - test/dummy/config.ru
263
+ - test/dummy/log/extface/229906743/fp550.log.20150519
264
+ - test/dummy/log/extface/229906743/fp550.log
265
+ - test/dummy/log/test.log
259
266
  - test/dummy/db/migrate/20140221203517_create_shops.rb
267
+ - test/dummy/db/test.sqlite3
260
268
  - test/dummy/db/schema.rb
261
269
  - test/dummy/README.rdoc
262
270
  - test/dummy/app/views/layouts/application.html.erb