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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +20 -3
- data/fi_seo.gemspec +2 -2
- data/lib/acts_as_seoable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a437ae096bcfb7cccccbba6bcf6b43f33c1cdf425e9133651899fa041ec5f6e3
|
4
|
+
data.tar.gz: 87069ad91d3d5bcc2e8376e7b227c9fd384500461ba37a3b820ada2330785c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f06107c54997b137ed1b1bdaf07f7c231a1aa9ce45a540b90ba152d4bbbae39480ad7cfc49f97187c38c3a113b83334a1112205fc1ecb162589ce66c78bdfbde
|
7
|
+
data.tar.gz: 504de94df17ee1e25ab1cdfa69051cbefa5adf662cd36393ae6166cd2408d0525886aeffb9e34d87584f3c6ef70a65943229afcb7fe67fc16f7688a3e81e9526
|
data/Gemfile.lock
CHANGED
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/
|
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/
|
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).
|
data/fi_seo.gemspec
CHANGED
@@ -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 = ['
|
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/
|
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
|
|
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.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
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/
|
117
|
+
homepage: https://github.com/Fidenz/fi_seo
|
118
118
|
licenses:
|
119
119
|
- MIT
|
120
120
|
metadata: {}
|