fast_woothee 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/Cargo.lock +1 -1
- data/Cargo.toml +1 -1
- data/Rakefile +18 -9
- data/fast_woothee.gemspec +1 -1
- data/src/lib.rs +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ac671f53f6d4a908e9f1f5118694601325caf4c
|
4
|
+
data.tar.gz: a16cfd5cb912090fd6b751358b1d0e918ac91879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e23b0ebc3eea82661df5946134e371f235a1495a7e91fc4b97cab66fb71344b2833ea7d8a38aee24365b4f7750d4c4e6a4ff39c766a485cafa682ec5edffcec9
|
7
|
+
data.tar.gz: e0415a131b3b00f43bd7c633b7d2b2ca783b310e1173439583fd48bfeb1a7eba92cf33bbd0a370b05b6a59423b147b47b21ecc0d2664eb5aedcf8052e6d31cab
|
data/.travis.yml
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
+
---
|
1
2
|
sudo: false
|
2
3
|
language: rust
|
3
4
|
os:
|
4
5
|
- linux
|
5
6
|
- osx
|
6
7
|
dist: trusty
|
7
|
-
osx_image: xcode8.
|
8
|
+
osx_image: xcode8.2
|
8
9
|
rust: stable
|
9
10
|
env:
|
10
11
|
global:
|
@@ -15,10 +16,8 @@ env:
|
|
15
16
|
matrix:
|
16
17
|
include:
|
17
18
|
- os: osx
|
18
|
-
osx_image: xcode8
|
19
19
|
env: WOOTHEE_RUBY_VERSION=2.3.3
|
20
20
|
- os: osx
|
21
|
-
osx_image: xcode8
|
22
21
|
env: WOOTHEE_RUBY_VERSION=2.4.0
|
23
22
|
cache:
|
24
23
|
cargo: true
|
data/Cargo.lock
CHANGED
data/Cargo.toml
CHANGED
data/Rakefile
CHANGED
@@ -1,16 +1,25 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
#
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
require 'thermite/tasks'
|
6
2
|
|
7
|
-
|
3
|
+
begin
|
4
|
+
require 'bundler/gem_tasks'
|
5
|
+
rescue LoadError => _e
|
6
|
+
nil
|
7
|
+
end
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'rspec/core/rake_task'
|
8
11
|
|
9
|
-
|
12
|
+
RSpec::Core::RakeTask.new(:rspec)
|
10
13
|
|
11
|
-
desc 'Run Rust & Ruby testsuites'
|
12
|
-
task spec: ['thermite:build', 'thermite:test'] do
|
13
|
-
|
14
|
+
desc 'Run Rust & Ruby testsuites'
|
15
|
+
task spec: ['thermite:build', 'thermite:test'] do
|
16
|
+
Rake::Task[:rspec].invoke
|
17
|
+
end
|
18
|
+
rescue LoadError => _e
|
19
|
+
nil
|
14
20
|
end
|
15
21
|
|
22
|
+
require 'thermite/tasks'
|
23
|
+
Thermite::Tasks.new
|
24
|
+
|
16
25
|
task default: %w(thermite:build)
|
data/fast_woothee.gemspec
CHANGED
data/src/lib.rs
CHANGED
@@ -42,7 +42,7 @@ methods!(
|
|
42
42
|
#[no_mangle]
|
43
43
|
pub extern fn initialize_fast_woothee() {
|
44
44
|
Class::new("FastWoothee", None).define(|itself| {
|
45
|
-
itself.const_set("VERSION", &RString::new("1.0.
|
45
|
+
itself.const_set("VERSION", &RString::new("1.0.4").freeze());
|
46
46
|
itself.def_self("parse", parse);
|
47
47
|
itself.def_self("crawler?", crawler);
|
48
48
|
});
|