ae_skip_asset_pipeline 0.6.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ae_skip_asset_pipeline.gemspec +22 -0
- data/lib/ae_skip_asset_pipeline/version.rb +1 -1
- data/lib/ae_skip_asset_pipeline.rb +12 -4
- metadata +26 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 145c928f549e0a89b1f92a1f07b592a5eab9a6f25741422afb1b2b8b2f0928c4
|
4
|
+
data.tar.gz: 85db3fcf16d7ab4bf486502b23b048194e416cbf13102527498ed8aa9316383f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac4de92d8dde991b18864459bd0f3b95af144902ef83b16149e01a2b489ac3d94042470b3741aeb7353a3253dd1cb7420787383676a3b8fe14db254292d87b2
|
7
|
+
data.tar.gz: 06b8e1d875eaf7c1910a44712100f120a5b60da5743f5b3cbeeebf94130aced520ba38682d298966b11dd081a2e39e519ef27b9eccb47ce7f2f33238fec21b9d
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/ae_skip_asset_pipeline/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'ae_skip_asset_pipeline'
|
7
|
+
spec.version = AeSkipAssetPipeline::VERSION
|
8
|
+
spec.platform = Gem::Platform::RUBY
|
9
|
+
spec.author = 'AppFolio'
|
10
|
+
spec.email = 'opensource@appfolio.com'
|
11
|
+
spec.description = 'GSkip asset pipeline in tests.'
|
12
|
+
spec.summary = spec.description
|
13
|
+
spec.homepage = 'https://github.com/appfolio/ae_skip_asset_pipeline'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt|.*gemspec)}] }
|
16
|
+
spec.require_paths = ['lib']
|
17
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.3')
|
18
|
+
|
19
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
20
|
+
|
21
|
+
spec.add_dependency('activesupport', ['>= 6', '< 7.1'])
|
22
|
+
end
|
@@ -1,12 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'ae_skip_asset_pipeline/version'
|
3
|
+
require 'active_support'
|
5
4
|
|
6
5
|
module AeSkipAssetPipeline
|
7
6
|
mattr_accessor :enabled
|
8
7
|
|
9
8
|
module AssetPipelineMethods
|
9
|
+
def javascript_pack_tag(*args)
|
10
|
+
super unless AeSkipAssetPipeline.enabled
|
11
|
+
end
|
12
|
+
|
10
13
|
def javascript_packs_with_chunks_tag(*args)
|
11
14
|
super unless AeSkipAssetPipeline.enabled
|
12
15
|
end
|
@@ -15,6 +18,10 @@ module AeSkipAssetPipeline
|
|
15
18
|
super unless AeSkipAssetPipeline.enabled
|
16
19
|
end
|
17
20
|
|
21
|
+
def stylesheet_pack_tag(*args)
|
22
|
+
super unless AeSkipAssetPipeline.enabled
|
23
|
+
end
|
24
|
+
|
18
25
|
def stylesheet_packs_with_chunks_tag(*args)
|
19
26
|
super unless AeSkipAssetPipeline.enabled
|
20
27
|
end
|
@@ -48,5 +55,6 @@ end
|
|
48
55
|
|
49
56
|
AeSkipAssetPipeline.enabled = ENV['USE_PRECOMPILED_ASSETS'] != '1'
|
50
57
|
|
51
|
-
|
52
|
-
|
58
|
+
ActiveSupport.on_load(:action_view) do
|
59
|
+
prepend AeSkipAssetPipeline::AssetPipelineMethods
|
60
|
+
end
|
metadata
CHANGED
@@ -1,41 +1,50 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_skip_asset_pipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- AppFolio
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7.1'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
-
|
28
|
-
|
29
|
+
version: '6'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '7.1'
|
33
|
+
description: GSkip asset pipeline in tests.
|
34
|
+
email: opensource@appfolio.com
|
29
35
|
executables: []
|
30
36
|
extensions: []
|
31
37
|
extra_rdoc_files: []
|
32
38
|
files:
|
39
|
+
- ae_skip_asset_pipeline.gemspec
|
33
40
|
- lib/ae_skip_asset_pipeline.rb
|
34
41
|
- lib/ae_skip_asset_pipeline/version.rb
|
35
|
-
homepage:
|
36
|
-
licenses:
|
37
|
-
|
38
|
-
|
42
|
+
homepage: https://github.com/appfolio/ae_skip_asset_pipeline
|
43
|
+
licenses:
|
44
|
+
- MIT
|
45
|
+
metadata:
|
46
|
+
allowed_push_host: https://rubygems.org
|
47
|
+
post_install_message:
|
39
48
|
rdoc_options: []
|
40
49
|
require_paths:
|
41
50
|
- lib
|
@@ -43,15 +52,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
52
|
requirements:
|
44
53
|
- - ">="
|
45
54
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
55
|
+
version: 2.6.3
|
47
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
57
|
requirements:
|
49
58
|
- - ">="
|
50
59
|
- !ruby/object:Gem::Version
|
51
60
|
version: '0'
|
52
61
|
requirements: []
|
53
|
-
rubygems_version: 3.
|
54
|
-
signing_key:
|
62
|
+
rubygems_version: 3.1.6
|
63
|
+
signing_key:
|
55
64
|
specification_version: 4
|
56
|
-
summary:
|
65
|
+
summary: GSkip asset pipeline in tests.
|
57
66
|
test_files: []
|