role-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Role
2
2
  module Rails
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- // Role.js, jQuery adapter v1.0.0 ~ https://github.com/kossnocorp/role
1
+ // Role.js, jQuery adapter v1.0.1 ~ https://github.com/kossnocorp/role
2
2
 
3
3
  (function($) {
4
4
  var matchesSelectorOrigin, type;
@@ -21,7 +21,7 @@
21
21
  return $.find.matchesSelector = function(node, expr) {
22
22
  return matchesSelectorOrigin(node, expr.replace(/(@[\w\-]+)/g, function($0) {
23
23
  return $0.replace(/^@([\w\-]+)$/, function(__, $1) {
24
- return "[role=\"" + $1 + "\"]";
24
+ return "[role~=\"" + $1 + "\"]";
25
25
  });
26
26
  }));
27
27
  };
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: role-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-26 00:00:00.000000000 Z
12
+ date: 2012-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70361255124280 !ruby/object:Gem::Requirement
16
+ requirement: &70317158969040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70361255124280
24
+ version_requirements: *70317158969040
25
25
  description: jQuery plugin to provide easy way to handle DOM elements by role attribute
26
26
  email:
27
27
  - koss@nocorp.me