rabbitmq-sender 0.2.0 → 1.0.0

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: 18fb226d8b332203006a2fde9e39e516fca210be
4
- data.tar.gz: a181c1c99df0bda0af78b69f2581b331dae229b2
3
+ metadata.gz: 97a3be8f73794fb99b612a7699fd17ea2b12b257
4
+ data.tar.gz: 2a91d40f0ef7b8a72ebca6270a5ffb2609274645
5
5
  SHA512:
6
- metadata.gz: 22da2900e2bc75c35f660671dcc0ac158928c5d119c60409ad28e9dc4ac37517f498a968bc0efefecdacdb35b6292b2a3b5b50625ccbada920bd364e395624f4
7
- data.tar.gz: a765d14f872157f54c626c16764b4d34efca447b15e43d41695aec53028075d6eeef7e3202cde79be5a82f0fd99f5be7f8a676f49329d6e1cca34458e0e154bd
6
+ metadata.gz: 241cc0b74706a098fc4b810fb33d1a0bd1efc3d8e2764516b014ecaff07eb78d1316ac108dc54d6f6df9c679a0a7816042ac897cb4536e4d6c11e849be0e7429
7
+ data.tar.gz: 5fd374a2b8800abc0d83a5dc772a8d22cb2c9f3a4a1172f5b44a53d09ce1317ceabb72b062402668f668ecac6e58724c8c5a97591585e8e83dfc244fe6fe1ff7
data/README.md CHANGED
@@ -2,22 +2,6 @@
2
2
 
3
3
  Easy ruby rabbitmq sender.
4
4
 
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'rabbitmq-sender'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install rabbitmq-sender
20
-
21
5
  ## Usage
22
6
 
23
7
  ```ruby
@@ -37,20 +21,35 @@ Rabbitmq::Sender.send_to('send_queue', 'supermessage')
37
21
  ## Configuration - defaults
38
22
  ```
39
23
  logger: Logger.new(STDOUT)
40
- connection: nil
41
24
  host: '8.8.8.8'
42
25
  port: 5672
43
26
  pool: 20
44
27
  timeout: 5
45
28
  user: nil
46
29
  password: nil
47
- vhost: nil
30
+ vhost: '/'
48
31
  prefetch: 10
49
32
  verbose: false
50
33
  retry_time: 5
51
34
 
52
35
  ```
53
36
 
37
+ ## Installation
38
+
39
+ Add this line to your application's Gemfile:
40
+
41
+ ```ruby
42
+ gem 'rabbitmq-sender'
43
+ ```
44
+
45
+ And then execute:
46
+
47
+ $ bundle
48
+
49
+ Or install it yourself as:
50
+
51
+ $ gem install rabbitmq-sender
52
+
54
53
  ## Contributing
55
54
 
56
55
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rabbitmq-sender. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
@@ -18,7 +18,7 @@ module Rabbitmq
18
18
  default timeout: 5
19
19
  default user: nil
20
20
  default password: nil
21
- default vhost: nil
21
+ default vhost: '/'
22
22
  default prefetch: 10
23
23
  default verbose: false
24
24
  default retry_time: 5
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Rabbitmq
9
9
  class Sender
10
- VERSION = "0.2.0"
10
+ VERSION = "1.0.0"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmq-sender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaëtan JUVIN
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-26 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler