workarea-sitemaps 2.1.6 → 2.1.7

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: a849e41bff94936faa32f32f815fcfc1f2538320a80428c338c798aad7fa72fd
4
- data.tar.gz: 105d71537ba4ef0cfc373d1808897d861b5df24a950046e320401db9a5d03043
3
+ metadata.gz: 55b4f0e5b0f35b1fd04485755fbdb0e42bbc1aa8cff54ea3a8dd7e906f5f412d
4
+ data.tar.gz: f2410a0576280e44eb746323578ba621dcad8635dfffc9d1b1e6a436874b3d68
5
5
  SHA512:
6
- metadata.gz: 4049a90e3f0c579dd91fbe7d226ef3fb07034f87e15cd09d911423b2e5c17faceda0a4612c79711eab3306b5d48a6aeec26ca0c0aa22f1844a90cd2efa30ae70
7
- data.tar.gz: fdc7d1f30ed4e57bed5c91cc0e4ec0530e431baf7bfae02509073842315936a16a072fd7f26bd5543ed205c9c8a1a1523a33d3d3b03013f270296c64d5f33433
6
+ metadata.gz: d3a92a24e03835997ec338d795c35d0994753cb8ceddeaaba58c2b970316b5adde3f61f4741e13f22ff1367ab8a034c8a5486cb065001441f0e67fbf844230ed
7
+ data.tar.gz: a5731917cd7088d947d8faef34f78d8c790d2a8f15b01b908ed3712066366cf1c3e1d315bc310a4c47610800aac6ea8fa511a5ff8dd60d89df2cca52d18d086a
@@ -0,0 +1,35 @@
1
+ {
2
+ "extends": "eslint:recommended",
3
+ "rules": {
4
+ "semi": ["error", "always"],
5
+ "eqeqeq": ["error", "always"]
6
+ },
7
+ "globals": {
8
+ "window": true,
9
+ "document": true,
10
+ "WORKAREA": true,
11
+ "$": true,
12
+ "jQuery": true,
13
+ "_": true,
14
+ "feature": true,
15
+ "JST": true,
16
+ "Turbolinks": true,
17
+ "I18n": true,
18
+ "Chart": true,
19
+ "Dropzone": true,
20
+ "strftime": true,
21
+ "Waypoint": true,
22
+ "wysihtml": true,
23
+ "LocalTime": true,
24
+ "describe": true,
25
+ "after": true,
26
+ "afterEach": true,
27
+ "before": true,
28
+ "beforeEach": true,
29
+ "it": true,
30
+ "expect": true,
31
+ "sinon": true,
32
+ "fixture": true,
33
+ "chai": true
34
+ }
35
+ }
@@ -0,0 +1,57 @@
1
+ name: CI
2
+ on: [push]
3
+
4
+ jobs:
5
+ static_analysis:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v1
9
+ - uses: workarea-commerce/ci/bundler-audit@v1
10
+ - uses: workarea-commerce/ci/rubocop@v1
11
+ - uses: workarea-commerce/ci/eslint@v1
12
+ with:
13
+ args: '**/*.js'
14
+
15
+ admin_tests:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v1
19
+ - uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: 2.6.x
22
+ - uses: workarea-commerce/ci/test@v1
23
+ with:
24
+ command: bin/rails app:workarea:test:admin
25
+
26
+ core_tests:
27
+ runs-on: ubuntu-latest
28
+ steps:
29
+ - uses: actions/checkout@v1
30
+ - uses: actions/setup-ruby@v1
31
+ with:
32
+ ruby-version: 2.6.x
33
+ - uses: workarea-commerce/ci/test@v1
34
+ with:
35
+ command: bin/rails app:workarea:test:core
36
+
37
+ storefront_tests:
38
+ runs-on: ubuntu-latest
39
+ steps:
40
+ - uses: actions/checkout@v1
41
+ - uses: actions/setup-ruby@v1
42
+ with:
43
+ ruby-version: 2.6.x
44
+ - uses: workarea-commerce/ci/test@v1
45
+ with:
46
+ command: bin/rails app:workarea:test:storefront
47
+
48
+ plugins_tests:
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v1
52
+ - uses: actions/setup-ruby@v1
53
+ with:
54
+ ruby-version: 2.6.x
55
+ - uses: workarea-commerce/ci/test@v1
56
+ with:
57
+ command: bin/rails app:workarea:test:plugins
data/.gitignore CHANGED
@@ -13,3 +13,4 @@ node_modules
13
13
  test/reports
14
14
  package.json
15
15
  yarn.lock
16
+ .rubocop-http*
@@ -0,0 +1,3 @@
1
+ inherit_from:
2
+ - https://raw.githubusercontent.com/workarea-commerce/workarea/master/.rubocop.yml
3
+
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "stylelint-config-recommended-scss",
3
+ "rules": {
4
+ "block-no-empty": null,
5
+ "no-descending-specificity": null,
6
+ "property-no-unknown": [true, { "ignoreProperties": ["mso-hide"] }]
7
+ }
8
+ }
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
- git_source(:github) { |repo| "git@github.com:#{repo}.git" }
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  gemspec
5
5
 
@@ -29,7 +29,7 @@ module Workarea
29
29
  # Products
30
30
  #
31
31
  #
32
- Catalog::Product.active.each_by(per_batch) do |product|
32
+ Catalog::Product.all.each_by(per_batch) do |product|
33
33
  next unless product.active?
34
34
  add generator.product_path(product), changefreq: 'daily'
35
35
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Sitemaps
3
- VERSION = '2.1.6'.freeze
3
+ VERSION = '2.1.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-sitemaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sitemap_generator
@@ -47,11 +47,15 @@ extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - ".editorconfig"
50
+ - ".eslintrc.json"
50
51
  - ".github/ISSUE_TEMPLATE/bug_report.md"
51
52
  - ".github/ISSUE_TEMPLATE/documentation-request.md"
52
53
  - ".github/ISSUE_TEMPLATE/feature_request.md"
54
+ - ".github/workflows/ci.yml"
53
55
  - ".gitignore"
54
56
  - ".rspec"
57
+ - ".rubocop.yml"
58
+ - ".stylelintrc.json"
55
59
  - ".yardopts"
56
60
  - CHANGELOG.md
57
61
  - CODE_OF_CONDUCT.md
@@ -146,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
150
  - !ruby/object:Gem::Version
147
151
  version: '0'
148
152
  requirements: []
149
- rubygems_version: 3.0.4
153
+ rubygems_version: 3.0.6
150
154
  signing_key:
151
155
  specification_version: 4
152
156
  summary: Sitemaps plugin for the Workarea Commerce Platform