canonical_dude 2.0.0 → 2.1.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: b21c0a0415b3561de2325ed573c0bec67991956f
4
+ data.tar.gz: 69b234156bbdf1ac57bb30ba562e28187d925fb6
5
+ SHA512:
6
+ metadata.gz: 356580c0dbafa406cd32eafb35d58a063c166e21eff250adb91bc56d437c8534acdffe32e3c096b459d7b67e087408f5f18e91d7bf1ac004c0952ae395139645
7
+ data.tar.gz: 2f8b3bcb6575afcd3ac4e85f032794c52cbd9200ec05f4f625cb399806c05b45218376bbcd92b5e698edfa2b5d5716916d8d0b6452dee9a39a0beff174096f3a
data/README.md CHANGED
@@ -89,15 +89,15 @@ If you have none of those methods defined, canonical_dude will, fallback again t
89
89
  Also worth noting is, that, if you defined any custom canonical_* method which returns nil, canonical_dude will not
90
90
  render the canonical_link_tag.
91
91
 
92
- Last but not least, you can control when to show your canonical_link_tag with the canonical_url? helper method:
92
+ Last but not least, you can control when to show your canonical_link_tag with the canonical_link_tag? helper method:
93
93
 
94
94
  ```ruby
95
95
  # in your HTML head of layouts/application.html.erb
96
- <%= canonical_link_tag if canonical_url? %>
96
+ <%= canonical_link_tag if canonical_link_tag? %>
97
97
  ```
98
98
 
99
99
 
100
- canonical_url? will return true if you have explicitly defined :canonical_url in your controller. If not, it returns
100
+ canonical_link_tag? will return true if you have explicitly defined :canonical_url in your controller. If not, it returns
101
101
  false. So if you only want a canonical tag on specific placed, you have a basic method for it.
102
102
 
103
103
 
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency "rails", "~> 3.2"
21
+ s.add_dependency "rails", ">= 3.2"
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module CanonicalDude
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonical_dude
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
5
- prerelease:
4
+ version: 2.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rudolf Schmidt
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-08 00:00:00.000000000 Z
11
+ date: 2015-08-28 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'
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'
30
27
  description: canonical_dude is a Rails plugin to easily set your preferred version
@@ -34,7 +31,7 @@ executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - .gitignore
34
+ - ".gitignore"
38
35
  - Gemfile
39
36
  - LICENSE.txt
40
37
  - README.md
@@ -47,27 +44,25 @@ files:
47
44
  - lib/canonical_dude/version.rb
48
45
  homepage: http://github.com/rudionrails/canonical_dude
49
46
  licenses: []
47
+ metadata: {}
50
48
  post_install_message:
51
49
  rdoc_options: []
52
50
  require_paths:
53
51
  - lib
54
52
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
53
  requirements:
57
- - - ! '>='
54
+ - - ">="
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0'
60
57
  required_rubygems_version: !ruby/object:Gem::Requirement
61
- none: false
62
58
  requirements:
63
- - - ! '>='
59
+ - - ">="
64
60
  - !ruby/object:Gem::Version
65
61
  version: '0'
66
62
  requirements: []
67
63
  rubyforge_project: canonical_dude
68
- rubygems_version: 1.8.25
64
+ rubygems_version: 2.4.8
69
65
  signing_key:
70
- specification_version: 3
66
+ specification_version: 4
71
67
  summary: Easy canonical URL generation
72
68
  test_files: []
73
- has_rdoc: