tracklib 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 89e29a497d6ff8dc129706efda53d8c1c9fcca80
4
- data.tar.gz: 7e10466e532d7448bacfa9fff4681a1607cf14cf
3
+ metadata.gz: 363f80a5f46841dab18f8f8361b40db2ecaf2b8a
4
+ data.tar.gz: bc6a746c855d03751d43b96cffa88a92135c229f
5
5
  SHA512:
6
- metadata.gz: b4feb943ab181725089eb714d70740623c5fd97202b5b929f9f4e53e04bc7d92eca09b33f69549ec576c64553948a07955c43294cfee0a23e0927b73f9c26071
7
- data.tar.gz: 82a2bb0d80145c457e3786ca28e28b1656b0746fc339b0af61a2f0f84320a0ee9ec3998d5c18e8be50e98eb3f9dc303976f48f6b55bafb4f25e55494d135ff3b
6
+ metadata.gz: 1e586a0620a0c03c5374b1bbc9d59de94148299feaedd496ff44eefe65b0b24ac6efaac937bed3fa95e279e139934f4bb6de8ab7aa0e639fd84027e40c4d20e3
7
+ data.tar.gz: 8045432a6dfc833f827eb6f46b3d0cbc4c1bfabf1acd0277e2518de73dc0d1793e1f20c487bcf9557495a6bd8e70d71a3da60e676c7499b6e0eae9611db15cbb
data/Cargo.toml CHANGED
@@ -9,7 +9,7 @@ edition = "2018"
9
9
  lto = false # LTO broke the ruby module in my testing
10
10
 
11
11
  [lib]
12
- name = "track"
12
+ name = "tracklib"
13
13
  crate-type = ["cdylib"]
14
14
 
15
15
  [dependencies]
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
1
  require "rbconfig"
2
2
  require "bundler/gem_tasks"
3
3
  require "rake/testtask"
4
+ require "thermite/tasks"
5
+
6
+ thermite = Thermite::Tasks.new
4
7
 
5
8
  desc 'Build Rust extension'
6
9
  task :build_lib do
data/ext/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require 'thermite/tasks'
2
+
3
+ project_toplevel_dir = File.dirname(__dir__)
4
+ Thermite::Tasks.new(cargo_project_path: project_toplevel_dir,
5
+ ruby_project_path: project_toplevel_dir)
6
+
7
+ task default: 'thermite:build'
@@ -1,3 +1,3 @@
1
1
  module Tracklib
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/tracklib.rb CHANGED
@@ -3,7 +3,7 @@ require "rutie"
3
3
 
4
4
  module Tracklib
5
5
  class Error < StandardError; end
6
- Rutie.new(:track, {lib_path: "../target/release"}).init 'Init_Tracklib', __dir__
6
+ Rutie.new(:tracklib, {lib_path: "../lib", lib_prefix: ""}).init 'Init_Tracklib', __dir__
7
7
  end
8
8
 
9
9
  class RWTFile
data/tracklib.gemspec CHANGED
@@ -23,10 +23,11 @@ Gem::Specification.new do |spec|
23
23
  "src/lib.rs"]
24
24
 
25
25
  spec.require_paths = ["lib"]
26
- spec.extensions = "Rakefile"
26
+ spec.extensions = ["ext/Rakefile"]
27
27
 
28
- spec.add_development_dependency "rake", "~> 12.3"
29
28
  spec.add_development_dependency "minitest", "~> 5.11"
30
29
 
31
- spec.add_dependency "rutie", "~> 0.0.4"
30
+ spec.add_runtime_dependency "rake", "~> 12.3"
31
+ spec.add_runtime_dependency 'thermite', '~> 0.13'
32
+ spec.add_runtime_dependency "rutie", "~> 0.0.4"
32
33
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracklib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Larkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2019-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.11'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -17,7 +31,7 @@ dependencies:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
33
  version: '12.3'
20
- type: :development
34
+ type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
@@ -25,19 +39,19 @@ dependencies:
25
39
  - !ruby/object:Gem::Version
26
40
  version: '12.3'
27
41
  - !ruby/object:Gem::Dependency
28
- name: minitest
42
+ name: thermite
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '5.11'
34
- type: :development
47
+ version: '0.13'
48
+ type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '5.11'
54
+ version: '0.13'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rutie
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -57,13 +71,14 @@ email:
57
71
  - dan@danlarkin.org
58
72
  executables: []
59
73
  extensions:
60
- - Rakefile
74
+ - ext/Rakefile
61
75
  extra_rdoc_files: []
62
76
  files:
63
77
  - Cargo.lock
64
78
  - Cargo.toml
65
79
  - Gemfile
66
80
  - Rakefile
81
+ - ext/Rakefile
67
82
  - lib/tracklib.rb
68
83
  - lib/tracklib/version.rb
69
84
  - src/lib.rs