rustby 0.1.2 → 0.2.0

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: 168e2911bd78db631c8efa7b72f92add9502b69d157a93fb2139836d2444f2e3
4
- data.tar.gz: 91d929adcffffa243d7c665c33ebd6ac637f7a900210ea788a297cf71a47b81a
3
+ metadata.gz: 8d6071e6cf2c1526cd3171a0d9e65ca7ea14222b48cf755b6ee762a406a83e2e
4
+ data.tar.gz: 6b7b489a67a20ba44135de01c044520d245efa1d63fb507ac725c63804d70257
5
5
  SHA512:
6
- metadata.gz: 4e3df4baa4acebf6917fbd1344ed53c4df6c047f061671dd0451837a858379be47c19eaf9717c81f01759e4927aca8fdfa37debd1ee13294c69a7f69378dfd9d
7
- data.tar.gz: 25872ffa6e3d6ec14cda465355df559843233484cc9c90e4e27d77f689c4071a81e49311394b40df9f876117abc2bdeeaba09043971be91e259fdd31dca324fc
6
+ metadata.gz: 3172dc3f99f6ed8fe412bc6a61793e9e4d6d5ed73d6aedbbaa3216f1f9fb48116ca43bf5ca253c11089bcb084b78f3df72d67fe46ce5285505d0a56c498bdf7a
7
+ data.tar.gz: 46f7fe3c4e2f19976c8cfbb9a4e611ebdb40de5a3d25c55ca2ca12619ad481193b33d030d7ee406cb396cd6badd6056f4785d603246dfc36a5f019bb52ab1e37
data/ext/rustby/Makefile CHANGED
@@ -1,7 +1,9 @@
1
- all: target/release/librustby.so rustby.so
1
+ all: target/release/librustby.so ../rustby.so
2
2
 
3
3
  target/release/librustby.so: src/lib.rs
4
4
  cargo build --release
5
5
 
6
- rustby.so: target/release/librustby.so
6
+ ../rustby.so: target/release/librustby.so
7
7
  cp $^ $@
8
+
9
+ install:
@@ -1,8 +1 @@
1
1
  # frozen_string_literal: true
2
-
3
- require 'fileutils'
4
-
5
- ext_dir = Dir.pwd
6
- FileUtils.mkdir_p ext_dir
7
- src = %w[Makefile Cargo.toml Cargo.lock src].map { |file| "#{File.dirname($PROGRAM_NAME)}/#{file}" }
8
- FileUtils.cp_r src, ext_dir
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rustby
4
- VERSION = '0.1.2'
4
+ VERSION = '0.2.0'
5
5
  end
data/rustby.gemspec CHANGED
@@ -22,4 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.bindir = 'exe'
23
23
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = %w[lib ext]
25
+ spec.extensions = %w[ext/rustby/extconf.rb]
26
+ spec.add_development_dependency 'rake-compiler'
25
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rustby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murata Mitsuharu
@@ -9,12 +9,27 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2021-11-14 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake-compiler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Rust test
14
28
  email:
15
29
  - hikari.photon+dev@gmail.com
16
30
  executables: []
17
- extensions: []
31
+ extensions:
32
+ - ext/rustby/extconf.rb
18
33
  extra_rdoc_files: []
19
34
  files:
20
35
  - ".gitignore"
@@ -24,7 +39,6 @@ files:
24
39
  - Rakefile
25
40
  - bin/console
26
41
  - bin/setup
27
- - ext/rustby.so
28
42
  - ext/rustby/.gitignore
29
43
  - ext/rustby/Cargo.lock
30
44
  - ext/rustby/Cargo.toml
data/ext/rustby.so DELETED
Binary file