Sha256: 09b4553f77a8bb4e360a282ddc429a4bd043ab373632f9f97861280b88e591b0
Contents?: true
Size: 475 Bytes
Versions: 36
Compression:
Stored size: 475 Bytes
Contents
require 'bundler/setup' require 'sequel' Sequel::Model.db = Sequel.sqlite(':memory:') Sequel.extension :migration, :core_extensions require 'generators/flipper/templates/sequel_migration' CreateFlipperTablesSequel.new(Sequel::Model.db).up require 'flipper/adapters/sequel' Flipper[:stats].enable if Flipper[:stats].enabled? puts "Enabled!" else puts "Disabled!" end Flipper[:stats].disable if Flipper[:stats].enabled? puts "Enabled!" else puts "Disabled!" end
Version data entries
36 entries across 36 versions & 1 rubygems