pont 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: a8cc14f121d178db09510fe185e0e677a6b32a69
4
- data.tar.gz: c22b0f25278e599e565c378a12136795fa21755a
3
+ metadata.gz: 1d4b6ea78bfd43ad06ddc2ef3d0c8820c5fe2b4d
4
+ data.tar.gz: c41b9be9df4a83e31d696c028a62aa98fa7ca17d
5
5
  SHA512:
6
- metadata.gz: 81a4c36c3f7d066f0cebadf410da2301c9ac1e48cea17614c2e70b76ae772610e91ea8eb0b5a3d98e759d19cd0364ec00b57e1ced226a53f966baa8d6816be15
7
- data.tar.gz: 241561e10cb29fc2c6dfd5d39e9d242a0ffd733b1cfa232b053a501b49782e43b0c6dc11740e9376795f4504c97fd2fe3ff337586dae5b907d16935d568c6ca9
6
+ metadata.gz: 1bf5a927cee15a8b7d89f2c3bd11aae8668b60051daa2e44b6aba81a27ffe4c2316b03c1bf3d7aa2be1dc7a52ff6a8deb3b6474f82f79eb28df25af7e005866d
7
+ data.tar.gz: 0ff008a0f8923351aa5a50a9b4060dd6226eb1c01244341729d9524ef4fe8fb815ede7ab67c7603b792d5b415bb6c40e1328918191ed7c784d5209a3cdd99eb3
@@ -29,9 +29,9 @@ module Pont
29
29
  def permitted_keys
30
30
  [
31
31
  :client, :host, :original_url, :path, :pid, :referrer, :request_method, :scheme, :subdomain,
32
- :url, :user_agent, :query_parameters,
32
+ :url, :user_agent, :query_parameters, :browser,
33
33
  'client', 'host', 'original_url', 'path', 'pid', 'referrer', 'request_method', 'scheme', 'subdomain',
34
- 'url', 'user_agent', 'query_parameters'
34
+ 'url', 'user_agent', 'query_parameters', 'browser',
35
35
  ]
36
36
  end
37
37
  end
@@ -10,6 +10,7 @@ module Pont
10
10
  :market_code,
11
11
  :office_code,
12
12
  :order_type,
13
+ :plan_code,
13
14
  :plan_comp_filter,
14
15
  :product_type_code,
15
16
  :sourced_by_source_code,
@@ -47,6 +48,8 @@ module Pont
47
48
  quoted_attributes = PIVOT.map { |attribute| "$$#{attribute}$$" }.join(', ')
48
49
  typed_attributes = PIVOT.map { |attribute| "#{attribute} text" }.join(', ')
49
50
 
51
+ # The Rails versions isn't currently working because of an issue with array[?] adding quotes
52
+ # We only run this in garcon for now but will need to be fixed before moving to soleil
50
53
  if defined?(Rails)
51
54
  ApplicationRecord.transaction do
52
55
  ActiveRecord::Base.connection.execute('DROP VIEW IF EXISTS "comp_attribute_pivot"')
data/lib/pont/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pont
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pont
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Marren
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-16 00:00:00.000000000 Z
11
+ date: 2022-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -113,7 +113,7 @@ metadata:
113
113
  homepage_uri: https://github.com/DWPHoldings/pont
114
114
  source_code_uri: https://github.com/DWPHoldings/pont
115
115
  changelog_uri: https://github.com/DWPHoldings/pont/blob/main/CHANGELOG.md
116
- post_install_message:
116
+ post_install_message:
117
117
  rdoc_options: []
118
118
  require_paths:
119
119
  - lib
@@ -128,9 +128,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubyforge_project:
132
- rubygems_version: 2.6.14.4
133
- signing_key:
131
+ rubyforge_project:
132
+ rubygems_version: 2.6.14.1
133
+ signing_key:
134
134
  specification_version: 4
135
135
  summary: A ruby bridge library for shared garcon/soleil code
136
136
  test_files: []