opal-sprockets 1.0.3 → 1.0.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
  SHA256:
3
- metadata.gz: c51770c4e094e955d911d225c6e547570d80769e78b6a66d7c2fbc039fdd72e3
4
- data.tar.gz: 3b9b6372c5495bb6e8160846e9884fbbcbdb3db99c434c8502432d836d52f7db
3
+ metadata.gz: e0653d24c622be27075681ae3cc7e45c24aca51088fcc5f5c5e37968f809389d
4
+ data.tar.gz: 58cd3246afbd5eb41e2f2b571f63208b9252b32cef9ea14b88eb60bcf0e1b3f6
5
5
  SHA512:
6
- metadata.gz: d580e0b9ee5adef39034e6d8e4d7b9d08ee92b40ab9e2704243fba4ffd65ac3c4ed283a8c9f988d9bd8e64e754b732bc6020a57ed97b077cc707c8fc35ddef23
7
- data.tar.gz: 25f8672725b2d056b1c2149459c6e81b889b5d67a9168a100662658eb93ee886d2ad536ce19c6631975278a09fe89275f6c11b554ec36d2522950e51d57ef7d9
6
+ metadata.gz: a13432a8bf318216001bedc06865cb948c318ff4146d3fd881b8e6fd9efee7821c1d589e5edcffc577bd1955fc9c5a6d94936f65874987db6291cced3decb2f1
7
+ data.tar.gz: 130a09de0e31f491eb24028ac3b06e3c997c7e75bef16efe1b3916ea632109eca6fd25ddfe17527d0bda4f7776a499ba2df770346cdfe6e71e16ccc27b242202
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.4](https://github.com/opal/opal-sprockets/compare/v1.0.3...v1.0.4)
4
+
5
+ *3 August 2024*
6
+
7
+ - Fix issue with upgrading gems breaking Opal compilation in Rails applications due to incorrect Sprockets caching
8
+
9
+ ## [1.0.3](https://github.com/opal/opal-sprockets/compare/v1.0.2...v1.0.3)
10
+
11
+ *24 December 2024*
12
+
13
+ - Supporting Ruby 3.1
14
+
3
15
  ## [1.0.2](https://github.com/opal/opal-sprockets/compare/v1.0.1...v1.0.2)
4
16
 
5
17
  *24 August 2021*
@@ -11,7 +11,8 @@ require 'opal/sprockets'
11
11
  class Opal::Sprockets::Processor
12
12
  @@cache_key = nil
13
13
  def self.cache_key
14
- @@cache_key ||= ['Opal', Opal::VERSION, Opal::Config.config].to_json.freeze
14
+ gem_config = Gem.loaded_specs.map {|gem_key, gem_spec| [gem_spec.name, gem_spec.version.to_s] }
15
+ @@cache_key ||= ['Opal', Opal::VERSION, Opal::Config.config, gem_config].to_json.freeze
15
16
  end
16
17
 
17
18
  def self.reset_cache_key!
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module Sprockets
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require_relative 'lib/opal/sprockets/version'
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'opal-sprockets'
5
5
  spec.version = Opal::Sprockets::VERSION
6
- spec.authors = ['Elia Schito', 'Adam Beynon']
6
+ spec.authors = ['Elia Schito', 'Adam Beynon', 'Andy Maleh']
7
7
  spec.email = 'elia@schito.me'
8
8
 
9
9
  spec.summary = 'Sprockets support for Opal.'
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elia Schito
8
8
  - Adam Beynon
9
+ - Andy Maleh
9
10
  autorequire:
10
11
  bindir: exe
11
12
  cert_chain: []
12
- date: 2021-12-24 00:00:00.000000000 Z
13
+ date: 2024-08-08 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: sprockets
@@ -219,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
220
  - !ruby/object:Gem::Version
220
221
  version: '0'
221
222
  requirements: []
222
- rubygems_version: 3.2.22
223
+ rubygems_version: 3.5.11
223
224
  signing_key:
224
225
  specification_version: 4
225
226
  summary: Sprockets support for Opal.