validates_hostname 1.0.6 → 1.0.7

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: cd33fa7daf14fd2529df3a0fcce99edc75037ea5
4
- data.tar.gz: b31d48254ca58624786024031d909c037f048e2b
3
+ metadata.gz: 7d703a1919046c998d6df7bf1216802a19a0d6a7
4
+ data.tar.gz: f3c50623952c15894e3b33f8f37c7845564b8aeb
5
5
  SHA512:
6
- metadata.gz: 55694af5ff296a0b44d2690385ce54fd9137b84a10e2df1e9c5286338b9d82dd531e2e0d95cbe9365565f7f0f5be804bdc11cd4f691d31d368796423785dafd4
7
- data.tar.gz: aabf5600fb7fae0f7a39ec30569ef9059c346f93dcd5a9432b16144d6d86e7dcb0f1cd31a9ee78ae53d903211537042ad66935b5bc1bf820e2ef0d53c0062ccd
6
+ metadata.gz: 3b97ad8614fbd20a91d386924196fb5a767fc231141c8e2b3ecab17f3cdaf2e3d4c577cc6810d02e5e32e63823bc3fea175f96f34b5230efa9768f0b5d490952
7
+ data.tar.gz: b8ccedca3ccff90ac9766b0110a605e7ed0d0220e5103cff0030829d3abf97c6bd2e0549ed8ce310b063e871b23e4b13827ade185f400257700c94f9ab024c33
@@ -9,70 +9,145 @@ module PAK
9
9
  # List from IANA: http://www.iana.org/domains/root/db/
10
10
  # http://data.iana.org/TLD/tlds-alpha-by-domain.txt
11
11
  ALLOWED_TLDS = %w(
12
- . abogado ac academy accountants active actor ad adult ae aero af ag agency ai
13
- airforce al allfinanz alsace am amsterdam an android ao aq aquarelle ar archi
14
- army arpa as asia associates at attorney au auction audio autos aw ax axa az ba
15
- band bank bar bargains bayern bb bd be beer berlin best bf bg bh bi bid bike
16
- bio biz bj black blackfriday bloomberg blue bm bmw bn bnpparibas bo boo
17
- boutique br brussels bs bt budapest build builders business buzz bv bw by bz
18
- bzh ca cab cal camera camp cancerresearch capetown capital caravan cards care
19
- career careers cartier casa cash cat catering cc cd center ceo cern cf cg ch
20
- channel cheap christmas chrome church ci citic city ck cl claims cleaning click
21
- clinic clothing club cm cn co coach codes coffee college cologne com community
22
- company computer condos construction consulting contractors cooking cool coop
23
- country cr credit creditcard cricket crs cruises cu cuisinella cv cw cx cy
24
- cymru cz dad dance dating day de deals degree delivery democrat dental dentist
25
- desi dev diamonds diet digital direct directory discount dj dk dm dnp do docs
26
- domains doosan durban dvag dz eat ec edu education ee eg email emerck energy
27
- engineer engineering enterprises equipment er es esq estate et eu eurovision
28
- eus events everbank exchange expert exposed fail farm fashion feedback fi
29
- finance financial firmdale fish fishing fit fitness fj fk flights florist
30
- flowers flsmidth fly fm fo foo forsale foundation fr frl frogans fund furniture
31
- futbol ga gal gallery garden gb gbiz gd ge gent gf gg ggee gh gi gift gifts
32
- gives gl glass gle global globo gm gmail gmo gmx gn google gop gov gp gq gr
33
- graphics gratis green gripe gs gt gu guide guitars guru gw gy hamburg haus
34
- healthcare help here hiphop hiv hk hm hn holdings holiday homes horse host
35
- hosting house how hr ht hu ibm id ie il im immo immobilien in industries info
36
- ing ink institute insure int international investments io iq ir irish is it iwc
37
- je jetzt jm jo jobs joburg jp juegos kaufen kddi ke kg kh ki kim kitchen kiwi
38
- km kn koeln kp kr krd kred kw ky kz la lacaixa land lat latrobe lawyer lb lc
39
- lds lease legal lgbt li lidl life lighting limited limo link lk loans london
40
- lotto lr ls lt ltda lu luxe luxury lv ly ma madrid maison management mango
41
- market marketing mc md me media meet melbourne meme memorial menu mg mh miami
42
- mil mini mk ml mm mn mo mobi moda moe monash money mormon mortgage moscow
43
- motorcycles mov mp mq mr ms mt mu museum mv mw mx my mz na nagoya name navy nc
44
- ne net network neustar new nexus nf ng ngo nhk ni ninja nl no np nr nra nrw nu
45
- nyc nz okinawa om ong onl ooo org organic osaka otsuka ovh pa paris partners
46
- parts party pe pf pg ph pharmacy photo photography photos physio pics pictures
47
- pink pizza pk pl place plumbing pm pn pohl poker porn post pr praxi press pro
48
- prod productions prof properties property ps pt pub pw py qa qpon quebec re
49
- realtor recipes red rehab reise reisen reit ren rentals repair report
50
- republican rest restaurant reviews rich rio rip ro rocks rodeo rs rsvp ru ruhr
51
- rw ryukyu sa saarland sale samsung sarl sb sc sca scb schmidt schule schwarz
52
- science scot sd se services sew sexy sg sh shiksha shoes shriram si singles sj
53
- sk sky sl sm sn so social software sohu solar solutions soy space spiegel sr st
54
- su supplies supply support surf surgery suzuki sv sx sy sydney systems sz
55
- taipei tatar tattoo tax tc td technology tel tf tg th tienda tips tires tirol
56
- tj tk tl tm tn to today tokyo tools top town toys tp tr trade training travel
57
- trust tt tui tv tw tz ua ug uk university uno uol us uy uz va vacations vc ve
58
- vegas ventures versicherung vet vg vi viajes video villas vision vlaanderen vn
59
- vodka vote voting voto voyage vu wales wang watch webcam website wed wedding wf
60
- whoswho wien wiki williamhill wme work works world ws wtc wtf xn--1qqw23a
61
- xn--3bst00m xn--3ds443g xn--3e0b707e xn--45brj9c xn--45q11c xn--4gbrim
62
- xn--55qw42g xn--55qx5d xn--6frz82g xn--6qq986b3xl xn--80adxhks xn--80ao21a
63
- xn--80asehdb xn--80aswg xn--90a3ac xn--c1avg xn--cg4bki xn--clchc0ea0b2g2a9gcd
64
- xn--czr694b xn--czrs0t xn--czru2d xn--d1acj3b xn--d1alf xn--fiq228c5hs
65
- xn--fiq64b xn--fiqs8s xn--fiqz9s xn--flw351e xn--fpcrj9c3d xn--fzc2c9e2c
66
- xn--gecrj9c xn--h2brj9c xn--hxt814e xn--i1b6b1a6a2e xn--io0a7i xn--j1amh
67
- xn--j6w193g xn--kprw13d xn--kpry57d xn--kput3i xn--l1acc xn--lgbbat1ad8j
68
- xn--mgb9awbf xn--mgba3a4f16a xn--mgbaam7a8h xn--mgbab2bd xn--mgbayh7gpa
69
- xn--mgbbh1a71e xn--mgbc0a9azcg xn--mgberp4a5d4ar xn--mgbx4cd0ab xn--ngbc5azd
70
- xn--node xn--nqv7f xn--nqv7fs00ema xn--o3cw4h xn--ogbpf8fl xn--p1acf xn--p1ai
71
- xn--pgbs0dh xn--q9jyb4c xn--qcka1pmc xn--rhqv96g xn--s9brj9c xn--ses554g
72
- xn--unup4y xn--vermgensberater-ctb xn--vermgensberatung-pwb xn--vhquv
73
- xn--wgbh1c xn--wgbl6a xn--xhq521b xn--xkc2al3hye2a xn--xkc2dl3a5ee0h
74
- xn--yfro4i67o xn--ygbi2ammx xn--zfr164b xxx xyz yachts yandex ye yoga yokohama
75
- youtube yt za zip zm zone zuerich zw
12
+ . aaa aarp abarth abb abbott abbvie abc able abogado abudhabi ac academy
13
+ accenture accountant accountants aco active actor ad adac ads adult ae aeg
14
+ aero aetna af afamilycompany afl africa ag agakhan agency ai aig aigo airbus
15
+ airforce airtel akdn al alfaromeo alibaba alipay allfinanz allstate ally
16
+ alsace alstom am americanexpress americanfamily amex amfam amica amsterdam
17
+ analytics android anquan anz ao aol apartments app apple aq aquarelle ar
18
+ aramco archi army arpa art arte as asda asia associates at athleta attorney
19
+ au auction audi audible audio auspost author auto autos avianca aw aws ax
20
+ axa az azure ba baby baidu banamex bananarepublic band bank bar barcelona
21
+ barclaycard barclays barefoot bargains baseball basketball bauhaus bayern bb
22
+ bbc bbt bbva bcg bcn bd be beats beauty beer bentley berlin best bestbuy bet
23
+ bf bg bh bharti bi bible bid bike bing bingo bio biz bj black blackfriday
24
+ blanco blockbuster blog bloomberg blue bm bms bmw bn bnl bnpparibas bo boats
25
+ boehringer bofa bom bond boo book booking boots bosch bostik boston bot
26
+ boutique box br bradesco bridgestone broadway broker brother brussels bs bt
27
+ budapest bugatti build builders business buy buzz bv bw by bz bzh ca cab
28
+ cafe cal call calvinklein cam camera camp cancerresearch canon capetown
29
+ capital capitalone car caravan cards care career careers cars cartier casa
30
+ case caseih cash casino cat catering catholic cba cbn cbre cbs cc cd ceb
31
+ center ceo cern cf cfa cfd cg ch chanel channel chase chat cheap chintai
32
+ chloe christmas chrome chrysler church ci cipriani circle cisco citadel citi
33
+ citic city cityeats ck cl claims cleaning click clinic clinique clothing
34
+ cloud club clubmed cm cn co coach codes coffee college cologne com comcast
35
+ commbank community company compare computer comsec condos construction
36
+ consulting contact contractors cooking cookingchannel cool coop corsica
37
+ country coupon coupons courses cr credit creditcard creditunion cricket
38
+ crown crs cruise cruises csc cu cuisinella cv cw cx cy cymru cyou cz dabur
39
+ dad dance data date dating datsun day dclk dds de deal dealer deals degree
40
+ delivery dell deloitte delta democrat dental dentist desi design dev dhl
41
+ diamonds diet digital direct directory discount discover dish diy dj dk dm
42
+ dnp do docs doctor dodge dog doha domains dot download drive dtv dubai duck
43
+ dunlop duns dupont durban dvag dvr dz earth eat ec eco edeka edu education
44
+ ee eg email emerck energy engineer engineering enterprises epost epson
45
+ equipment er ericsson erni es esq estate esurance et eu eurovision eus
46
+ events everbank exchange expert exposed express extraspace fage fail
47
+ fairwinds faith family fan fans farm farmers fashion fast fedex feedback
48
+ ferrari ferrero fi fiat fidelity fido film final finance financial fire
49
+ firestone firmdale fish fishing fit fitness fj fk flickr flights flir
50
+ florist flowers fly fm fo foo food foodnetwork football ford forex forsale
51
+ forum foundation fox fr free fresenius frl frogans frontdoor frontier ftr
52
+ fujitsu fujixerox fun fund furniture futbol fyi ga gal gallery gallo gallup
53
+ game games gap garden gb gbiz gd gdn ge gea gent genting george gf gg ggee
54
+ gh gi gift gifts gives giving gl glade glass gle global globo gm gmail gmbh
55
+ gmo gmx gn godaddy gold goldpoint golf goo goodhands goodyear goog google
56
+ gop got gov gp gq gr grainger graphics gratis green gripe group gs gt gu
57
+ guardian gucci guge guide guitars guru gw gy hair hamburg hangout haus hbo
58
+ hdfc hdfcbank health healthcare help helsinki here hermes hgtv hiphop
59
+ hisamitsu hitachi hiv hk hkt hm hn hockey holdings holiday homedepot
60
+ homegoods homes homesense honda honeywell horse hospital host hosting hot
61
+ hoteles hotels hotmail house how hr hsbc ht htc hu hughes hyatt hyundai ibm
62
+ icbc ice icu id ie ieee ifm ikano il im imamat imdb immo immobilien in
63
+ industries infiniti info ing ink institute insurance insure int intel
64
+ international intuit investments io ipiranga iq ir irish is iselect ismaili
65
+ ist istanbul it itau itv iveco iwc jaguar java jcb jcp je jeep jetzt jewelry
66
+ jio jlc jll jm jmp jnj jo jobs joburg jot joy jp jpmorgan jprs juegos
67
+ juniper kaufen kddi ke kerryhotels kerrylogistics kerryproperties kfh kg kh
68
+ ki kia kim kinder kindle kitchen kiwi km kn koeln komatsu kosher kp kpmg kpn
69
+ kr krd kred kuokgroup kw ky kyoto kz la lacaixa ladbrokes lamborghini lamer
70
+ lancaster lancia lancome land landrover lanxess lasalle lat latino latrobe
71
+ law lawyer lb lc lds lease leclerc lefrak legal lego lexus lgbt li liaison
72
+ lidl life lifeinsurance lifestyle lighting like lilly limited limo lincoln
73
+ linde link lipsy live living lixil lk loan loans locker locus loft lol
74
+ london lotte lotto love lpl lplfinancial lr ls lt ltd ltda lu lundbeck lupin
75
+ luxe luxury lv ly ma macys madrid maif maison makeup man management mango
76
+ market marketing markets marriott marshalls maserati mattel mba mc mcd
77
+ mcdonalds mckinsey md me med media meet melbourne meme memorial men menu meo
78
+ metlife mg mh miami microsoft mil mini mint mit mitsubishi mk ml mlb mls mm
79
+ mma mn mo mobi mobile mobily moda moe moi mom monash money monster montblanc
80
+ mopar mormon mortgage moscow moto motorcycles mov movie movistar mp mq mr ms
81
+ msd mt mtn mtpc mtr mu museum mutual mv mw mx my mz na nab nadex nagoya name
82
+ nationwide natura navy nba nc ne nec net netbank netflix network neustar new
83
+ newholland news next nextdirect nexus nf nfl ng ngo nhk ni nico nike nikon
84
+ ninja nissan nissay nl no nokia northwesternmutual norton now nowruz nowtv
85
+ np nr nra nrw ntt nu nyc nz obi observer off office okinawa olayan
86
+ olayangroup oldnavy ollo om omega one ong onl online onyourside ooo open
87
+ oracle orange org organic orientexpress origins osaka otsuka ott ovh pa page
88
+ pamperedchef panasonic panerai paris pars partners parts party passagens pay
89
+ pccw pe pet pf pfizer pg ph pharmacy philips phone photo photography photos
90
+ physio piaget pics pictet pictures pid pin ping pink pioneer pizza pk pl
91
+ place play playstation plumbing plus pm pn pnc pohl poker politie porn post
92
+ pr pramerica praxi press prime pro prod productions prof progressive promo
93
+ properties property protection pru prudential ps pt pub pw pwc py qa qpon
94
+ quebec quest qvc racing radio raid re read realestate realtor realty recipes
95
+ red redstone redumbrella rehab reise reisen reit reliance ren rent rentals
96
+ repair report republican rest restaurant review reviews rexroth rich
97
+ richardli ricoh rightathome ril rio rip rmit ro rocher rocks rodeo rogers
98
+ room rs rsvp ru rugby ruhr run rw rwe ryukyu sa saarland safe safety sakura
99
+ sale salon samsclub samsung sandvik sandvikcoromant sanofi sap sapo sarl sas
100
+ save saxo sb sbi sbs sc sca scb schaeffler schmidt scholarships school
101
+ schule schwarz science scjohnson scor scot sd se seat secure security seek
102
+ select sener services ses seven sew sex sexy sfr sg sh shangrila sharp shaw
103
+ shell shia shiksha shoes shop shopping shouji show showtime shriram si silk
104
+ sina singles site sj sk ski skin sky skype sl sling sm smart smile sn sncf
105
+ so soccer social softbank software sohu solar solutions song sony soy space
106
+ spiegel spot spreadbetting sr srl srt st stada staples star starhub
107
+ statebank statefarm statoil stc stcgroup stockholm storage store stream
108
+ studio study style su sucks supplies supply support surf surgery suzuki sv
109
+ swatch swiftcover swiss sx sy sydney symantec systems sz tab taipei talk
110
+ taobao target tatamotors tatar tattoo tax taxi tc tci td tdk team tech
111
+ technology tel telecity telefonica temasek tennis teva tf tg th thd theater
112
+ theatre tiaa tickets tienda tiffany tips tires tirol tj tjmaxx tjx tk tkmaxx
113
+ tl tm tmall tn to today tokyo tools top toray toshiba total tours town
114
+ toyota toys tr trade trading training travel travelchannel travelers
115
+ travelersinsurance trust trv tt tube tui tunes tushu tv tvs tw tz ua ubank
116
+ ubs uconnect ug uk unicom university uno uol ups us uy uz va vacations vana
117
+ vanguard vc ve vegas ventures verisign versicherung vet vg vi viajes video
118
+ vig viking villas vin vip virgin visa vision vista vistaprint viva vivo
119
+ vlaanderen vn vodka volkswagen volvo vote voting voto voyage vu vuelos wales
120
+ walmart walter wang wanggou warman watch watches weather weatherchannel
121
+ webcam weber website wed wedding weibo weir wf whoswho wien wiki williamhill
122
+ win windows wine winners wme wolterskluwer woodside work works world wow ws
123
+ wtc wtf xbox xerox xfinity xihuan xin xn--11b4c3d xn--1ck2e1b xn--1qqw23a
124
+ xn--30rr7y xn--3bst00m xn--3ds443g xn--3e0b707e xn--3oq18vl8pn36a xn--3pxu8k
125
+ xn--42c2d9a xn--45brj9c xn--45q11c xn--4gbrim xn--54b7fta0cc xn--55qw42g
126
+ xn--55qx5d xn--5su34j936bgsg xn--5tzm5g xn--6frz82g xn--6qq986b3xl
127
+ xn--80adxhks xn--80ao21a xn--80aqecdr1a xn--80asehdb xn--80aswg xn--8y0a063a
128
+ xn--90a3ac xn--90ae xn--90ais xn--9dbq2a xn--9et52u xn--9krt00a
129
+ xn--b4w605ferd xn--bck1b9a5dre4c xn--c1avg xn--c2br7g xn--cck2b3b xn--cg4bki
130
+ xn--clchc0ea0b2g2a9gcd xn--czr694b xn--czrs0t xn--czru2d xn--d1acj3b
131
+ xn--d1alf xn--e1a4c xn--eckvdtc9d xn--efvy88h xn--estv75g xn--fct429k
132
+ xn--fhbei xn--fiq228c5hs xn--fiq64b xn--fiqs8s xn--fiqz9s xn--fjq720a
133
+ xn--flw351e xn--fpcrj9c3d xn--fzc2c9e2c xn--fzys8d69uvgm xn--g2xx48c
134
+ xn--gckr3f0f xn--gecrj9c xn--gk3at1e xn--h2brj9c xn--hxt814e xn--i1b6b1a6a2e
135
+ xn--imr513n xn--io0a7i xn--j1aef xn--j1amh xn--j6w193g xn--jlq61u9w7b
136
+ xn--jvr189m xn--kcrx77d1x4a xn--kprw13d xn--kpry57d xn--kpu716f xn--kput3i
137
+ xn--l1acc xn--lgbbat1ad8j xn--mgb9awbf xn--mgba3a3ejt xn--mgba3a4f16a
138
+ xn--mgba7c0bbn0a xn--mgbaam7a8h xn--mgbab2bd xn--mgbai9azgqp6j
139
+ xn--mgbayh7gpa xn--mgbb9fbpob xn--mgbbh1a71e xn--mgbc0a9azcg xn--mgbca7dzdo
140
+ xn--mgberp4a5d4ar xn--mgbi4ecexp xn--mgbpl2fh xn--mgbt3dhd xn--mgbtx2b
141
+ xn--mgbx4cd0ab xn--mix891f xn--mk1bu44c xn--mxtq1m xn--ngbc5azd xn--ngbe9e0a
142
+ xn--node xn--nqv7f xn--nqv7fs00ema xn--nyqy26a xn--o3cw4h xn--ogbpf8fl
143
+ xn--p1acf xn--p1ai xn--pbt977c xn--pgbs0dh xn--pssy2u xn--q9jyb4c
144
+ xn--qcka1pmc xn--qxam xn--rhqv96g xn--rovu88b xn--s9brj9c xn--ses554g
145
+ xn--t60b56a xn--tckwe xn--tiq49xqyj xn--unup4y xn--vermgensberater-ctb
146
+ xn--vermgensberatung-pwb xn--vhquv xn--vuq861b xn--w4r85el8fhu5dnra
147
+ xn--w4rs40l xn--wgbh1c xn--wgbl6a xn--xhq521b xn--xkc2al3hye2a
148
+ xn--xkc2dl3a5ee0h xn--y9a3aq xn--yfro4i67o xn--ygbi2ammx xn--zfr164b xperia
149
+ xxx xyz yachts yahoo yamaxun yandex ye yodobashi yoga yokohama you youtube
150
+ yt yun za zappos zara zero zip zippo zm zone zuerich zw
76
151
  )
77
152
 
78
153
  DEFAULT_ERROR_MSG = {
@@ -119,14 +194,14 @@ module PAK
119
194
  # Take care of wildcard first label
120
195
  next if options[:allow_wildcard_hostname] and label == '*' and index == 0
121
196
 
122
- # CHECK 3: hostname can only contain characters:
197
+ # CHECK 3: hostname can only contain characters:
123
198
  # a-z, 0-9, hyphen, optional underscore, optional asterisk
124
199
  valid_chars = 'a-z0-9\-'
125
200
  valid_chars << '_' if options[:allow_underscore] == true
126
201
  add_error(record, attribute, :label_contains_invalid_characters, :valid_chars => valid_chars) unless label =~ /^[#{valid_chars}]+$/i
127
202
  end
128
203
 
129
- # CHECK 4: the unqualified hostname portion cannot consist of
204
+ # CHECK 4: the unqualified hostname portion cannot consist of
130
205
  # numeric values only
131
206
  if options[:allow_numeric_hostname] == false and labels.length > 0
132
207
  is_numeric_only = labels[0] =~ /\A\d+\z/
@@ -200,7 +275,7 @@ module PAK
200
275
  :scope => [:errors, :messages]
201
276
  }.merge(interpolators.last.is_a?(Hash) ? interpolators.pop : {})
202
277
  record.errors.add(attr_name, I18n.t( message, args ))
203
- end
278
+ end
204
279
  end
205
280
 
206
281
  class FqdnValidator < HostnameValidator
@@ -1,5 +1,5 @@
1
1
  module PAK
2
2
  module ValidatesHostname
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
5
5
  end
@@ -1,21 +1,21 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: validates_hostname 1.0.6 ruby lib
2
+ # stub: validates_hostname 1.0.7 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "validates_hostname".freeze
6
- s.version = "1.0.6"
6
+ s.version = "1.0.7"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
- s.authors = ["Kim N\u{f8}rgaard".freeze]
11
- s.date = "2016-12-20"
10
+ s.authors = ["Kim N\u00F8rgaard".freeze]
11
+ s.date = "2017-04-14"
12
12
  s.description = "Extension to ActiveRecord::Base for validating hostnames".freeze
13
13
  s.email = "jasen@jasen.dk".freeze
14
14
  s.extra_rdoc_files = ["README.rdoc".freeze, "CHANGELOG.rdoc".freeze, "MIT-LICENSE".freeze]
15
15
  s.files = ["CHANGELOG.rdoc".freeze, "MIT-LICENSE".freeze, "README.rdoc".freeze, "Rakefile".freeze, "lib/validates_hostname".freeze, "lib/validates_hostname.rb".freeze, "lib/validates_hostname/version.rb".freeze, "validates_hostname.gemspec".freeze]
16
16
  s.homepage = "https://github.com/KimNorgaard/validates_hostname".freeze
17
17
  s.licenses = ["MIT".freeze]
18
- s.rubygems_version = "2.5.2".freeze
18
+ s.rubygems_version = "2.6.8".freeze
19
19
  s.summary = "Checks for valid hostnames".freeze
20
20
 
21
21
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_hostname
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Nørgaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.5.2
161
+ rubygems_version: 2.6.8
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Checks for valid hostnames