fast_woothee 1.4.5 → 1.4.8

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: 97d4226756509aa1e8df5642ee17dcc40ed7a25ce8a9630d6bf324c84f0da34a
4
- data.tar.gz: 1a41bff1961429afb3961f3b2080f0721c30a5267d013d43a364df4a86dc2d20
3
+ metadata.gz: 4f2a57af2b6fd280f98d5dd6773866f5e8b276d46d47196600485fa9a2ec9755
4
+ data.tar.gz: c1e1bd69028c37a7179b313229862173f2a45548cff693dcc9a055c114325459
5
5
  SHA512:
6
- metadata.gz: f83f3425f13d383b77b2c2e3a4fd06fe496c91bd0175db6f6ca2e4574bc4a9eb1d5c7d4a927651756394629530db4fdef8af259e41933973fc39c4395a2780a3
7
- data.tar.gz: 4a447ccea9eb96e3e6fb4a9307c9709a3788e323d3365d0010f644b4f024fde34784b123bc45f81f7fa591256c53104f6ea3ac06dc41657ff1b504488b6a750a
6
+ metadata.gz: c3119c9b734a7bd3405a7ddc63fded0ffc29bb278964b98d2f9bb86937091e17bdf3bba89bacfc53b51a639a07f46305cce087a4e345ab6c070805c363576434
7
+ data.tar.gz: bbad4ed03bd51dcce5e67f396d026781af645d053f1e91ff64b46f643dd4a467d4bcb7d76dd1d0b6b1f6f9ee9b98e6151b12d1ec0978fa34c965e6d36ef09a3b
data/.travis.yml CHANGED
@@ -91,7 +91,7 @@ before_install:
91
91
  script:
92
92
  - bundle exec rake spec
93
93
  - bundle exec rake thermite:tarball
94
- - bundle exec rake install
94
+ - bundle exec rake build
95
95
  # - |
96
96
  # if [[ -z "$TRAVIS_TAG" ]]; then
97
97
  # gem uninstall fast_woothee
data/Cargo.lock CHANGED
@@ -8,7 +8,7 @@ dependencies = [
8
8
 
9
9
  [[package]]
10
10
  name = "fast_woothee"
11
- version = "1.4.5"
11
+ version = "1.4.8"
12
12
  dependencies = [
13
13
  "ruru 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
14
14
  "woothee 0.9.0 (git+https://github.com/woothee/woothee-rust)",
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "fast_woothee"
3
- version = "1.4.5"
3
+ version = "1.4.8"
4
4
  authors = ["Ian Ker-Seymer <i.kerseymer@gmail.com>"]
5
5
  repository = "https://github.com/ianks/fast_woothee"
6
6
  publish = false
data/Rakefile CHANGED
@@ -25,12 +25,4 @@ rescue LoadError => _e
25
25
  nil
26
26
  end
27
27
 
28
- task :default do
29
- require 'mkmf'
30
-
31
- if arg_config('--download-binary')
32
- ENV['CARGO'] = '/dev/null'
33
- end
34
-
35
- Rake::Task['thermite:build'].invoke
36
- end
28
+ task :default => 'thermite:build'
data/extconf.rb ADDED
@@ -0,0 +1,16 @@
1
+ if ARGV.include?('--download-binary')
2
+ ENV['CARGO'] = '/dev/null'
3
+ ARGV.delete('--download-binary')
4
+ end
5
+
6
+ load File.expand_path('./Rakefile', __dir__)
7
+
8
+ Rake::Task['thermite:build'].invoke
9
+
10
+ File.open("Makefile", "wb") do |f|
11
+ dummy_makefile(".").each do |line|
12
+ f.puts(line)
13
+ end
14
+ end
15
+
16
+ $makefile_created = 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.4.5'
8
+ spec.version = '1.4.8'
9
9
  spec.authors = ['Ian Ker-Seymer']
10
10
  spec.email = ['i.kerseymer@gmail.com']
11
11
 
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.bindir = 'exe'
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
- spec.extensions = ['Rakefile']
23
+ spec.extensions = ['extconf.rb']
24
24
 
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 2.0'
data/src/lib.rs CHANGED
@@ -62,7 +62,7 @@ methods!(
62
62
  #[no_mangle]
63
63
  pub extern fn initialize_fast_woothee() {
64
64
  Class::new("FastWoothee", None).define(|itself| {
65
- itself.const_set("VERSION", &RString::new("1.4.5").freeze());
65
+ itself.const_set("VERSION", &RString::new("1.4.8").freeze());
66
66
  itself.def_self("parse", parse);
67
67
  itself.def_self("crawler?", is_crawler);
68
68
  itself.def_self("ios?", is_ios);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_woothee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -127,7 +127,7 @@ email:
127
127
  - i.kerseymer@gmail.com
128
128
  executables: []
129
129
  extensions:
130
- - Rakefile
130
+ - extconf.rb
131
131
  extra_rdoc_files: []
132
132
  files:
133
133
  - ".gitignore"
@@ -142,6 +142,7 @@ files:
142
142
  - Rakefile
143
143
  - bin/console
144
144
  - bin/setup
145
+ - extconf.rb
145
146
  - fast_woothee.gemspec
146
147
  - lib/fast_woothee.rb
147
148
  - src/lib.rs