parity-RedCloth 4.2.12 → 4.2.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 532ead9fc1ffda2848c8a3b81c6219d32b3a9855
4
- data.tar.gz: f4e46b78782c336753b1fab6aa0ff80ae1d995da
3
+ metadata.gz: d866aa40190f88d83804ef44aa6d1276e56cb84d
4
+ data.tar.gz: 05c443bb6adc20670d6a133683ee433d89dadd29
5
5
  SHA512:
6
- metadata.gz: 4c4690a6d1f94b8338936a433378d15a085f881c8d1463b83f1b9862abb54bff6657e03ad59c7953423878cd260e57c228d51df45e7417993da38ae36311cd48
7
- data.tar.gz: f703240d32eb998eca86d9465acc2b553d76672d952f060b91c6755467943266fca085bffa36645ee4f63f01f0f6cb698beb0811a16c0cb200bd8538b0089a5d
6
+ metadata.gz: ea500993f051ed729e6378130e1d26d5c5cd4c6d523bfdf5ee35aaba4a9fa99049a95e6b3d723426670f78d4619acfc79d9eb307480ed459883a02e67a0b4cea
7
+ data.tar.gz: 46117df542976bb0414cb703303948bfbfe2a4cb41d6ecbd73461224b8c155cab959396e72b4bbbc9052a4d39642cdd9f639559ef9f43f269ccd70775b95ef62
@@ -123,6 +123,7 @@ module RedCloth::Formatters::HTML
123
123
  def auto_link(opts)
124
124
  return opts[:href] unless auto_link_urls
125
125
  href_with_proto = opts[:href]
126
+ return if !href_with_proto
126
127
  href_with_proto = 'http://' + href_with_proto unless href_with_proto.index('http') == 0
127
128
  text = opts[:href]
128
129
  text = truncate(text[0, text.length - 6] + text[-5,3].replace("...") + text[-2..-1], 50)
@@ -2,7 +2,7 @@ module RedCloth
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 2
5
- TINY = 12
5
+ TINY = 13
6
6
  RELEASE_CANDIDATE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parity-RedCloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.12
4
+ version: 4.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-04-07 00:00:00.000000000 Z
14
+ date: 2015-05-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -203,7 +203,7 @@ rubyforge_project: redcloth
203
203
  rubygems_version: 2.2.1
204
204
  signing_key:
205
205
  specification_version: 4
206
- summary: RedCloth-4.2.12
206
+ summary: RedCloth-4.2.13
207
207
  test_files:
208
208
  - spec/benchmark_spec.rb
209
209
  - spec/custom_tags_spec.rb