mail2cb 0.0.8 → 0.0.10

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
  SHA1:
3
- metadata.gz: 03e52a01d9c2465caaeb3874951ce00a3f0b3647
4
- data.tar.gz: e055dcdc4ea7f9b5bd89ef1678549e499fda2cea
3
+ metadata.gz: b543b885ac95a03294916bf21153e2e24c10f03e
4
+ data.tar.gz: cf6c04c3f0d66a1b101d24fad3805600386304a1
5
5
  SHA512:
6
- metadata.gz: 9e5d2e47b37b64fd4e7a31897d7d779cc47bb771ca9bab299dcfad554393e1411077ce0a4414d40ca0b8c81a2690444b8d42099ca067ef0639f3d4f5a3f3d886
7
- data.tar.gz: edd382fae7014b10ed07ecdc3b61b094207c37659b3eb1d34d1f4163659f14b492818c66170ae78d5841b6d40090f15b5d5db9509ce43fa8b5dfb63fedd28ed7
6
+ metadata.gz: 9b4cf23a8af24d680583c029ac6c3012bd12ab7bbef1173aa542a5c03a55dcca8cde5df2a77f579d5f164cb9029486260826296ba0fe2867c00db355684820b1
7
+ data.tar.gz: afae4ac1dc2e2611bbd262892260b20f1958f87fbb2218d0bfc9eb471e3d78311e1a9fbdfea372800ca58a60af33ece2baa3a7608e925d40a4a1c86de7b30d1d
@@ -125,7 +125,8 @@ module Mail2cb
125
125
  puts "Queueing on redis #{redis_key(@options)}"
126
126
  ap generate_message_hash
127
127
  # puts "___________________________________________________________________________"
128
- $redis.lpush(redis_key(@options), generate_message_hash.to_json)
128
+ ap $redis
129
+ ap $redis.lpush(redis_key(@options), generate_message_hash.to_json)
129
130
  end
130
131
 
131
132
  def body
@@ -26,6 +26,8 @@ module Mail2cb
26
26
  redis_url = URI.parse(ENV["REDIS_URL"])
27
27
 
28
28
  $redis = Redis.new(:host => redis_url.host, :port => redis_url.port)
29
+ puts "GLOBAL REDIS"
30
+ ap $redis
29
31
 
30
32
  Signal.trap("INT") {
31
33
  Thread.new {self.stop}.join
@@ -1,3 +1,3 @@
1
1
  module Mail2cb
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail2cb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - EmergeAdapt