form_angular 0.0.6 → 0.0.7

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: 14e3b339a7a3bbed4e0e4ab74aa839b567fed6ab
4
- data.tar.gz: fec7f4060cb8aafeffbb709e126a1a9e106e667b
3
+ metadata.gz: 5f9402d26ee143cf6d092086e03bfd047a169958
4
+ data.tar.gz: e48426067c454a7a9a427f1452c657cfe2b8fcf4
5
5
  SHA512:
6
- metadata.gz: c03086f0dfb7f4684e82ff1b85d248c20fa727ed0476fed035176940c39b968b5bdca3de61220382816392fd86a1de9524c221321f64f0a4b913d086f83ee560
7
- data.tar.gz: 8f4b8843b22f950c6d8e66ec5b7b229dd74d3b19115855d674c328bffebfeb9f0765cf4ec22934046c06e58998a0817d91675c44b058a13631441f55c1f49abd
6
+ metadata.gz: 7d9b8815a1ef6168e209d85211a3d67bdb56ff716d858a5c04ce76485d836f34ca999df21f20438e822aa9edb0f048d13b821aac4e8976c8a84eb0064484194d
7
+ data.tar.gz: b88f660100cc24a9e13d49566e19023a7a516534df10b8c17a6f526412da0b0c66d8bc9aa979da41ddca5b43e626a096f1e4d365fdcd5f55933dd32b79738c56
@@ -22,7 +22,7 @@ module FormAngular
22
22
 
23
23
  def html_options(key)
24
24
  html_options ||= {}
25
- html_options.merge!({'ng-show' => "#{ng_access_expression}.$error.#{key} && #{ng_access_expression}.$invalid && #{ng_access_expression}.$dirty", class: "ng-cloak text-danger"})
25
+ html_options.merge!({'ng-show' => "#{ng_access_expression}.$error.#{key} && (#{ng_access_expression}.$invalid || #{ng_access_expression}.$dirty)", class: "ng-cloak text-danger"})
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module FormAngular
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_angular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Balaine
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-06 00:00:00.000000000 Z
12
+ date: 2014-12-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler