mosq 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/mosq/Rakefile +1 -1
  3. data/lib/mosq/util.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cbee712fb0536d070cb58d1d892d066992120a1
4
- data.tar.gz: 5adaa9828b31824d8a08be875a2120ffb3892c17
3
+ metadata.gz: 97ae637c67d2953c3121a5d7a4748c4f9f9efa9f
4
+ data.tar.gz: 7529bcc6420f2588dad4aad2d121563fd6050cad
5
5
  SHA512:
6
- metadata.gz: f1d2359634518bc1794b513bfbac245a951998b915c3360e724932d1ccf3902fdfa9c53727a02697f1cd1a06776a948a5030b66e8345861fc57a8775c208ca65
7
- data.tar.gz: aea1439f96aead78b618debbdffd734f88cc646117957f5dd530d99e29ef02481b7be8185d50ab7cabdb05194469c8533e6072abb4b8a46bd2906e2f049a1ae7
6
+ metadata.gz: 60f70880e4eb12b253bbcfdc6ffe3328a890cb0498b57e287cee2ec993fb9d3616a70abc44fc05759915eb0c17bab0123ca382ec3eba181321c84093480ed098
7
+ data.tar.gz: 65d8bf8cde66fa9b4ca959eb2060027e767a78e66e4934e961357dd3e57c892c2dcf63ab7e4473bf407451a3fd760960568bc44486e4ce65f78a5d55c46db9db
@@ -25,7 +25,7 @@ def cmd(string)
25
25
  end
26
26
 
27
27
  file_task 'mosquitto.tar.gz', :download_tarball do
28
- version = "1.4.2"
28
+ version = "1.4.3"
29
29
  release = "http://mosquitto.org/files/source/mosquitto-#{version}.tar.gz"
30
30
  cmd "wget -O #{FILES[:download_tarball]} #{release}"
31
31
  end
@@ -50,7 +50,7 @@ module Mosq
50
50
  }
51
51
  if uri
52
52
  # TODO: support IPv6
53
- pattern = %r{\A(?<schema>mqtts?)://((?<username>[^:]+):(?<password>[^@]+)@)?(?<host>[^:]+)(:(?<port>\d+))?\Z}
53
+ pattern = %r{\A(?<schema>mqtts?)://((?<username>[^:@]+)(:(?<password>[^@]+))?@)?(?<host>[^:]+)(:(?<port>\d+))?\Z}
54
54
  match = pattern.match(uri)
55
55
  if match
56
56
  info[:ssl] = ("mqtts" == match[:schema])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mosq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe McIlvain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-14 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi