polyglot 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyglot.rb +1 -2
- data/lib/polyglot/version.rb +1 -1
- metadata +2 -2
data/lib/polyglot.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
$:.unshift File.dirname(__FILE__)
|
2
1
|
require 'pathname'
|
3
2
|
|
4
3
|
module Polyglot
|
@@ -17,7 +16,7 @@ module Polyglot
|
|
17
16
|
end
|
18
17
|
|
19
18
|
def self.register(extension, klass)
|
20
|
-
extension = [extension] unless
|
19
|
+
extension = [extension] unless Array === extension
|
21
20
|
extension.each{|e|
|
22
21
|
@registrations[e] = klass
|
23
22
|
}
|
data/lib/polyglot/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyglot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clifford Heath
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-29 00:00:00 +11:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|