rooler 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjA2Zjk1NTIzZDViNmVjZmNhZjkxZDE0OTMwMzIwMGI4NjliMDU5NA==
4
+ MGM0OWZiNzM1ZmExY2NlOWQxZjA0ODgwMTk3Y2Y2MjJjNjQ1ODVkMw==
5
5
  data.tar.gz: !binary |-
6
- MzI1NDBmZmZhNzRiZWViYWExZDllNzI4MDdhMjUxODI0MmE4NmJmMA==
6
+ MmYxYjY3NDE0NDQwYzE3M2U2ODRlZjY0ZjkyMTY3MjAzNWUwMzU1Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2E2MDNjNDUxYzllYTFhNDNiNzE2MzgyMzAxMzQ1NWEwOGQ4OTA3MWI2OTA3
10
- YmVmZjk2ZGJiYjk0YTM2ZTJkZWY4YTIwMDRlYjRiN2ExZWZlMTVjNWJhMzM0
11
- Njk2YTAyZTQ1MDhlODZlMzAzMjRkZGYxZDhhOTA1ZGIzNzIxMjE=
9
+ M2VmZWQzNWM1M2EwOGRkZjE3ODY0OTc1OGQ2Yjc5ZWZkMzMzYzFkYjZjYTMw
10
+ MTBiOTQyN2QyNzFhZTdhYzRjMjFjZWI1YWRkZDdjODVkMzM5OTY0NmE5YTYy
11
+ MWIzMTY0ZDMxNTg3ZTNlNmU2NGFjN2IyNDljZGU4MjQ2ZWI3YWQ=
12
12
  data.tar.gz: !binary |-
13
- YWMzNGQ1ZDFiMWU1NWM3NzM3NGVlZGY5NDQ1OGRhZjVhODhlOTA2NTE5N2Ji
14
- OWYxZWY1OWM1MWFhNmRiM2MzYWU1Y2I3YjI2ZTNmYzQ1Njk0NTI1ZDAyYjc1
15
- MTRjOTczYTBkMjlkNzcwNWQxYWY4OTc0ZDU4MjQxZjBkMzdmN2U=
13
+ ZGZiN2VmZTQ1N2FjMzczY2QxOGUzMzM1ZGJjOGEyZTVhMjdkYjU1ZjhiOWY4
14
+ YWMyZjA4YzdjMTViY2EwMTgzZGFkZjUwODE1NzcxNjZiYTQwMmFkZDBmNGFi
15
+ ODQ5Nzc1ZTQ4ODg0ZGE1Y2IwZWM0NjVlZmViMjI1ZTVkZDk0Njg=
@@ -12,6 +12,13 @@ module Rooler
12
12
  res << "</li></ul>"
13
13
  res
14
14
  end
15
+
16
+ def liquid_filters
17
+ Rooler::LiquidFilters.instance_methods.inject({}) do |result, element|
18
+ result[element] = Rooler::LiquidFilters.instance_method(element).parameters.map(&:last)
19
+ result
20
+ end
21
+ end
15
22
 
16
23
  end
17
24
  end
@@ -7,4 +7,8 @@
7
7
  <%= f.button :submit %>
8
8
  <% end %>
9
9
 
10
+ <h3>Liquid Methods</h3>
10
11
  <%= render_tree(@template.liquid_method_tree).html_safe %>
12
+
13
+ <h4>Helper Methods</h4>
14
+ <%= Rooler::LiquidFilters.instance_methods.to_sentence %>
@@ -1,3 +1,3 @@
1
1
  module Rooler
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rooler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yonah Forst