canonical_url-rails 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["takayuki.1229@gmail.com"]
11
11
  spec.description = %q{URL canonicalization for Rails.}
12
12
  spec.summary = %q{URL canonicalization for Rails.}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/ma2gedev/canonical_url-rails"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -3,11 +3,6 @@ module CanonicalURL
3
3
  module ActionController
4
4
  extend ActiveSupport::Concern
5
5
 
6
- included do
7
- # setup default canonical url
8
- canonical_url -> c { c.request.url.split("?").first }
9
- end
10
-
11
6
  module ClassMethods
12
7
  def canonical_url url, filter_options = {}
13
8
  before_filter do |controller|
@@ -1,5 +1,5 @@
1
1
  module CanonicalURL
2
2
  module Rails
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.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.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-29 00:00:00.000000000 Z
12
+ date: 2013-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -78,7 +78,7 @@ files:
78
78
  - lib/canonical_url/rails/engine.rb
79
79
  - lib/canonical_url/rails/railtie.rb
80
80
  - lib/canonical_url/rails/version.rb
81
- homepage: ''
81
+ homepage: https://github.com/ma2gedev/canonical_url-rails
82
82
  licenses:
83
83
  - MIT
84
84
  post_install_message:
@@ -91,12 +91,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
+ segments:
95
+ - 0
96
+ hash: -651986926880784956
94
97
  required_rubygems_version: !ruby/object:Gem::Requirement
95
98
  none: false
96
99
  requirements:
97
100
  - - ! '>='
98
101
  - !ruby/object:Gem::Version
99
102
  version: '0'
103
+ segments:
104
+ - 0
105
+ hash: -651986926880784956
100
106
  requirements: []
101
107
  rubyforge_project:
102
108
  rubygems_version: 1.8.23
@@ -104,4 +110,3 @@ signing_key:
104
110
  specification_version: 3
105
111
  summary: URL canonicalization for Rails.
106
112
  test_files: []
107
- has_rdoc: