pact-message 0.10.0 → 0.11.0

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
  SHA256:
3
- metadata.gz: 8626b3359a7fdae0eb187aa5bf25768fbd673059f1af6e78151441834d735317
4
- data.tar.gz: 10f3f19b10d7da81a729680847420d0f80d621728a406929bdca73f36e561c07
3
+ metadata.gz: f26e9b2d322f3bb375df2197aa2180f8de0b4d62e45decf77e4c4b3802505ffa
4
+ data.tar.gz: 130523097c7c65ddc0bf9d9dbf4464d7d17dfb7de97c7ef97471535be265e382
5
5
  SHA512:
6
- metadata.gz: 8b27088fb2e9e6caf5ac067a05c39ed8f17155804411e89532907236f95268343e4c416bac1200dfb58230dc4fd3d79fa45815b32777426ed5b528b3f96fffc5
7
- data.tar.gz: 81b005e65c3dfba662d0fac20f8afcfe0941f8dd1b6332ba7300d3e34be8565acca9269f4605fb3cc90f8feafaaf439a02f32ef11baf40f4bdc6e3b7a314a5ab
6
+ metadata.gz: 184da6d526714237d5ec94c7a27b5c8e8562a91023cd6ede596e6a7aa8adf34ba1249650a01f4f50bcdcbd78fa529799cfd04922a00a51f90f832477f7cd35ff
7
+ data.tar.gz: 8b24b7de4e4d24c41e4520d5ba0008d3ca719f7be4c17fa7c0d70d7bf4ea0fcb32e1910fcb37b543b4040d16e02f9ac672e478dfe06f6961bdbff86a67b7378f
@@ -1,6 +1,6 @@
1
1
  name: Test
2
2
 
3
- on: push
3
+ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ <a name="v0.11.0"></a>
2
+ ### v0.11.0 (2021-03-22)
3
+
4
+ #### Features
5
+
6
+ * update thor dependancy ([87a5f64](/../../commit/87a5f64))
7
+
1
8
  <a name="v0.10.0"></a>
2
9
  ### v0.10.0 (2021-01-22)
3
10
 
data/README.md CHANGED
@@ -94,7 +94,56 @@ Provider states work the same way for Message Pact as they do for HTTP Pact. Ple
94
94
 
95
95
  ## Development
96
96
 
97
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
97
+ ### Setup
98
+
99
+ After checking out the repo, run the following to install dependencies.
100
+
101
+ ```bash
102
+ $ bundle exec bin/setup
103
+
104
+ bundle install
105
+ \+ bundle install
106
+ ...
107
+ Bundle complete! 6 Gemfile dependencies, 29 gems now installed.
108
+ Use `bundle info [gemname]` to see where a bundled gem is installed.
109
+
110
+ Do any other automated setup that you need to do here
111
+ ```
112
+
113
+ ### Tests
114
+
115
+ Run the following command to run the tests.
116
+
117
+ ```bash
118
+ $ bundle exec rake spec
119
+
120
+ the CLI
121
+ creates a pact file with the given message
122
+ creates a pact file with a message from the standard input
123
+ ...
124
+ Finished in 0.50883 seconds (files took 0.15053 seconds to load)
125
+ 26 examples, 0 failures, 2 pending
126
+ ```
127
+
128
+ ### Interactive Prompt
129
+
130
+ You can run the following command for an for an interactive prompt that will allow you to experiment.
131
+
132
+ ```bash
133
+ $ bundle exec bin/console
134
+ 2.6.6 :001 >
135
+ ```
136
+
137
+ To execute commands on the CLI run the following command followed by command line arguments as you would with the published version.
138
+
139
+ ```bash
140
+ $ bundle exec bin/pact-message
141
+ Commands:
142
+ pact-message help [COMMAND] # Describe available commands or one specific command
143
+ pact-message reify # Take a JSON document with embedded pact matchers and return...
144
+ pact-message update MESSAGE_JSON --consumer=CONSUMER --pact-dir=PACT_DIR --provider=PROVIDER # Update/create a pact. If MESSAGE_JSON is omitted or '-', it...
145
+ pact-message version # Show the pact-message gem version
146
+ ```
98
147
 
99
148
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
100
149
 
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Message
3
- VERSION = "0.10.0"
3
+ VERSION = "0.11.0"
4
4
  end
5
5
  end
data/pact-message.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  # and Pact::ConsumerContractWriter. Potentially we should extract
35
35
  # or duplicate these classes to remove the pact-mock_service dependency.
36
36
  spec.add_runtime_dependency "pact-mock_service", "~> 3.1"
37
- spec.add_runtime_dependency "thor", "~> 0.20"
37
+ spec.add_runtime_dependency "thor", '>= 0.20', '< 2.0'
38
38
 
39
39
  spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
40
40
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beth Skurrie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pact-support
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.20'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '2.0'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: '0.20'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rake
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
212
  - !ruby/object:Gem::Version
207
213
  version: '0'
208
214
  requirements: []
209
- rubygems_version: 3.2.6
215
+ rubygems_version: 3.2.15
210
216
  signing_key:
211
217
  specification_version: 4
212
218
  summary: Consumer contract library for messages