recipes/saas.rb in rails_apps_composer-2.2.21 vs recipes/saas.rb in rails_apps_composer-2.2.22
- old
+ new
@@ -91,9 +91,16 @@
copy_from_repo 'spec/models/user_spec.rb', :repo => repo
copy_from_repo 'spec/controllers/content_controller_spec.rb', :repo => repo
copy_from_repo 'spec/mailers/user_mailer_spec.rb', :repo => repo
copy_from_repo 'spec/stripe/stripe_config_spec.rb', :repo => repo
+ # >-------------------------------[ Extras ]--------------------------------<
+ append_file 'config/local_env.example.yml' do <<-FILE
+STRIPE_API_KEY: 'Your_Stripe_API_key'
+STRIPE_PUBLIC_KEY: 'Your_Stripe_Public_Key'
+FILE
+ end
+
### GIT ###
git :add => '-A' if prefer :git, true
git :commit => '-qm "rails_apps_composer: membership app"' if prefer :git, true
end # after_bundler
end # rails-stripe-membership-saas