trado_googlemerchant_module 0.1.0 → 0.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4a32ef56a666ac2dec84925c0dfa5ae30eb5a3e
|
4
|
+
data.tar.gz: f42a170c01b9a904213206bf5f9c771795247151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1055c183fba38c258ba3608d33f64e8e362ba9ca1c8d1e8d060d1afd054647da26daa987946c45069acf61df0808e74822aa100aec56884ddb0b4e0f1a54b1a5
|
7
|
+
data.tar.gz: 17e2ce2f4d6f0fd98b1d97d8f2a6124a290857047483dd5f483a425f3487a47334f22b659b9b1097851d17a4077400a9a5d3305e3b7ceb3e175731234812807c
|
data/README.md
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+

|
2
|
+
|
3
|
+
# Google Merchant Module
|
4
|
+
Module for Google Merchant Product Feed functionality in the Trado Ecommerce platform. If you would like to get started using the Trado Ecommerce platform, head on over to the [Official site](http://www.trado.io/?utm_source=github&utm_medium=website&utm_campaign=trado)!
|
5
|
+
|
6
|
+
[Release notes](http://release.tomdallimore.com/projects/trado-googlemerchant)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add module to your Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'trado_googlemerchant_module'
|
14
|
+
```
|
15
|
+
|
16
|
+
Then run bundle to install the Gem:
|
17
|
+
|
18
|
+
```sh
|
19
|
+
bundle install
|
20
|
+
```
|
21
|
+
|
22
|
+
Now generate migrations and assign model concerns:
|
23
|
+
|
24
|
+
```sh
|
25
|
+
rails generate trado_googlemerchant_module:install
|
26
|
+
bundle exec rake db:migrate
|
27
|
+
```
|
28
|
+
|
29
|
+
Restart the main application server:
|
30
|
+
|
31
|
+
```sh
|
32
|
+
foreman start -f Procfile.dev
|
33
|
+
```
|
34
|
+
|
35
|
+
You can view the XML readable format of the feed at:
|
36
|
+
|
37
|
+
```
|
38
|
+
http://www.example.com/google_merchant/feed.xml
|
39
|
+
```
|
40
|
+
|
41
|
+
And you can submit the RSS format of the feed to Google with the following url:
|
42
|
+
|
43
|
+
```
|
44
|
+
http://www.example.com/google_merchant/feed.rss
|
45
|
+
```
|
46
|
+
|
47
|
+
## Versioning
|
48
|
+
|
49
|
+
Trado Google Merchant module follows Semantic Versioning 2.0 as defined at
|
50
|
+
<http://semver.org>.
|
51
|
+
|
52
|
+
## How to contribute
|
53
|
+
|
54
|
+
* Fork the project
|
55
|
+
* Create your feature or bug fix
|
56
|
+
* Add the requried tests for it.
|
57
|
+
* Commit (do not change version or history)
|
58
|
+
* Send a pull request against the *development* branch
|
59
|
+
|
60
|
+
## Copyright
|
61
|
+
Copyright (c) 2014 [Tom Dallimore](http://www.tomdallimore.com/?utm_source=trado-google-merchant-module-github&utm_medium=website&utm_campaign=tomdallimore) ([@tom_dallimore](http://twitter.com/tom_dallimore))
|
62
|
+
Licenced under the MIT licence.
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trado_googlemerchant_module
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Dallimore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -33,15 +33,16 @@ extensions: []
|
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
35
|
- MIT-LICENSE
|
36
|
+
- README.md
|
36
37
|
- Rakefile
|
37
38
|
- app/controllers/trado_googlemerchant_module/feeds_controller.rb
|
39
|
+
- app/helpers/googlemerchant_helper.rb
|
38
40
|
- app/views/admin/_product_fields.html.erb
|
39
41
|
- app/views/feeds/rss.rss.builder
|
40
42
|
- app/views/feeds/xml.xml.builder
|
41
43
|
- app/views/layouts/rss.rss.erb
|
42
44
|
- app/views/layouts/xml.xml.erb
|
43
45
|
- config/routes.rb
|
44
|
-
- lib/generators/templates/helper.rb
|
45
46
|
- lib/generators/templates/migration.rb
|
46
47
|
- lib/generators/trado_googlemerchant_module/install_generator.rb
|
47
48
|
- lib/tasks/trado_googlemerchant_module_tasks.rake
|