duct_tape 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -8
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/duct_tape.gemspec +3 -6
- data/lib/duct_tape.rb +2 -1
- metadata +3 -5
- data/ext/mkrf_conf.rb +0 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21c5d73aea51597603c188a2ae62d5f2b1600d58
|
4
|
+
data.tar.gz: cc1157daa014e30bb12cd8c0011cfd1604dd11ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fe68755d44b1d504e52e5efbbd850e32d1bd1383e4e12ff2cb3227c0ea42a233a710b58b33d24aa17ff5661bb33212e8da39dbd0c3031fb1858921182b26560
|
7
|
+
data.tar.gz: 46fe068ee244a494a6f3f7234d3cad0c7262dcaaf02e259a013c61182f68f822d0ef72f33000236180202a820343249c5d2b0933690810fac7f5883953111de1
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source "
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
group :development do
|
4
4
|
gem "yard"
|
@@ -9,13 +9,7 @@ group :development do
|
|
9
9
|
gem (RUBY_VERSION >= "1.9" ? "simplecov" : "rcov")
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
# JRuby can have issues compiling algorithms' extensions
|
14
|
-
# Maglev, IronRuby, and MacRuby are untested
|
15
|
-
RUBY_ENGINE = "ruby" unless defined? RUBY_ENGINE
|
16
|
-
gem 'algorithms' unless RUBY_ENGINE =~ /jruby|maglev|ir|macruby/i
|
17
|
-
end
|
18
|
-
|
12
|
+
#gem 'algorithms', :platforms => :ruby
|
19
13
|
gem "facets", ">=2.9.3"
|
20
14
|
gem "backports"
|
21
15
|
gem "bundler"
|
data/Rakefile
CHANGED
@@ -12,7 +12,6 @@ Jeweler::Tasks.new do |gem|
|
|
12
12
|
gem.email = ["tw.rodriguez@gmail.com"]
|
13
13
|
gem.homepage = "http://github.com/twrodriguez/duct_tape"
|
14
14
|
gem.authors = ["Tim Rodriguez"]
|
15
|
-
gem.extensions = 'ext/mkrf_conf.rb'
|
16
15
|
gem.required_ruby_version = '>= 1.8.7'
|
17
16
|
gem.license = 'Simplified BSD'
|
18
17
|
gem.version = VERSION_STRING
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/duct_tape.gemspec
CHANGED
@@ -2,20 +2,18 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: duct_tape 0.
|
6
|
-
# stub: ext/mkrf_conf.rb
|
5
|
+
# stub: duct_tape 0.5.0 ruby lib
|
7
6
|
|
8
7
|
Gem::Specification.new do |s|
|
9
8
|
s.name = "duct_tape"
|
10
|
-
s.version = "0.
|
9
|
+
s.version = "0.5.0"
|
11
10
|
|
12
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
12
|
s.require_paths = ["lib"]
|
14
13
|
s.authors = ["Tim Rodriguez"]
|
15
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-11-12"
|
16
15
|
s.description = "A general-purpose utility library for Ruby"
|
17
16
|
s.email = ["tw.rodriguez@gmail.com"]
|
18
|
-
s.extensions = ["ext/mkrf_conf.rb"]
|
19
17
|
s.extra_rdoc_files = [
|
20
18
|
"LICENSE",
|
21
19
|
"README.md"
|
@@ -29,7 +27,6 @@ Gem::Specification.new do |s|
|
|
29
27
|
"Rakefile",
|
30
28
|
"VERSION",
|
31
29
|
"duct_tape.gemspec",
|
32
|
-
"ext/mkrf_conf.rb",
|
33
30
|
"lib/algorithms/containers.rb",
|
34
31
|
"lib/algorithms/containers/heap.rb",
|
35
32
|
"lib/algorithms/containers/priority_queue.rb",
|
data/lib/duct_tape.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duct_tape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Rodriguez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facets
|
@@ -126,8 +126,7 @@ description: A general-purpose utility library for Ruby
|
|
126
126
|
email:
|
127
127
|
- tw.rodriguez@gmail.com
|
128
128
|
executables: []
|
129
|
-
extensions:
|
130
|
-
- ext/mkrf_conf.rb
|
129
|
+
extensions: []
|
131
130
|
extra_rdoc_files:
|
132
131
|
- LICENSE
|
133
132
|
- README.md
|
@@ -140,7 +139,6 @@ files:
|
|
140
139
|
- Rakefile
|
141
140
|
- VERSION
|
142
141
|
- duct_tape.gemspec
|
143
|
-
- ext/mkrf_conf.rb
|
144
142
|
- lib/algorithms/containers.rb
|
145
143
|
- lib/algorithms/containers/heap.rb
|
146
144
|
- lib/algorithms/containers/priority_queue.rb
|
data/ext/mkrf_conf.rb
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
require 'rbconfig'
|
2
|
-
require 'bundler'
|
3
|
-
|
4
|
-
system("bundle install --system --without development")
|
5
|
-
|
6
|
-
=begin
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubygems/command.rb'
|
9
|
-
require 'rubygems/dependency_installer.rb'
|
10
|
-
|
11
|
-
begin
|
12
|
-
Gem::Command.build_args = ARGV
|
13
|
-
rescue NoMethodError
|
14
|
-
end
|
15
|
-
|
16
|
-
inst = Gem::DependencyInstaller.new
|
17
|
-
engine = ::RbConfig::CONFIG['RUBY_INSTALL_NAME']
|
18
|
-
if defined?(RUBY_ENGINE)
|
19
|
-
engine << " " << RUBY_ENGINE
|
20
|
-
end
|
21
|
-
# JRuby can have issues compiling algorithms' extensions
|
22
|
-
# Maglev, IronRuby, and MacRuby are untested
|
23
|
-
if engine !~ /jruby|maglev|ir|macruby/i
|
24
|
-
begin
|
25
|
-
require 'algorithms'
|
26
|
-
rescue LoadError
|
27
|
-
puts "No JRuby, Maglev, IronRuby, or MacRuby detected, installing 'algorithms'..."
|
28
|
-
inst.install "algorithms"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
begin
|
33
|
-
require 'facets'
|
34
|
-
rescue LoadError
|
35
|
-
inst.install "facets"
|
36
|
-
end
|
37
|
-
|
38
|
-
if Facets::VERSION <= "2.9.3"
|
39
|
-
end
|
40
|
-
#gem "facets", "> 2.9.3", :git => 'git://github.com/twrodriguez/facets.git', :branch => 'extend_patch_2_9_3'
|
41
|
-
|
42
|
-
if RUBY_VERSION >= "1.9"
|
43
|
-
#inst.install "simplecov"
|
44
|
-
else
|
45
|
-
#inst.install "rcov"
|
46
|
-
end
|
47
|
-
=end
|
48
|
-
|
49
|
-
# create dummy rakefile to indicate success
|
50
|
-
File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") { |f| f.write("task :default\n") }
|