canonical_url-rails 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 666f937cfaa0cbc6c229e8c5bce30425a27bd277
4
+ data.tar.gz: 0d2d51cf1feb654c27d738da7066562f6e2c52fc
5
+ SHA512:
6
+ metadata.gz: 7f539a4719d610e7217ea66147ba800dee923ee816f04ccf622d8c5485c5c670151d0d2cc1d347d691165a15cc69e8eb67adcd572935cbabc7aae5fe835d4ac0
7
+ data.tar.gz: c361c816c12037ad4ed79875634c49823c4b0a5659362a20e8f69f0a28b173b0ea0d942af3d5322e1d5dccf8e2be0dd1df33cd8339389fe501e44c53cc31e196
@@ -3,7 +3,7 @@ module CanonicalURL
3
3
  module ActionView
4
4
  def canonical_link_tag url = nil
5
5
  return '' if url.nil? && @canonical_url.nil?
6
- tag("link", rel: "canonical", href: url || @canonical_url)
6
+ tag("link", rel: "canonical", href: url.html_safe || @canonical_url.html_safe)
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module CanonicalURL
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonical_url-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Takayuki Matsubara
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-21 00:00:00.000000000 Z
11
+ date: 2013-08-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.2.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.2.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,17 +41,15 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: URL canonicalization for Rails.
@@ -81,32 +74,25 @@ files:
81
74
  homepage: https://github.com/ma2gedev/canonical_url-rails
82
75
  licenses:
83
76
  - MIT
77
+ metadata: {}
84
78
  post_install_message:
85
79
  rdoc_options: []
86
80
  require_paths:
87
81
  - lib
88
82
  required_ruby_version: !ruby/object:Gem::Requirement
89
- none: false
90
83
  requirements:
91
- - - ! '>='
84
+ - - '>='
92
85
  - !ruby/object:Gem::Version
93
86
  version: '0'
94
- segments:
95
- - 0
96
- hash: -651986926880784956
97
87
  required_rubygems_version: !ruby/object:Gem::Requirement
98
- none: false
99
88
  requirements:
100
- - - ! '>='
89
+ - - '>='
101
90
  - !ruby/object:Gem::Version
102
91
  version: '0'
103
- segments:
104
- - 0
105
- hash: -651986926880784956
106
92
  requirements: []
107
93
  rubyforge_project:
108
- rubygems_version: 1.8.23
94
+ rubygems_version: 2.0.3
109
95
  signing_key:
110
- specification_version: 3
96
+ specification_version: 4
111
97
  summary: URL canonicalization for Rails.
112
98
  test_files: []