adzap-mustache-rails 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 476d2c75a92363ebef330cbb423b7183aad959f1
4
+ data.tar.gz: d21198323052cce261c2e52130bb3b909132a5bf
5
+ SHA512:
6
+ metadata.gz: 8c5856b23fe7adfc323abfba3367f28ca33a65933ba88024131f7bb4ee33061ad7b910b1842fb479e703e220c132675782949cde5c1824fdd0d9b61927803c67
7
+ data.tar.gz: ac72e5de3f91c03e5ed7cd3cf272bb8f16b5cba0fe3d6cd0da0220a7eef5fe0fb33e6a35da7ace9c4f1db8a2422c210cc128eb72fc6de2daa85e8e58450f39d6
@@ -73,3 +73,7 @@ module ActionView
73
73
  end
74
74
  end
75
75
  end
76
+
77
+ class ActionDispatch::Flash::FlashHash
78
+ alias_method :has_key?, :key?
79
+ end
@@ -49,7 +49,7 @@ module ActionView
49
49
  # content - Array of section content tokens
50
50
  #
51
51
  # Returns String.
52
- def on_section(name, content, raw, delims)
52
+ def on_section(name, offset, content, raw, delims)
53
53
  "v = #{compile!(name)}; ctx._eval_section(self, @output_buffer, v) {\n#{compile!(content)}\n}; "
54
54
  end
55
55
 
@@ -59,7 +59,7 @@ module ActionView
59
59
  # content - Array of section content tokens
60
60
  #
61
61
  # Returns String.
62
- def on_inverted_section(name, content, raw, delims)
62
+ def on_inverted_section(name, offset, content, raw, delims)
63
63
  "v = #{compile!(name)}; ctx._eval_inverted_section(@output_buffer, v) {\n#{compile!(content)}\n}; "
64
64
  end
65
65
 
@@ -69,7 +69,7 @@ module ActionView
69
69
  # indentation - String of indentation level
70
70
  #
71
71
  # Returns String.
72
- def on_partial(name, indentation)
72
+ def on_partial(name, offset, indentation)
73
73
  "@output_buffer.concat(render(:partial => #{name.inspect}));\n"
74
74
  end
75
75
 
@@ -78,7 +78,7 @@ module ActionView
78
78
  # name - String name of tag
79
79
  #
80
80
  # Returns String.
81
- def on_utag(name)
81
+ def on_utag(name, offset)
82
82
  "v = #{compile!(name)}; ctx._eval_utag(@output_buffer, v); "
83
83
  end
84
84
 
@@ -87,7 +87,7 @@ module ActionView
87
87
  # name - String name of tag
88
88
  #
89
89
  # Returns String.
90
- def on_etag(name)
90
+ def on_etag(name, offset)
91
91
  "v = #{compile!(name)}; ctx._eval_etag(@output_buffer, v); "
92
92
  end
93
93
 
metadata CHANGED
@@ -1,65 +1,64 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adzap-mustache-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
5
- prerelease:
4
+ version: 0.2.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Joshua Peek
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-04-14 00:00:00.000000000 Z
11
+ date: 2015-12-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: actionpack
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: '3.1'
19
+ version: '3.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - "<"
28
31
  - !ruby/object:Gem::Version
29
- version: '3.1'
32
+ version: '5.0'
30
33
  - !ruby/object:Gem::Dependency
31
34
  name: mustache
32
35
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
36
  requirements:
35
- - - '='
37
+ - - ">="
36
38
  - !ruby/object:Gem::Version
37
- version: 0.99.4
39
+ version: 0.99.8
38
40
  type: :runtime
39
41
  prerelease: false
40
42
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
43
  requirements:
43
- - - '='
44
+ - - ">="
44
45
  - !ruby/object:Gem::Version
45
- version: 0.99.4
46
+ version: 0.99.8
46
47
  - !ruby/object:Gem::Dependency
47
48
  name: rake
48
49
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
57
  requirements:
59
- - - ! '>='
58
+ - - ">="
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- description: Implements Mustache views and templates for Rails 3.x
61
+ description: Implements Mustache views and templates for Rails 4.0
63
62
  email: josh@joshpeek.com
64
63
  executables: []
65
64
  extensions: []
@@ -67,33 +66,32 @@ extra_rdoc_files: []
67
66
  files:
68
67
  - README.md
69
68
  - lib/action_view/helpers/mustache_helper.rb
69
+ - lib/action_view/mustache.rb
70
70
  - lib/action_view/mustache/context.rb
71
71
  - lib/action_view/mustache/generator.rb
72
- - lib/action_view/mustache.rb
73
72
  - lib/action_view/template/handlers/mustache.rb
74
73
  - lib/mustache/railtie.rb
75
74
  homepage: https://github.com/josh/mustache-rails
76
75
  licenses: []
76
+ metadata: {}
77
77
  post_install_message:
78
78
  rdoc_options: []
79
79
  require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
82
  requirements:
84
- - - ! '>='
83
+ - - ">="
85
84
  - !ruby/object:Gem::Version
86
85
  version: '0'
87
86
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
87
  requirements:
90
- - - ! '>='
88
+ - - ">="
91
89
  - !ruby/object:Gem::Version
92
90
  version: '0'
93
91
  requirements: []
94
92
  rubyforge_project:
95
- rubygems_version: 1.8.23
93
+ rubygems_version: 2.4.5
96
94
  signing_key:
97
- specification_version: 3
95
+ specification_version: 4
98
96
  summary: Mustache Rails adapter
99
97
  test_files: []