workarea-shipping_estimation 1.1.2 → 1.1.3

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: 5a56d63bd0fe82a3a189a4fefd5a3af7cb53052c03c9485c2551b291f34efa39
4
- data.tar.gz: fb2478137bd04d832f63ed2daedffd82074ca6eea0623f5043324956fcb25c8a
3
+ metadata.gz: 7933b0d029c26b30262830cecdbd5b9b5aa4c57683d457e6d55c1980202b4542
4
+ data.tar.gz: f9ccc1ec319244e6f3cea866b300f1e46db690bff09c59fb66ed62ad831ec912
5
5
  SHA512:
6
- metadata.gz: 778b498242df337170092623e7af0d2f88dc4d561197f8982cbba263ae1393f928021ecf8292c5ed509d3171d05e4801bdab3056030f55e3445afa2880eb6ff4
7
- data.tar.gz: 68f36c5b136a4513eef17114379b3806e51d2a431fe6ed8d7da17ebc8b17f1e56e01ad1afcc450631b5b46c8cda36365d3ce1e7b179bee7b9e15ea2e23a468dd
6
+ metadata.gz: f53084ba2ecca6167162bae359fb384aac252aea3f968c34cfc9afe01456ffee8c91c6a866f24d756632299d1a4881c8bea5ec7b2a3e7c8de61bb8b98e610cd9
7
+ data.tar.gz: 17b69ff76f948b14ce0ea60c414e5296efa62a88cb801aeb0ceda8ac4ba43cfd50590a068e5f06d6501e5d71d8440f78d5646863f2e601d0dabd396c89bc4f18
@@ -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,54 @@
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
+
12
+ admin_tests:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v1
16
+ - uses: actions/setup-ruby@v1
17
+ with:
18
+ ruby-version: 2.6.x
19
+ - uses: workarea-commerce/ci/test@v1
20
+ with:
21
+ command: bin/rails app:workarea:test:admin
22
+
23
+ core_tests:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v1
27
+ - uses: actions/setup-ruby@v1
28
+ with:
29
+ ruby-version: 2.6.x
30
+ - uses: workarea-commerce/ci/test@v1
31
+ with:
32
+ command: bin/rails app:workarea:test:core
33
+
34
+ storefront_tests:
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v1
38
+ - uses: actions/setup-ruby@v1
39
+ with:
40
+ ruby-version: 2.6.x
41
+ - uses: workarea-commerce/ci/test@v1
42
+ with:
43
+ command: bin/rails app:workarea:test:storefront
44
+
45
+ plugins_tests:
46
+ runs-on: ubuntu-latest
47
+ steps:
48
+ - uses: actions/checkout@v1
49
+ - uses: actions/setup-ruby@v1
50
+ with:
51
+ ruby-version: 2.6.x
52
+ - uses: workarea-commerce/ci/test@v1
53
+ with:
54
+ command: bin/rails app:workarea:test:plugins
data/.gitignore CHANGED
@@ -11,3 +11,4 @@ node_modules
11
11
  test/reports
12
12
  package.json
13
13
  yarn.lock
14
+ .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
+ }
@@ -1,3 +1,25 @@
1
+ Workarea Shipping Estimation 1.1.3 (2020-06-25)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Set Geocoder lookup in tests so cassettes will work
5
+
6
+ This will avoid changes in default Geocoder changing test behavior.
7
+
8
+ Ben Crouse
9
+
10
+
11
+
12
+ Workarea Shipping Estimation 1.1.2 (2020-06-25)
13
+ --------------------------------------------------------------------------------
14
+
15
+ * Set Geocoder lookup in tests so cassettes will work
16
+
17
+ This will avoid changes in default Geocoder changing test behavior.
18
+
19
+ Ben Crouse
20
+
21
+
22
+
1
23
  Workarea Shipping Estimation 1.1.2 (2019-08-21)
2
24
  --------------------------------------------------------------------------------
3
25
 
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
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
 
6
- gem 'workarea', github: 'workarea-commerce/workarea'
6
+ gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.5-stable'
data/Rakefile CHANGED
@@ -37,13 +37,12 @@ desc "Release version #{Workarea::ShippingEstimation::VERSION} of the gem"
37
37
  task :release do
38
38
  host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
39
39
 
40
- #Rake::Task['workarea:changelog'].execute
41
- #system 'git add CHANGELOG.md'
42
- #system 'git commit -m "Update CHANGELOG"'
43
- #system 'git push origin HEAD'
40
+ Rake::Task['workarea:changelog'].execute
41
+ system 'git add CHANGELOG.md'
42
+ system 'git commit -m "Update CHANGELOG"'
44
43
 
45
44
  system "git tag -a v#{Workarea::ShippingEstimation::VERSION} -m 'Tagging #{Workarea::ShippingEstimation::VERSION}'"
46
- system 'git push --tags'
45
+ system 'git push origin HEAD --follow-tags'
47
46
 
48
47
  system 'gem build workarea-shipping_estimation.gemspec'
49
48
  system "gem push workarea-shipping_estimation-#{Workarea::ShippingEstimation::VERSION}.gem"
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module ShippingEstimation
3
- VERSION = '1.1.2'.freeze
3
+ VERSION = '1.1.3'.freeze
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session', expire_after: 30.minutes
@@ -3,7 +3,11 @@ require 'test_helper'
3
3
  module Workarea
4
4
  module Storefront
5
5
  class ShippingEstimationSystemTest < Workarea::SystemTest
6
- setup :product, :tax_category, :shipping_service
6
+ setup :configure_geocoder, :product, :tax_category, :shipping_service
7
+
8
+ def configure_geocoder
9
+ Geocoder.configure(lookup: :google)
10
+ end
7
11
 
8
12
  def product
9
13
  @product = create_product(
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.required_ruby_version = '>= 2.3.0'
19
19
 
20
- s.add_dependency 'workarea', '~> 3.x'
20
+ s.add_dependency 'workarea', '~> 3.x', '>= 3.5.14'
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-shipping_estimation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Duffy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.x
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.5.14
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: 3.x
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.5.14
27
33
  description: Shipping estimation plugin for the Workarea Commerce platform.
28
34
  email:
29
35
  - mduffy@workarea.com
@@ -32,10 +38,14 @@ extensions: []
32
38
  extra_rdoc_files: []
33
39
  files:
34
40
  - ".editorconfig"
41
+ - ".eslintrc.json"
35
42
  - ".github/ISSUE_TEMPLATE/bug_report.md"
36
43
  - ".github/ISSUE_TEMPLATE/documentation-request.md"
37
44
  - ".github/ISSUE_TEMPLATE/feature_request.md"
45
+ - ".github/workflows/ci.yml"
38
46
  - ".gitignore"
47
+ - ".rubocop.yml"
48
+ - ".stylelintrc.json"
39
49
  - CHANGELOG.md
40
50
  - CODE_OF_CONDUCT.md
41
51
  - CONTRIBUTING.md
@@ -122,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
132
  - !ruby/object:Gem::Version
123
133
  version: '0'
124
134
  requirements: []
125
- rubygems_version: 3.0.4
135
+ rubygems_version: 3.0.3
126
136
  signing_key:
127
137
  specification_version: 4
128
138
  summary: Shipping estimation plugin for the Workarea Commerce platform.