workarea-shipping_message 1.2.0 → 1.2.1

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: e5e1225408130adc4eb18bf709026998b277db84b1a745e18e2429257bab1938
4
- data.tar.gz: 82b4faf8d0ec2c646a9abfc8a3019bb37b71f1a251c22db8588ffc664c3996ba
3
+ metadata.gz: 9bf222f909e109e41f63a139d4287571200dac91dd5adeed837daf44e321a667
4
+ data.tar.gz: 797f35993c76bcf53d213a934e0d694100e401cd77512a69c09c0352992804be
5
5
  SHA512:
6
- metadata.gz: ed38dadb210e1bbd5ce3599cc1c67eff9eceef12098f642399a684dfc4ec1d62436845661c470f9b24d4a1f6fcca0d07d2eb3716138a4c6b81d215e43c2ca072
7
- data.tar.gz: 3d07b7a90cf5d48abf186f987bc0fce5590ecf4c7a61dec0da66bc7fc8bbf3d9ca5f0506af788dacb75cc76d7c30a9dc1d5bc7bd599809d8fd26627ab2d1c8dd
6
+ metadata.gz: 224f38fee25c0b34ee3d935e1a55a29d92dc924ead85dfb2011865fcc8ca2ba04c5864aa131c56f0d94ba6b03beb1c124590b1dcc91634c8c3098dfb92827afb
7
+ data.tar.gz: 18e594a5fbbb803081618e404b593cba67fa97e2ec500782281b1af145318067d44bedd0e4ece1ffc433f44e26cd6c40a06ad1158cda7d3b7a0c9052c69abafc
data/.gitignore CHANGED
@@ -11,3 +11,4 @@ test/dummy/tmp/
11
11
  test/dummy/.sass-cache
12
12
  test/dummy/public/system
13
13
  .DS_Store
14
+ .rubocop-http*
@@ -1,3 +1,13 @@
1
+ Workarea Shipping Message 1.2.1 (2020-06-17)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Scope routes to include locale
5
+
6
+
7
+ Ben Crouse
8
+
9
+
10
+
1
11
  Workarea Shipping Message 1.2.0 (2019-11-26)
2
12
  --------------------------------------------------------------------------------
3
13
 
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'workarea', git: 'https://github.com/workarea-commerce/workarea.git'
5
+ gem 'workarea', git: 'https://github.com/workarea-commerce/workarea.git', branch: 'v3.5-stable'
6
6
 
7
7
  group :test do
8
8
  gem "simplecov", require: false
data/Rakefile CHANGED
@@ -31,12 +31,12 @@ task :release do
31
31
  Rake::Task['workarea:changelog'].execute
32
32
  system 'git add CHANGELOG.md'
33
33
  system 'git commit -m "Update CHANGELOG"'
34
- system 'git push origin HEAD'
35
34
 
36
35
  system "git tag -a v#{Workarea::ShippingMessage::VERSION} -m 'Tagging #{Workarea::ShippingMessage::VERSION}'"
37
- system "git push --tags"
36
+ system "git push origin HEAD --follow-tags"
38
37
 
39
38
  system "gem build workarea-shipping_message.gemspec"
39
+ system "gem push workarea-shipping_message-#{Workarea::ShippingMessage::VERSION}.gem"
40
40
  system "gem push workarea-shipping_message-#{Workarea::ShippingMessage::VERSION}.gem --host #{host}"
41
41
  system "rm workarea-shipping_message-#{Workarea::ShippingMessage::VERSION}.gem"
42
42
  end
@@ -1,11 +1,13 @@
1
1
  Workarea::Admin::Engine.routes.draw do
2
- namespace :shipping_message do
3
- resource :settings, only: [:edit, :update]
4
- end
2
+ scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
3
+ namespace :shipping_message do
4
+ resource :settings, only: [:edit, :update]
5
+ end
5
6
 
6
- resources :pricing_discounts, except: [:new, :create] do
7
- member do
8
- get :message
7
+ resources :pricing_discounts, except: [:new, :create] do
8
+ member do
9
+ get :message
10
+ end
9
11
  end
10
12
  end
11
13
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module ShippingMessage
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-shipping_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-06 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubygems_version: 3.0.6
138
+ rubygems_version: 3.0.3
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Shipping Message plugin for the WebLinc ecommerce platform