canonical_url-rails 0.2.2 → 0.3.0

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: 50a74a1a87b93e310c4b990c3344b5dcca7c10af
4
- data.tar.gz: 1f02cd14202c6ef3bee012a59bf66fb6235a65f3
3
+ metadata.gz: b988816d89f7f2f221705228de80c2791f2ab2d0
4
+ data.tar.gz: 01ad2601bf1d0d65354c99f5961b05010461642e
5
5
  SHA512:
6
- metadata.gz: 943f312b600de7255627606d9d7218bac30b9fb6c33b54cab287fa2895cae6c6dbb0d7b235e873f911ac6e39fc1dbe4c968795d63b30cca730c979329d64a3c9
7
- data.tar.gz: d444a77e406589a142d96916395f6d199cccadecd22ffd3a54b7a9911da2adfa13f3fa6d975ad3b970909e43f8a0b4c566d6fb917f8416a4b8d2b6fb2c192515
6
+ metadata.gz: b9b3f36b3be1514fc1f510a902b3543636c60ab8aab2b0464170108b95da55192eef6170d507204b49024666a7c3467c52f0b8b713f1a5268e83ca16b8c3bd87
7
+ data.tar.gz: be94313fd00046704a62722305280591687748355837b7c281f2e06440cbe9f9ca3a97e1368fe5c77695db0478f3d5020e6e848f5abc011739cdee11256b0923
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "rails", ['>= 3.2.0']
21
+ spec.add_dependency "rails", ['>= 4.2.0']
22
22
  spec.add_development_dependency "bundler", "~> 1.3"
23
23
  spec.add_development_dependency "rake"
24
24
  end
@@ -5,7 +5,7 @@ module CanonicalURL
5
5
 
6
6
  module ClassMethods
7
7
  def canonical_url url, filter_options = {}
8
- before_filter(filter_options) do |controller|
8
+ before_action(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.2"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonical_url-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Matsubara
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.0
19
+ version: 4.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
- version: 3.2.0
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement