hmsearch-postgres 0.1.2 → 0.1.4

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
2
  SHA1:
3
- metadata.gz: 6723360b9d7cebe66992b93437cafa05d9fc2236
4
- data.tar.gz: bfba68d4ffa0b2a46437b2732bcd4901f0160588
3
+ metadata.gz: f9588ffea73c89eb6749d709e4f49386bb1535c0
4
+ data.tar.gz: 1bfcb1bc9f6253e1e1c162c635de7c0fdf2c09b2
5
5
  SHA512:
6
- metadata.gz: bf62de606976e9ba0fe32ff6164f6789fd3bcb69469466bec971c5e1d3135913a719cb392fc57aca3ca0f92173bd86443d260a5544b904a09641e4be124145fe
7
- data.tar.gz: 087845ba312581de7c5a0c399a5bd8a3a19b9ca30581fd98c0fe54370ca9c8eb18466ce0736fc416f63c5920dc1a96529310a7fa45049b2b4233e348d91bf577
6
+ metadata.gz: 10dfb757bf53426f20ecceabd8e5c1ebf3d939c9d25c1916b8aae80794395b980389d273c0d92c1e4277d8936a552d3399c8abf8147881f85d3c90d9f462f7d5
7
+ data.tar.gz: 3349c14fa24698e9d1c03e99e9518ba8eae3bdc28c4872711c6e6f4e24d9e67dc2ff87f3de9e33d40fb0c885460ee1bddfe4a104bcbf0649354d7b16e05f18c6
data/.travis.yml ADDED
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.5
4
+ before_install:
5
+ - mkdir -p $TRAVIS_BUILD_DIR/vendor
6
+ - curl -O http://pqxx.org/download/software/libpqxx/libpqxx-4.0.1.tar.gz
7
+ - tar -xvf libpqxx-4.0.1.tar.gz
8
+ - cd libpqxx-4.0.1
9
+ - ./configure --prefix=$TRAVIS_BUILD_DIR/vendor
10
+ - make
11
+ - make install
12
+ - cd ..
13
+ - bundle config --local build.hmsearch-postgres -- --with-pqxx-include=$TRAVIS_BUILD_DIR/vendor/include\ --with-pqxx-lib=$TRAVIS_BUILD_DIR/vendor/lib
@@ -5,4 +5,14 @@ dir_config('pqxx')
5
5
 
6
6
  have_library('pqxx')
7
7
 
8
+ with_cppflags('--std=c++11') do
9
+ try_cpp(<<-CPP)
10
+ #include <string>
11
+ int main() {
12
+ std::to_string(0);
13
+ return 0;
14
+ }
15
+ CPP
16
+ end
17
+
8
18
  create_makefile("hmsearch/postgres_ext")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'hmsearch-postgres'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.4'
4
4
 
5
5
  s.summary = 'hmsearch postgres client'
6
6
  s.description = <<-EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hmsearch-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Selden
@@ -47,6 +47,7 @@ extensions:
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - ".gitignore"
50
+ - ".travis.yml"
50
51
  - Gemfile
51
52
  - LICENSE
52
53
  - README.md
@@ -55,7 +56,6 @@ files:
55
56
  - ext/hmsearch/hmsearch.cc
56
57
  - ext/hmsearch/hmsearch.h
57
58
  - ext/hmsearch/postgres_ext.cc
58
- - hmsearch-postgres-0.1.1.gem
59
59
  - hmsearch-postgres.gemspec
60
60
  - lib/hmsearch/postgres.rb
61
61
  - test/hmsearch_test.rb
Binary file