web47core 2.2.17 → 2.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cea55e6cdb8a0620d0823966d23d42cd560f533463adea0ac56859ada94f460a
4
- data.tar.gz: 63b6fed27581b79c6d7d9a0f3fa0771520955422c0534ef181efd50e92bc7cfc
3
+ metadata.gz: 2634a258267965ef476e8d35fa47a04ab43e0dcb0690d12496cdd1155b8c9c86
4
+ data.tar.gz: a1f897abb8a68208537fd18d25f460ce2ec48156e05993d3b2627f46dcd462c7
5
5
  SHA512:
6
- metadata.gz: '057486e473ce760a06579ee99a27f585edb72ff5651cc4df0c9e3ac6cce63115ea3b9c928c6b96f8d4167673471fe97b51b6cdeb69a66fce34f243ba63a62270'
7
- data.tar.gz: 2861256498eb159eb2d5f30bfb272828eafa1341730fc85be2326ba326c5188616249cea13aba3c9f1a2dae0bf758b49f8ff11f477930b6dedb72189fe997d6e
6
+ metadata.gz: be313d46de430a646d0d0e847ab32a865a11b3c34455da3a6a327ee598680cde337e99e280506f507e07fe1a7a4cba57e9542d830107245ef5252643f1a411f0
7
+ data.tar.gz: d024aafb910e644fffd3ac4615d30968703ad3d8a9b270f64f4e52f91f4dc6f0ebab9812781043dd346ae816035a7162764afa7478fb677469be1c663cf71b7e
data/README.md CHANGED
@@ -188,7 +188,9 @@ The following routes should be added to the correct namespace for your applicait
188
188
  #
189
189
  # System configuration
190
190
  #
191
- resource :system_configurations, only: %i[edit update show]
191
+ resource :system_configurations, only: %i[edit update show] do
192
+ get :sync
193
+ end
192
194
  #
193
195
  # Delayed jobs
194
196
  #
@@ -15,6 +15,7 @@ module AwsConfiguration
15
15
  field :aws_access_key_id, type: String
16
16
  field :aws_secret_access_key, type: String
17
17
  field :aws_auto_scaling_group_name, type: String
18
+ field :aws_bucket_name, type: String
18
19
  end
19
20
  end
20
21
 
@@ -17,14 +17,9 @@
17
17
  #
18
18
  module CdnUrl
19
19
  extend ActiveSupport::Concern
20
- #
21
- # Constants
22
- #
23
- STYLE_S3_FILE_PATH = ':class/:attachment/:id/:style.:extension' unless defined? STYLE_S3_FILE_PATH
24
- STYLE_FILE_PATH = 'public/system/:class/:attachment/:id/:style.:extension' unless defined? STYLE_FILE_PATH
25
- STYLE_S3_FILE_URL = ':s3_domain_url' unless defined? STYLE_S3_FILE_URL
26
- STYLE_FILE_URL = ':rails_root/public/system/:class/:attachment/:id/:style.:extension' unless defined? STYLE_FILE_URL
27
20
 
21
+ # @abstract Catch methods started with `cdn_` and respond to those requests if there is a
22
+ # matching method ending in `_url`
28
23
  def method_missing(method, *args)
29
24
  if method.to_s.start_with? 'cdn_'
30
25
  url = if args.blank?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '2.2.17'
4
+ VERSION = '2.2.18'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.17
4
+ version: 2.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel