opal-sprockets 1.0.2 → 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: f3cb8ff60b7e56e8a5968cfadc1e0e8e28b99146e9033a98a6ab0791d90b71a9
4
- data.tar.gz: b440f0d76023cee90e9fb76e8c75570d844b7b7c6e97a94f8c29be4751cb7722
3
+ metadata.gz: e0653d24c622be27075681ae3cc7e45c24aca51088fcc5f5c5e37968f809389d
4
+ data.tar.gz: 58cd3246afbd5eb41e2f2b571f63208b9252b32cef9ea14b88eb60bcf0e1b3f6
5
5
  SHA512:
6
- metadata.gz: 89d9b8533d408b039c5d3c7e6e66cf4503da50ace49551e371b54c06af492d8ddb728f129f3673dcc5a2ab9f8774707201cdc4b4cd94460affe270464973deac
7
- data.tar.gz: 1628a26fa8746dfc3e2536d53cd82b6d3661338b06bebfc4ded643eb3d635d513fc592d614fc16649717f7ac8c71acaacb4c6167a0543b16eccfe1bf8be1ae80
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.2'
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.'
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.metadata['source_code_uri'] = 'https://github.com/opal/opal-sprockets'
15
15
  spec.metadata['changelog_uri'] = 'https://github.com/opal/opal-sprockets/blob/master/CHANGELOG.md'
16
16
 
17
- spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 3.1')
17
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
18
18
 
19
19
  # Specify which files should be added to the gem when it is released.
20
20
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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.2
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-08-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
@@ -213,16 +214,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
214
  - - ">="
214
215
  - !ruby/object:Gem::Version
215
216
  version: '2.5'
216
- - - "<"
217
- - !ruby/object:Gem::Version
218
- version: '3.1'
219
217
  required_rubygems_version: !ruby/object:Gem::Requirement
220
218
  requirements:
221
219
  - - ">="
222
220
  - !ruby/object:Gem::Version
223
221
  version: '0'
224
222
  requirements: []
225
- rubygems_version: 3.2.15
223
+ rubygems_version: 3.5.11
226
224
  signing_key:
227
225
  specification_version: 4
228
226
  summary: Sprockets support for Opal.