ilios 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 9a0eec8f797b5f1c0cd369a5f43f004d6acf3a27870580689ede24d637035d35
4
- data.tar.gz: 7ca5100a6125c8b6069597b4c23b26ce5313fc0222a625f9e17933ec73270562
3
+ metadata.gz: eb732bdcf04d5150f8294a8338ee88f0cb25b45fa103262fa609c66d7ab3bcd4
4
+ data.tar.gz: 6d9806c6187c7bff25edfa9ca7bba20da49a55f08caa65a6306fb3a0b9255b81
5
5
  SHA512:
6
- metadata.gz: c200386bf0f73dc3adea1cf56abb3778e2b968ae14309841e15e0c11f52778b663c4271e0119bea9b472a94b137c62adaa2f2a118ea89bfe2d2c8eff64ff6ca0
7
- data.tar.gz: 152eadf8000d73569e604d9c681b9e410c15a066c947c196ba66619fc776f3089a489a9363967766ee87c4ac05421960b628994e9e581e94ddf883b04810db86
6
+ metadata.gz: c55c0599ca523bf7bf9864ac9e7f34d1dbfb65bbaea0beba6fe9bfaff23a5e2cd288659fe531652a795e6cf913a1575e5a4645dcf0e3635352bbf2ca0c82acaa
7
+ data.tar.gz: 2f9c1ef1d6d5fce24903cde814ffb652f84fe922c792459f10d981a03767376697bde1e20401e3843e1b7efb7e8f51c9f3ff372e4bb21c85338487dd2d73d035
data/README.md CHANGED
@@ -118,7 +118,7 @@ end
118
118
  statement = session.prepare(<<~CQL)
119
119
  SELECT * FROM ilios.example
120
120
  CQL
121
- result = Ilios::Cassandra.session.execute(statement)
121
+ result = session.execute(statement)
122
122
  ```
123
123
 
124
124
  ### Asynchronous API
data/ext/ilios/future.c CHANGED
@@ -32,8 +32,11 @@ const rb_data_type_t cassandra_future_data_type = {
32
32
  static void future_thread_pool_init(future_thread_pool *pool)
33
33
  {
34
34
  pool->queue = rb_funcall(cQueue, id_new, 0);
35
+ rb_gc_register_mark_object(pool->queue);
36
+
35
37
  for (int i = 0; i < THREAD_MAX; i++) {
36
38
  pool->thread[i] = rb_thread_create(future_result_yielder_thread, (void*)pool);
39
+ rb_gc_register_mark_object(pool->thread[i]);
37
40
  }
38
41
  }
39
42
 
data/lib/ilios/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ilios
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  public_constant :VERSION
6
6
 
7
7
  CASSANDRA_CPP_DRIVER_VERSION = '2.17.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2023-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_portile2
@@ -71,7 +71,7 @@ metadata:
71
71
  homepage_uri: https://github.com/Watson1978/ilios
72
72
  source_code_uri: https://github.com/Watson1978/ilios
73
73
  bug_tracker_uri: https://github.com/Watson1978/ilios/issues
74
- documentation_uri: https://www.rubydoc.info/gems/ilios/0.4.0
74
+ documentation_uri: https://www.rubydoc.info/gems/ilios/0.4.1
75
75
  rubygems_mfa_required: 'true'
76
76
  post_install_message:
77
77
  rdoc_options: []