sangha_accessibility 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sangha_accessibility.rb +21 -19
- data/lib/sangha_accessibility/railtie.rb +14 -14
- data/lib/sangha_accessibility/version.rb +1 -1
- data/sangha_accessibility.gemspec +29 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdc0e632afac30f90e792e67f06dd88915b39862
|
4
|
+
data.tar.gz: 3d79b0f06b08ba2d037c5c44f9cd77f60b919781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae5174d2332843dcfdddfedc6dd7122509136b173dea28a7d2ab51b2141be4d50b3f90e80e571194ecf54106a5882f2cf32201b0b5a3119ac343eb9b45b7b1d9
|
7
|
+
data.tar.gz: 4290fb67314888bc2f6adcabd8bfc9246c8f6aac53f4df350f46c540d761ffee035fc73ebf35f9f014637c0fbfa58e6ecc1089fbdbc757958cae1676515936f7
|
data/lib/sangha_accessibility.rb
CHANGED
@@ -1,19 +1,21 @@
|
|
1
|
-
require 'sangha_accessibility/version'
|
2
|
-
require 'action_view'
|
3
|
-
|
4
|
-
module SanghaAccessibility
|
5
|
-
class Base
|
6
|
-
include ActionView::Helpers
|
7
|
-
include ActionView::Context
|
8
|
-
include ActionView::Helpers::CaptureHelper
|
9
|
-
|
10
|
-
|
11
|
-
extend ActionView::
|
12
|
-
extend ActionView::
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
end
|
1
|
+
require 'sangha_accessibility/version'
|
2
|
+
require 'action_view/helpers'
|
3
|
+
|
4
|
+
module SanghaAccessibility
|
5
|
+
class Base
|
6
|
+
include ActionView::Helpers
|
7
|
+
include ActionView::Context
|
8
|
+
include ActionView::Helpers::CaptureHelper
|
9
|
+
include ActionView::Helpers::TagHelper
|
10
|
+
|
11
|
+
extend ActionView::Helpers
|
12
|
+
extend ActionView::Context
|
13
|
+
extend ActionView::Helpers::CaptureHelper
|
14
|
+
extend ActionView::Helpers::TagHelper
|
15
|
+
|
16
|
+
def p_for(value)
|
17
|
+
content_tag(:p, value)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -1,15 +1,15 @@
|
|
1
|
-
require 'rails/railtie'
|
2
|
-
|
3
|
-
module SanghaAccessibility
|
4
|
-
class Railtie < Rails::Railtie
|
5
|
-
initializer "sangha_accessibility.configure_view_controller" do |app|
|
6
|
-
ActiveSupport.on_load :action_view do
|
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
|
1
|
+
require 'rails/railtie'
|
2
|
+
|
3
|
+
module SanghaAccessibility
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
initializer "sangha_accessibility.configure_view_controller" do |app|
|
6
|
+
ActiveSupport.on_load :action_view do
|
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
15
|
end
|
@@ -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
|
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.0.
|
4
|
+
version: 0.0.7
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|