lib/google_pubsub_enhancer.rb in google-pubsub-enhancer-0.2.1 vs lib/google_pubsub_enhancer.rb in google-pubsub-enhancer-0.3.0

- old
+ new

@@ -2,11 +2,12 @@ require 'middleware' require 'google/cloud/pubsub' class GooglePubsubEnhancer - require_relative 'google_pubsub_enhancer/constants' - require_relative 'google_pubsub_enhancer/middleware' + require 'google_pubsub_enhancer/constants' + require 'google_pubsub_enhancer/middleware' + require 'google_pubsub_enhancer/spec' class << self def name_by(type, name) raise unless %w(topics subscriptions).include?(type) "projects/#{pubsub_config['project_id']}/#{type}/#{name}"