uri 0.10.0.1 → 0.10.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of uri might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3b158c683f8484c1e59b7722dd04903bbf64c913b7da063d97319474a030624
4
- data.tar.gz: 4793805246221242e7e24a7caec63dd9b811e2a79b0f2de939a6cdb25d96aa95
3
+ metadata.gz: a0795475cdc2622d6c4acf7fd31efcd35e7c70acbbe28469ad0724f4b84ac4b2
4
+ data.tar.gz: 23c0c452ecf9d0613a3a8ca7f496bd2fa7411a0059cf76b3630af0ff78c2d39c
5
5
  SHA512:
6
- metadata.gz: e41c7c38b072acef51bd232756f7f36f6f13f095f55c047e1281a743c22e5cd8240458bfd2f6be6dab797e0d523c17b2e03ee80727fb5e684f4bd7cf7af5193a
7
- data.tar.gz: 1b12fff421369db83d99ca0be483cf796f6e41879fc49e59d62b51ad98cf65b80e37c9fcf999c6279030f8a0253582c720ee1331de745b7c622c924ec6a9dd46
6
+ metadata.gz: 5f9947c9f7fc1fecdfa91307cd20427e889897e8e210a0815e040db9a785bf2f1f92892a0984e8e7413bb2c88761e54ebb3e8d3e99f5a91a63cf3577a09ac7ce
7
+ data.tar.gz: fa4d25cd9db6de2ffc10ee82afa573c87cb18df0a836ce205cd3a58da5283f1bc36c634f55349b424522f24d73497db3f05229097f3dfb8e49d1013b8c134e27
data/lib/uri/ldap.rb CHANGED
@@ -119,6 +119,7 @@ module URI
119
119
 
120
120
  # Private method to cleanup +dn+ from using the +path+ component attribute.
121
121
  def parse_dn
122
+ raise InvalidURIError, 'bad LDAP URL' unless @path
122
123
  @dn = @path[1..-1]
123
124
  end
124
125
  private :parse_dn
data/lib/uri/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module URI
2
2
  # :stopdoc:
3
- VERSION_CODE = '00100001'.freeze
3
+ VERSION_CODE = '00100002'.freeze
4
4
  VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
5
5
  # :startdoc:
6
6
  end
data/uri.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ `git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
25
  end
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.1
4
+ version: 0.10.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Yamada