ilios 0.4.0 → 0.4.2

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: e09127ca5ccb928a707381f139375a696974507f091bdf3ec1a2185675080876
4
+ data.tar.gz: b7aef5f16585006b628fcfc1339fa4a2cf8465f14beb7fb690ea97b0b2a81bd2
5
5
  SHA512:
6
- metadata.gz: c200386bf0f73dc3adea1cf56abb3778e2b968ae14309841e15e0c11f52778b663c4271e0119bea9b472a94b137c62adaa2f2a118ea89bfe2d2c8eff64ff6ca0
7
- data.tar.gz: 152eadf8000d73569e604d9c681b9e410c15a066c947c196ba66619fc776f3089a489a9363967766ee87c4ac05421960b628994e9e581e94ddf883b04810db86
6
+ metadata.gz: 222d8e3072aeb17174d13282af923eeff30eb2be1fa143adc4cb37a6c266b8c3023c1723aa0fe5eee49acda2a98702ebea1e6628e5d8c9fde1a3a8c5838f4f38
7
+ data.tar.gz: 2533002a89d9f0a3311ac31682538985e80133183976ac4f5187cf4e3553e128ac22a0ef57d6cfd92e37e5af8cff53efe864c652536670cfbba83a4e8367d4e2
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/extconf.rb CHANGED
@@ -43,8 +43,9 @@ module LibuvInstaller
43
43
 
44
44
  def self.install_from_package
45
45
  NativePackageInstaller.install(
46
- arch_linux: 'libuv',
46
+ alpine_linux: 'libuv-dev',
47
47
  alt_linux: 'libuv',
48
+ arch_linux: 'libuv',
48
49
  debian: 'libuv1-dev',
49
50
  freebsd: 'libuv',
50
51
  gentoo_linux: 'libuv',
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/ilios.gemspec CHANGED
@@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
35
35
  spec.extensions << 'ext/ilios/extconf.rb'
36
36
 
37
37
  spec.add_runtime_dependency('mini_portile2', '~> 2.8')
38
- spec.add_runtime_dependency('native-package-installer', '~> 1.1')
38
+ spec.add_runtime_dependency('native-package-installer', '~> 1.1', '>= 1.1.9')
39
39
  end
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.2'
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.2
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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_portile2
@@ -31,6 +31,9 @@ dependencies:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.1'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.1.9
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +41,9 @@ dependencies:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
43
  version: '1.1'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.1.9
41
47
  description: Cassandra driver written by C language
42
48
  email:
43
49
  - watson1978@gmail.com
@@ -71,7 +77,7 @@ metadata:
71
77
  homepage_uri: https://github.com/Watson1978/ilios
72
78
  source_code_uri: https://github.com/Watson1978/ilios
73
79
  bug_tracker_uri: https://github.com/Watson1978/ilios/issues
74
- documentation_uri: https://www.rubydoc.info/gems/ilios/0.4.0
80
+ documentation_uri: https://www.rubydoc.info/gems/ilios/0.4.2
75
81
  rubygems_mfa_required: 'true'
76
82
  post_install_message:
77
83
  rdoc_options: []