workarea-core 3.5.1 → 3.5.2

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: 8235a2cc74baebc1277b7654671af10c36f634f31e1cf42f66b13acc71bc2422
4
- data.tar.gz: 98bad1e8beb51469a28a823f935361517201b9306e7c1191357bd0ab03b8fa9d
3
+ metadata.gz: 1707f761886eb160811d5db1e0354a9bcf294f02b20ff75dacfc42cab8649aef
4
+ data.tar.gz: 4b6cd619ad5bb1b58a411cabeb9cec56deeb6219cd2d6851a939d6a2e849a4bb
5
5
  SHA512:
6
- metadata.gz: ae272f2e725c5ea055fee8d5650896f39ecafffb429cb08287a8b698425fdd91252ad9efcf3cb11b2ba8ff9ef2c46d49bf2aa6bebea5672685ffacca2d4baecd
7
- data.tar.gz: a1ce00f795b52f99024aac425f38f0ecf81b0945559a272bd31a974c797b9d3ac2312d9bd2226bdf5e07e3da6b09574d30c6d67fafe11776bb463abedbaeb131
6
+ metadata.gz: 3eee3ccfb1fd283303e83f3c3fcac360c960a383a70d1e94baa70a52a7437e9d4a2aeff13d12e8faab770d6744e66822d831a99485d8e0e0c5842b7fa2a5fc9f
7
+ data.tar.gz: 8983f9886d07dce7993bb1a5604589de62d0c965d8549cb2bef963f7cb5dbf173c0b58cbc1ece3cc9749010c9e13b36dbe4dc09595a17a89cd66c5c03676e70c
@@ -43,7 +43,7 @@ module Workarea
43
43
 
44
44
  # This forces Rails to initialize the session, which provides an ID for metrics
45
45
  session.delete(:foo)
46
- self.current_metrics_id = session.id
46
+ self.current_metrics_id = session.id.cookie_value
47
47
  end
48
48
  end
49
49
  end
@@ -6,7 +6,7 @@ module Workarea
6
6
 
7
7
  def call(env)
8
8
  request = Rack::Request.new(env)
9
- return @app.call(env) if request.path =~ /(jpe?g|png|ico|gif|css|js)$/
9
+ return @app.call(env) if request.path =~ /(jpe?g|png|ico|gif|css|js|svg)$/
10
10
 
11
11
  setup_environment(env, request)
12
12
  set_segment_request_headers(env)
@@ -23,7 +23,7 @@ namespace :workarea do
23
23
 
24
24
  count = 0
25
25
 
26
- Workarea::Tax::Category.each_by(100) do |category|
26
+ Workarea::Tax::Category.all.each_by(100) do |category|
27
27
  category.rates.each_by(500) do |rate|
28
28
  rate.postal_code_percentage = rate.percentage
29
29
  rate.percentage = nil
@@ -2,7 +2,7 @@ module Workarea
2
2
  module VERSION
3
3
  MAJOR = 3
4
4
  MINOR = 5
5
- PATCH = 1
5
+ PATCH = 2
6
6
  PRE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
8
8
 
@@ -93,6 +93,7 @@ Gem::Specification.new do |s|
93
93
  s.add_dependency 'chartkick', '~> 3.3.0'
94
94
  s.add_dependency 'browser', '~> 2.6.1'
95
95
  s.add_dependency 'puma', '>= 4.3.1'
96
+ s.add_dependency 'rack', '>= 2.0.8'
96
97
 
97
98
  # HACK for vendoring active_shipping
98
99
  s.add_dependency 'active_utils', '~> 3.3.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
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-12-18 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -1122,6 +1122,20 @@ dependencies:
1122
1122
  - - ">="
1123
1123
  - !ruby/object:Gem::Version
1124
1124
  version: 4.3.1
1125
+ - !ruby/object:Gem::Dependency
1126
+ name: rack
1127
+ requirement: !ruby/object:Gem::Requirement
1128
+ requirements:
1129
+ - - ">="
1130
+ - !ruby/object:Gem::Version
1131
+ version: 2.0.8
1132
+ type: :runtime
1133
+ prerelease: false
1134
+ version_requirements: !ruby/object:Gem::Requirement
1135
+ requirements:
1136
+ - - ">="
1137
+ - !ruby/object:Gem::Version
1138
+ version: 2.0.8
1125
1139
  - !ruby/object:Gem::Dependency
1126
1140
  name: active_utils
1127
1141
  requirement: !ruby/object:Gem::Requirement