sangha_accessibility 0.1.6 → 0.1.7
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 +4 -4
- data/lib/sangha_accessibility/action_view/helpers.rb +17 -21
- data/lib/sangha_accessibility/railtie.rb +16 -16
- data/lib/sangha_accessibility/version.rb +3 -3
- data/lib/sangha_accessibility.rb +11 -10
- data/sangha_accessibility.gemspec +29 -29
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a592cbc4165a6d9858e3adc9c50d52c925bc2236
|
4
|
+
data.tar.gz: 2db56c3287d7f7040e26e8613a060ac31d4e687d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d8e3ede6cd81bc44e2133bf88c97595c89ccc6090a6f8bfd9cd8915a0b3dc18725b933c9be5e2253a15813349c9d0767c6dac29a1297f29eaa686ffbd7a595
|
7
|
+
data.tar.gz: 31a5478419253bbe942d9b75404850f8938e8df6c25552cdba8e9be04bf636bc6f20f8ae7c01482d4a54152d27692cb06853e1a8ec57cb8bddf1b0812192a201
|
@@ -1,21 +1,17 @@
|
|
1
|
-
module SanghaAccessibility
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
include ActionView::Helpers
|
6
|
-
include ActionView::
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
extend ActionView::Helpers
|
11
|
-
extend ActionView::
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
1
|
+
module SanghaAccessibility::ActionView::Helpers
|
2
|
+
class PGen
|
3
|
+
include ActionView::Helpers
|
4
|
+
include ActionView::Context
|
5
|
+
include ActionView::Helpers::CaptureHelper
|
6
|
+
include ActionView::Helpers::TagHelper
|
7
|
+
|
8
|
+
extend ActionView::Helpers
|
9
|
+
extend ActionView::Context
|
10
|
+
extend ActionView::Helpers::CaptureHelper
|
11
|
+
extend ActionView::Helpers::TagHelper
|
12
|
+
|
13
|
+
def p_for(value)
|
14
|
+
content_tag(:p, value)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -1,16 +1,16 @@
|
|
1
|
-
require 'rails/railtie'
|
2
|
-
module SanghaAccessibility
|
3
|
-
class Railtie < ::Rails::Railtie
|
4
|
-
initializer "sangha_accessibility.action_view" do |app|
|
5
|
-
ActiveSupport.on_load :action_view do
|
6
|
-
require "sangha_accessibility/action_view/helpers"
|
7
|
-
include SanghaAccessibility::ActionView::Helpers
|
8
|
-
end
|
9
|
-
|
10
|
-
ActiveSupport.on_load :action_controller do
|
11
|
-
include SanghaAccessibility::ActionController::Filters
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
1
|
+
require 'rails/railtie'
|
2
|
+
module SanghaAccessibility
|
3
|
+
class Railtie < ::Rails::Railtie
|
4
|
+
initializer "sangha_accessibility.action_view" do |app|
|
5
|
+
ActiveSupport.on_load :action_view do
|
6
|
+
require "sangha_accessibility/action_view/helpers"
|
7
|
+
include SanghaAccessibility::ActionView::Helpers
|
8
|
+
end
|
9
|
+
|
10
|
+
ActiveSupport.on_load :action_controller do
|
11
|
+
include SanghaAccessibility::ActionController::Filters
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module SanghaAccessibility
|
2
|
-
VERSION = "0.1.
|
3
|
-
end
|
1
|
+
module SanghaAccessibility
|
2
|
+
VERSION = "0.1.7"
|
3
|
+
end
|
data/lib/sangha_accessibility.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
require 'sangha_accessibility/version'
|
2
|
-
require 'action_view/helpers'
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
require 'sangha_accessibility/version'
|
2
|
+
require 'action_view/helpers'
|
3
|
+
require 'action_view/context'
|
4
|
+
|
5
|
+
module SanghaAccessibility
|
6
|
+
extend ActiveSupport::Autoload
|
7
|
+
|
8
|
+
autoload :Helpers
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'sangha_accessibility/railtie' if defined?(Rails)
|
@@ -1,29 +1,29 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# lib = File.expand_path('../lib', __FILE__)
|
3
|
-
# $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
$:.push File.expand_path("../lib", __FILE__)
|
5
|
-
require 'sangha_accessibility/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = "sangha_accessibility"
|
9
|
-
spec.version = SanghaAccessibility::VERSION
|
10
|
-
spec.platform = Gem::Platform::RUBY
|
11
|
-
spec.authors = ["Sanghapal Bhowate"]
|
12
|
-
spec.email = ["sanghapalbhowate89@gmail.com"]
|
13
|
-
spec.description = %q{trial gem}
|
14
|
-
spec.summary = %q{Write a gem summary}
|
15
|
-
spec.homepage = "http://github.com/Sanghapal/sangha_accessibility"
|
16
|
-
spec.license = "MIT"
|
17
|
-
|
18
|
-
spec.files = `git ls-files`.split($/)
|
19
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
|
-
spec.require_paths = ["lib"]
|
22
|
-
|
23
|
-
spec.rubyforge_project = "sangha_accessibility"
|
24
|
-
|
25
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
-
spec.add_development_dependency "rake"
|
27
|
-
spec.add_dependency('activemodel', '~> 4.0')
|
28
|
-
spec.add_dependency('actionpack', '~> 4.0')
|
29
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
# lib = File.expand_path('../lib', __FILE__)
|
3
|
+
# $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
$:.push File.expand_path("../lib", __FILE__)
|
5
|
+
require 'sangha_accessibility/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "sangha_accessibility"
|
9
|
+
spec.version = SanghaAccessibility::VERSION
|
10
|
+
spec.platform = Gem::Platform::RUBY
|
11
|
+
spec.authors = ["Sanghapal Bhowate"]
|
12
|
+
spec.email = ["sanghapalbhowate89@gmail.com"]
|
13
|
+
spec.description = %q{trial gem}
|
14
|
+
spec.summary = %q{Write a gem summary}
|
15
|
+
spec.homepage = "http://github.com/Sanghapal/sangha_accessibility"
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
spec.files = `git ls-files`.split($/)
|
19
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.rubyforge_project = "sangha_accessibility"
|
24
|
+
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
+
spec.add_development_dependency "rake"
|
27
|
+
spec.add_dependency('activemodel', '~> 4.0')
|
28
|
+
spec.add_dependency('actionpack', '~> 4.0')
|
29
|
+
end
|