angular-rails-templates 1.3.0 → 1.4.0

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: 915dde411a0130bf669026afa3824ba74115ede4cd716ddf030f372066196ecd
4
- data.tar.gz: 8d19293a9fe6a97b991bba7f43ab002c6fda6b5e915f3f0f3830ff359f0ee533
3
+ metadata.gz: c5668e09058e9ed6055a24362173d29ae716bbb9cc7ea21430a1cb02f55989dc
4
+ data.tar.gz: d7c5d517764f7a1a2578e8953dc9462c0914792a2bad0034556840e852e29dff
5
5
  SHA512:
6
- metadata.gz: 493e323e5e28a032b43f8a2ba22bbcedd77b66f9d79caa4871a92125ec3426d272667c7f220c8552308edb3db3cd79f015890ad4e83f6fbd45820d5c2b95db63
7
- data.tar.gz: d4c5867d4ec54ea8166d7199e25e1071c21aefd3ebb019dabc1a55557ef98a3526fc5ac68e853f34fbcd9d40521a1faa4e5f11d9424871486d6410c7dd530fd4
6
+ metadata.gz: b171d053dea9130ef9f8eca81e0d4e6b48e7deb973162fbe1a5ebc1d6bd69bd28d1598f5deebe7df6fa8682d1250fd91462963274bd305062ce0f9656578fa83
7
+ data.tar.gz: 0dcc4deed5be1cc6470dc0cd47231e2b10766551d3b036edf4aac87a7e7e9efcc7a4a822957d9cff7c723729ea128f7c34ce6a2948258a902799968a20d3d853
data/README.md CHANGED
@@ -3,9 +3,6 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/angular-rails-templates.png)](http://badge.fury.io/rb/angular-rails-templates)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/pitr/angular-rails-templates/badge.svg?branch=master)](https://coveralls.io/github/pitr/angular-rails-templates?branch=master)
5
5
  [![Code Climate](https://codeclimate.com/github/pitr/angular-rails-templates/badges/gpa.svg)](https://codeclimate.com/github/pitr/angular-rails-templates)
6
- [![Issue Stats](http://issuestats.com/github/pitr/angular-rails-templates/badge/pr)](http://issuestats.com/github/pitr/angular-rails-templates)
7
- [![Issue Stats](http://issuestats.com/github/pitr/angular-rails-templates/badge/issue)](http://issuestats.com/github/pitr/angular-rails-templates)
8
- [![Stories in Ready](https://badge.waffle.io/pitr/angular-rails-templates.png?label=ready&title=Ready)](https://waffle.io/pitr/angular-rails-templates)
9
6
 
10
7
  Adds your HTML templates into Angular's `$templateCache` using Rails asset pipeline.
11
8
 
@@ -13,8 +10,7 @@ Adds your HTML templates into Angular's `$templateCache` using Rails asset pipel
13
10
 
14
11
  Branch | Build Status
15
12
  ------------|---------
16
- master | [![Build Status](https://github.com/pitr/angular-rails-templates/workflows/build/badge.svg)](https://github.com/pitr/angular-rails-templates)
17
- 0-x-stable | [![Build Status](https://travis-ci.org/pitr/angular-rails-templates.png?branch=0-x-stable)](https://travis-ci.org/pitr/angular-rails-templates)
13
+ master | [![Build Status](https://github.com/pitr/angular-rails-templates/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/pitr/angular-rails-templates)
18
14
 
19
15
  It removes the need for AJAX calls to retrieve the templates (or for you to manually set them into the DOM).
20
16
 
@@ -37,7 +37,12 @@ module AngularRailsTemplates
37
37
 
38
38
  # Sprockets Cache Busting
39
39
  # If ART's version or settings change, expire and recompile all assets
40
- hash_digest = defined?(ActiveSupport::Digest) ? ActiveSupport::Digest : Digest::MD5
40
+ hash_digest = if defined?(ActiveSupport::Digest)
41
+ app.config.active_support.hash_digest_class || ActiveSupport::Digest.hash_digest_class
42
+ else
43
+ Digest::MD5
44
+ end
45
+
41
46
  app.config.assets.version = [
42
47
  app.config.assets.version,
43
48
  'ART',
@@ -1,3 +1,3 @@
1
1
  module AngularRailsTemplates
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-rails-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Mathieu
@@ -9,7 +9,7 @@ authors:
9
9
  - whitehat101
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-01-04 00:00:00.000000000 Z
12
+ date: 2025-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '5.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '8.1'
23
+ version: '8.2'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '5.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '8.1'
33
+ version: '8.2'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: sprockets
36
36
  requirement: !ruby/object:Gem::Requirement