hsume2-localtunnel 0.3.beta.2 → 0.3.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- data/hsume2-localtunnel.gemspec +1 -1
- data/lib/localtunnel/tunnel.rb +6 -2
- metadata +3 -3
data/hsume2-localtunnel.gemspec
CHANGED
data/lib/localtunnel/tunnel.rb
CHANGED
@@ -77,8 +77,12 @@ class LocalTunnel::Tunnel
|
|
77
77
|
urls[k] = URI.join("http://#{tunnel['host']}", v).to_s
|
78
78
|
urls
|
79
79
|
end
|
80
|
-
|
81
|
-
|
80
|
+
sids = [@config['phone_number_sid']]
|
81
|
+
sids |= @config['phone_number_sids'] if @config['phone_number_sids']
|
82
|
+
sids.compact.flatten.each do |sid|
|
83
|
+
pn = @account.incoming_phone_numbers.get(sid).update(properties)
|
84
|
+
puts " Updated #{pn.phone_number} for localtunnel."
|
85
|
+
end
|
82
86
|
end
|
83
87
|
|
84
88
|
puts " Port #{port} is now publicly accessible from http://#{tunnel['host']} ..."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hsume2-localtunnel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196301
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- beta
|
10
|
-
-
|
11
|
-
version: 0.3.beta.
|
10
|
+
- 3
|
11
|
+
version: 0.3.beta.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Jeff Lindsay
|