fi_seo 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 96d8b1168f231225122c9be3c95bdbcd9b2d22b5d3e43c3191a87eb5b3cad550
4
- data.tar.gz: '0437082cd542bbda92450a82cb6044a5b108bb02b578b0be425d040dddbaa006'
3
+ metadata.gz: a437ae096bcfb7cccccbba6bcf6b43f33c1cdf425e9133651899fa041ec5f6e3
4
+ data.tar.gz: 87069ad91d3d5bcc2e8376e7b227c9fd384500461ba37a3b820ada2330785c0c
5
5
  SHA512:
6
- metadata.gz: 7e062a3c10e1b993080dcd2bb96f8194382391e2329d665d0c84d120f3657d0a02a1ae5bf7b900770dd066459e6c0723698253d00b6880b54ba84b7c2b984cf1
7
- data.tar.gz: 106813c11271b4ff4aeed5a0c2b55b22134e0cdf3f6d64f750d459e2562a36949cc4ce484266b0649739cc76c96407e36fc79c0654281544fbb1d98d8ec3fce8
6
+ metadata.gz: f06107c54997b137ed1b1bdaf07f7c231a1aa9ce45a540b90ba152d4bbbae39480ad7cfc49f97187c38c3a113b83334a1112205fc1ecb162589ce66c78bdfbde
7
+ data.tar.gz: 504de94df17ee1e25ab1cdfa69051cbefa5adf662cd36393ae6166cd2408d0525886aeffb9e34d87584f3c6ef70a65943229afcb7fe67fc16f7688a3e81e9526
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fi_seo (0.1.3)
4
+ fi_seo (0.1.4)
5
5
  activerecord (>= 5.0, < 6.1)
6
6
  meta-tags (~> 2.13)
7
7
  xml-sitemap (~> 1.3, >= 1.3.3)
data/README.md CHANGED
@@ -125,7 +125,7 @@ If the model has attributes for that you need to use for the seoable attributes
125
125
  acts_as_seoable :title_seoable, :description, :keywords
126
126
 
127
127
  def title_seoable
128
- "#{self.name}#{self.id}"
128
+ "#{self.name}#{self.id}"
129
129
  end
130
130
  ```
131
131
  when you create a new record from this model the gem will create a corresponding seoable record as well. Above values will be set as default values.
@@ -171,6 +171,23 @@ def twitter_tags
171
171
  end
172
172
  ```
173
173
 
174
+ For adding dynamic tags to frontend please add meta tags as follows:
175
+
176
+ ```ruby
177
+ # some_controller.rb
178
+
179
+ def show
180
+ @user = User.find(params[:id])
181
+ set_meta_tags @user
182
+ end
183
+ ```
184
+
185
+ For adding dynamic meta tags for existing records please run following:
186
+
187
+ ```ruby
188
+ Model.find_each(&:save)
189
+ ```
190
+
174
191
  ### Sitemap
175
192
 
176
193
  For sitemap you need to configure as follows:
@@ -297,7 +314,7 @@ Got a bug and you're not sure? You're sure you have a bug, but don't know what t
297
314
 
298
315
  ## Contributing
299
316
 
300
- Bug reports and pull requests are welcome on GitHub at https://github.com/fidenz-developer/fi-seo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/fidenz-developer/fi-seo/blob/master/CODE_OF_CONDUCT.md).
317
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Fidenz/fi_seo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Fidenz/fi_seo/blob/master/CODE_OF_CONDUCT.md).
301
318
 
302
319
 
303
320
  ## License
@@ -306,4 +323,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
306
323
 
307
324
  ## Code of Conduct
308
325
 
309
- Everyone interacting in the FiSeo project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/fidenz-developer/fi-seo/blob/master/CODE_OF_CONDUCT.md).
326
+ Everyone interacting in the FiSeo project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Fidenz/fi_seo/blob/master/CODE_OF_CONDUCT.md).
@@ -3,13 +3,13 @@ require_relative 'lib/acts_as_seoable/version'
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'fi_seo'
5
5
  spec.version = FiSeo::VERSION
6
- spec.authors = ['Banura Randika']
6
+ spec.authors = ['Fidenz']
7
7
  spec.email = ['info@fidenz.com', 'tech@fidenz.com', 'banura.r@fidenz.com']
8
8
 
9
9
  spec.summary = 'Flexible SEO solution for rails projects'
10
10
  spec.description = 'This gem provides a easier solution to search engine optimization(SEO) in a rails project. This will give you the seo capabilities to your static pages and dynamic pages alike with few lines of code.
11
11
  Also site maps are essential to the SEO of your web application. So this gem gives that capabilities with a feature to integrate google analytics.'
12
- spec.homepage = 'https://github.com/fidenz-developer/fi-seo.git'
12
+ spec.homepage = 'https://github.com/Fidenz/fi_seo'
13
13
  spec.license = 'MIT'
14
14
  spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
15
15
 
@@ -1,3 +1,3 @@
1
1
  module FiSeo
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fi_seo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
- - Banura Randika
7
+ - Fidenz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
@@ -114,7 +114,7 @@ files:
114
114
  - screenshots/static-pages-seoable-details.png
115
115
  - screenshots/static-pages-seoable-frontend.png
116
116
  - screenshots/static-pages-seoable.png
117
- homepage: https://github.com/fidenz-developer/fi-seo.git
117
+ homepage: https://github.com/Fidenz/fi_seo
118
118
  licenses:
119
119
  - MIT
120
120
  metadata: {}