seo_helper 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: aade5aff3f5e5b7d360ae795857d5661b208d0d8
4
+ data.tar.gz: 729e4e90060a3c65cb76197e5c67c4fc5ed5bf89
5
+ SHA512:
6
+ metadata.gz: 087ecdf9bdf2053a403c03f6096772f77698bb2a9744fb987e96d31503f3fb58a5f2298d76d952df2a0b5ef98efed7a3067fc8e496dc5f2ee246da67412234a6
7
+ data.tar.gz: aa4d65348d324b56fb275d0a5fb46ee3e8cf0e74dc9cd87aad8a52d8284a5ff5ca532db845f07fac3130651bb11d557551b8cf61a6c7e9c236495bddcf7d3ff2
@@ -17,7 +17,7 @@ Add this to your Gemfile:
17
17
 
18
18
  If you want to use the edge version on Github, specify the `:git` option.
19
19
 
20
- gem 'seo_helper', '~> 1.0', :git => 'git://github.com/techbang/seo_helper.git'
20
+ gem 'seo_helper', '~> 1.0', :git => 'git://github.com/xdite/seo_helper.git'
21
21
 
22
22
  And run
23
23
 
@@ -255,4 +255,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
255
255
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
256
256
 
257
257
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
258
-
@@ -8,14 +8,13 @@ module SeoHelper
8
8
 
9
9
  module Rails
10
10
  case ::Rails.version.to_s
11
- when /^4/
12
- require "seo_helper/engine"
11
+ when /^4/, /^5/
12
+ require 'seo_helper/engine'
13
13
  when /^3\.[12]/
14
- require "seo_helper/engine3"
14
+ require 'seo_helper/engine3'
15
15
  when /^3\.[0]/
16
- require "seo_helper/railtie"
16
+ require 'seo_helper/railtie'
17
17
  end
18
-
19
18
  end
20
19
 
21
20
  def self.configure
@@ -1,13 +1,14 @@
1
- require "seo_helper/helper"
1
+ require 'seo_helper/helper'
2
2
 
3
3
  module SeoHelper
4
4
  class Engine < ::Rails::Engine
5
- initializer "seo_helper.view_helpers" do
5
+ initializer 'seo_helper.view_helpers' do
6
6
  ActionView::Base.send :include, SeoHelper::Helper
7
+ ActionView::Base.send :include, SeoHelper::ControllerHelper
7
8
  end
8
9
 
9
- initializer "seo_helper.controller_helpers" do
10
+ initializer 'seo_helper.controller_helpers' do
10
11
  ActionController::Base.send :include, SeoHelper::ControllerHelper
11
12
  end
12
13
  end
13
- end
14
+ end
@@ -1,13 +1,14 @@
1
- require "seo_helper/helper"
1
+ require 'seo_helper/helper'
2
2
 
3
3
  module SeoHelper
4
4
  class Engine3 < ::Rails::Engine
5
- initializer "seo_helper.view_helpers" do
5
+ initializer 'seo_helper.view_helpers' do
6
6
  ActionView::Base.send :include, SeoHelper::Helper
7
+ ActionView::Base.send :include, SeoHelper::ControllerHelper
7
8
  end
8
9
 
9
- initializer "seo_helper.controller_helpers" do
10
+ initializer 'seo_helper.controller_helpers' do
10
11
  ActionController::Base.send :include, SeoHelper::ControllerHelper
11
12
  end
12
13
  end
13
- end
14
+ end
@@ -1,13 +1,14 @@
1
- require "seo_helper/helper"
1
+ require 'seo_helper/helper'
2
2
 
3
3
  module SeoHelper
4
4
  class Railtie < Rails::Railtie
5
- initializer "seo_helper.view_helpers" do
5
+ initializer 'seo_helper.view_helpers' do
6
6
  ActionView::Base.send :include, SeoHelper::Helper
7
+ ActionView::Base.send :include, SeoHelper::ControllerHelper
7
8
  end
8
9
 
9
- initializer "seo_helper.controller_helpers" do
10
+ initializer 'seo_helper.controller_helpers' do
10
11
  ActionController::Base.send :include, SeoHelper::ControllerHelper
11
12
  end
12
13
  end
13
- end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module SeoHelper
2
- VERSION = "1.0.2"
2
+ VERSION = '1.0.3'.freeze
3
3
  end
@@ -2,16 +2,16 @@
2
2
  require File.expand_path('../lib/seo_helper/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["xdite"]
6
- gem.email = ["xdite@techbang.com.tw"]
7
- gem.description = %q{SEO helper of Techbang}
8
- gem.summary = %q{SEO helper of Techbang}
9
- gem.homepage = ""
5
+ gem.authors = ['xdite']
6
+ gem.email = ['xdite@growth.school']
7
+ gem.description = 'SEO helper of Techbang'
8
+ gem.summary = 'SEO helper of Techbang'
9
+ gem.homepage = ''
10
10
 
11
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
11
+ gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
12
12
  gem.files = `git ls-files`.split("\n")
13
13
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
- gem.name = "seo_helper"
15
- gem.require_paths = ["lib"]
14
+ gem.name = 'seo_helper'
15
+ gem.require_paths = ['lib']
16
16
  gem.version = SeoHelper::VERSION
17
17
  end
metadata CHANGED
@@ -1,24 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seo_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
5
- prerelease:
4
+ version: 1.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - xdite
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-16 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: SEO helper of Techbang
15
14
  email:
16
- - xdite@techbang.com.tw
15
+ - xdite@growth.school
17
16
  executables: []
18
17
  extensions: []
19
18
  extra_rdoc_files: []
20
19
  files:
21
- - .gitignore
20
+ - ".gitignore"
22
21
  - Gemfile
23
22
  - README.markdown
24
23
  - Rakefile
@@ -33,27 +32,25 @@ files:
33
32
  - seo_helper.gemspec
34
33
  homepage: ''
35
34
  licenses: []
35
+ metadata: {}
36
36
  post_install_message:
37
37
  rdoc_options: []
38
38
  require_paths:
39
39
  - lib
40
40
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
41
  requirements:
43
- - - ! '>='
42
+ - - ">="
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
46
45
  required_rubygems_version: !ruby/object:Gem::Requirement
47
- none: false
48
46
  requirements:
49
- - - ! '>='
47
+ - - ">="
50
48
  - !ruby/object:Gem::Version
51
49
  version: '0'
52
50
  requirements: []
53
51
  rubyforge_project:
54
- rubygems_version: 1.8.25
52
+ rubygems_version: 2.5.1
55
53
  signing_key:
56
- specification_version: 3
54
+ specification_version: 4
57
55
  summary: SEO helper of Techbang
58
56
  test_files: []
59
- has_rdoc: