lucky_flow icon indicating copy to clipboard operation
lucky_flow copied to clipboard

Moving some methods to separate extensions

Open jwoertink opened this issue 3 years ago • 1 comments

Fixes #65

This breaks out the methods that require Lucky, Avram, or Authentic being required. Now you would just require the specific extension you need.

For most apps, it's an easy change:

# spec/spec_helper.cr
require "spec"
require "lucky_flow"
# Add these 3 lines
require "lucky_flow/ext/lucky"
require "lucky_flow/ext/avram"
require "lucky_flow/ext/authentic"

If you're using Lucky, but without Avram or Authentic, just add the require for lucky.

Another PR will need to go up to LuckyCLI to include these. I'll open that next.

jwoertink avatar Aug 29 '22 00:08 jwoertink

no clue why those 2 specs cancelled... I didn't cancel them. Also looks like maybe some issues with Crystal nightly? :thinking:

jwoertink avatar Aug 29 '22 01:08 jwoertink