diff --git a/Gemfile.lock b/Gemfile.lock index 622678a..e67f424 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - flip_fab (0.0.1) + flip_fab (1.0.0) GEM remote: https://rubygems.org/ diff --git a/example/rails_app/Gemfile.lock b/example/rails_app/Gemfile.lock index 632e045..6ff60a7 100644 --- a/example/rails_app/Gemfile.lock +++ b/example/rails_app/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../../ specs: - flip_fab (0.0.1) + flip_fab (1.0.0) GEM remote: https://rubygems.org/ diff --git a/lib/flip_fab/features_by_name.rb b/lib/flip_fab/features_by_name.rb index 6ab1e50..5e36c52 100644 --- a/lib/flip_fab/features_by_name.rb +++ b/lib/flip_fab/features_by_name.rb @@ -17,6 +17,6 @@ def with_context context FeaturesByName.new Hash[@features_by_name.map{|name, feature| [name, (feature.with_context context)]}] end - def_delegators :@features_by_name, :[]=, :clear, :count + def_delegators :@features_by_name, :[]=, :clear, :count, :each end end diff --git a/lib/flip_fab/version.rb b/lib/flip_fab/version.rb index 7bb989b..116c756 100644 --- a/lib/flip_fab/version.rb +++ b/lib/flip_fab/version.rb @@ -1,3 +1,3 @@ module FlipFab - VERSION = '0.0.1' + VERSION = '1.0.0' end