Skip to content

Commit c79a160

Browse files
author
Piotr Kuczynski
committed
Move heroku integrations to the Integrations module
1 parent cb5372b commit c79a160

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
require "bundler"
1+
require 'bundler'
22

33
module Config
4-
module Tasks
4+
module Integrations
55
class Heroku < Struct.new(:app)
66
def invoke
77
puts 'Setting vars...'
@@ -56,4 +56,4 @@ def to_dotted_hash(source, target = {}, namespace = nil)
5656
end
5757
end
5858
end
59-
end
59+
end

lib/config/tasks/heroku.rake

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# require 'config'
2-
require 'config/tasks'
1+
require 'config/integrations/heroku'
32

43
namespace 'config' do
54
task :heroku, [:app] => :environment do |_, args|
6-
Config::Tasks::Heroku.new(args[:app]).invoke
5+
Config::Integrations::Heroku.new(args[:app]).invoke
76
end
8-
end
7+
end

0 commit comments

Comments
 (0)