metamagic 3.0.2 → 3.0.3

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: 441f987b272f8c0e3ba824f605200ff7bbcfe99c
4
- data.tar.gz: 542b12e92fb1dde3e7fda07af2ba2f42c23ad6ef
3
+ metadata.gz: 8c4ae0f611d5f7dec90907c68faf99e703cc5aa7
4
+ data.tar.gz: 0fb30052abf1a39809c3a07a83efd461a25cba05
5
5
  SHA512:
6
- metadata.gz: c56cad2e5724979f9c80b674631173a0a4b8212a43f5ed603d08be7f0f929c1fc6198513a3b06805dc570415ffe1294051c60f103117adcaa1bca4c728e4632e
7
- data.tar.gz: 3e1bc82654ba692999f50103be16c5a222ac356bd87e70675d7af3c69699e550ffff56decd576da059f826c654db2644e78019340e42b9698dd098d836d11fab
6
+ metadata.gz: be3af05172de70bb573bca5615e28406075594b88233639ee022761632d6e758e03e69736aa8375b16377bcea5141eccdd7b768e3944fa331302779363d8c9b9
7
+ data.tar.gz: c3318cd1a5a4c700ea5015a47e33776a423ebbea4ddfb747f3184e2c13f3dc666bb432976ade915a66f5d295d0ddbd26cab5183325f3e3fa2857d836bbc4d427
data/README.md CHANGED
@@ -147,34 +147,6 @@ This will generate the following:
147
147
  </head>
148
148
  ```
149
149
 
150
- ### Canonical links
151
-
152
- For easy setting canonical links, you can use the following:
153
-
154
- ```erb
155
- <%
156
- meta canonical: "http://test.com/page.html"
157
- %>
158
- ```
159
-
160
- Or using the shortcut helper:
161
-
162
- ```erb
163
- <%
164
- canonical "http://test.com/page.html"
165
- %>
166
- ```
167
-
168
- This will generate the following:
169
-
170
- ```html
171
- <head>
172
- ...
173
- <link href="http://test.com/page.html" rel="canonical" />
174
- ...
175
- </head>
176
- ```
177
-
178
150
  ### Custom properties
179
151
 
180
152
  #### OpenGraph (Facebook)
@@ -6,7 +6,6 @@ module Metamagic
6
6
  keywords: MetaTag,
7
7
  property: PropertyTag,
8
8
  rel: LinkTag,
9
- canonical: LinkTag,
10
9
  og: OpenGraphTag,
11
10
  twitter: TwitterTag
12
11
  }
@@ -1,3 +1,3 @@
1
1
  module Metamagic
2
- VERSION = "3.0.2"
2
+ VERSION = "3.0.3"
3
3
  end
@@ -12,11 +12,4 @@ class LinkTagTest < ActionView::TestCase
12
12
  assert_equal %{<link href="http://test.com/author.html" rel="author" />\n<link href="http://test.com/publisher.html" rel="publisher" />},
13
13
  metamagic
14
14
  end
15
-
16
- test "canonical shortcut helper" do
17
- canonical "http://test.com/page.html"
18
-
19
- assert_equal %{<link href="http://test.com/page.html" rel="canonical" />},
20
- metamagic
21
- end
22
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metamagic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasse Bunk