spree_oxygen_pelatologio 1.0.1 → 1.0.3

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: 2b8f938c4ca5ce61bda930acd9108c116fb84b8adc608d6d759a5dfb29accff6
4
- data.tar.gz: 4f41f3dbfe61c2c5eecd68ea7d649b2b8a9299a1bd48d52bfeca71dccbcf69f0
3
+ metadata.gz: 3e78d9a44acff6984f6a0f89015c3515f5bb07996022822290407ad751430d65
4
+ data.tar.gz: 7016ad5fe8c521b4767e951dad64ad725f91ae1957720c2283d216691d597d40
5
5
  SHA512:
6
- metadata.gz: 872968f196ea0fa1a4ca9d4c8c29ec4716b92bced809b44e5c7063f71585826c5328cb72a17959712caaefb10d1e44eea11d877d420baf01992c4a2700bce6ef
7
- data.tar.gz: 92ed7e22ea6fd062855dc3067632917a81bcf873c5da2d864c6e54ea1214d6168ec2f27d69d25f63bb2f97a0ef17ca71a68d9f9a76d4c5ee28cd42fd96000be8
6
+ metadata.gz: a54ec26befaa8c8df56faa63bf64b6743eb085939e38feed5498389a404f9729800395ddae2eef43b1749e6bb431eb17f095592ac4f80836a2257a1046f80c93
7
+ data.tar.gz: f8cfad74973fd1f48fbaa4ec18af7568c4972135ec33a7a4d84e49df3079fb00cde31a4977d5df44ec585e594da571558a2c73c31fd15e22bff9b9d4635455c8
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 OlympusOne
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -11,6 +11,6 @@ if (typeof window.Stimulus === "undefined") {
11
11
  application = window.Stimulus
12
12
  }
13
13
 
14
- import SpreeOxygenPelatologioController from 'spree_oxygen_pelatologio/controllers/spree_oxygen_pelatologio_controller'
14
+ import SpreeOxygenPelatologioController from 'spree_oxygen_pelatologio/controllers/spree_oxygen_pelatologio_controller'
15
15
 
16
- application.register('spree_oxygen_pelatologio', SpreeOxygenPelatologioController)
16
+ application.register('spree-oxygen-pelatologio', SpreeOxygenPelatologioController)
@@ -2,6 +2,5 @@ import { Controller } from '@hotwired/stimulus'
2
2
 
3
3
  export default class extends Controller {
4
4
  connect() {
5
- console.log('Hello, SpreeOxygenPelatologio!')
6
5
  }
7
- }
6
+ }
@@ -1 +1 @@
1
- <%= javascript_import_module_tag 'application-spree-oxygen-pelatologio' %>
1
+ <%= javascript_import_module_tag 'application-spree-oxygen-pelatologio' %>
@@ -18,9 +18,14 @@ module SpreeOxygenPelatologio
18
18
  app.config.assets.precompile += %w[spree_oxygen_pelatologio_manifest]
19
19
  end
20
20
 
21
- initializer 'spree_oxygen_pelatologio.importmap', before: 'importmap' do |app|
22
- app.config.importmap.paths << root.join('config/importmap.rb')
23
- app.config.importmap.cache_sweepers << root.join('app/javascript')
21
+ initializer 'spree_oxygen_pelatologio.importmap', after: 'spree.admin.importmap' do |app|
22
+ app.config.spree_admin.importmap.draw(root.join('config/importmap.rb'))
23
+ end
24
+
25
+ initializer 'spree_oxygen_pelatologio.cache_sweeper', before: 'spree.admin.importmap.cache_sweeper' do |app|
26
+ if app.config.importmap.sweep_cache && app.config.reloading_enabled?
27
+ app.config.spree_admin.cache_sweepers << root.join('app/javascript')
28
+ end
24
29
  end
25
30
 
26
31
  def self.activate
@@ -1,5 +1,5 @@
1
1
  module SpreeOxygenPelatologio
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.3'.freeze
3
3
 
4
4
  def gem_version
5
5
  Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_oxygen_pelatologio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OlympusOne
@@ -99,7 +99,7 @@ executables: []
99
99
  extensions: []
100
100
  extra_rdoc_files: []
101
101
  files:
102
- - LICENSE.md
102
+ - LICENSE
103
103
  - README.md
104
104
  - Rakefile
105
105
  - app/assets/config/spree_oxygen_pelatologio_manifest.js
@@ -127,13 +127,13 @@ files:
127
127
  - lib/tasks/pull_products.rake
128
128
  homepage: https://github.com/olympusone/spree_oxygen_pelatologio
129
129
  licenses:
130
- - AGPL-3.0-or-later
130
+ - MIT
131
131
  metadata:
132
132
  bug_tracker_uri: https://github.com/olympusone/spree_oxygen_pelatologio/issues
133
- changelog_uri: https://github.com/olympusone/spree_oxygen_pelatologio/releases/tag/v1.0.1
133
+ changelog_uri: https://github.com/olympusone/spree_oxygen_pelatologio/releases/tag/v1.0.3
134
134
  documentation_uri: https://github.com/olympusone/spree_oxygen_pelatologio
135
135
  homepage_uri: https://github.com/olympusone/spree_oxygen_pelatologio
136
- source_code_uri: https://github.com/olympusone/spree_oxygen_pelatologio/tree/v1.0.1
136
+ source_code_uri: https://github.com/olympusone/spree_oxygen_pelatologio/tree/v1.0.3
137
137
  rdoc_options: []
138
138
  require_paths:
139
139
  - lib
data/LICENSE.md DELETED
@@ -1,15 +0,0 @@
1
- # LICENSE
2
-
3
- Copyright (c) 2026 OlympusOne. All rights reserved.
4
-
5
- This program is free software: you can redistribute it and/or modify it under the terms of the
6
- GNU Affero General Public License as published by the Free Software Foundation, either
7
- version 3 of the License, or any later version.
8
-
9
- This program is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU Affero General Public License for more details.
13
-
14
- You should have received a copy of the GNU Affero General Public License
15
- along with this program. If not, see [https://www.gnu.org/licenses/](https://www.gnu.org/licenses/).