ama_layout 2.2.8 → 2.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,15 @@
1
- Mailcheck.defaultDomains.push('xplore.com', 'abnorth.com', "pentnet.net", "canadasurf.net")
1
+ var domains = ['msn.com', 'bellsouth.net', 'telus.net', 'comcast.net', 'optusnet.com.au', 'earthlink.net', 'qq.com',
2
+ 'sky.com', 'icloud.com', 'mac.com', 'sympatico.ca', 'googlemail.com', 'att.net', 'xtra.co.nz', 'web.de',
3
+ 'cox.net', 'gmail.com', 'ymail.com', 'aim.com', 'rogers.com', 'verizon.net', 'rocketmail.com',
4
+ 'google.com', 'optonline.net', 'sbcglobal.net', 'aol.com', 'me.com', 'btinternet.com', 'charter.net',
5
+ 'shaw.ca', 'xplore.com', 'abnorth.com', 'pentnet.net', 'canadasurf.net'];
2
6
 
3
7
  var $email = $('[type="email"]');
4
8
  var $hint = $("*#email_hint");
5
9
 
6
10
  $email.on('blur', function() {
7
11
  $(this).mailcheck({
12
+ domains: domains,
8
13
  suggested: function(element, suggestion) {
9
14
  var text = "Did you mean <span class='suggestion'>" +
10
15
  "<span class='address'>" + suggestion.address + "</span>" +
@@ -8,4 +8,4 @@
8
8
  //= require ./sticky-footer
9
9
  //= require ./foundation-namespace
10
10
  //= require ./sidebar
11
- //= require ./mailcheck
11
+ //= require ../mailcheck
@@ -2,3 +2,4 @@
2
2
  //= require ./mobile_menu
3
3
  //= require ./tablesaw.stackonly.js
4
4
  //= require ./ready
5
+ //= require ../mailcheck
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "2.2.8"
2
+ VERSION = "2.2.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.8
4
+ version: 2.2.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2016-01-18 00:00:00.000000000 Z
21
+ date: 2016-01-19 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: foundation-rails
@@ -263,11 +263,11 @@ files:
263
263
  - app/assets/javascripts/ama_layout/desktop/foundation-ready.js.coffee
264
264
  - app/assets/javascripts/ama_layout/desktop/header_menu.coffee
265
265
  - app/assets/javascripts/ama_layout/desktop/index.js
266
- - app/assets/javascripts/ama_layout/desktop/mailcheck.js
267
266
  - app/assets/javascripts/ama_layout/desktop/ready.js.coffee
268
267
  - app/assets/javascripts/ama_layout/desktop/sidebar.coffee
269
268
  - app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee
270
269
  - app/assets/javascripts/ama_layout/desktop/toggle_menu.js.coffee
270
+ - app/assets/javascripts/ama_layout/mailcheck.js
271
271
  - app/assets/javascripts/ama_layout/mobile/index.js
272
272
  - app/assets/javascripts/ama_layout/mobile/mobile_menu.js.coffee
273
273
  - app/assets/javascripts/ama_layout/mobile/ready.js.coffee
@@ -360,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
360
360
  version: '0'
361
361
  segments:
362
362
  - 0
363
- hash: -1108938074637150803
363
+ hash: -3257216319979225502
364
364
  required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  none: false
366
366
  requirements:
@@ -369,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
369
  version: '0'
370
370
  segments:
371
371
  - 0
372
- hash: -1108938074637150803
372
+ hash: -3257216319979225502
373
373
  requirements: []
374
374
  rubyforge_project:
375
375
  rubygems_version: 1.8.23