canonical_url-rails 0.2.1 → 0.2.2

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: 74a2702706ccbd72865372aecb9bc0ca0f18582e
4
- data.tar.gz: 3b1f7d75da58bdc894eb1f2fac17704b5cf1a7ee
3
+ metadata.gz: 50a74a1a87b93e310c4b990c3344b5dcca7c10af
4
+ data.tar.gz: 1f02cd14202c6ef3bee012a59bf66fb6235a65f3
5
5
  SHA512:
6
- metadata.gz: b1de6e3a7eb9bbbb13aee847d77b61848759bc3fad1dd76effb80602e6012b522b9e60c7106308d31d844e42e2cabe24166fa959c9344c0ba121c0606a0a7646
7
- data.tar.gz: 3985f97bf0cee609337a9c8a570fca20c7f6c6f69e77eb36b2c4668bc44fd12000d0ad4bf90665ee9715441e4a59e400eb5ba41c9ad5f5e825ffcc63d4f59c70
6
+ metadata.gz: 943f312b600de7255627606d9d7218bac30b9fb6c33b54cab287fa2895cae6c6dbb0d7b235e873f911ac6e39fc1dbe4c968795d63b30cca730c979329d64a3c9
7
+ data.tar.gz: d444a77e406589a142d96916395f6d199cccadecd22ffd3a54b7a9911da2adfa13f3fa6d975ad3b970909e43f8a0b4c566d6fb917f8416a4b8d2b6fb2c192515
@@ -5,7 +5,7 @@ module CanonicalURL
5
5
 
6
6
  module ClassMethods
7
7
  def canonical_url url, filter_options = {}
8
- before_filter do |controller|
8
+ before_filter(filter_options) do |controller|
9
9
  controller.send :canonical_url, url
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  module CanonicalURL
2
2
  module Rails
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonical_url-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Matsubara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-12 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: URL canonicalization for Rails.
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - LICENSE.txt
65
65
  - README.md
@@ -81,17 +81,17 @@ require_paths:
81
81
  - lib
82
82
  required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - '>='
84
+ - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - '>='
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.0.3
94
+ rubygems_version: 2.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: URL canonicalization for Rails.