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 +4 -4
- data/.eslintrc.json +35 -0
- data/.github/workflows/ci.yml +54 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +3 -0
- data/.stylelintrc.json +8 -0
- data/CHANGELOG.md +22 -0
- data/Gemfile +2 -2
- data/Rakefile +4 -5
- data/lib/workarea/shipping_estimation/version.rb +1 -1
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/system/workarea/storefront/shipping_estimation_system_test.rb +5 -1
- data/workarea-shipping_estimation.gemspec +1 -1
- metadata +13 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7933b0d029c26b30262830cecdbd5b9b5aa4c57683d457e6d55c1980202b4542
|
4
|
+
data.tar.gz: f9ccc1ec319244e6f3cea866b300f1e46db690bff09c59fb66ed62ad831ec912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f53084ba2ecca6167162bae359fb384aac252aea3f968c34cfc9afe01456ffee8c91c6a866f24d756632299d1a4881c8bea5ec7b2a3e7c8de61bb8b98e610cd9
|
7
|
+
data.tar.gz: 17b69ff76f948b14ce0ea60c414e5296efa62a88cb801aeb0ceda8ac4ba43cfd50590a068e5f06d6501e5d71d8440f78d5646863f2e601d0dabd396c89bc4f18
|
data/.eslintrc.json
ADDED
@@ -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
data/.rubocop.yml
ADDED
data/.stylelintrc.json
ADDED
data/CHANGELOG.md
CHANGED
@@ -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| "
|
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
|
-
|
41
|
-
|
42
|
-
|
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"
|
@@ -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(
|
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.
|
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:
|
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.
|
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.
|