rake-compiler-dock 0.6.2 → 0.6.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
- SHA1:
3
- metadata.gz: cdb0d46b1452f0b84a8bf2571ccb6e2e32aeef74
4
- data.tar.gz: c356e0c3806626af28430d699df1610a2dd7adc0
2
+ SHA256:
3
+ metadata.gz: aa425b337eea61d671cf51aa80b219844d55044abe62bbb99acdfbbf09b0c500
4
+ data.tar.gz: 3f0f08686ae0c23a7a0dfb0c12f1f04d77bd7868e56e1e764476c7b20dbf5bf3
5
5
  SHA512:
6
- metadata.gz: bd2964bfb1002c88272ea88d936257f2d00d2866e7eea688674de77571e398b566c2a053d0953ea477817e3d9cdc7106cc00a1b265ee39fe56fe1b0481b0d71f
7
- data.tar.gz: 7faaa67c311a81a0ff5b0dc925b07128956471710e7f9bce13cc1b328ed9fcf69625064327db4f2ff64169f478c794cc4ab9148426012fda7c388ab9e963183a
6
+ metadata.gz: 023167752cd33dca9b182df8a0eede172d01bb82f85441f07e0ab727c192d32de016a17135358b923b72871387d0a0326d0fa399cb7ee808c81d38fcc1b42010
7
+ data.tar.gz: 11e10c2c3b57b67b4f6e0d88bd27dfbf3145614cfc37814605b690fcf5286a5d08c35717fbf4ecc0a5cccf298523e2dd4508da615dd27c96eb5deb675b206a77
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ~.�*�G\ Q ed�V+��R����tKΔZ���F�-�����pͅ�Br{zq����L�gʰK�~���\(�Ơ��f�ڐ^ i����D|`'�>�Ċm]y��J�TP;�^�9�??B��B�P9��S��-j�s{J����I�I�Ɗl�5v�N������$��I)���R8vx��ƚ̭Y i�9��_'�%>h�3 mƅ�JS��W���_�P�rtZ)����B�@�����/B��t�e��G
1
+ "cZ��"[X�&�#鑹\����^S��Y��!�&��>��/B‹*�O�?/X8^�
2
+ ]�C� }B��f�`��g�\����ܒ���5
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ubuntu:17.04
1
+ FROM ubuntu:17.10
2
2
 
3
3
  RUN apt-get -y update && \
4
4
  apt-get install -y curl git-core xz-utils build-essential wget unzip sudo gpg dirmngr
@@ -22,7 +22,7 @@ ENV BASH_ENV /etc/rubybashrc
22
22
  # install rubies and fix permissions on
23
23
  RUN bash -c " \
24
24
  export CFLAGS='-s -O3 -fno-fast-math -fPIC' && \
25
- for v in 2.4.3 ; do \
25
+ for v in 2.5.0 ; do \
26
26
  rvm install \$v --patch \$(echo ~/patches/ruby-\$v/* | tr ' ' ','); \
27
27
  done && \
28
28
  rvm cleanup all && \
@@ -49,10 +49,10 @@ USER rvm
49
49
 
50
50
  # Create dev tools i686-linux-gnu-*
51
51
  COPY build/mk_i686.rb /root/
52
- RUN bash -c "rvm use 2.4.3 --default && rvmsudo ruby /root/mk_i686.rb"
52
+ RUN bash -c "rvm use 2.5.0 --default && rvmsudo ruby /root/mk_i686.rb"
53
53
 
54
54
  # Patch rake-compiler to build and install static libraries for Linux rubies
55
- RUN cd /usr/local/rvm/gems/ruby-2.4.3/gems/rake-compiler-1.0.4 && git apply /home/rvm/patches/rake-compiler-1.0.4/*.diff ;\
55
+ RUN cd /usr/local/rvm/gems/ruby-2.5.0/gems/rake-compiler-1.0.4 && git apply /home/rvm/patches/rake-compiler-1.0.4/*.diff ;\
56
56
  true
57
57
 
58
58
 
@@ -98,7 +98,7 @@ RUN find /usr/local/rake-compiler/ruby/*linux*/ -name mkmf.rb | while read f ; d
98
98
  RUN find /usr/local/rake-compiler/ruby/*mingw*/ -name rbconfig.rb | while read f ; do sed -i 's/."LDFLAGS". = "/&-static-libgcc /' $f ; done
99
99
 
100
100
  RUN bash -c " \
101
- rvm alias create 2.4 2.4.3 "
101
+ rvm alias create 2.5 2.5.0 "
102
102
 
103
103
  USER root
104
104
 
data/History.md CHANGED
@@ -1,14 +1,20 @@
1
+ 0.6.3 / 2018-02-06
2
+ ------------------
3
+ * Update base image to Ubuntu-17.10. Fixes #19, #17
4
+ * Update native ruby version to 2.5.0
5
+
6
+
1
7
  0.6.2 / 2017-12-25
2
8
  ------------------
3
9
  * Add ruby-2.5.0 cross ruby
4
- * Update installed ruby version to 2.4.3
10
+ * Update native ruby version to 2.4.3
5
11
 
6
12
 
7
13
  0.6.1 / 2017-06-03
8
14
  ------------------
9
15
  * Update base image from Ubuntu-16.10 to 17.04
10
16
  * Update perinstalled gems (this solves an version conflict between hoe and rake)
11
- * Update installed ruby version
17
+ * Update native ruby version
12
18
 
13
19
 
14
20
  0.6.0 / 2016-12-26
data/README.md CHANGED
@@ -8,7 +8,7 @@ It is used by [many gems with C-extentions](https://github.com/rake-compiler/rak
8
8
 
9
9
  This is kind of successor of [rake-compiler-dev-box](https://github.com/tjschuck/rake-compiler-dev-box).
10
10
  It is wrapped as a gem for easier setup, usage and integration and is based on lightweight Docker containers.
11
- It is also more reliable, since the underlying docker images are versioned and kept unchanged while building.
11
+ It is also more reliable, since the underlying docker images are versioned and immutable.
12
12
 
13
13
  ## Installation
14
14
 
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
- require "bundler/gem_tasks"
2
1
  require "rake_compiler_dock"
3
2
  require "rake_compiler_dock/gem_helper"
4
3
 
@@ -8,5 +8,17 @@ index ebe3d8c..a336b73 100755
8
8
  cat >>confdefs.h <<_ACEOF
9
9
  -#define HAVE_SENDFILE 1
10
10
  _ACEOF
11
-
11
+
12
12
  fi
13
+ diff --git a/io.c b/io.c
14
+ index 82c5940538..a8d3661ec8 100644
15
+ --- a/io.c
16
+ +++ b/io.c
17
+ @@ -10721,7 +10721,6 @@ nogvl_copy_stream_wait_write(struct copy_stream_struct *stp)
18
+ }
19
+
20
+ #if defined __linux__ && defined __NR_copy_file_range
21
+ -# define USE_COPY_FILE_RANGE
22
+ #endif
23
+
24
+ #ifdef USE_COPY_FILE_RANGE
@@ -39,6 +39,10 @@ module RakeCompilerDock
39
39
  Time.now.strftime("%Y-%m-%d")
40
40
  end
41
41
 
42
+ def version_tag
43
+ "#{version}"
44
+ end
45
+
42
46
  def update_history
43
47
  hin = File.read(hfile)
44
48
  hout = hin.sub(/#{headline}/) do
@@ -1,4 +1,4 @@
1
1
  module RakeCompilerDock
2
- VERSION = "0.6.2"
3
- IMAGE_VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
+ IMAGE_VERSION = "0.6.3"
4
4
  end
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = RakeCompilerDock::VERSION
9
9
  spec.authors = ["Lars Kanis"]
10
10
  spec.email = ["lars@greiz-reinsdorf.de"]
11
- spec.summary = %q{Easy to use and reliable cross compiler environment for building Windows binary gems.}
12
- spec.description = %q{Easy to use and reliable cross compiler environment for building Windows binary gems.
11
+ spec.summary = %q{Easy to use and reliable cross compiler environment for building Windows and Linux binary gems.}
12
+ spec.description = %q{Easy to use and reliable cross compiler environment for building Windows and Linux binary gems.
13
13
  Use rake-compiler-dock to enter an interactive shell session or add a task to your Rakefile to automate your cross build.}
14
14
  spec.homepage = "https://github.com/rake-compiler/rake-compiler-dock"
15
15
  spec.license = "MIT"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler-dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  Ao8FZozVJz8xVEuYNJsL2k70w0FiwXwoWyvKyekgPBvYNUj4JGDMtBBayJTOpDs7
30
30
  3EVmCm5IRuqZ1UcDFouQ9w==
31
31
  -----END CERTIFICATE-----
32
- date: 2017-12-25 00:00:00.000000000 Z
32
+ date: 2018-02-06 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: bundler
@@ -74,7 +74,7 @@ dependencies:
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
76
  description: |-
77
- Easy to use and reliable cross compiler environment for building Windows binary gems.
77
+ Easy to use and reliable cross compiler environment for building Windows and Linux binary gems.
78
78
  Use rake-compiler-dock to enter an interactive shell session or add a task to your Rakefile to automate your cross build.
79
79
  email:
80
80
  - lars@greiz-reinsdorf.de
@@ -93,7 +93,7 @@ files:
93
93
  - bin/rake-compiler-dock
94
94
  - build/mk_i686.rb
95
95
  - build/patches/rake-compiler-1.0.4/enable-static.diff
96
- - build/patches/ruby-2.4.3/no_sendfile.patch
96
+ - build/patches/ruby-2.5.0/no_sendfile.patch
97
97
  - build/runas
98
98
  - build/sigfw.c
99
99
  - build/strip_wrapper
@@ -128,11 +128,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.6.11
131
+ rubygems_version: 2.7.3
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Easy to use and reliable cross compiler environment for building Windows
135
- binary gems.
135
+ and Linux binary gems.
136
136
  test_files:
137
137
  - test/test_environment_variables.rb
138
138
  - test/test_starter.rb
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- {�q#�I��
1
+ .��n��D~Ka!���%|0Pp@1/� :D�f�lI�T�s����)���-+�K.t}�~�C6�*� YC�U`3C�s��hj�ߥ�T<O���yF �U��8�]^mj��6�b
2
+ U����6=:��0-�?|औ-]�T#�k���ɹD��)صV�6���R�=B�<