meta-tags 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,32 @@ describe MetaTags::ViewHelper do
51
51
  expect(meta).to have_tag('meta', with: { content: "facebook description", property: "og:description" })
52
52
  end
53
53
  end
54
+
55
+ it 'should work with app links parameters' do
56
+ subject.set_meta_tags('al' => {
57
+ 'ios' => {
58
+ 'url' => 'applinks://docs',
59
+ 'app_store_id' => 12345,
60
+ 'app_name' => 'App Links'
61
+ }
62
+ })
63
+ subject.display_meta_tags(site: 'someSite').tap do |meta|
64
+ expect(meta).to have_tag('meta', with: { content: "applinks://docs", property: "al:ios:url" })
65
+ expect(meta).to have_tag('meta', with: { content: "12345", property: "al:ios:app_store_id" })
66
+ expect(meta).to have_tag('meta', with: { content: "App Links", property: "al:ios:app_name" })
67
+ end
68
+ end
69
+
70
+ it 'should work with facebook parameters' do
71
+ subject.set_meta_tags('fb' => {
72
+ app_id: 12345,
73
+ admins: "12345,23456"
74
+ })
75
+ subject.display_meta_tags(site: 'someSite').tap do |meta|
76
+ expect(meta).to have_tag('meta', with: { content: "12345", property: "fb:app_id" })
77
+ expect(meta).to have_tag('meta', with: { content: "12345,23456", property: "fb:admins" })
78
+ end
79
+ end
54
80
  end
55
81
 
56
82
  it_behaves_like '.set_meta_tags'
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmytro Shteflyuk
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZrcHVt
14
+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RBseVgHdH9JwbranEqRJ51WwJ0zTGgDnvGxOxigExXEfYE
30
+ He5T3dBG5WWdIclQcE+JgohBpQ78TcVs1pFNjFmW9pC/P7Rm2GlYqOPHBQG1/Qx9
31
+ ySbbrGHRLVz8DCxQbhKw+mdT5bg=
32
+ -----END CERTIFICATE-----
33
+ date: 2016-08-24 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: actionpack
@@ -16,14 +38,14 @@ dependencies:
16
38
  requirements:
17
39
  - - ">="
18
40
  - !ruby/object:Gem::Version
19
- version: 3.0.0
41
+ version: 3.2.0
20
42
  type: :runtime
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
46
  - - ">="
25
47
  - !ruby/object:Gem::Version
26
- version: 3.0.0
48
+ version: 3.2.0
27
49
  - !ruby/object:Gem::Dependency
28
50
  name: rake
29
51
  requirement: !ruby/object:Gem::Requirement
@@ -103,8 +125,11 @@ extra_rdoc_files:
103
125
  - README.md
104
126
  - CHANGELOG.md
105
127
  files:
128
+ - ".codeclimate.yml"
106
129
  - ".gitignore"
130
+ - ".hound.yml"
107
131
  - ".rspec"
132
+ - ".rubocop.yml"
108
133
  - ".ruby-gemset"
109
134
  - ".ruby-version"
110
135
  - ".travis.yml"
@@ -113,6 +138,7 @@ files:
113
138
  - MIT-LICENSE
114
139
  - README.md
115
140
  - Rakefile
141
+ - certs/kpumuk.pem
116
142
  - lib/meta-tags.rb
117
143
  - lib/meta_tags.rb
118
144
  - lib/meta_tags/configuration.rb
@@ -145,7 +171,8 @@ files:
145
171
  - spec/view_helper/twitter_spec.rb
146
172
  - spec/view_helper_spec.rb
147
173
  homepage: http://github.com/kpumuk/meta-tags
148
- licenses: []
174
+ licenses:
175
+ - MIT
149
176
  metadata: {}
150
177
  post_install_message:
151
178
  rdoc_options:
@@ -164,9 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
191
  version: '0'
165
192
  requirements: []
166
193
  rubyforge_project:
167
- rubygems_version: 2.4.8
194
+ rubygems_version: 2.4.5.1
168
195
  signing_key:
169
196
  specification_version: 4
170
197
  summary: Collection of SEO helpers for Ruby on Rails.
171
198
  test_files: []
172
- has_rdoc:
@@ -0,0 +1,4 @@
1
+ ��y�j�7�ˎ��dLLc�Ԅ~��J����~*�vU�'���0B7�yZ�c{1IK^�'���sh���kEbl<���io�� 䤱���k1V*�ϡ|��?
2
+ U7!���E�kV;�i��Q�#A���%�b�򦰗���J�y@X��}#�ȓV�(�歽��/��a
3
+ ����+��O ɾ5›2..�Fn�,1vmvX���%�+6[���r�
4
+ �4*���FgW�