hooch 0.15.26 → 0.15.27

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: eed4abe442aea3487a65c7734f19aa01168400e2
4
- data.tar.gz: c397898501e7f86ae84c024e8f87186869e67afb
3
+ metadata.gz: 13e1418764c249f6508ca71cd322b64c0c9985f2
4
+ data.tar.gz: 7eee74005ffa89c2900ccaa21cfaf1a9eb2e0dd7
5
5
  SHA512:
6
- metadata.gz: 1f3a372ddbe3e5d5c98fa62a2467c1a1cd26a2f48a73e348c8200d88095aecf2c49bd70a07d2bf83680024e4d81dedabaaf9ea9bae0f3236d235446a6f98e095
7
- data.tar.gz: 143135ab1f60ad95a7f17db6f4320d5bfcc64c87ff0c1491240413dffb18c075c1c0d6cef072507655732c30184e706118260d16f2fe48886f1d5f2dd5646f53
6
+ metadata.gz: f4f682d988bc5d2c79fef58707c5010f23fddd619ea1a61d70ef3fde394fe3453c7c7d5f2bb01ab2b6069af650d3e90e0fab4546ed85b099c2b1d649a1dbbafa
7
+ data.tar.gz: 2501fd4db75e39532e064256a69e5cadbf48ec64383beb7a787bb6898396686f7a4abcacae3e6c6ca38d58cb5c25aaffb5f34a91ecb562bf565ee5a5b81b5ecf
@@ -2228,7 +2228,11 @@ var initHooch = function(){
2228
2228
  if(this.target.data('ajax-target')){
2229
2229
  this.target.click();
2230
2230
  }else if(this.target.attr('href')){
2231
- window.location = this.target.attr('href');
2231
+ if ("_blank" === this.target.attr('target')){
2232
+ window.open(this.target.attr('href'));
2233
+ }else{
2234
+ window.location = this.target.attr('href');
2235
+ }
2232
2236
  }
2233
2237
  this.first_submit = false;
2234
2238
  }
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.15.26"
2
+ VERSION = "0.15.27"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.26
4
+ version: 0.15.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-25 00:00:00.000000000 Z
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails