nsisam 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/nsisam/fake_client.rb +4 -1
- data/nsisam.gemspec +1 -1
- data/spec/fake_client_spec.rb +1 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
data/lib/nsisam/fake_client.rb
CHANGED
@@ -12,12 +12,15 @@ module NSISam
|
|
12
12
|
attr_reader :host, :port
|
13
13
|
|
14
14
|
def initialize(host="localhost", port="8888")
|
15
|
-
WebMock.allow_net_connect!
|
16
15
|
@storage = {}
|
17
16
|
@host = host
|
18
17
|
@port = port
|
19
18
|
end
|
20
19
|
|
20
|
+
def allow_net
|
21
|
+
WebMock.allow_net_connect!
|
22
|
+
end
|
23
|
+
|
21
24
|
def download_link_for_file(key)
|
22
25
|
"http://#{@host}:#{@port}/file/#{key}"
|
23
26
|
end
|
data/nsisam.gemspec
CHANGED
data/spec/fake_client_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsisam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
segments:
|
190
190
|
- 0
|
191
|
-
hash: -
|
191
|
+
hash: -1940775223437121320
|
192
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|