stakach-algorithms 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
data/lib/algorithms/version.rb
CHANGED
data/lib/containers/deque.rb
CHANGED
@@ -169,7 +169,7 @@ module Algorithms
|
|
169
169
|
begin
|
170
170
|
require 'CDeque'
|
171
171
|
Containers::Deque = Containers::CDeque
|
172
|
-
rescue # C Version could not be found, try ruby version
|
172
|
+
rescue Object # C Version could not be found, try ruby version
|
173
173
|
Containers::Deque = Containers::RubyDeque
|
174
174
|
end
|
175
175
|
|
@@ -396,7 +396,7 @@ module Algorithms
|
|
396
396
|
begin
|
397
397
|
require 'CRBTreeMap'
|
398
398
|
Containers::RBTreeMap = Containers::CRBTreeMap
|
399
|
-
rescue # C Version could not be found, try ruby version
|
399
|
+
rescue Object # C Version could not be found, try ruby version
|
400
400
|
Containers::RBTreeMap = Containers::RubyRBTreeMap
|
401
401
|
end
|
402
402
|
end
|
@@ -267,7 +267,7 @@ module Algorithms
|
|
267
267
|
begin
|
268
268
|
require 'CSplayTreeMap'
|
269
269
|
Containers::SplayTreeMap = Containers::CSplayTreeMap
|
270
|
-
rescue # C Version could not be found, try ruby version
|
270
|
+
rescue Object # C Version could not be found, try ruby version
|
271
271
|
Containers::SplayTreeMap = Containers::RubySplayTreeMap
|
272
272
|
end
|
273
273
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stakach-algorithms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-07-
|
13
|
+
date: 2012-07-27 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: A library of algorithms and containers.
|
16
16
|
email:
|