summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMattia Roccoberton <mat@blocknot.es>2020-01-17 17:49:55 +0100
committerMattia Roccoberton <mat@blocknot.es>2020-01-20 09:08:24 +0100
commit94b7fb03f0358f75320aec9e427f8dd073dc74cf (patch)
treed5247bb8b64a139f988bed6bae07df7e0ba3bd0a /lib
parent3292f7cc82812a05cbed8ffa27d9d212021ccfc7 (diff)
Update extension structure using dev_support
Diffstat (limited to 'lib')
-rw-r--r--lib/generators/solidus_subscriptions/install/install_generator.rb2
-rw-r--r--lib/solidus_subscriptions.rb2
-rw-r--r--lib/solidus_subscriptions/factories.rb4
3 files changed, 6 insertions, 2 deletions
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