meta-tags 2.12.0 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -3
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -2
- data/lib/meta_tags.rb +1 -6
- data/lib/meta_tags/railtie.rb +17 -0
- data/lib/meta_tags/version.rb +1 -1
- data/lib/meta_tags/view_helper.rb +0 -2
- data/meta-tags.gemspec +3 -2
- metadata +28 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efce8d6b7587d3d7b4825a1bf2c6d7d805c8c2a11333bde4ecdb744c7733721
|
4
|
+
data.tar.gz: 0f7b295472e2a1a3c5d398f513c6428aa32fd32e04281e287e54d468d7cc83d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18fb2143f650cdc27d0a181c501b394587bb1e3f411bd5812295eb7090872f3e9cfa38dd83bc2fd0a1af7b1721a03c875001b2454078f0cfc0fc705e1fd1d46b
|
7
|
+
data.tar.gz: 7322d9d0124336e0637f7107ccbd14424f6d51e751ef6de463db8dedd40f0b8c5bc43d163f16c443da1cc4c20e1ce8fc9b9634ca81d0b96ef747835c463f39df
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
�
|
3
|
-
<��K�V�U�
|
1
|
+
s�D���[�k4�m��< ����k���Lp�Eb+��}W\�r�߹�<���WI+7,ܯp>:�H�zQ�K��P�e`��n���x��$v����?Z��^O��)��B��C��='�LI%:����}�����B��Ѯ��B}�`�P��7Is�4X�\���"�`����cF��gF
|
2
|
+
4��m���B'�(��Ĕ^K����|dnX�ϢMea�Y��U;m���:���x���E��6��o��n��9*2��P
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -7,13 +7,13 @@ gemspec
|
|
7
7
|
|
8
8
|
if ENV['RAILS_VERSION']
|
9
9
|
# Install specified version of actionpack if requested
|
10
|
-
gem '
|
10
|
+
gem 'railties', "~> #{ENV['RAILS_VERSION']}"
|
11
11
|
end
|
12
12
|
|
13
13
|
group :test do
|
14
14
|
# Lock rubocop to a specific version we use on CI. If you update this,
|
15
15
|
# don't forget to switch rubocop channel in the .codeclimate.yml
|
16
|
-
gem 'rubocop', '~> 0.
|
16
|
+
gem 'rubocop', '~> 0.75.0'
|
17
17
|
# Cops for rails apps
|
18
18
|
gem 'rubocop-rails'
|
19
19
|
# Apply RSpec rubocop cops
|
data/lib/meta_tags.rb
CHANGED
@@ -1,9 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'English'
|
4
|
-
require 'action_controller'
|
5
|
-
require 'action_view'
|
6
|
-
|
7
3
|
# MetaTags gem namespace.
|
8
4
|
module MetaTags
|
9
5
|
# Returns MetaTags gem configuration.
|
@@ -36,5 +32,4 @@ require 'meta_tags/content_tag'
|
|
36
32
|
require 'meta_tags/text_normalizer'
|
37
33
|
require 'meta_tags/view_helper'
|
38
34
|
|
39
|
-
|
40
|
-
ActionController::Base.include MetaTags::ControllerHelper
|
35
|
+
require 'meta_tags/railtie.rb' if defined?(Rails)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MetaTags
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
initializer 'meta_tags.setup_action_controller' do
|
6
|
+
ActiveSupport.on_load :action_controller do
|
7
|
+
ActionController::Base.include MetaTags::ControllerHelper
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
initializer 'meta_tags.setup_action_view' do
|
12
|
+
ActiveSupport.on_load :action_view do
|
13
|
+
ActionView::Base.include MetaTags::ViewHelper
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/meta_tags/version.rb
CHANGED
data/meta-tags.gemspec
CHANGED
@@ -23,8 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_dependency "actionpack", ">= 3.2.0", "< 6.1"
|
25
25
|
|
26
|
-
spec.add_development_dependency "
|
27
|
-
spec.add_development_dependency "
|
26
|
+
spec.add_development_dependency "railties", ">= 3.2.0", "< 6.1"
|
27
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.9.0"
|
28
29
|
spec.add_development_dependency "rspec-html-matchers", "~> 0.9.1"
|
29
30
|
|
30
31
|
spec.cert_chain = ["certs/kpumuk.pem"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmytro Shteflyuk
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
j0ZkOZOMk6hzny9+AnYZ7eiUqp/XX7Hn+hqtl/AebKhbFapnTu0n7KcfM0oDaLUr
|
30
30
|
Fc+FAHErSClMb7YN
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2019-
|
32
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: actionpack
|
@@ -51,34 +51,54 @@ dependencies:
|
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '6.1'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: railties
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.2.0
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '6.1'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 3.2.0
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '6.1'
|
54
74
|
- !ruby/object:Gem::Dependency
|
55
75
|
name: rake
|
56
76
|
requirement: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
80
|
+
version: '13.0'
|
61
81
|
type: :development
|
62
82
|
prerelease: false
|
63
83
|
version_requirements: !ruby/object:Gem::Requirement
|
64
84
|
requirements:
|
65
85
|
- - "~>"
|
66
86
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
87
|
+
version: '13.0'
|
68
88
|
- !ruby/object:Gem::Dependency
|
69
89
|
name: rspec
|
70
90
|
requirement: !ruby/object:Gem::Requirement
|
71
91
|
requirements:
|
72
92
|
- - "~>"
|
73
93
|
- !ruby/object:Gem::Version
|
74
|
-
version: 3.
|
94
|
+
version: 3.9.0
|
75
95
|
type: :development
|
76
96
|
prerelease: false
|
77
97
|
version_requirements: !ruby/object:Gem::Requirement
|
78
98
|
requirements:
|
79
99
|
- - "~>"
|
80
100
|
- !ruby/object:Gem::Version
|
81
|
-
version: 3.
|
101
|
+
version: 3.9.0
|
82
102
|
- !ruby/object:Gem::Dependency
|
83
103
|
name: rspec-html-matchers
|
84
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +136,7 @@ files:
|
|
116
136
|
- lib/meta_tags/content_tag.rb
|
117
137
|
- lib/meta_tags/controller_helper.rb
|
118
138
|
- lib/meta_tags/meta_tags_collection.rb
|
139
|
+
- lib/meta_tags/railtie.rb
|
119
140
|
- lib/meta_tags/renderer.rb
|
120
141
|
- lib/meta_tags/tag.rb
|
121
142
|
- lib/meta_tags/text_normalizer.rb
|
@@ -141,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
162
|
- !ruby/object:Gem::Version
|
142
163
|
version: '0'
|
143
164
|
requirements: []
|
144
|
-
rubygems_version: 3.0.
|
165
|
+
rubygems_version: 3.0.6
|
145
166
|
signing_key:
|
146
167
|
specification_version: 4
|
147
168
|
summary: Collection of SEO helpers for Ruby on Rails.
|
metadata.gz.sig
CHANGED
Binary file
|