From 94b7fb03f0358f75320aec9e427f8dd073dc74cf Mon Sep 17 00:00:00 2001 From: Mattia Roccoberton Date: Fri, 17 Jan 2020 17:49:55 +0100 Subject: Update extension structure using dev_support --- lib/generators/solidus_subscriptions/install/install_generator.rb | 2 +- lib/solidus_subscriptions.rb | 2 +- lib/solidus_subscriptions/factories.rb | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 lib/solidus_subscriptions/factories.rb (limited to 'lib') diff --git a/lib/generators/solidus_subscriptions/install/install_generator.rb b/lib/generators/solidus_subscriptions/install/install_generator.rb index 75be28e..7214153 100644 --- a/lib/generators/solidus_subscriptions/install/install_generator.rb +++ b/lib/generators/solidus_subscriptions/install/install_generator.rb @@ -22,7 +22,7 @@ module SolidusSubscriptions if run_migrations run 'bundle exec rake db:migrate' else - puts 'Skipping rake db:migrate, don\'t forget to run it!' + puts 'Skipping rake db:migrate, don\'t forget to run it!' # rubocop:disable Rails/Output end end end diff --git a/lib/solidus_subscriptions.rb b/lib/solidus_subscriptions.rb index 31bb464..aa31ea5 100644 --- a/lib/solidus_subscriptions.rb +++ b/lib/solidus_subscriptions.rb @@ -1,6 +1,6 @@ require 'solidus' require 'solidus_support' -require "solidus_subscriptions/ability" +require 'solidus_subscriptions/ability' require 'solidus_subscriptions/engine' require 'deface' require 'state_machines' diff --git a/lib/solidus_subscriptions/factories.rb b/lib/solidus_subscriptions/factories.rb new file mode 100644 index 0000000..745a01e --- /dev/null +++ b/lib/solidus_subscriptions/factories.rb @@ -0,0 +1,4 @@ +# frozen_string_literal: true + +FactoryBot.define do +end -- cgit v1.2.3