ilios 0.3.1 → 0.3.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: 97cd17ec9e27eba88f4200dc050417934daa8820a8c6621b47ffa0e76d4f38be
4
- data.tar.gz: '0508e6e770984ba635caa2a587a69a7a2a0b7eedab2016dfa1292480ddf81ea6'
3
+ metadata.gz: 7841d4ad68b5090cc50963acc2e6f8b7962d87fce97d662f21d2e162665494de
4
+ data.tar.gz: 9a185b594c0406c369fa65d62bc05251e6f9dee221497a19cd940235fc38308c
5
5
  SHA512:
6
- metadata.gz: b882a9744b4cde1c74429c6a4ab3bc8de0338ac0e7b56a9bd657ad0c843a35c77deaa884e2a898c5b5ae5a4dff5c8d8aadfce30a4000dbf4df103e7376bd3b1c
7
- data.tar.gz: 66757dbdfc249e68613f1ace36092520b8efad5d82db1f41a15ba8b0b2226502abd6bb288a9e7a73d6e82f7c0491bb2f86de3e977b4556cced7ae50c4feff439
6
+ metadata.gz: 846bd0ef0240d01fa0fbfe1cd12b3cbb4e4430b864f745de00efd3ed9f98651444be936ab06dd693259e184219a0bfcecf570d820da0422f7bd332b6346d3fed
7
+ data.tar.gz: 1d5b1bd0537ab97f3c8cb4d4aa35ced037cd1a8a7c88bee18ce57ad16e8938e6edee741fb0c2eddb4697950ae1916af2da8a3b346ad452dd9c41ef0f83d73f6f
data/README.md CHANGED
@@ -20,14 +20,14 @@ This gem's installer will install the DataStax C/C++ Driver to the appropriate l
20
20
  However, if you prefer to install the DataStax C/C++ Driver manually, you can do so by executing:
21
21
 
22
22
  ```sh
23
- $ bundle config set --local build.ilios --with-cpp-driver-dir=/path/to/cassandra-cpp-driver-installed-dir
23
+ $ bundle config set --local build.ilios --with-cassandra-driver-dir=/path/to/cassandra-cpp-driver-installed-dir
24
24
  $ bundle add ilios
25
25
  ```
26
26
 
27
27
  or
28
28
 
29
29
  ```sh
30
- $ gem install ilios -- --with-cpp-driver-dir=/path/to/cassandra-cpp-driver-installed-dir
30
+ $ gem install ilios -- --with-cassandra-driver-dir=/path/to/cassandra-cpp-driver-installed-dir
31
31
  ```
32
32
 
33
33
  ## Requirements
data/ext/ilios/extconf.rb CHANGED
@@ -9,20 +9,6 @@ require 'native-package-installer'
9
9
  have_func('malloc_usable_size')
10
10
  have_func('malloc_size')
11
11
 
12
- unless find_executable('cmake')
13
- puts '--------------------------------------------------'
14
- puts 'Error: cmake is required to build this gem'
15
- puts '--------------------------------------------------'
16
- raise
17
- end
18
-
19
- if RUBY_PLATFORM.include?('darwin') && !find_executable('install_name_tool')
20
- puts('------------------------------------------------------')
21
- puts('Error: install_name_tool is required to build this gem')
22
- puts('------------------------------------------------------')
23
- raise
24
- end
25
-
26
12
  def num_cpu_cores
27
13
  cores =
28
14
  begin
@@ -156,6 +142,21 @@ if (dir = with_config('--with-cassandra-driver-dir'))
156
142
  $CPPFLAGS += " -I#{dir}/include"
157
143
  $LDFLAGS += " -L#{dir}/lib -Wl,-rpath,#{dir}/lib -lcassandra"
158
144
  else
145
+
146
+ unless find_executable('cmake')
147
+ puts '--------------------------------------------------'
148
+ puts 'Error: cmake is required to build this gem'
149
+ puts '--------------------------------------------------'
150
+ raise
151
+ end
152
+
153
+ if RUBY_PLATFORM.include?('darwin') && !find_executable('install_name_tool')
154
+ puts('------------------------------------------------------')
155
+ puts('Error: install_name_tool is required to build this gem')
156
+ puts('------------------------------------------------------')
157
+ raise
158
+ end
159
+
159
160
  LibuvInstaller.install
160
161
  CassandraDriverInstaller.install
161
162
  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.3.1'
4
+ VERSION = '0.3.2'
5
5
  public_constant :VERSION
6
6
 
7
7
  CASSANDRA_CPP_DRIVER_VERSION = '2.17.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watson
@@ -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.3.1
74
+ documentation_uri: https://www.rubydoc.info/gems/ilios/0.3.2
75
75
  rubygems_mfa_required: 'true'
76
76
  post_install_message:
77
77
  rdoc_options: []