Skip to content

Commit

Permalink
Merge pull request #143 from snipsco/release/0.64.8
Browse files Browse the repository at this point in the history
Release 0.64.8
  • Loading branch information
adrienball authored Jul 10, 2019
2 parents d08a2e9 + 5ae2fa8 commit 12f3e3b
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 15 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
language: rust

env:
global:
- RUST_BACKTRACE=1

matrix:
jobs:
include:
- rust: stable
- language: java
jdk: openjdk8
env: KOTLIN_TESTS=true
- rust: beta
- rust: nightly
- language: rust
rust: beta
- language: rust
rust: nightly
allow_failures:
- rust: nightly
- language: rust
rust: nightly

script: ".travis/travis.sh"
7 changes: 7 additions & 0 deletions .travis/travis.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash
set -ev

# Install Rust
if [[ -z ${TRAVIS_RUST_VERSION+w} ]]; then
curl https://sh.rustup.rs -sSf | bash -s -- -y
fi

export PATH="$HOME/.cargo/bin:$PATH"

cargo build --all
cargo test --all

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.64.8] - 2019-07-10
### Fixed
- Fix issue with libc and `Send` trait

## [0.64.7] - 2019-06-18
### Fixed
- Portuguese builtin entity examples
Expand Down Expand Up @@ -175,6 +179,7 @@ All notable changes to this project will be documented in this file.
### Changed
- Updated Rustling ontology to `0.16.4`

[0.64.8]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.7...0.64.8
[0.64.7]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.6...0.64.7
[0.64.6]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.5...0.64.6
[0.64.5]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.4...0.64.5
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology"
version = "0.64.7"
version = "0.64.8"
authors = [
"Adrien Ball <adrien.ball@snips.ai>",
"Thibaut Lorrain <thibaut.lorrain@snips.ai>",
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Snips NLU Ontology
==================

.. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=develop
.. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=master
:target: https://travis-ci.org/snipsco/snips-nlu-ontology

Ontology of the Snips NLU library API which describes supported languages and builtin entities.
Expand Down
2 changes: 1 addition & 1 deletion doc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-doc"
version = "0.64.7"
version = "0.64.8"
authors = ["Adrien Ball <adrien.ball@snips.ai>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion doc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn add_header(readme: &mut String) {
readme.push_str("\n");

readme.push_str(
".. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=develop\n",
".. image:: https://travis-ci.org/snipsco/snips-nlu-ontology.svg?branch=master\n",
);
readme.push_str(" :target: https://travis-ci.org/snipsco/snips-nlu-ontology\n");
readme.push_str("\n");
Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-ffi"
version = "0.64.7"
version = "0.64.8"
authors = ["Kevin Lefevre <kevin.lefevre@snips.ai>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion ffi/ffi-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-ffi-macros"
version = "0.64.7"
version = "0.64.8"
authors = [
"Kevin Lefevre <kevin.lefevre@snips.ai>",
"Thibaut Lorrain <thibaut.lorrain@snips.ai>",
Expand Down
2 changes: 2 additions & 0 deletions ffi/ffi-macros/src/builtin_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ impl Drop for CBuiltinEntityArray {
// ffi's type `*const libc::c_char` isn't
struct DummyWrapper(Box<[*const libc::c_char]>);

unsafe impl Send for DummyWrapper {}
unsafe impl Sync for DummyWrapper {}


pub fn all_builtin_entities() -> CStringArray {
lazy_static! {
static ref ALL: DummyWrapper = {
Expand Down
1 change: 1 addition & 0 deletions ffi/ffi-macros/src/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use snips_nlu_ontology::Language;
// ffi's type `*const libc::c_char` isn't
struct DummyWrapper(Box<[*const libc::c_char]>);

unsafe impl Send for DummyWrapper {}
unsafe impl Sync for DummyWrapper {}

pub fn supported_languages() -> CStringArray {
Expand Down
2 changes: 1 addition & 1 deletion platforms/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
}

version = "0.64.7"
version = "0.64.8"
group = "ai.snips"


Expand Down
2 changes: 1 addition & 1 deletion platforms/kotlin/snips-nlu-ontology-export/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.64.7"
version = "0.64.8"
group = "ai.snips"


Expand Down

0 comments on commit 12f3e3b

Please # to comment.