fast_woothee 1.5.1 → 1.6.3.pre.beta.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/deploy.yml +59 -0
- data/.github/workflows/test.yml +43 -0
- data/.ruby-version +1 -1
- data/.tool-versions +1 -0
- data/Cargo.lock +36 -65
- data/Cargo.toml +2 -6
- data/fast_woothee.gemspec +4 -3
- data/src/lib.rs +14 -14
- metadata +31 -15
- data/.travis.yml +0 -127
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 919f299e45d51013938939a28dd5b5f7f11af722327d0f3809f5c97e65589f7d
|
4
|
+
data.tar.gz: '08631ba88eae9ec84d0b6b786f575d9ea99c68cadfe3fe7089c4391246770520'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dc0a97484cfe87b3b5ae53a4f6eddeb8386dd073982de2638b4608addf08e5ecbd077b441d8d0ca9110b4864d5c9143e3298e7eb2c62cacb12f3f2c7d23eda7
|
7
|
+
data.tar.gz: 1635791ee5fa816cf6cc0cdf1cc73d195c824ab6f6a206a29b958efcfbfcb5839b8b240c970743b707694ce5eafbf86b18565c934bc2e4a1c723439f7ed855be
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
name: Deploy
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
# Sequence of patterns matched against refs/tags
|
7
|
+
tags:
|
8
|
+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
build:
|
12
|
+
name: Build and Push to RubyGems
|
13
|
+
strategy:
|
14
|
+
fail-fast: false
|
15
|
+
matrix:
|
16
|
+
os: [macos-latest, ubuntu-latest]
|
17
|
+
ruby: ['2.5', '2.6', '2.7']
|
18
|
+
static: ['unset RUBY_STATIC']
|
19
|
+
runs-on: ${{ matrix.os }}
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
|
24
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
25
|
+
uses: actions/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
version: $${{ matrix.ruby }}
|
28
|
+
|
29
|
+
- name: Install Rust
|
30
|
+
uses: actions-rs/toolchain@v1
|
31
|
+
with:
|
32
|
+
toolchain: stable
|
33
|
+
|
34
|
+
- name: 🥏 Install deps
|
35
|
+
run: |
|
36
|
+
gem install bundler
|
37
|
+
bundle install --jobs 4 --retry 3
|
38
|
+
|
39
|
+
- name: 📦 Package it
|
40
|
+
id: package
|
41
|
+
run: |
|
42
|
+
${{ matrix.static }}
|
43
|
+
bundle exec rake thermite:tarball
|
44
|
+
echo "::set-output name=tarball::$(echo fast_woothee-*.tar.gz)"
|
45
|
+
|
46
|
+
- name: Get the version
|
47
|
+
id: get_version
|
48
|
+
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
|
49
|
+
|
50
|
+
- name: Upload Release Asset
|
51
|
+
id: upload-release-asset
|
52
|
+
uses: actions/upload-release-asset@v1
|
53
|
+
env:
|
54
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
55
|
+
with:
|
56
|
+
upload_url: https://github.com/ianks/fast_woothee/releases/tag/${{ steps.get_version.outputs.VERSION }}/assets
|
57
|
+
asset_path: ${{ steps.package.outputs.tarball }}
|
58
|
+
asset_name: ${{ steps.package.outputs.tarball }}
|
59
|
+
asset_content_type: application/x-gzip
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
name: Test
|
3
|
+
|
4
|
+
on: [push]
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
build:
|
8
|
+
strategy:
|
9
|
+
fail-fast: false
|
10
|
+
matrix:
|
11
|
+
os: [macos-latest, ubuntu-latest]
|
12
|
+
ruby: ['2.5', '2.6', '2.7']
|
13
|
+
runs-on: ${{ matrix.os }}
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v2
|
16
|
+
with:
|
17
|
+
submodules: true
|
18
|
+
|
19
|
+
- name: 💎 Set up Ruby ${{ matrix.ruby }}
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: ${{ matrix.ruby }}
|
23
|
+
|
24
|
+
- name: Install Rust
|
25
|
+
uses: actions-rs/toolchain@v1
|
26
|
+
with:
|
27
|
+
toolchain: stable
|
28
|
+
|
29
|
+
- name: 🥏 Install deps
|
30
|
+
run: |
|
31
|
+
gem install bundler
|
32
|
+
bundle install --jobs 4 --retry 3
|
33
|
+
|
34
|
+
- name: 📝 Run specs
|
35
|
+
run: |
|
36
|
+
gem install bundler
|
37
|
+
bundle install --jobs 4 --retry 3
|
38
|
+
bundle exec rake spec
|
39
|
+
|
40
|
+
- name: 📦 Package it
|
41
|
+
run: |
|
42
|
+
bundle exec rake thermite:tarball
|
43
|
+
bundle exec rake install
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.7.1
|
data/Cargo.lock
CHANGED
@@ -1,114 +1,85 @@
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
2
|
+
# It is not intended for manual editing.
|
1
3
|
[[package]]
|
2
4
|
name = "aho-corasick"
|
3
|
-
version = "0.7.
|
5
|
+
version = "0.7.14"
|
4
6
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
5
7
|
dependencies = [
|
6
|
-
"memchr 2.
|
8
|
+
"memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
7
9
|
]
|
8
10
|
|
9
11
|
[[package]]
|
10
12
|
name = "fast_woothee"
|
11
|
-
version = "1.
|
13
|
+
version = "1.6.3-beta.6"
|
12
14
|
dependencies = [
|
13
|
-
"
|
14
|
-
"woothee 0.
|
15
|
+
"rutie 0.8.1 (git+https://github.com/danielpclark/rutie)",
|
16
|
+
"woothee 0.11.0 (git+https://github.com/woothee/woothee-rust)",
|
15
17
|
]
|
16
18
|
|
17
19
|
[[package]]
|
18
20
|
name = "lazy_static"
|
19
|
-
version = "
|
20
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
21
|
-
|
22
|
-
[[package]]
|
23
|
-
name = "lazy_static"
|
24
|
-
version = "1.3.0"
|
21
|
+
version = "1.4.0"
|
25
22
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
26
23
|
|
27
24
|
[[package]]
|
28
25
|
name = "libc"
|
29
|
-
version = "0.2.
|
26
|
+
version = "0.2.80"
|
30
27
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
31
28
|
|
32
29
|
[[package]]
|
33
30
|
name = "memchr"
|
34
|
-
version = "2.
|
31
|
+
version = "2.3.4"
|
35
32
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
36
33
|
|
37
34
|
[[package]]
|
38
35
|
name = "regex"
|
39
|
-
version = "1.1
|
36
|
+
version = "1.4.1"
|
40
37
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
41
38
|
dependencies = [
|
42
|
-
"aho-corasick 0.7.
|
43
|
-
"memchr 2.
|
44
|
-
"regex-syntax 0.6.
|
45
|
-
"thread_local 0.
|
46
|
-
"utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
39
|
+
"aho-corasick 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
40
|
+
"memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
41
|
+
"regex-syntax 0.6.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
42
|
+
"thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
47
43
|
]
|
48
44
|
|
49
45
|
[[package]]
|
50
46
|
name = "regex-syntax"
|
51
|
-
version = "0.6.
|
47
|
+
version = "0.6.20"
|
52
48
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
53
|
-
dependencies = [
|
54
|
-
"ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
55
|
-
]
|
56
|
-
|
57
|
-
[[package]]
|
58
|
-
name = "ruby-sys"
|
59
|
-
version = "0.3.0"
|
60
|
-
source = "git+http://github.com/steveklabnik/ruby-sys#1b4c1412e22a9a6dac97508f6b6c4a4035e21ed2"
|
61
|
-
dependencies = [
|
62
|
-
"libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
|
63
|
-
]
|
64
49
|
|
65
50
|
[[package]]
|
66
|
-
name = "
|
67
|
-
version = "0.
|
68
|
-
source = "git+https://github.com/
|
51
|
+
name = "rutie"
|
52
|
+
version = "0.8.1"
|
53
|
+
source = "git+https://github.com/danielpclark/rutie#1e59f3751a5f2a841b18dbdd1f9f90cf1c993c17"
|
69
54
|
dependencies = [
|
70
|
-
"lazy_static
|
71
|
-
"
|
55
|
+
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
56
|
+
"libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
72
57
|
]
|
73
58
|
|
74
59
|
[[package]]
|
75
60
|
name = "thread_local"
|
76
|
-
version = "0.
|
61
|
+
version = "1.0.1"
|
77
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
78
63
|
dependencies = [
|
79
|
-
"lazy_static 1.
|
64
|
+
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
80
65
|
]
|
81
66
|
|
82
|
-
[[package]]
|
83
|
-
name = "ucd-util"
|
84
|
-
version = "0.1.3"
|
85
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
86
|
-
|
87
|
-
[[package]]
|
88
|
-
name = "utf8-ranges"
|
89
|
-
version = "1.0.2"
|
90
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
91
|
-
|
92
67
|
[[package]]
|
93
68
|
name = "woothee"
|
94
|
-
version = "0.
|
95
|
-
source = "git+https://github.com/woothee/woothee-rust#
|
69
|
+
version = "0.11.0"
|
70
|
+
source = "git+https://github.com/woothee/woothee-rust#3d6536fd67f3c7dda3f81f3b2e60a4187758ec61"
|
96
71
|
dependencies = [
|
97
|
-
"lazy_static 1.
|
98
|
-
"regex 1.1
|
72
|
+
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
73
|
+
"regex 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
99
74
|
]
|
100
75
|
|
101
76
|
[metadata]
|
102
|
-
"checksum aho-corasick 0.7.
|
103
|
-
"checksum lazy_static
|
104
|
-
"checksum
|
105
|
-
"checksum
|
106
|
-
"checksum
|
107
|
-
"checksum regex
|
108
|
-
"checksum
|
109
|
-
"checksum
|
110
|
-
"checksum
|
111
|
-
"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
|
112
|
-
"checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86"
|
113
|
-
"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
|
114
|
-
"checksum woothee 0.9.0 (git+https://github.com/woothee/woothee-rust)" = "<none>"
|
77
|
+
"checksum aho-corasick 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)" = "b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d"
|
78
|
+
"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
79
|
+
"checksum libc 0.2.80 (registry+https://github.com/rust-lang/crates.io-index)" = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614"
|
80
|
+
"checksum memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
|
81
|
+
"checksum regex 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b"
|
82
|
+
"checksum regex-syntax 0.6.20 (registry+https://github.com/rust-lang/crates.io-index)" = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c"
|
83
|
+
"checksum rutie 0.8.1 (git+https://github.com/danielpclark/rutie)" = "<none>"
|
84
|
+
"checksum thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
|
85
|
+
"checksum woothee 0.11.0 (git+https://github.com/woothee/woothee-rust)" = "<none>"
|
data/Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[package]
|
2
2
|
name = "fast_woothee"
|
3
|
-
version = "1.
|
3
|
+
version = "1.6.3-beta.6"
|
4
4
|
authors = ["Ian Ker-Seymer <i.kerseymer@gmail.com>"]
|
5
5
|
repository = "https://github.com/ianks/fast_woothee"
|
6
6
|
publish = false
|
@@ -10,11 +10,7 @@ crate-type = ["dylib"]
|
|
10
10
|
|
11
11
|
[dependencies]
|
12
12
|
woothee = { git = "https://github.com/woothee/woothee-rust" }
|
13
|
-
|
14
|
-
|
15
|
-
[patch.crates-io]
|
16
|
-
ruru = { git = "https://github.com/d-unseductable/ruru", branch = "master" }
|
17
|
-
ruby-sys = { git = "http://github.com/steveklabnik/ruby-sys", branch = "master" }
|
13
|
+
rutie = { git = "https://github.com/danielpclark/rutie", feature = ["no-link"] }
|
18
14
|
|
19
15
|
[package.metadata.thermite]
|
20
16
|
github_releases = true
|
data/fast_woothee.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'fast_woothee'
|
8
|
-
spec.version = '1.
|
8
|
+
spec.version = '1.6.3-beta.6'
|
9
9
|
spec.authors = ['Ian Ker-Seymer']
|
10
10
|
spec.email = ['i.kerseymer@gmail.com']
|
11
11
|
|
@@ -22,13 +22,14 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
spec.extensions = ['Rakefile']
|
24
24
|
|
25
|
-
spec.
|
25
|
+
spec.add_dependency 'thermite'
|
26
|
+
spec.add_dependency 'rexml'
|
26
27
|
|
27
28
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
28
29
|
spec.add_development_dependency 'ffi', '~> 1.9'
|
29
30
|
spec.add_development_dependency 'pry'
|
30
31
|
spec.add_development_dependency 'pry-doc'
|
31
|
-
spec.add_development_dependency 'rake', '~>
|
32
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
32
33
|
spec.add_development_dependency 'rake-compiler'
|
33
34
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
34
35
|
end
|
data/src/lib.rs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#[macro_use]
|
2
|
-
extern crate
|
2
|
+
extern crate rutie;
|
3
3
|
extern crate woothee;
|
4
4
|
|
5
|
-
use
|
5
|
+
use rutie::{Symbol, Boolean, RString, Class, Hash, Object};
|
6
6
|
|
7
7
|
use woothee::parser::Parser;
|
8
8
|
|
@@ -15,16 +15,16 @@ methods!(
|
|
15
15
|
let mut hash = Hash::new();
|
16
16
|
|
17
17
|
let parser = Parser::new();
|
18
|
-
match parser.parse(ua_string.unwrap_or(RString::
|
18
|
+
match parser.parse(ua_string.unwrap_or(RString::new_usascii_unchecked("")).to_str()) {
|
19
19
|
None => hash,
|
20
20
|
Some(result) => {
|
21
|
-
hash.store(Symbol::new("name"), RString::
|
22
|
-
hash.store(Symbol::new("category"), RString::
|
23
|
-
hash.store(Symbol::new("os"), RString::
|
24
|
-
hash.store(Symbol::new("os_version"), RString::
|
25
|
-
hash.store(Symbol::new("browser_type"), RString::
|
26
|
-
hash.store(Symbol::new("version"), RString::
|
27
|
-
hash.store(Symbol::new("vendor"), RString::
|
21
|
+
hash.store(Symbol::new("name"), RString::new_usascii_unchecked(&result.name));
|
22
|
+
hash.store(Symbol::new("category"), RString::new_usascii_unchecked(&result.category));
|
23
|
+
hash.store(Symbol::new("os"), RString::new_usascii_unchecked(&result.os));
|
24
|
+
hash.store(Symbol::new("os_version"), RString::new_usascii_unchecked(&*result.os_version));
|
25
|
+
hash.store(Symbol::new("browser_type"), RString::new_usascii_unchecked(&result.browser_type));
|
26
|
+
hash.store(Symbol::new("version"), RString::new_usascii_unchecked(&*result.version));
|
27
|
+
hash.store(Symbol::new("vendor"), RString::new_usascii_unchecked(&result.vendor));
|
28
28
|
hash
|
29
29
|
}
|
30
30
|
}
|
@@ -35,7 +35,7 @@ methods!(
|
|
35
35
|
FastWoothee,
|
36
36
|
_itself,
|
37
37
|
fn is_crawler(ua_string: RString) -> Boolean {
|
38
|
-
Boolean::new(woothee::is_crawler(ua_string.unwrap_or(RString::
|
38
|
+
Boolean::new(woothee::is_crawler(ua_string.unwrap_or(RString::new_usascii_unchecked("")).to_str()))
|
39
39
|
}
|
40
40
|
);
|
41
41
|
|
@@ -45,7 +45,7 @@ methods!(
|
|
45
45
|
fn is_ios(ua_string: RString) -> Boolean {
|
46
46
|
let parser = Parser::new();
|
47
47
|
|
48
|
-
match parser.parse(ua_string.unwrap_or(RString::
|
48
|
+
match parser.parse(ua_string.unwrap_or(RString::new_usascii_unchecked("")).to_str()) {
|
49
49
|
None => Boolean::new(false),
|
50
50
|
Some(result) => {
|
51
51
|
match result.os {
|
@@ -66,7 +66,7 @@ methods!(
|
|
66
66
|
fn is_android(ua_string: RString) -> Boolean {
|
67
67
|
let parser = Parser::new();
|
68
68
|
|
69
|
-
match parser.parse(ua_string.unwrap_or(RString::
|
69
|
+
match parser.parse(ua_string.unwrap_or(RString::new_usascii_unchecked("")).to_str()) {
|
70
70
|
None => Boolean::new(false),
|
71
71
|
Some(result) => {
|
72
72
|
match result.os {
|
@@ -81,7 +81,7 @@ methods!(
|
|
81
81
|
#[no_mangle]
|
82
82
|
pub extern fn initialize_fast_woothee() {
|
83
83
|
Class::new("FastWoothee", None).define(|itself| {
|
84
|
-
itself.const_set("VERSION", &RString::
|
84
|
+
itself.const_set("VERSION", &RString::new_usascii_unchecked("1.6.0").freeze());
|
85
85
|
itself.def_self("parse", parse);
|
86
86
|
itself.def_self("crawler?", is_crawler);
|
87
87
|
itself.def_self("ios?", is_ios);
|
metadata
CHANGED
@@ -1,29 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_woothee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.3.pre.beta.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thermite
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rexml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +100,14 @@ dependencies:
|
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
103
|
+
version: '13.0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '13.0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rake-compiler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,11 +144,13 @@ extensions:
|
|
130
144
|
- Rakefile
|
131
145
|
extra_rdoc_files: []
|
132
146
|
files:
|
147
|
+
- ".github/workflows/deploy.yml"
|
148
|
+
- ".github/workflows/test.yml"
|
133
149
|
- ".gitignore"
|
134
150
|
- ".gitmodules"
|
135
151
|
- ".rspec"
|
136
152
|
- ".ruby-version"
|
137
|
-
- ".
|
153
|
+
- ".tool-versions"
|
138
154
|
- Cargo.lock
|
139
155
|
- Cargo.toml
|
140
156
|
- Gemfile
|
@@ -148,7 +164,7 @@ files:
|
|
148
164
|
homepage: https://github.com/ianks/fast_woothee
|
149
165
|
licenses: []
|
150
166
|
metadata: {}
|
151
|
-
post_install_message:
|
167
|
+
post_install_message:
|
152
168
|
rdoc_options: []
|
153
169
|
require_paths:
|
154
170
|
- lib
|
@@ -159,12 +175,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
175
|
version: '0'
|
160
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
177
|
requirements:
|
162
|
-
- - "
|
178
|
+
- - ">"
|
163
179
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
180
|
+
version: 1.3.1
|
165
181
|
requirements: []
|
166
|
-
rubygems_version: 3.
|
167
|
-
signing_key:
|
182
|
+
rubygems_version: 3.1.2
|
183
|
+
signing_key:
|
168
184
|
specification_version: 4
|
169
185
|
summary: Ruby bindings for woothee-rust
|
170
186
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sudo: false
|
3
|
-
language: rust
|
4
|
-
os:
|
5
|
-
- linux
|
6
|
-
- osx
|
7
|
-
dist: trusty
|
8
|
-
osx_image: xcode9.2
|
9
|
-
rust: stable
|
10
|
-
env:
|
11
|
-
global:
|
12
|
-
- THERMITE_DEBUG_FILENAME: /tmp/thermite-debug.log
|
13
|
-
matrix:
|
14
|
-
- FWOOTHEE_RUBY_VERSION: 2.4.6
|
15
|
-
- FWOOTHEE_RUBY_VERSION: 2.5.2
|
16
|
-
- FWOOTHEE_RUBY_VERSION: 2.6.2
|
17
|
-
matrix:
|
18
|
-
include:
|
19
|
-
- os: linux
|
20
|
-
dist: trusty
|
21
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2 RUBY_STATIC=1
|
22
|
-
- os: linux
|
23
|
-
dist: trusty
|
24
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6 RUBY_STATIC=1
|
25
|
-
- os: linux
|
26
|
-
dist: trusty
|
27
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2 RUBY_STATIC=1
|
28
|
-
- os: osx
|
29
|
-
osx_image: xcode8
|
30
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2
|
31
|
-
- os: osx
|
32
|
-
osx_image: xcode9.3beta
|
33
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2
|
34
|
-
- os: osx
|
35
|
-
osx_image: xcode8
|
36
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2 RUBY_STATIC=1
|
37
|
-
- os: osx
|
38
|
-
osx_image: xcode9.2
|
39
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2 RUBY_STATIC=1
|
40
|
-
- os: osx
|
41
|
-
osx_image: xcode9.3beta
|
42
|
-
env: FWOOTHEE_RUBY_VERSION=2.6.2 RUBY_STATIC=1
|
43
|
-
- os: osx
|
44
|
-
osx_image: xcode8
|
45
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6
|
46
|
-
- os: osx
|
47
|
-
osx_image: xcode9.3beta
|
48
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6
|
49
|
-
- os: osx
|
50
|
-
osx_image: xcode8
|
51
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6 RUBY_STATIC=1
|
52
|
-
- os: osx
|
53
|
-
osx_image: xcode9.2
|
54
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6 RUBY_STATIC=1
|
55
|
-
- os: osx
|
56
|
-
osx_image: xcode9.3beta
|
57
|
-
env: FWOOTHEE_RUBY_VERSION=2.4.6 RUBY_STATIC=1
|
58
|
-
- os: osx
|
59
|
-
osx_image: xcode8
|
60
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2
|
61
|
-
- os: osx
|
62
|
-
osx_image: xcode9.3beta
|
63
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2
|
64
|
-
- os: osx
|
65
|
-
osx_image: xcode8
|
66
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2 RUBY_STATIC=1
|
67
|
-
- os: osx
|
68
|
-
osx_image: xcode9.2
|
69
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2 RUBY_STATIC=1
|
70
|
-
- os: osx
|
71
|
-
osx_image: xcode9.3beta
|
72
|
-
env: FWOOTHEE_RUBY_VERSION=2.5.2 RUBY_STATIC=1
|
73
|
-
|
74
|
-
cache:
|
75
|
-
cargo: true
|
76
|
-
directories:
|
77
|
-
- $TRAVIS_BUILD_DIR/vendor/bundle
|
78
|
-
|
79
|
-
before_install:
|
80
|
-
- |
|
81
|
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
82
|
-
brew update
|
83
|
-
fi
|
84
|
-
rvm install "$FWOOTHEE_RUBY_VERSION"
|
85
|
-
rvm use "$FWOOTHEE_RUBY_VERSION"
|
86
|
-
ruby --version
|
87
|
-
- gem update --system
|
88
|
-
- gem install bundler
|
89
|
-
- bundle install --jobs=3 --retry=3 --path=$TRAVIS_BUILD_DIR/vendor/bundle
|
90
|
-
|
91
|
-
script:
|
92
|
-
- bundle exec rake spec
|
93
|
-
- bundle exec rake thermite:tarball
|
94
|
-
- bundle exec rake install
|
95
|
-
# - |
|
96
|
-
# if [[ -z "$TRAVIS_TAG" ]]; then
|
97
|
-
# gem uninstall fast_woothee
|
98
|
-
# CARGO=fake bundle exec rake install
|
99
|
-
# fi
|
100
|
-
# - |
|
101
|
-
# if [[ -z "$TRAVIS_TAG" ]]; then
|
102
|
-
# gem uninstall fast_woothee
|
103
|
-
# CARGO=fake gem install pkg/*.gem
|
104
|
-
# bundle exec rake spec
|
105
|
-
# fi
|
106
|
-
- if [[ -f "$THERMITE_DEBUG_FILENAME" ]]; then cat $THERMITE_DEBUG_FILENAME; fi
|
107
|
-
|
108
|
-
deploy:
|
109
|
-
- provider: releases
|
110
|
-
api_key:
|
111
|
-
secure: Dy3Ljq0N023aRdLbJOGB9zp7+JNlN0w4Bg07OKOBj6RSGWjSgzTQbHT5xY2ZRaSeo0gmgiSxjePdo0GL4k3hL3k7SiHBwE17dUHURYY9PV+Cszy8ygV1Jqr5z7KUmSJrmBEZ9rK/Dg9ZJgsMVHfLZZJYM5QYxAwWrPhXdTFQltZB/b6PwEID7/kyug+jWo8DqH4iyoqLEyNPB8LdS/ksqg/VvMAWNvHlnDlvHTO5Cq1BAzvtzxxY5GjOfhzBGuPLYjeQZiEJ4Ljcg3JJSU3W2rU7El3Yew2PCnV1U5AdUdG0Lm9TecUQ+WK7Zfz/dSsOdzQWWp1x37BqnNmPh9KQqrhP18X795foKm6wDWcEs6ABq5uxmWtDN9/x5l2t8OY5VmqlfoBgyntISpOIXxJB2PA/hJGiw5tMAXNw6jUonG5xYa93Av+NopcC5FJd+NQRv6knTPEtRS5ZY8XY2fNldIqY2vRGlpOmk8EQDnbsPbyqH9dDc7eJWSPZV3FEdgxTUe5EbGUvO47jWZFhRe2aj/9y/uy6yTLNTvO9B1zoC2/MGq9Y3/Tacd9Stf8LTWnze11Y3SQT/xhFm+QMk10N7aHT58KwLYlC+rcH76C2w7avGAX0rEpkVg3iIMCL246O9iWktxwHkmjXlF04ME4wO9VzGYUva6tQt6wIxle6Z+s=
|
112
|
-
file: fast_woothee-*.tar.gz
|
113
|
-
file_glob: true
|
114
|
-
skip_cleanup: true
|
115
|
-
on:
|
116
|
-
repo: ianks/fast_woothee
|
117
|
-
branch: master
|
118
|
-
tags: true
|
119
|
-
|
120
|
-
- provider: rubygems
|
121
|
-
api_key:
|
122
|
-
secure: ffojlgGkfjcxCHf5kW7sfDB2I+K2g/YvqzIz/sOaTHcTbYjIVJHzgYkIXqqsqdGOFe8zSS/wi6Ax6N7fEqmSdanL9+U552/5Lodgoj0GdulV1dGeDt8Q71t+RJ2rbK5xdIkXcMcA0HL5LW7eQ6pzIjXryJ5Ro+sBGY8ZqCPtEal6mmUh3c8rXZICxmR69Z6IAhX2hipQIQ258ZzzWVoWjSYez7eSWtjMjrXqPokqfVmJRF26lQJdUO0UPdp6wsfY4a6Xxms/PUXimTas7WusgCPtHb4ygHJY5iRTjFQX/fDwnynDF3GlNfXufIn1qF6b9Hq10yDN3SHIdeIDrDmXJqnbqaWmyKzeorEonGX/GzXO8qaTS5zwuYjDYwpBQ266HPdFR82uPY+dDiJk+k3lTs3NBq+FHmzWUm1bFAKkzzsu8CytCKsl6SOuXWzuhwBWWNh82N3aGcAzhVz8dzcugWNCnt0SqjfyhuaeW+bgvQ7XmHE20Ocea8DD66fP8S5r2gb3NWBhwe4l5cd9eHGbekgyF4ZIIU4Sj8QuMW7M5dHU9gp+ZJkCJnREtrH1JSLILSoNJkd1dy75AofrK+GmpkVzbPmcZzet5g6Be5F32zQ/WRe1ZR1ytebUUr37FOCePWHgRmqGNYQ4ui+UBUHxjgJBxr+8Z8efLG/ZzJ4YxEo=
|
123
|
-
gem: fast_woothee
|
124
|
-
on:
|
125
|
-
repo: ianks/fast_woothee
|
126
|
-
branch: master
|
127
|
-
tags: true
|