condenser-rails 1.0 → 1.1
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 +4 -4
- data/lib/condenser/rails/version.rb +1 -1
- data/lib/condenser/railtie.rb +3 -10
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c419ad379a67d3d2e658714879e59e7ada8e26f58dc10de23ba3bd515211f05
|
|
4
|
+
data.tar.gz: 902dbacc50a1ebcf167c83d59934f03bdda56eb19d4ae5a0dddddbb6039cab8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e3d16c118ee6e711a2a8d890ab30c184e5d94cf30c505f40f2d19dbb39ab1bf5799d9165279ae840e90f3c984d1548e77fbbcbaf288d2f47011b4d1ccb776d7
|
|
7
|
+
data.tar.gz: ce4dfa5dfd6bb82a5e99bb95287806b3e155fb3e08433d6166a6e29bd4ac706e30aa11ed862e1bf52f66e7bbaceb38a867f07249f76a2c82112515f4ae3fc638
|
data/lib/condenser/railtie.rb
CHANGED
|
@@ -58,14 +58,9 @@ class Condenser::Railtie < ::Rails::Railtie
|
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
module SassFunctions
|
|
62
|
-
def asset_path(path, options = {})
|
|
63
|
-
SassC::Script::Value::String.new(condenser_context.asset_path(path.value, options), :string)
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
|
|
67
61
|
config.assets = OrderedOptions.new
|
|
68
62
|
config.assets._blocks = []
|
|
63
|
+
config.assets._pipeline = nil
|
|
69
64
|
config.assets.path = []
|
|
70
65
|
config.assets.precompile = %w(application.css application.js **/*.jpg **/*.png **/*.gif)
|
|
71
66
|
config.assets.prefix = "/assets"
|
|
@@ -128,11 +123,9 @@ class Condenser::Railtie < ::Rails::Railtie
|
|
|
128
123
|
config = app.config
|
|
129
124
|
|
|
130
125
|
if config.assets._pipeline
|
|
131
|
-
|
|
126
|
+
config.assets._pipeline.call(env)
|
|
132
127
|
else
|
|
133
|
-
env.register_transformer 'text/scss', 'text/css', Condenser::ScssTransformer.new
|
|
134
|
-
functions: Condenser::Railtie::SassFunctions
|
|
135
|
-
})
|
|
128
|
+
env.register_transformer 'text/scss', 'text/css', Condenser::ScssTransformer.new
|
|
136
129
|
|
|
137
130
|
if ::Rails.env == 'development'
|
|
138
131
|
env.register_preprocessor 'application/javascript', Condenser::JSAnalyzer
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: condenser-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.1'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Bracy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: condenser
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: '1.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
26
|
+
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: actionpack
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
156
156
|
- !ruby/object:Gem::Version
|
|
157
157
|
version: '0'
|
|
158
158
|
requirements: []
|
|
159
|
-
rubygems_version: 3.
|
|
159
|
+
rubygems_version: 3.4.13
|
|
160
160
|
signing_key:
|
|
161
161
|
specification_version: 4
|
|
162
162
|
summary: Condenser integration for Rails
|