anchored 1.0.0 → 1.0.1

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: 2d18bbdc9897556c387977f828f4e4420750510c
4
- data.tar.gz: 8480d3332a06d0bf5a0be06f8194a3f7f0816e37
3
+ metadata.gz: 39c247438a8a840141da58a0d9f9e4ba030c3bcf
4
+ data.tar.gz: 23f26e84325894e655aafa1c5e7bb263e8d22e14
5
5
  SHA512:
6
- metadata.gz: 503d0303621f0ed29ddd3d861d64468c64c6dbe8ea682c60a127e1ad48d327101fdd4cda483dd0f885971e098ef04bc487f1c73d7e1b07dc95b856f881f77a5d
7
- data.tar.gz: 3eaa07621c056fd651ca4a5577f8a2a8d7e7c25a42a494bc75ab5e8d82857914a482e1cb18a94b14c2ad60cfea2397cb456a7c2de76a271f80a5e351c9df79c7
6
+ metadata.gz: 78eaec619054ea5cab13b7f4c364b0dfa163efc3e48c3b28a48b17a8f0f82ff25e914c97d5f7f199c698f4158600cd7364743d70f9b8245ca207a740a5daf87b
7
+ data.tar.gz: 132e864ab6d3173d883eeda8ab1cfb2c05074fc37c22b331f832b34947d6654942df54f0a67860dce55b3fb9299b7c57792fb1ccb899fe496bb6ea968725cf3a
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  Ruby auto-linking of only URLs, with no HTML sanitization.
10
10
 
11
- Copied from https://github.com/tenderlove/rails_autolink.
11
+ Forked from https://github.com/tenderlove/rails_autolink.
12
12
 
13
13
  ## Install
14
14
 
@@ -77,6 +77,7 @@ module Anchored
77
77
  end
78
78
 
79
79
  def anchor_tag(href, text, options)
80
+ options = options.dup
80
81
  if (domain = options.delete(:domain))
81
82
  remove_target_if_local href, domain, options
82
83
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anchored
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anchored
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tee Parham