sangha_accessibility 0.4.6 → 0.4.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ea4eb7d680dc2f7f7c6359d8982cddd5990a0ad
|
4
|
+
data.tar.gz: 78e50d7253ea0b5753ca79f619d30e5e2c18afb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aa5bce5e703421e1ea348f2ad0cf59f8dd8d50663a09b101c1493d5213bd1ee5cf7f5f37e7c54ad5225765ff88cc6598471fd670f300ea49c928f88f3a6753d
|
7
|
+
data.tar.gz: f28e9a1f88e5a1c1be8c72f6a9290c2c2a0ad63c6852be023fd0fb28d87b75c4a2a095eba89cde2eab0830db3559864a2af27929637d77a5d714946760453b14
|
@@ -4,19 +4,13 @@ require 'action_view/context'
|
|
4
4
|
module SanghaAccessibility
|
5
5
|
module ActionView
|
6
6
|
module Helpers
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
# include ActionView::Context
|
7
|
+
def p_for(value)
|
8
|
+
content_tag(:p, value)
|
9
|
+
end
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
# end
|
16
|
-
# def p_for(value)
|
17
|
-
# m = MyGemClass.new
|
18
|
-
# m.generate_p(value)
|
19
|
-
# end
|
11
|
+
def button_for(name = nil, options = nil, html_options = nil)
|
12
|
+
button_to("Submit", "https://www.google.com", {id: "btn_1", remote: true})
|
13
|
+
end
|
20
14
|
end
|
21
15
|
end
|
22
16
|
end
|
data/lib/sangha_accessibility.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
#$:.push File.expand_path("../lib", __FILE__)
|
5
4
|
require 'sangha_accessibility/version'
|
6
5
|
|
7
6
|
Gem::Specification.new do |spec|
|
@@ -16,8 +15,6 @@ Gem::Specification.new do |spec|
|
|
16
15
|
spec.license = "MIT"
|
17
16
|
|
18
17
|
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
18
|
spec.require_paths = ["lib"]
|
22
19
|
|
23
20
|
spec.rubyforge_project = "sangha_accessibility"
|
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.
|
4
|
+
version: 0.4.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/sangha_accessibility/railtie.rb
|
84
84
|
- lib/sangha_accessibility/version.rb
|
85
85
|
- sangha_accessibility.gemspec
|
86
|
+
- vendor/assets/javascripts/btn_alert.js
|
86
87
|
homepage: http://github.com/Sanghapal/sangha_accessibility
|
87
88
|
licenses:
|
88
89
|
- MIT
|