fi_seo 0.1.0 → 0.1.1
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 +4 -4
- data/fi_seo.gemspec +1 -1
- data/lib/acts_as_seoable/version.rb +1 -1
- data/lib/generators/acts_as_seoable/migrate/migrate_generator.rb +20 -2
- data/lib/generators/acts_as_seoable/migrate/templates/{migration.rb → migration.erb} +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: 2f686e6b17838ac2a4ac9325238ef5f67e213a86674eb143387b74f785ad1e18
|
4
|
+
data.tar.gz: 88060a673f5ee053eacd477b9503371c869f8550ad53fc2ce52448c64106bc6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd5c26a95b232946549c5c016a269a369314316622a2e4140dbce8fdc747031d0e1c3d55227bf4f6a5a34d701f5609a8b67829dd2ac0a48ed26050fcd6eece0e
|
7
|
+
data.tar.gz: 25198b6edda03522542784370df36bd90dab41a83de139745e298204bb91ba755f65774441dbfae61f31faddd3a619e91748b46127dd52f270ba33502391ba62
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# FiSeo
|
2
2
|
|
3
|
-
This gem provides a easier solution to search engine optimization(SEO) in a
|
3
|
+
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.
|
4
4
|
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.
|
5
5
|
|
6
6
|
This gem currently integrate with the Active Admin for management of the gem. Dynamic pages and other settings also include with the integration.
|
@@ -33,7 +33,7 @@ And then execute:
|
|
33
33
|
|
34
34
|
After updating your bundle, run the migration as follows:
|
35
35
|
|
36
|
-
$ acts_as_seoable:migrate
|
36
|
+
$ rails g acts_as_seoable:migrate
|
37
37
|
$ rails db:migrate
|
38
38
|
|
39
39
|
## Usage
|
@@ -297,7 +297,7 @@ Got a bug and you're not sure? You're sure you have a bug, but don't know what t
|
|
297
297
|
|
298
298
|
## Contributing
|
299
299
|
|
300
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
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).
|
301
301
|
|
302
302
|
|
303
303
|
## License
|
@@ -306,4 +306,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
306
306
|
|
307
307
|
## Code of Conduct
|
308
308
|
|
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/
|
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).
|
data/fi_seo.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
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
|
-
spec.description = 'This gem provides a easier solution to search engine optimization(SEO) in a
|
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
12
|
spec.homepage = 'https://github.com/fidenz-developer/fi-seo.git'
|
13
13
|
spec.license = 'MIT'
|
@@ -14,8 +14,26 @@ module ActsAsSeoable
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def copy_migrations
|
17
|
-
migration_template 'migration.
|
18
|
-
'db/migrate/create_seo_tables.rb'
|
17
|
+
migration_template 'migration.erb',
|
18
|
+
'db/migrate/create_seo_tables.rb', migration_version: migration_version
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def migration_version
|
24
|
+
if rails5?
|
25
|
+
'[4.2]'
|
26
|
+
elsif rails6?
|
27
|
+
'[6.0]'
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def rails5?
|
32
|
+
Rails.version.start_with? '5'
|
33
|
+
end
|
34
|
+
|
35
|
+
def rails6?
|
36
|
+
Rails.version.start_with? '6'
|
19
37
|
end
|
20
38
|
end
|
21
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Banura Randika
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 1.3.3
|
67
67
|
description: |-
|
68
|
-
This gem provides a easier solution to search engine optimization(SEO) in a
|
68
|
+
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.
|
69
69
|
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.
|
70
70
|
email:
|
71
71
|
- info@fidenz.com
|
@@ -109,7 +109,7 @@ files:
|
|
109
109
|
- lib/generators/acts_as_seoable/install/install_generator.rb
|
110
110
|
- lib/generators/acts_as_seoable/install/templates/initializer.rb
|
111
111
|
- lib/generators/acts_as_seoable/migrate/migrate_generator.rb
|
112
|
-
- lib/generators/acts_as_seoable/migrate/templates/migration.
|
112
|
+
- lib/generators/acts_as_seoable/migrate/templates/migration.erb
|
113
113
|
- screenshots/dynamic-pages-seoable.png
|
114
114
|
- screenshots/static-pages-seoable-details.png
|
115
115
|
- screenshots/static-pages-seoable-frontend.png
|