calc_test 0.1.2 → 0.1.3

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: 9b2dda10458edf495623eec353c2ea1c8a3557d1d2eda2366f2d9a44dfaad8b7
4
- data.tar.gz: c5b6a2ea82b1c5d3a3bd124ded700a672b92bbe26d6a1f9ba94c26b434731f1e
3
+ metadata.gz: 2d3f6226b1b5a5a5dc72555503118b86f65c290d6b0a0b0a4364f845460b25ae
4
+ data.tar.gz: a1f42faa01560c316570f02e33d5a3fd0eda8884d1056d5756a5558b1a795499
5
5
  SHA512:
6
- metadata.gz: 4b833fd8b625d81be2b16e11e82fde849060d41a2782196889592c852c67b93daee9c89570b3f8b5d83f92d55afa42adb707245d3cbb2b0f23739c2edffa6617
7
- data.tar.gz: 60e782dd5aab7d0cda03fbc30977106940a22b01d3687daaaf54bea5085840dafd0f840ac65125cc386d3a08c522ef3c0ee5758f42d71a4ae4895669fd969369
6
+ metadata.gz: e9a6e367f451408573380d64b274b7faec9078130e929f3d83c15b88b7920568ad4ac0f373bd4224846bec6e7c810c1e816c82fed24ea2a973fd9faf62411309
7
+ data.tar.gz: 582a7d752c6ca73eda4968cc9885b4a8de46dc4e15e6244bdd0d6d34dc9946a1ef0a8ff29d6a0014d1f8cf5152069f55bea6b7dca834e5cf847ee81a0fe025df
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = %q{Simple calculate test}
12
12
  spec.description = %q{Simple calculate test}
13
- spec.homepage = "https://no-technology-no-life.com"
13
+ spec.homepage = "https://github.com/maeda1150/calc_test"
14
14
  spec.license = "MIT"
15
15
 
16
16
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -3,7 +3,14 @@ require 'ffi'
3
3
 
4
4
  module CalcTest
5
5
  extend FFI::Library
6
- ffi_lib File.expand_path("calc_test/calc_test.bundle", File.dirname(__FILE__))
6
+
7
+ if File.exist?('calc_test/calc_test.bundle')
8
+ ffi_lib File.expand_path('calc_test/calc_test.bundle', File.dirname(__FILE__))
9
+ else
10
+ ffi_lib File.expand_path('../ext/calc_test/calc_test.bundle', File.dirname(__FILE__))
11
+ end
12
+
7
13
  attach_function :add, [:int, :int], :int
8
14
  attach_function :sub, [:int, :int], :int
9
15
  end
16
+
@@ -1,3 +1,3 @@
1
1
  module CalcTest
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calc_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - maeda1150
@@ -92,7 +92,7 @@ files:
92
92
  - ext/calc_test/extconf.rb
93
93
  - lib/calc_test.rb
94
94
  - lib/calc_test/version.rb
95
- homepage: https://no-technology-no-life.com
95
+ homepage: https://github.com/maeda1150/calc_test
96
96
  licenses:
97
97
  - MIT
98
98
  metadata: {}