rabbitmq-spec 1.0.0 → 1.0.1

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: 4a9f34c7df10979441244efee2a0a2fa56ec5c26
4
- data.tar.gz: f406382890793b3ddae3920d2ee5fde551265a19
3
+ metadata.gz: 5d1814e687f3b0ce55d3baca067879c62365a0b8
4
+ data.tar.gz: e6af3aaea895f09c47893d4996e10e59120635bb
5
5
  SHA512:
6
- metadata.gz: 6965db045ff2714dc83385ed154dddfe5b5d83a9dea5842596b8d8e843cdbeb962c6f87af7e5dcfe049709c9aca205bf73451c05334a6ca0e0be24704e67141f
7
- data.tar.gz: 94396fb9fdd69bea1bbba4ac590dffd3ebec59e5c11b1d6eafae65bee5245a2aae697f1e16cbbb866818a17ce67a224fd1db10bf667ac4c0a969ae8606133952
6
+ metadata.gz: 97f57760a21a605dc747db947c62b0049bdfdf57a1b026aee8c5b3ca4e6c9b44d3c7fc87de49b9ff4c7ae7a6352f364857bb9fbf5d0aafc44c2b524c51620cbc
7
+ data.tar.gz: ce151b629973854e7cdfad63a78e45a5109e5573131ccad9b9678cdbee97016230cc1647ff23638b8b29aa6936469b0b7a4b46956aa3e721b673455b7c78101c
data/.rubocop.yml CHANGED
@@ -11,6 +11,7 @@ Style/FrozenStringLiteralComment:
11
11
 
12
12
  AllCops:
13
13
  Exclude:
14
+ - rabbitmq-spec.gemspec
14
15
  - 'exe/**/*'
15
16
  - 'bin/**/*'
16
17
  - 'spec/**/*'
data/README.md CHANGED
@@ -61,6 +61,8 @@ On each mqspec file. You can use the following syntax:
61
61
  durable true
62
62
  end
63
63
 
64
+ # this queue will be binded to the parent exchange
65
+ # it will be created if it not exists yet.
64
66
  queue 'queue-name' do
65
67
  description 'queue1 description' # optional
66
68
  routing_key 'my-custom-routing-key' # optional
@@ -76,7 +78,7 @@ On each mqspec file. You can use the following syntax:
76
78
 
77
79
  ## RabbitMQ Setup
78
80
 
79
- To understant how to use rabbitmq-spec just type the following on your shell after installing the gem:
81
+ To understand how to use rabbitmq-spec just type the following on your shell after installing the gem:
80
82
 
81
83
  ```shell
82
84
 
@@ -115,7 +117,7 @@ Here we're using Rspec with simplecov and rubocop.
115
117
 
116
118
  ## Contributing
117
119
 
118
- If you have any idea for a feature or have found any bugs feel free to open a new issue at.
120
+ If you have any idea for a feature or have found any bugs feel free to open a new issue at:
119
121
 
120
122
  https://github.com/viniciusoyama/rabbitmq-spec.
121
123
 
@@ -22,8 +22,8 @@ class RabbitMQSpec::Setup
22
22
  rescue Exception => ex
23
23
  raise ex
24
24
  ensure
25
- channel&.close
26
- client&.close
25
+ channel and channel.close
26
+ client and client.close
27
27
  end
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module RabbitMQSpec
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmq-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vinicius Oyama