bluez-profile 1.1.1 → 1.1.2

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +7 -0
  3. data/README.md +5 -1
  4. data/ext/bluez/profile.c +2 -1
  5. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 768299afaa1258a583149f1ff896b6522159c49c2d0090d57491f144a9cfa94b
4
- data.tar.gz: d69e4bb1204ceb41f3ab4710a5bfb7948407533455f54c8d7b45c375f62f67b7
3
+ metadata.gz: 8dcf95df7073288ecb56de3d6903862151fb7bc858f0a762d62c7093058dbcf0
4
+ data.tar.gz: f3e8d075a8d2b080cb6a639aa917aa8b1432f5b6404fdd51aa864ad26c4af976
5
5
  SHA512:
6
- metadata.gz: 9e48632a5208e5f08973bbad6fde0ee347edf685ddff1dd2ab69db1e1edfac3f909390fe8809158bd2911945d23fcb0ebb75818676f87369fd012e130e85a4d4
7
- data.tar.gz: fbd115fee66256f7115f63f11a82830e96c72387eb1528101a2562b73aad34535ead60b722afd65d906a2ce117deb6308364366e05f73e927fcaae8dd6de50cc
6
+ metadata.gz: fbd831c4356a30ca8c5b877fb128a2f18cd3ede8269e29a64fc8d05109cc6989163413a61f8bf7367e61a8302612ccff6e25aef5f49ea80e519998a381f4d888
7
+ data.tar.gz: f3713c5cff6494f54147a1573283df766d674d5acb672e6c571c08603f253abef9d2989d4ba7ba50c001c85da353e2e613fab5ec422471179568ad14393ea205
data/History.md ADDED
@@ -0,0 +1,7 @@
1
+ ## 1.1.2 / 2022-04-27
2
+
3
+ * Bugfixes
4
+ * Fix 100% CPU usage in main loop. Submitted by Mahlon E. Smith
5
+
6
+
7
+ ## 1.1.1
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # bluez Profile API bindings
1
+ # Ruby binding for bluez Profile API
2
2
 
3
3
  this gem allows easy creation of bluetooth services.
4
4
  For example create a serial link over to another device using bluetooth.
@@ -21,6 +21,10 @@ in order for them to communicate.
21
21
 
22
22
  use eg `bluetoothctl`
23
23
 
24
+ ## install
25
+
26
+ gem install bluez-profile
27
+
24
28
  ## API
25
29
 
26
30
  example code:
data/ext/bluez/profile.c CHANGED
@@ -414,8 +414,9 @@ static VALUE profile_run(VALUE self){
414
414
  if (!data->running){
415
415
  data->running = TRUE;
416
416
  while(data->running){
417
- g_main_context_iteration (context, FALSE);
417
+ g_main_context_iteration(context, FALSE);
418
418
  rb_thread_schedule();
419
+ g_usleep(50);
419
420
  }
420
421
  }
421
422
  return self;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluez-profile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clive Andrews
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-21 00:00:00.000000000 Z
11
+ date: 2022-04-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create Custom Bluez Bluetooth Profiles
14
14
  email:
@@ -19,7 +19,9 @@ extensions:
19
19
  extra_rdoc_files:
20
20
  - README.md
21
21
  - LICENCE
22
+ - History.md
22
23
  files:
24
+ - History.md
23
25
  - LICENCE
24
26
  - README.md
25
27
  - ext/bluez/extconf.rb
@@ -43,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
45
  - !ruby/object:Gem::Version
44
46
  version: '0'
45
47
  requirements: []
46
- rubygems_version: 3.1.4
48
+ rubygems_version: 3.0.9
47
49
  signing_key:
48
50
  specification_version: 4
49
51
  summary: binding to Bluez Profile API