sangha_accessibility 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +17 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/sangha_accessibility.rb +19 -19
- data/lib/sangha_accessibility/railtie.rb +15 -0
- data/lib/sangha_accessibility/version.rb +3 -0
- data/sangha_accessibility.gemspec +29 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f17ecdab72bb04ed3b8da8c62eb8962cb1377c5
|
4
|
+
data.tar.gz: 1548b3999c9e42dccb5415eecfd1f8802cdb6d98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8df6a1d7d7d323328370bd686d09b499936ab30c57f9c4d62b9955fec08f9a5a32fb861f05d4822c4d3b1fec056607cb8af38e194239f50c2a050022707b0d00
|
7
|
+
data.tar.gz: 204f081d25b29f570deac7bf380650c5b9408b9daabfd6cc7d7ab86ac8fff55db50b6836ca5fef3bf75e0bd5d269dd7f82819c475699b4dfd46a8d9e9790d51d
|
data/.gitignore
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in sangha_accessibility.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'railties', github: 'rails/rails', branch: 'master'
|
7
|
+
gem 'activemodel', github: 'rails/rails', branch: 'master'
|
8
|
+
gem 'actionpack', github: 'rails/rails', branch: 'master'
|
9
|
+
gem 'rake'
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 TODO: Write your name
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# SanghaAccessibility
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'sangha_accessibility'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install sangha_accessibility
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/sangha_accessibility.rb
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
require
|
2
|
-
require 'action_view'
|
3
|
-
|
4
|
-
module SanghaAccessibility::ActionView::Helpers
|
5
|
-
class Base
|
6
|
-
include ActionView::Helpers
|
7
|
-
include ActionView::Context
|
8
|
-
include ActionView::Helpers::CaptureHelper
|
9
|
-
|
10
|
-
extend ActionView::Helpers
|
11
|
-
extend ActionView::Context
|
12
|
-
extend ActionView::Helpers::CaptureHelper
|
13
|
-
|
14
|
-
def p_for(value)
|
15
|
-
content_tag(:p, value)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
1
|
+
require 'sangha_accessibility/version'
|
2
|
+
require 'action_view'
|
3
|
+
|
4
|
+
module SanghaAccessibility::ActionView::Helpers
|
5
|
+
class Base
|
6
|
+
include ActionView::Helpers
|
7
|
+
include ActionView::Context
|
8
|
+
include ActionView::Helpers::CaptureHelper
|
9
|
+
|
10
|
+
extend ActionView::Helpers
|
11
|
+
extend ActionView::Context
|
12
|
+
extend ActionView::Helpers::CaptureHelper
|
13
|
+
|
14
|
+
def p_for(value)
|
15
|
+
content_tag(:p, value)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +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
|
15
|
+
end
|
@@ -0,0 +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
|
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.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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,7 +73,15 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- .gitignore
|
77
|
+
- Gemfile
|
78
|
+
- LICENSE.txt
|
79
|
+
- README.md
|
80
|
+
- Rakefile
|
76
81
|
- lib/sangha_accessibility.rb
|
82
|
+
- lib/sangha_accessibility/railtie.rb
|
83
|
+
- lib/sangha_accessibility/version.rb
|
84
|
+
- sangha_accessibility.gemspec
|
77
85
|
homepage: http://github.com/Sanghapal/sangha_accessibility
|
78
86
|
licenses:
|
79
87
|
- MIT
|