phidgets 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 269e80f514a11868b488560279ac48490f96d6c0
4
- data.tar.gz: 3d7f3f44df420ef0354e074db95d6641f9c86270
2
+ SHA256:
3
+ metadata.gz: 4598e3cecdba6ffe24130930aa2448c014535ff15011c523725119b555c02c37
4
+ data.tar.gz: 3042c3545c7ea47497cf70de7f5aff81d1e92db45b45a28b58bdaa3d42809fae
5
5
  SHA512:
6
- metadata.gz: 35b317744b09f8602b5250715721812bd9087a985ec88ea01f64af2ba2b7640e89611a5b07d07b39b56c8f660f9c9b3c9d7162934558c5f8b1d204e44c51b92c
7
- data.tar.gz: 7495847c8447027b0cabf86f0970d861d997cf706a1888e0cf7d1a94dd1f13788e70448259ea78f786e6d660977de0bfe3fa99acd9f58884ddfc5e34ef954034
6
+ metadata.gz: ba2092518a500734f28f1700446dfa8ede8b4ce2bb575b781745a5b5cee15245fb1e3eb083367f37d6f439ddef9b172821d808bb40615a49917dc7c1b3124231
7
+ data.tar.gz: 1a9bfdb51d40bffa58ca6545800ad10794eb1e8bdf52228b7bcd602711fbe226fdcca174559423937f1a09af7ede7876f44030134e8c23da66f1fbde62dd7b44
@@ -1,4 +1,7 @@
1
- == 1.0.0 2019-xx-xx
1
+ == 1.0.1 2019-04-12
2
+ * Fix compile error in logger
3
+
4
+ == 1.0.0 2019-03-31
2
5
  * Update to phidgets library 2.2
3
6
 
4
7
  == 0.1.3 2015-11-10
@@ -9,7 +9,7 @@ This gem provides a ruby interface to the phidgets library.
9
9
 
10
10
  == FEATURES/PROBLEMS:
11
11
 
12
- * Version 1.0 of this gem if for Phidget Lib 2.2. For the older Phidget Lib 2.1, use version 0.1.3 of the gem.
12
+ * Version 1.0 of this gem is for Phidget Lib 2.2. For the older Phidget Lib 2.1, use version 0.1.3 of the gem.
13
13
  * This gem compiles a c extension for the phidget library, so the library must be installed and the development files must be located
14
14
  in a place that the compiler can find them. For windows the DevKit is required.
15
15
  * The gem has been tested to work on both Linux and Windows.
@@ -246,6 +246,7 @@ VALUE ph_log_get_sources(VALUE self) {
246
246
  const char **sources;
247
247
  uint32_t count;
248
248
  VALUE ary = rb_ary_new();
249
+ uint32_t i;
249
250
 
250
251
  ph_raise(PhidgetLog_getSources(NULL, &count));
251
252
  sources = malloc(sizeof(const char *) * count);
@@ -256,7 +257,7 @@ VALUE ph_log_get_sources(VALUE self) {
256
257
  ph_raise(rc);
257
258
  }
258
259
 
259
- for(uint32_t i=0; i<count; i++) rb_ary_push(ary, rb_str_new2(sources[i]));
260
+ for(i=0; i<count; i++) rb_ary_push(ary, rb_str_new2(sources[i]));
260
261
  free(sources);
261
262
  return ary;
262
263
  }
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Phidgets
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phidgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig DeHaan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-04-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem provides a ruby interface to the phidgets library.
14
14
  email:
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.6.13
165
+ rubygems_version: 2.7.8
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Phidgets are a set of "plug and play" building blocks for low cost USB sensing