pact 1.41.1 → 1.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6d1e46624d3756dd84a50512d752e7e9b57a350
4
- data.tar.gz: 2a809893a9f2079e56cd7731c05295aa6834f595
3
+ metadata.gz: 682d57626c30c4ce3f4e83038a3e5ff54d0f4878
4
+ data.tar.gz: 7eb5834ea442abebf6e8739a5a2746514560fdc8
5
5
  SHA512:
6
- metadata.gz: e1938a05fdd651247fe0a0c8786ea6b603b7c6364105c40571a72953d9e5cb13fc963ec56591ebb3dc47273f9ca254b47b36c7c924d669143e8c0d726b35bc68
7
- data.tar.gz: b4ef952c2d0c7ccc62e1a65e46ec174b0443e87727668721449cab333bae7a9542071c34b915e3df24e15d8bcac24a825867417847c4dceb17571630e792d90a
6
+ metadata.gz: 369f376d001db7fac67ed5fce394dd0672c735de178c4c940b67082e7f36e7b8f43e18f2eb91d93403c969a1c26a995c229331f14780563e18b957456951b814
7
+ data.tar.gz: db56fdd2c74f3cba9dd6b1e3ec7983eb50a46888f2c6ea7a9a70f2153738be1bbd6a53894a433d70d8f8dd4329b3526334b31c825cc7bcf75d4072e962f4f506
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ <a name="v1.41.2"></a>
2
+ ### v1.41.2 (2019-09-10)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * **pact_helper_locator**
8
+ * add 'test' dir to file patterns (#196) ([746883d](/../../commit/746883d))
9
+
10
+ * file upload spec ([0fe072c](/../../commit/0fe072c))
11
+
12
+
1
13
  <a name="v1.41.1"></a>
2
14
  ### v1.41.1 (2019-09-04)
3
15
 
@@ -1,21 +1,24 @@
1
1
  module Pact
2
2
  module Provider
3
3
  module PactHelperLocater
4
- PACT_HELPER_FILE_PATTERNS = [
4
+ PACT_HELPER_FILE_PATTERNS = [
5
5
  "spec/**/*service*consumer*/pact_helper.rb",
6
6
  "spec/**/*consumer*/pact_helper.rb",
7
7
  "spec/**/pact_helper.rb",
8
- "**/pact_helper.rb"]
8
+ "test/**/*service*consumer*/pact_helper.rb",
9
+ "test/**/*consumer*/pact_helper.rb",
10
+ "test/**/pact_helper.rb",
11
+ "**/pact_helper.rb"
12
+ ]
9
13
 
10
- NO_PACT_HELPER_FOUND_MSG = "Please create a pact_helper.rb file that can be found using one of the following patterns: #{PACT_HELPER_FILE_PATTERNS.join(", ")}"
11
-
12
- def self.pact_helper_path
13
- pact_helper_search_results = []
14
- PACT_HELPER_FILE_PATTERNS.find { | pattern | (pact_helper_search_results.concat(Dir.glob(pattern))).any? }
15
- raise NO_PACT_HELPER_FOUND_MSG if pact_helper_search_results.empty?
16
- File.join(Dir.pwd, pact_helper_search_results[0])
17
- end
14
+ NO_PACT_HELPER_FOUND_MSG = "Please create a pact_helper.rb file that can be found using one of the following patterns: #{PACT_HELPER_FILE_PATTERNS.join(", ")}"
18
15
 
16
+ def self.pact_helper_path
17
+ pact_helper_search_results = []
18
+ PACT_HELPER_FILE_PATTERNS.find { | pattern | (pact_helper_search_results.concat(Dir.glob(pattern))).any? }
19
+ raise NO_PACT_HELPER_FOUND_MSG if pact_helper_search_results.empty?
20
+ File.join(Dir.pwd, pact_helper_search_results[0])
21
+ end
19
22
  end
20
23
  end
21
24
  end
data/lib/pact/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.41.1"
3
+ VERSION = "1.41.2"
4
4
  end
data/pact.gemspec CHANGED
@@ -20,6 +20,12 @@ Gem::Specification.new do |gem|
20
20
  gem.require_paths = ["lib"]
21
21
  gem.license = 'MIT'
22
22
 
23
+ gem.metadata = {
24
+ 'source_code_uri' => 'https://github.com/pact-foundation/pact-ruby',
25
+ 'bug_tracker_uri' => 'https://github.com/pact-foundation/pact-ruby/issues',
26
+ 'documentation_uri' => 'https://github.com/pact-foundation/pact-ruby/blob/master/README.md'
27
+ }
28
+
23
29
  gem.add_runtime_dependency 'randexp', '~> 0.1.7'
24
30
  gem.add_runtime_dependency 'rspec', '>=2.14'
25
31
  gem.add_runtime_dependency 'rack-test', '>= 0.6.3', '< 2.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.1
4
+ version: 1.41.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Fraser
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-09-04 00:00:00.000000000 Z
15
+ date: 2019-09-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp
@@ -380,7 +380,10 @@ files:
380
380
  homepage: https://github.com/pact-foundation/pact-ruby
381
381
  licenses:
382
382
  - MIT
383
- metadata: {}
383
+ metadata:
384
+ source_code_uri: https://github.com/pact-foundation/pact-ruby
385
+ bug_tracker_uri: https://github.com/pact-foundation/pact-ruby/issues
386
+ documentation_uri: https://github.com/pact-foundation/pact-ruby/blob/master/README.md
384
387
  post_install_message:
385
388
  rdoc_options: []
386
389
  require_paths: