rudsl_rails 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rudsl_rails/version.rb +1 -1
- data/lib/rudsl_rails.rb +2 -9
- data/rudsl_rails.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe82b6f652b8b085efe22330fe8260d3f4495ed4
|
4
|
+
data.tar.gz: 434373a70b29474a9b678706fe3770eda5bbc4e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6520d3c780a1e4df5f31e854cfd496d2cc30698942ad2ac66290165ba23ab739f04af22b552daba74051a87ef6b60ef4bb05c544b3bf65b9f397fb3895368a86
|
7
|
+
data.tar.gz: 8d76536fc90b7dee618aa79f7a78f7ed4298a9fa27862ef8a0685585fa12ad1909a3729705330614484ef720a1994e8b4fe7b06b4e0facd54e33a85b5412e65a
|
data/lib/rudsl_rails/version.rb
CHANGED
data/lib/rudsl_rails.rb
CHANGED
@@ -2,16 +2,9 @@ require "rudsl_rails/version"
|
|
2
2
|
require "rudsl"
|
3
3
|
|
4
4
|
module RudslRails
|
5
|
-
class Card
|
5
|
+
class Card < ActionView::Base
|
6
6
|
include Rudsl
|
7
|
-
include ActionView::Helpers::AssetUrlHelper
|
8
|
-
include ActionView::Helpers::AssetTagHelper
|
9
7
|
include ERB::Util
|
10
|
-
include ActionView::Helpers::TranslationHelper
|
11
|
-
include ActionView::Helpers::TagHelper
|
12
|
-
include ActionView::Context
|
13
|
-
include ActionView::Helpers::DateHelper
|
14
|
-
include ActionView::Helpers::TextHelper
|
15
8
|
|
16
9
|
def method_missing(method_sym, *arguments, &block)
|
17
10
|
if method_sym.to_s.end_with?("_path") || method_sym.to_s.end_with?("_url")
|
@@ -26,7 +19,7 @@ module RudslRails
|
|
26
19
|
end
|
27
20
|
|
28
21
|
def html
|
29
|
-
node.try(:to_s).try(:html_safe)
|
22
|
+
render html: node.try(:to_s).try(:html_safe)
|
30
23
|
end
|
31
24
|
|
32
25
|
def render(*args)
|
data/rudsl_rails.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Ajith Hussain"]
|
10
10
|
spec.email = ["csy0013@googlemail.com"]
|
11
11
|
spec.summary = %q{rudsl_rails provides a nice way of using rudsl inside Rails}
|
12
|
-
spec.description = %q{rudsl_rails helps organise your Rails
|
12
|
+
spec.description = %q{rudsl_rails helps organise your Rails views written in rudsl, through cards.}
|
13
13
|
spec.homepage = "https://www.github.com/sparkymat/rudsl_rails"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rudsl_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ajith Hussain
|
@@ -66,7 +66,8 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.0'
|
69
|
-
description: rudsl_rails helps organise your Rails
|
69
|
+
description: rudsl_rails helps organise your Rails views written in rudsl, through
|
70
|
+
cards.
|
70
71
|
email:
|
71
72
|
- csy0013@googlemail.com
|
72
73
|
executables: []
|