http_stub_docker 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff914957d4d4fb99effc4d6091fc35325517c0d7
4
- data.tar.gz: 8591df873cf11b82215ab6a29a50e9b93ebe2329
3
+ metadata.gz: 864c6dc39a45121617403dd8418bd40fbac5f32b
4
+ data.tar.gz: e1d0fe960b5c0a5ff91b4f9b2660bc1dff34fc47
5
5
  SHA512:
6
- metadata.gz: cde8ced75165de068659ccf643a138307231b95677964a152aad44370cf8b73fe40b447634155b42991d0745a908312cdeebabfd423fdbfc48268db47e011698
7
- data.tar.gz: f0599237e88b12568a765d029de1b35aa874d1cb3756c87b4be2ce994c90c64a8c3b40cd74cdfb24b9215c6929d62e09999a8e8a4cd59a37148d78bef5677677
6
+ metadata.gz: 166106e98df4d2f1cea0d78585cb9a9d462c791bf501f0c2c7c232b95102ad304998f5ccd0c4f09036d3d7c13603bb1ad2c2f01a7b796e33adfeccc50a033623
7
+ data.tar.gz: 4d05df2c9e45d6e56c42e46edf595071532b1479b0904f3bc23d7a74b323d2a5245df7291f5fecfd7dd5e3b9036bdb11b09e63d6bbcdb85072058bd9ac299d0b
@@ -10,7 +10,7 @@ module HttpStubDocker
10
10
  attr_reader :configurer, :stub_name, :stub_dir, :port, :external_base_uri, :version, :task_prefix
11
11
 
12
12
  def initialize(args)
13
- @port = DEFAULT_PORT
13
+ @port = ENV["port"] || DEFAULT_PORT
14
14
  args.each { |name, value| self.instance_variable_set("@#{name}", value) }
15
15
  @external_base_uri ||= "http://localhost:#{@port}"
16
16
  @task_prefix = current_rake_namespace
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_stub_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - dueckes
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.43'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.5'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: wait_until
57
71
  requirement: !ruby/object:Gem::Requirement