guardsjs-rails 1.4.0 → 1.4.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4b33cce3f56194a6419e692170971eb0448bce21
4
+ data.tar.gz: ccf8b58789a570d35d4a1596cd34b501170c9be8
5
+ SHA512:
6
+ metadata.gz: fde636ab4a6ad69fbd9572b82a65077da58394f990c20f47c0b0b1443b36d3481e7241ccea05668850f0214414dd5b74b808692c64cf968fabec56ec31cc54a3
7
+ data.tar.gz: 08d9197bd98ed7bf24ede0ffab1af03ec4f14716e203ba630b061c3a58ca10e0932cc73cff4cc1be85c66c9848d8b7f5a78655ca5d5a386e6bd6dd73a102a913
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Guards JavaScript jQuery Plugin v1.4.0
2
+ * Guards JavaScript jQuery Plugin v1.4.1
3
3
  * https://github.com/on-site/guards.js
4
4
  *
5
5
  * Copyright 2010-2014, On-Site.com, http://www.on-site.com/
@@ -8,7 +8,7 @@
8
8
  * Includes code for email and phone number validation from the jQuery
9
9
  * Validation plugin. http://docs.jquery.com/Plugins/Validation
10
10
  *
11
- * Date: Fri Jul 11 14:37:18 2014 -0700
11
+ * Date: Wed Nov 12 21:12:25 2014 -0800
12
12
  */
13
13
 
14
14
  /**
@@ -48,7 +48,7 @@
48
48
  return $.guards.add(selector);
49
49
  };
50
50
 
51
- $.guard.version = "1.4.0";
51
+ $.guard.version = "1.4.1";
52
52
 
53
53
  $.Guards = function() {
54
54
  var self = this;
@@ -745,7 +745,7 @@
745
745
  * This version of guards.js library as a string, like <code>"1.0.0"</code>.
746
746
  * </p>
747
747
  */
748
- $.Guards.prototype.version = "1.4.0";
748
+ $.Guards.prototype.version = "1.4.1";
749
749
 
750
750
  $.Guards.prototype.parentContext = function(element) {
751
751
  var $element = $(element);
@@ -1627,7 +1627,11 @@
1627
1627
  copyAttribute("_precondition");
1628
1628
  this._guard = namedGuard._guard;
1629
1629
  this._guardArguments = args;
1630
- this.name = guard;
1630
+
1631
+ if (!this._named) {
1632
+ this.name = guard;
1633
+ }
1634
+
1631
1635
  return this.message(namedGuard._message, true);
1632
1636
  };
1633
1637
 
@@ -1,5 +1,5 @@
1
1
  module GuardsJS
2
2
  module Rails
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,36 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guardsjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
5
- prerelease:
4
+ version: 1.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mike Virata-Stone
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-11 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
22
  version: '5.0'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: '3.0'
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
32
  version: '5.0'
36
33
  description: This gem wraps the guards.js jQuery validation library as a Rails asset
@@ -41,35 +38,31 @@ executables: []
41
38
  extensions: []
42
39
  extra_rdoc_files: []
43
40
  files:
44
- - lib/guardsjs-rails/version.rb
45
- - lib/guardsjs-rails.rb
46
41
  - app/assets/javascripts/guards.js
42
+ - lib/guardsjs-rails.rb
43
+ - lib/guardsjs-rails/version.rb
47
44
  homepage: http://guardsjs.com/
48
45
  licenses:
49
46
  - MIT
47
+ metadata: {}
50
48
  post_install_message:
51
49
  rdoc_options: []
52
50
  require_paths:
53
51
  - lib
54
52
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
53
  requirements:
57
- - - ! '>='
54
+ - - ">="
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0'
60
- segments:
61
- - 0
62
- hash: -1971564042185507975
63
57
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
58
  requirements:
66
- - - ! '>='
59
+ - - ">="
67
60
  - !ruby/object:Gem::Version
68
61
  version: '0'
69
62
  requirements: []
70
63
  rubyforge_project:
71
- rubygems_version: 1.8.25
64
+ rubygems_version: 2.2.2
72
65
  signing_key:
73
- specification_version: 3
66
+ specification_version: 4
74
67
  summary: Rails asset gem for guards.js.
75
68
  test_files: []