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: b02061cb3403db9d03c091f7aaa0e76457d68ca3
4
- data.tar.gz: 685ea3dc1bf94f65f95b6caa97d7f734422a1012
3
+ metadata.gz: a4a32ef56a666ac2dec84925c0dfa5ae30eb5a3e
4
+ data.tar.gz: f42a170c01b9a904213206bf5f9c771795247151
5
5
  SHA512:
6
- metadata.gz: 04da7f8ee7e84637edd39d21f9657d396d9fd3cf2e99f738e645f02945c7d9d7697d69390cce3bcab2ea206cda7df0e080038336f903ccde8aba479fbc09ef8f
7
- data.tar.gz: fd46272f9bc0478c195c7f7404e0034ff5ce4ffe888cf63d05b4c4f8cea49d66339826de4b1352f4a9fd67195e6ea11b2f60de7b3612cd9af3213ebc43d9d608
6
+ metadata.gz: 1055c183fba38c258ba3608d33f64e8e362ba9ca1c8d1e8d060d1afd054647da26daa987946c45069acf61df0808e74822aa100aec56884ddb0b4e0f1a54b1a5
7
+ data.tar.gz: 17e2ce2f4d6f0fd98b1d97d8f2a6124a290857047483dd5f483a425f3487a47334f22b659b9b1097851d17a4077400a9a5d3305e3b7ceb3e175731234812807c
@@ -0,0 +1,62 @@
1
+ ![alt text](http://cdn0.trado.io/trado-promo/assets/img/cropped.png "Trado")
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.
@@ -10,10 +10,6 @@ module TradoGooglemerchantModule
10
10
  end
11
11
  end
12
12
 
13
- def copy_helper
14
- template "helper.rb", "app/helpers/googlemerchant_helper.rb"
15
- end
16
-
17
13
  def setup_routes
18
14
  route_content = <<-CONTENT
19
15
 
@@ -1,3 +1,3 @@
1
1
  module TradoGooglemerchantModule
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.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-09-26 00:00:00.000000000 Z
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