haml_coffee_assets 1.14.0 → 1.14.1

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: ce5b67f40c2877808d6597bd2d7f766955a44c8f
4
- data.tar.gz: 0692d7a99099b5e7a2c585259676ca46da402b39
3
+ metadata.gz: aa1d0b5711934334f380182e359ac63089a72088
4
+ data.tar.gz: 01a3abf96358488270710cb049da8d00a02050e6
5
5
  SHA512:
6
- metadata.gz: d45d16bb55bc4e3bc5ee9ee5748ba2f85cca60005bd6b65d6dfe349b36488503142144e708c8ba6ee6888df462e46ad19e48dd167bd6a392b0500eb061cb2cdc
7
- data.tar.gz: 97686ceeca292dab16192d62a24e78d5ef469dfedd994d7789908c8ccceb4189c10e6a6b76eeed85a210cfaacac9ae2f6e1e1994bb7a58a80637059c276ffe3b
6
+ metadata.gz: b4ff7a8c49889be4a7e1d887ba0ca53ea8d70127d52640b1082b59607d1af512979b0ebda52a751e5b67aeecf3af5d0bb27917d5c023aaa241d8e8f6350b5d77
7
+ data.tar.gz: a4736ab36203046a86b84a5a2911210a807666fcb530c507329f18c58557a5250bf1e74d5905d7574a09d11ebd473b3cf2b75db68ec6f5344d9e1da290df678d
@@ -1,5 +1,5 @@
1
1
  # coding: UTF-8
2
2
 
3
3
  module HamlCoffeeAssets
4
- VERSION = '1.14.0' unless defined?(HamlCoffeeAssets::VERSION)
4
+ VERSION = '1.14.1' unless defined?(HamlCoffeeAssets::VERSION)
5
5
  end
@@ -75,7 +75,7 @@ class window.HAML
75
75
  #
76
76
  @findAndPreserve: (text) ->
77
77
  tags = '<%= ::HamlCoffeeAssets.config.preserveTags %>'.split(',').join('|')
78
- text = text.replace(/\r/g, '').replace ///<(#{ tags })>([^]*?)<\/\1>///g, (str, tag, content) ->
78
+ text = text.replace(/\r/g, '').replace ///<(#{ tags })>([\s\S]*?)<\/\1>///g, (str, tag, content) ->
79
79
  "<#{ tag }>#{ <%= ::HamlCoffeeAssets.config.customPreserve %>(content) }</#{ tag }>"
80
80
 
81
81
  # The surround helper surrounds the function output
@@ -48,7 +48,7 @@ define ->
48
48
  #
49
49
  findAndPreserve: (text) ->
50
50
  tags = '<%= ::HamlCoffeeAssets.config.preserveTags %>'.split(',').join('|')
51
- text = text.replace(/\r/g, '').replace ///<(#{ tags })>([^]*?)<\/\1>/// g, (str, tag, content) ->
51
+ text = text.replace(/\r/g, '').replace ///<(#{ tags })>([\s\S]*?)<\/\1>/// g, (str, tag, content) ->
52
52
  "<#{ tag }>#{ <%= ::HamlCoffeeAssets.config.customPreserve %>(content) }</#{ tag }>"
53
53
 
54
54
  # The surround helper surrounds the function output
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_coffee_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kessler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-22 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.0
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
26
  version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tilt
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.3.3
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
40
  version: 1.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sprockets
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.0.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Compile Haml CoffeeScript templates in the Rails asset pipeline.
@@ -99,17 +99,17 @@ require_paths:
99
99
  - lib
100
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: 1.3.6
110
110
  requirements: []
111
111
  rubyforge_project: haml_coffee_assets
112
- rubygems_version: 2.0.2
112
+ rubygems_version: 2.1.5
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Haml CoffeeScript templates