sangha_accessibility 0.3.1 → 0.4.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a18875163995578e000ee163533c7655ef3c0f9
|
4
|
+
data.tar.gz: bbc7b07783a2a5d6ffea43703ebd97595702c6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0716545f5314a8716adb7395ddf96bba4879988e6d5233de0a71f2781e7d04239f69cd56539200a3dae1bc5c5af61e962264f4f4df24c2d2aed3e333bf6c99c3
|
7
|
+
data.tar.gz: d519929a340b4e38794dfe4de8d90a054f75d08ded2dd0544fce3ebb5e96bee1adb6154851f75567e0d7e799545319512579a5f8e71cc20691bb98438db4927d
|
@@ -4,17 +4,19 @@ require 'action_view/context'
|
|
4
4
|
module SanghaAccessibility
|
5
5
|
module ActionView
|
6
6
|
module Helpers
|
7
|
+
# class MyGemClass
|
8
|
+
# include ActionView::Helpers
|
9
|
+
# include ActionView::Helpers::TagHelper
|
10
|
+
# include ActionView::Context
|
7
11
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"Hello World!"
|
17
|
-
end
|
12
|
+
def p_for(value)
|
13
|
+
content_tag(:p, value)
|
14
|
+
end
|
15
|
+
# end
|
16
|
+
# def p_for(value)
|
17
|
+
# m = MyGemClass.new
|
18
|
+
# m.generate_p(value)
|
19
|
+
# end
|
18
20
|
end
|
19
21
|
end
|
20
22
|
end
|
@@ -6,10 +6,6 @@ module SanghaAccessibility
|
|
6
6
|
require "sangha_accessibility/action_view/helpers"
|
7
7
|
include SanghaAccessibility::ActionView::Helpers
|
8
8
|
end
|
9
|
-
|
10
|
-
ActiveSupport.on_load :action_controller do
|
11
|
-
include SanghaAccessibility::ActionController::Filters
|
12
|
-
end
|
13
9
|
end
|
14
10
|
end
|
15
11
|
end
|
data/lib/sangha_accessibility.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'sangha_accessibility/version'
|
2
2
|
require 'sangha_accessibility/action_view/helpers'
|
3
|
+
require 'sangha_accessibility/railtie' if defined?(Rails)
|
3
4
|
|
4
|
-
module SanghaAccessibility
|
5
|
+
# module SanghaAccessibility
|
5
6
|
# extend ActiveSupport::Autoload
|
6
|
-
|
7
|
-
#
|
8
|
-
end
|
7
|
+
#
|
8
|
+
# autoload :Helpers
|
9
|
+
# end
|
10
|
+
|
9
11
|
|
10
|
-
require 'sangha_accessibility/railtie' if defined?(Rails)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sangha_accessibility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sanghapal Bhowate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|