noreferrer 0.1 → 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
noreferrer
|
|
2
2
|
==========
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Gem for a Rails project that removes referrer information on an html link
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Include this in your application.js file:
|
|
8
|
+
//= require jquery.noreferrer.js
|
|
5
9
|
|
|
6
10
|
$('a').noreferrer(<array of strings to be regex matched with link hrefs>)
|
|
7
11
|
|
data/noreferrer.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "noreferrer"
|
|
7
|
-
gem.version = 0.
|
|
7
|
+
gem.version = 0.2
|
|
8
8
|
gem.authors = ["Rodney Carvalho"]
|
|
9
9
|
gem.email = ["rcarvalho@atlantistech.com"]
|
|
10
10
|
gem.description = "Removes referrer information on an html link."
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: noreferrer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.2'
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -21,7 +21,7 @@ files:
|
|
|
21
21
|
- README.md
|
|
22
22
|
- lib/noreferrer.rb
|
|
23
23
|
- noreferrer.gemspec
|
|
24
|
-
- vendor/assets/javascripts/noreferrer.js
|
|
24
|
+
- vendor/assets/javascripts/jquery.noreferrer.js
|
|
25
25
|
homepage: https://github.com/rjcarvalho/noreferrer
|
|
26
26
|
licenses: []
|
|
27
27
|
post_install_message:
|
|
File without changes
|