Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed May 1, 2020
1 parent cbf004e commit d6691ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: amqpcat
version: 0.1.1
version: 0.1.2

authors:
- Carl Hörberg <carl@cloudamqp.com>
Expand Down
6 changes: 3 additions & 3 deletions src/amqpcat.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ require "option_parser"
require "amqp-client"

class AMQPCat
VERSION = {{ `git describe 2>/dev/null || shards version`.chomp.stringify }}
VERSION = {{ `git describe 2>/dev/null || shards version`.stringify.gsub(/(^v|\n)/, "") }}

def initialize(@uri : String)
@client = AMQP::Client.new(@uri)
def initialize(uri : String)
@client = AMQP::Client.new(uri)
end

def produce(exchange : String, routing_key : String)
Expand Down

0 comments on commit d6691ce

Please sign in to comment.