cells-erb 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bb2e8a877505bb6ec775dc3b2a9831da1c4788c
4
- data.tar.gz: 46a65db846ce908de66f34fa9fc0f843dfd7a58c
3
+ metadata.gz: 3089398d6b69c76996f010670e19881242c86df0
4
+ data.tar.gz: f3a3dbd48aacf304f957d5a72d259b3620d0036a
5
5
  SHA512:
6
- metadata.gz: 122cfd4eab5b6d53a0fa30c61f021b488223855d69a4cd27361a4986d6a7ef9ba9e8ecd7eec6dac2bd60ac85c309ee6c041590b41fc7b79398b442182a2af291
7
- data.tar.gz: 16aac32c8f6d2e831e0fecfc1992976a58f932f27e2160b441e891019c75f3adb71be06cd3f13b37344ef3c04d5c3d2813962d681115d2f4c459335eea00b8ca
6
+ metadata.gz: b1061c785daa3dafad971ad9a21ff25caf279cdf8f9393f62a2ef1950a1d3368933c3ce81c545b2237573381a15c969ac7f62169bc259c253fce6c80137a5a49
7
+ data.tar.gz: c14145e5d9a9380fe1aa383e669534814f0ee523593942c7b29a6aea8d812aa6783e7eed18ab30b53f237a806a78f765da307a0195bfcfdde424a430834e28f3
@@ -5,4 +5,4 @@ rvm:
5
5
  gemfile:
6
6
  - gemfiles/rails_4.2-tilt-1.4.gemfile
7
7
  - gemfiles/rails_4.2-tilt-2.0.gemfile
8
- - gemfiles/rails_3.2-tilt-1.4.gemfile
8
+ # - gemfiles/rails_3.2-tilt-1.4.gemfile
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.5
2
+
3
+ * Fix `#concat`.
4
+
1
5
  # 0.0.4
2
6
 
3
7
  * Fixed output_buffer issues and more.
@@ -54,6 +54,10 @@ module Cell
54
54
  "#{tag(:form, html_options, true) + extra_tags}"
55
55
  end
56
56
 
57
+ def concat(string)
58
+ @output_buffer << string
59
+ end
60
+
57
61
 
58
62
  # Erbse-Tilt binding. This should be bundled with tilt. # 1.4. OR should be tilt-erbse.
59
63
  class Template < Tilt::Template
@@ -1,5 +1,5 @@
1
1
  module Cell
2
2
  module Erb
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -35,4 +35,6 @@ Weiter!
35
35
 
36
36
  <%= form_for OpenStruct.new, url: "/", as: "open" do |f| %>
37
37
  <%= f.text_field :id %>
38
- <% end %>
38
+ <% end %>
39
+
40
+ <%= concatting %>
@@ -54,4 +54,11 @@ private
54
54
  "<b>No current page!<b>"
55
55
  end
56
56
  end
57
+
58
+ def concatting
59
+ content_tag :div do
60
+ concat content_tag :p, "Concat!"
61
+ concat "Whoo"
62
+ end
63
+ end
57
64
  end
@@ -63,7 +63,8 @@ Weiter!
63
63
  <b>No current page!<b>
64
64
  #{form_with_body_tag}
65
65
 
66
- #{form_for_tag}}
66
+ #{form_for_tag}
67
+ <div><p>Concat!</p>Whoo</div>}
67
68
  end
68
69
  end
69
70
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cells-erb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-04 00:00:00.000000000 Z
12
+ date: 2015-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cells