dryml 2.2.4 → 2.2.5

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
  SHA1:
3
- metadata.gz: f25b5349944a162b82df04efd8933627a9052580
4
- data.tar.gz: b7e8f502271710d53f8d3c316db1c0cbb102f097
3
+ metadata.gz: 3522758480003c5e2d8a23612425f73b79f70fee
4
+ data.tar.gz: f6ca4da0f4c1e5972d22687a129ec4b96d19d6a9
5
5
  SHA512:
6
- metadata.gz: 7562d4d0dab2612fd359664d3e92fbac57dad7224cf86c1e128cbc0de9d707d8f657f18ca21d376c9cdc067824dd4479ae989db60b0ffeb249bd1ae527351b60
7
- data.tar.gz: 84775f0e0788d9c91a442c3425f30bdf466fa1d94b4e43de41e3087ebae6911db558f04c6dfd3f2d3778dc93859ef316c841cbfaa11f95f2972d3c28727ad5b6
6
+ metadata.gz: 081be88a12b0f0db8d108ef421cebc43ce6a46379cfa7cbf5d0552b19975088a6ccd94d55716e61c02a29aa8ff6d45bf19e99947b14f971eca83ff23f8c70cdd
7
+ data.tar.gz: 9c3fea5838770a045cc41a8db5a56e762b2d307bab44c708c2c0f3c035d350c6a3e917224d10f3ddbf1cc2245e0304f0f60a8deae52228d0301d3cd2cbae5c05
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.4
1
+ 2.2.5
@@ -7,7 +7,7 @@ module Dryml
7
7
  super()
8
8
  end
9
9
 
10
- def find_templates(name, prefix, partial, details)
10
+ def find_templates(name, prefix, partial, details, outside_app_allowed = false)
11
11
  tag_name = @controller.dryml_fallback_tag || name.dasherize + '-page'
12
12
  method_name = tag_name.to_s.gsub('-', '_')
13
13
  details[:virtual_path] = "#{prefix}/#{name}"
@@ -46,10 +46,19 @@ module Dryml
46
46
 
47
47
  # Copy some class attributes needed for Sprockets to work correctly
48
48
  self.extend ::Sprockets::Rails::Helper
49
- self.assets_prefix = view.try(:assets_prefix)
50
- self.assets_environment = view.try(:assets_environment)
51
- self.assets_manifest = view.try(:assets_manifest)
52
- self.digest_assets = view.try(:digest_assets)
49
+
50
+ self.debug_assets = view.try(:debug_assets)
51
+ self.digest_assets = view.try(:digest_assets)
52
+ self.assets_prefix = view.try(:assets_prefix)
53
+ self.assets_precompile = view.try(:assets_precompile)
54
+
55
+ self.assets_environment = view.try(:assets_environment)
56
+ self.assets_manifest = view.try(:assets_manifest)
57
+
58
+ self.resolve_assets_with = view.try(:resolve_assets_with)
59
+
60
+ # Expose the app precompiled asset check
61
+ self.precompiled_asset_checker = view.try(:precompiled_asset_checker)
53
62
  end
54
63
  end
55
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Locke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.4
33
+ version: 2.2.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.2.4
40
+ version: 2.2.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cucumber
43
43
  requirement: !ruby/object:Gem::Requirement