rake-compiler 1.0.0 → 1.0.1

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: 018f14ea44299daeddfc4e1a296a1d0649963f62
4
- data.tar.gz: ec35dd39bf310b9c4db9e277fbf0eb972bd9a9a3
3
+ metadata.gz: 5874e9da35805567c4884a2ff13f02b35ac5d81a
4
+ data.tar.gz: 561065c4a2e60b4d2b0823caaac0d4bd414e85bf
5
5
  SHA512:
6
- metadata.gz: 8710ea08c274844b9fefa282730cb3630f434efc155029df4827b6823388c3206831deeaa0ca75780ca21e7d69b0026dbf214bb14fd3c91a5d73d05be3b380ce
7
- data.tar.gz: dcbace5ef6ca38907e41205af0461b868f263adccb0b374f2785e029c800f9dfb3467d91d81a9414cd6ebecda66f338a462d639de8be036eca011b767cadcb6e
6
+ metadata.gz: cd48f027eec09d0f775eed9c5022d19d6f1a37904764bc24ae24580498f3149a4199606f075be54d2e5b33cc087a543335202543f194618f3fe1f0a5fb746bae
7
+ data.tar.gz: 1da44d65df10fb7c70ed76d01a940bbffa496e135f76543b7923f28a484108606bd2c42c5065cd30de444fceaafb29f1b967fd166faaa32f45367464f9ba119a
@@ -1,3 +1,8 @@
1
+ === 1.0.1 / 2016-06-21
2
+
3
+ * Bugfixes:
4
+ * Add missing dependency.
5
+
1
6
  === 1.0.0 / 2016-06-21
2
7
 
3
8
  * Enhancements:
@@ -135,17 +135,18 @@ Rerun `rake` under MRI Ruby 1.8.x/1.9.x to cross/native compile.
135
135
 
136
136
  # directories we need
137
137
  directory tmp_path
138
+ directory tmp_binary_dir_path
138
139
  directory lib_binary_dir_path
139
140
  directory stage_binary_dir_path
140
141
 
141
142
  # copy binary from temporary location to final lib
142
143
  # tmp/extension_name/extension_name.{so,bundle} => lib/
143
- task "copy:#{@name}:#{platf}:#{ruby_ver}" => [lib_binary_dir_path, "#{tmp_path}/#{binary_path}"] do
144
- install "#{tmp_path}/#{binary_path}", "#{lib_path}/#{binary_path}"
144
+ task "copy:#{@name}:#{platf}:#{ruby_ver}" => [lib_binary_dir_path, tmp_binary_path] do
145
+ install tmp_binary_path, "#{lib_path}/#{binary_path}"
145
146
  end
146
147
  # copy binary from temporary location to staging directory
147
- task "copy:#{@name}:#{platf}:#{ruby_ver}" => [stage_binary_dir_path, "#{tmp_path}/#{binary_path}"] do
148
- cp "#{tmp_path}/#{binary_path}", stage_binary_path
148
+ task "copy:#{@name}:#{platf}:#{ruby_ver}" => [stage_binary_dir_path, tmp_binary_path] do
149
+ cp tmp_binary_path, stage_binary_path
149
150
  end
150
151
 
151
152
  # copy other gem files to staging directory
@@ -153,7 +154,7 @@ Rerun `rake` under MRI Ruby 1.8.x/1.9.x to cross/native compile.
153
154
 
154
155
  # binary in temporary folder depends on makefile and source files
155
156
  # tmp/extension_name/extension_name.{so,bundle}
156
- file "#{tmp_path}/#{binary_path}" => [tmp_binary_dir_path, "#{tmp_path}/Makefile"] + source_files do
157
+ file tmp_binary_path => [tmp_binary_dir_path, "#{tmp_path}/Makefile"] + source_files do
157
158
  jruby_compile_msg = <<-EOF
158
159
  Compiling a native C extension on JRuby. This is discouraged and a
159
160
  Java extension should be preferred.
@@ -3,7 +3,7 @@ require 'rubygems/package_task'
3
3
  GEM_SPEC = Gem::Specification.new do |s|
4
4
  # basic information
5
5
  s.name = "rake-compiler"
6
- s.version = "1.0.0"
6
+ s.version = "1.0.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
 
9
9
  # description and details
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou