Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 26, 2015
  1. Add new rubies to travis

    authored
  2. Remove bundler guard stuff from travis

    authored
    guard not used anymore
  3. Lock to rspec 2

    authored
  4. Remove guard

    authored
  5. Double quotes

    authored
Commits on Mar 25, 2015
  1. Merge pull request #38 from aroben/chomp

    authored
    Speed up Subscriber#strip_trailing_question_mark
  2. @aroben

    Speed up Subscriber#strip_trailing_question_mark

    aroben authored
    I noticed this method while profiling Feature#enabled?. Turns out we can
    speed it up without hurting readability by using chomp instead of gsub.
    
        $ cat bench.rb
        require 'benchmark'
    
        Benchmark.bm do |x|
          x.report("gsub ") { 100000.times { %w[enabled enabled?].each { |str| str.to_s.gsub(/\?$/, '') } } }
          x.report("chomp") { 100000.times { %w[enabled enabled?].each { |str| str.to_s.chomp('?') } } }
        end
        $ ruby bench.rb
               user     system      total        real
        gsub   0.270000   0.010000   0.280000 (  0.273812)
        chomp  0.070000   0.000000   0.070000 (  0.071246)
    
    I tried a lot of other variations (\z instead of $, gsub!, sub, sub!,
    slice, slice!, chomp!) and this was the fastest.
    
    I doubt this will have a big effect on Flipper's performance overall,
    but there doesn't seem to be much downside here.
Commits on Mar 21, 2015
  1. Release 0.6.3

    authored
  2. Check true not truthy

    authored
  3. Merge pull request #37 from aroben/memory-clear

    authored
    Make Adapters::Memory#clear conform to expectations
Commits on Mar 20, 2015
  1. @aroben

    Make Adapters::Memory#clear conform to expectations

    aroben authored
    An adapter's #clear method is supposed to return true according to the
    specs.
Commits on Feb 19, 2015
  1. Merge pull request #36 from rafaelfranca/rm-fix-log-subscriber

    authored
    Define Flipper::Instrumentation::LogSubscriber#logger
  2. @rafaelfranca

    Define Flipper::Instrumentation::LogSubscriber#logger

    rafaelfranca authored
    This is a workaround for a Rails bug that by default delegate the logger
    to ActiveSupport::LogSubscriber.
    
    Fixes #29.
Commits on Feb 16, 2015
  1. Merge pull request #35 from blueboxjesse/patch-1

    authored
    Link to ActiveRecord 3 adapter.
  2. @blueboxjesse
Commits on Jan 3, 2015
  1. Merge pull request #34 from bgentry/add-flipper-activerecord-link

    authored
    add link to flipper-activerecord
Commits on Dec 31, 2014
  1. @bgentry
Commits on Oct 9, 2014
  1. Merge pull request #33 from bgentry/master

    authored
    Get rid of undefined any? call on a boolean
Commits on Oct 8, 2014
  1. @bgentry
Commits on Oct 7, 2014
  1. Release 0.6.2

    authored
Commits on Oct 4, 2014
  1. Correct typo

    authored
  2. Merge pull request #32 from jvanbaarsen/add-group-exists

    authored
    Add a method to check in clean way if group exists
Commits on Oct 2, 2014
  1. @jvanbaarsen

    Add a method to check in clean way if group exists

    jvanbaarsen authored
    Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Commits on Aug 3, 2014
Commits on Jul 25, 2014
  1. @ChrisLundquist
  2. @ChrisLundquist
Commits on Jul 3, 2013
  1. Merge pull request #24 from scrogson/patch-1

    authored
    Fix typo in documentation for Flipper.register
Commits on Jul 1, 2013
  1. @scrogson
Commits on Jun 5, 2013
  1. Document feature name as public.

    authored
    Closes #23.
Something went wrong with that request. Please try again.