publisher_renote_dac 0.0.16 → 0.0.17

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: f425e2604a92a907d370dd8065252b41665a1b522f736c1ef217d8aae8e3a392
4
- data.tar.gz: 0f3e77eb9a690a49e99cde81f7d0bbfbf43ec82c94fedcd66c04426d1fe7a9fa
3
+ metadata.gz: f829b6587079773994a9107a71334117e21c3436a00835a6a0f093e13b761ff6
4
+ data.tar.gz: c2fb788762f7048961f76048ddc3c5d50b1cbad3d98828833b46f34a9dbdbd0c
5
5
  SHA512:
6
- metadata.gz: 4baa26e9ef3208a6c20a4979ad9249aba30f91efb638a7564099a641da8fe63182fcf79cb167f4128457f055f46ed712a2613afc7c3835a6776cada15e819240
7
- data.tar.gz: 960b24431f3b0a35361b788846307d1a7459f5b49199881d2fff39842ce87481fa9cfd4e6cc1c047d34c597a2555a7d2846809550df36af97e177b7c62b14e15
6
+ metadata.gz: c4d525f430935ff40132a3a0898abc87d6305b54f1fb5f8e56d20c42da6201c6c712833f54058b7fae3dba7255ce423b561c3961b088d604b69a7e2b7c202478
7
+ data.tar.gz: cf77d6b0edcdd8af3b38f129f8efb5160f6ddbd9916752fda136d857388f82f0ecd68719c85e38814259c68972ab4d68b186f36430718044bb5f6d9d4e89e9d3
@@ -1,3 +1,3 @@
1
1
  module PublisherRenoteDac
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.17'
3
3
  end
@@ -4,19 +4,9 @@ namespace :publisher_renote_dac do
4
4
  desc "Setup routing"
5
5
  task :setup do
6
6
  require "bunny"
7
+ require 'json'
7
8
 
8
-
9
- # if Rails.env.production?
10
- # conn_params = ENV['RABBITMQ_BIGWIG_TX_URL']
11
- # else
12
- # conn_params = {
13
- # :vhost => PublisherRenoteDac.configuration.vhost,
14
- # :user => PublisherRenoteDac.configuration.username,
15
- # :password => PublisherRenoteDac.configuration.password
16
- # }
17
- # end
18
-
19
- conn = Bunny.new(Settings.publisher_renote_dac.connection_params)
9
+ conn = Bunny.new(JSON.parse(Settings.publisher_renote_dac.connection_params.to_json))
20
10
  conn.start
21
11
 
22
12
  ch = conn.create_channel
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publisher_renote_dac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidney Leatherwood