comply 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 559ebc5e66c45ccecbe7bd3bd23560dcc59dd772
4
- data.tar.gz: fd0e2d90a6a21e76a135fd5dbb8845537237de65
3
+ metadata.gz: 956263eda286d245e46341e583ccf83ed295bcff
4
+ data.tar.gz: 1f8283b63e6ee0fdbce9af03840e3e28efa7fd1f
5
5
  SHA512:
6
- metadata.gz: 02d4245d4656340b7bef7934a18574875937b2cc996afe26d03a44d2ee34bdd7479edfc6f03398e4e377edd48bc1b4cf512788210ba21b1579843e8a3765fc80
7
- data.tar.gz: 048707cbf4f06f92bb144573c92d53904589d66d812249dc5aee79b6fe932627680757bd31b44ada4b943abb52bd6f9a3b369abea5fce74ee84da0cb640d3d7f
6
+ metadata.gz: 8b3f21043b8fcf99759b4e427d5cfff6627290d89dc25f57674c9bea18daf1b272469eeffac82f657756cf10ef2b35fbb2eeaa728f54fae7273b8c86e9907b16
7
+ data.tar.gz: f8e0e231a61f719e745195489c0264ce50d0e47ec4852d1c934903232a17068d653e6363226a31657cebd27a86bcba3e547913ed18f3b58185f1d060cc037c55
@@ -1,5 +1,7 @@
1
1
  class Comply.ValidatableForm
2
2
  constructor: (@$form) ->
3
+ return if @$form.data('complied')
4
+ @$form.data('complied', true)
3
5
  @inputs = @_inputs()
4
6
  @model = @$form.data('validate-model')
5
7
  @$button = @$form.find('[type=submit]')
@@ -1,3 +1,3 @@
1
1
  module Comply
2
- VERSION = '1.0.1'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comply
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - '@jacobaweiss'
8
8
  - '@andyjbas'
9
9
  - '@azach'
10
10
  - '@linedotstar'
11
+ - '@cfurrow'
11
12
  autorequire:
12
13
  bindir: bin
13
14
  cert_chain: []
14
- date: 2014-06-18 00:00:00.000000000 Z
15
+ date: 2014-09-10 00:00:00.000000000 Z
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: coffee-rails
@@ -69,6 +70,20 @@ dependencies:
69
70
  - - '>='
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
73
+ - !ruby/object:Gem::Dependency
74
+ name: sinon-rails
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
72
87
  - !ruby/object:Gem::Dependency
73
88
  name: pry
74
89
  requirement: !ruby/object:Gem::Requirement