convert 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/convert.gemspec +1 -1
- data/lib/convert.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 801baa051b323492f08661c4974bdcbcb7d74cc8
|
4
|
+
data.tar.gz: 4ed88e46bdb61689d748b3ec710515311627c90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87f7bb5c719508441109fcb41deddd9a061308099a47dc10d5a38adaf0209f449d7339ae8789fa80838c22f57886c56e5dc92bbcc029eb9de2dfd7a4497647b7
|
7
|
+
data.tar.gz: 3d552b2eed413435ef9df66ec6e04bfb19f2d2733da2a4fb47c2ecc55a851b9a760451c6678df9f3bfe88e99c5b0e4e788d076571b8310f73d4b2c031177d766
|
data/convert.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'convert'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.2'
|
4
4
|
s.date = '2017-01-05'
|
5
5
|
s.summary = "Convert strings and HTML to links and embedded content"
|
6
6
|
s.description = "Easily convert any string and replace with links and embedded content from a long list of providers and libraries."
|
data/lib/convert.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
root = Gem::Specification.find_by_name('convert').gem_dir
|
2
|
+
|
1
3
|
# Require the converters
|
2
|
-
Dir[
|
4
|
+
Dir["#{root}/lib/converters/*.rb"].each{|f| require f}
|
3
5
|
|
4
6
|
# Require the sanitizers
|
5
|
-
Dir[
|
7
|
+
Dir["#{root}/lib/sanitizers/*.rb"].each{|f| require f}
|
6
8
|
|
7
9
|
# Autoload for faster loading
|
8
10
|
module Converters
|