Herdr UI
Herdr의 TUI가 뛰어나며, 창을 통해 추가되는 기능
Ruby용 아름답고 고성능 피처 플래그 라이브러리
🐬 Beautiful, performant feature flags for Ruby.
개발 도구Ruby · JavaScriptGitHub @flippercloud직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Website | Documentation | Examples | Chat | Twitter | Ruby.social
Beautiful, performant feature flags for Ruby and Rails.
Flipper gives you control over who has access to features in your app.
Control your software — don't let it control you.
bundle add flipper-active_record
bin/rails g flipper:setup
bin/rails db:migrate
flipper-active_record brings in flipper and stores your features in your database. flipper:setup creates config/initializers/flipper.rb and the migration. Prefer Redis, Sequel, or something else? Pick another adapter. Add flipper-ui for a web UI.
To move your features to Flipper Cloud later (free plan, no token needed to start):
bundle exec flipper cloud migrate
Cloud support is built into the flipper gem; the separate flipper-cloud gem is deprecated.
Add this line to your application's Gemfile:
gem 'flipper'
You'll also want to pick a storage adapter, for example:
gem 'flipper-redis'
And then execute:
$ bundle
Or install it yourself with:
$ gem install flipper
💌 Subscribe - we'll send you short and sweet emails when we release new versions (examples).
Do you deploy on Fridays? 👕 Get the tee.
Use Flipper#enabled? in your app to check if a feature is enabled.
# check if search is enabled
if Flipper.enabled?(:search, current_user)
puts 'Search away!'
else
puts 'No search for you!'
end
All features are disabled by default, so you'll need to explicitly enable them.
# Enable a feature for everyone
Flipper.enable :search
# Enable a feature for a specific actor
Flipper.enable_actor :search, current_user
# Enable a feature for a group of actors
Flipper.enable_group :search, :admin
# Enable a feature for a percentage of actors
Flipper.enable_percentage_of_actors :search, 2
Read more about getting started with Flipper and enabling features.
Like Flipper and want more? Check out Flipper Cloud, which comes with:
Cloud is super simple to integrate with Rails (demo app), Sinatra or any other framework.
We also have a free plan that you can use forever.
git checkout -b my-new-feature)bundle exec rake). Check out Docker-Compose if you need help getting all the adapters running.git commit -am 'Added some feature')git push origin my-new-feature)lib/flipper/version.rb and commit.git tag v1.x.x && git push origin v1.x.x| pic | @mention | area |
|---|---|---|
| @jnunemaker | most things | |
| @bkeepers | most things | |
| @dpep | tbd | |
| @alexwheeler | api | |
| @thetimbanks | ui | |
| @lazebny | docker | |
| @pagertree | sponsor | |
| @kdaigle | sponsor |