rmtools 2.3.5 → 2.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -0
- data/ext/extconf.rb +17 -8
- data/lib/rmtools/version.rb +1 -1
- data/rmtools.gemspec +2 -5
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a624e7cdadf7421d7df627648c5feb73f4dfe683
|
4
|
+
data.tar.gz: 9aece4ce00e37b2f92dc01ab2bd9226cdb1220ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b56ed690d219c2d040e067fb9037a9f733303813c9faf8c61a82f1edf5861e96395d37a9181dc7d2c3ad70bfa9c2a77770689cdbb47772ecc4070d615d76c55
|
7
|
+
data.tar.gz: fad21c0a9f989576ad787191ac9694c1ea149fb59c34aee367b6f10fb154c36568e42e750c730e063ef092e2de08f2f7a78edf719716c936f7e3bd71cc547769
|
data/Rakefile
CHANGED
data/ext/extconf.rb
CHANGED
@@ -1,10 +1,19 @@
|
|
1
|
-
|
1
|
+
if RUBY_VERSION < "2"
|
2
|
+
require 'mkmf'
|
2
3
|
|
3
|
-
CONFIG['CC'] = "g++"
|
4
|
-
if RUBY_VERSION >= "1.9"
|
5
|
-
|
6
|
-
end
|
7
|
-
|
8
|
-
dir_config("ruby19")
|
9
|
-
create_makefile("rmtools")
|
4
|
+
CONFIG['CC'] = "g++"
|
5
|
+
if RUBY_VERSION >= "1.9"
|
6
|
+
$CFLAGS += " -DRUBY_IS_19"
|
7
|
+
end
|
10
8
|
|
9
|
+
dir_config("ruby19")
|
10
|
+
create_makefile("rmtools")
|
11
|
+
else
|
12
|
+
# Create a dummy Makefile, to satisfy Gem::Installer#install
|
13
|
+
# http://stackoverflow.com/questions/17406246/native-extensions-fallback-to-pure-ruby-if-not-supported-on-gem-install
|
14
|
+
mfile = open("Makefile", "wb")
|
15
|
+
mfile.puts '.PHONY: install'
|
16
|
+
mfile.puts 'install:'
|
17
|
+
mfile.puts "\t" + '@echo "Extensions not installed, falling back to pure Ruby version."'
|
18
|
+
mfile.close
|
19
|
+
end
|
data/lib/rmtools/version.rb
CHANGED
data/rmtools.gemspec
CHANGED
@@ -19,11 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_runtime_dependency "activesupport"
|
22
|
-
|
23
|
-
|
24
|
-
spec.extensions << 'ext/extconf.rb'
|
25
|
-
#end
|
26
|
-
end
|
22
|
+
|
23
|
+
spec.extensions << 'ext/extconf.rb'
|
27
24
|
|
28
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
29
26
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Baev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -57,7 +57,8 @@ description: RMTools is a collection of helpers for debug, text/array/file proce
|
|
57
57
|
email:
|
58
58
|
- tinbka@gmail.com
|
59
59
|
executables: []
|
60
|
-
extensions:
|
60
|
+
extensions:
|
61
|
+
- ext/extconf.rb
|
61
62
|
extra_rdoc_files: []
|
62
63
|
files:
|
63
64
|
- .gitignore
|