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: 1a18875163995578e000ee163533c7655ef3c0f9
4
- data.tar.gz: bbc7b07783a2a5d6ffea43703ebd97595702c6e8
3
+ metadata.gz: 5ea4eb7d680dc2f7f7c6359d8982cddd5990a0ad
4
+ data.tar.gz: 78e50d7253ea0b5753ca79f619d30e5e2c18afb9
5
5
  SHA512:
6
- metadata.gz: 0716545f5314a8716adb7395ddf96bba4879988e6d5233de0a71f2781e7d04239f69cd56539200a3dae1bc5c5af61e962264f4f4df24c2d2aed3e333bf6c99c3
7
- data.tar.gz: d519929a340b4e38794dfe4de8d90a054f75d08ded2dd0544fce3ebb5e96bee1adb6154851f75567e0d7e799545319512579a5f8e71cc20691bb98438db4927d
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
- # class MyGemClass
8
- # include ActionView::Helpers
9
- # include ActionView::Helpers::TagHelper
10
- # include ActionView::Context
7
+ def p_for(value)
8
+ content_tag(:p, value)
9
+ end
11
10
 
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
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
@@ -1,3 +1,3 @@
1
1
  module SanghaAccessibility
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
@@ -2,10 +2,5 @@ require 'sangha_accessibility/version'
2
2
  require 'sangha_accessibility/action_view/helpers'
3
3
  require 'sangha_accessibility/railtie' if defined?(Rails)
4
4
 
5
- # module SanghaAccessibility
6
- # extend ActiveSupport::Autoload
7
- #
8
- # autoload :Helpers
9
- # end
10
5
 
11
6
 
@@ -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"
@@ -0,0 +1,7 @@
1
+ $(document).ready(function() {
2
+ btnSubmit = $("#btn_1");
3
+ btnSubmit.click(function(){
4
+ alert("Hello world");
5
+ });
6
+ }); // end ready()
7
+
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.6
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-21 00:00:00.000000000 Z
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