convert 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/convert.gemspec +1 -1
  3. data/lib/convert.rb +4 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb05f6e5b1cfcbc5696673f4225795be29d0978a
4
- data.tar.gz: 04dfaf51cfd169b58171067e83fccf892e2d2419
3
+ metadata.gz: 801baa051b323492f08661c4974bdcbcb7d74cc8
4
+ data.tar.gz: 4ed88e46bdb61689d748b3ec710515311627c90b
5
5
  SHA512:
6
- metadata.gz: b852bd60f016e79141c7562e63ff96123eb9b122be67ea738420618f726cfce2d56a8583297f26fb709556c66cdde284e8c0a3b9ed223ab03b132e6fed3d39a2
7
- data.tar.gz: f75962f693314439c7197691d752ea3b7d7412c89441947dd92ad66df934f30c90b86a9d47298bd634c5789d0e7902e7c726707561340166b00eccdd7fda28dd
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.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['./lib/converters/*.rb'].each{|f| require f}
4
+ Dir["#{root}/lib/converters/*.rb"].each{|f| require f}
3
5
 
4
6
  # Require the sanitizers
5
- Dir['./lib/sanitizers/*.rb'].each{|f| require f}
7
+ Dir["#{root}/lib/sanitizers/*.rb"].each{|f| require f}
6
8
 
7
9
  # Autoload for faster loading
8
10
  module Converters
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited