zonify 0.4.8 → 0.4.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zonify.rb +3 -2
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcf4c8219b20ead0a338ce0e054a0234f6338879
4
- data.tar.gz: 3ea23ee06e011b347bd7302e25c29eb5613cc846
3
+ metadata.gz: a94cce7991de67a3eecc94dc045bc4185aa7fd47
4
+ data.tar.gz: 3ad236c07fc95ce2c7feb0ccebf964cdb0dd5015
5
5
  SHA512:
6
- metadata.gz: cd90e1d3932b8fc53746d8d8c1623ca3efe9f7549dc012cc60d9f65cb78e248e8f7cee3db9feae787a23630ad7d592d8e8037e91f660d1fc03458ecdf59e7d47
7
- data.tar.gz: f966e6595527331405f6137696104ccc208844ef1be35b144c1b11f475b61d65020813fff92f7f68e6e292b909a043e924cc8a9ee0993f07cb87346e49b0c66a
6
+ metadata.gz: 79a613b3fb856692fe7eeabe569366c45b274f76588477aa621050f6e7b798edf24e50b7dbb7f8046971f35a6c0540d9459e4b60a0ee6f6400cb3690a40e02b2
7
+ data.tar.gz: 193f25d67c2130632995677a04f88ba7306467a7e80f91602dda5a89c81cc2e067cafc69718a7bd612402da54eb0f833d0be41157bbc75d5d4d670f5b0fc37da
@@ -464,8 +464,9 @@ end
464
464
 
465
465
  LDH_RE = /^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])$/
466
466
  def string_to_ldh_component(s)
467
- LDH_RE.match(s) ? s.downcase : s.downcase.gsub(/[^a-z0-9-]/, '-').
468
- sub(/(^[-]+|[-]+$)/, '')[0...63]
467
+ munged = LDH_RE.match(s) ? s.downcase : s.downcase.gsub(/[^a-z0-9-]/, '-').
468
+ sub(/(^[-]+|[-]+$)/, '')
469
+ munged[0...63]
469
470
  end
470
471
 
471
472
  def string_to_ldh(s)
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zonify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Dusek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-09 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: |
@@ -34,9 +34,9 @@ executables:
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
- - lib/zonify.rb
38
37
  - README
39
38
  - bin/zonify
39
+ - lib/zonify.rb
40
40
  homepage: https://github.com/solidsnack/zonify
41
41
  licenses:
42
42
  - BSD
@@ -47,17 +47,17 @@ require_paths:
47
47
  - lib
48
48
  required_ruby_version: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - '>='
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - '>='
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
59
  rubyforge_project:
60
- rubygems_version: 2.0.14
60
+ rubygems_version: 2.4.5.1
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: Generate DNS information from EC2 metadata.