Skip to content

Commit

Permalink
chore: add in cleanups that went missing
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Feb 21, 2024
1 parent 2f0489a commit 1941aaf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
source 'https://rubygems.org'

gem 'yggdrasil-engine', "~> 0.0.5.beta.9"

# Specify your gem's dependencies in unleash-client.gemspec
gemspec
4 changes: 1 addition & 3 deletions lib/unleash/strategies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ def custom_strategies
end

def known_strategies
@strategies.keys.map { |key| { name: key } }
@strategies.keys.map{ |key| { name: key } }
end

private

DEFAULT_STRATEGIES = ['applicationHostname', 'default', 'flexibleRollout', 'gradualRolloutRandom', 'gradualRolloutSessionId',
'gradualRolloutUserId', 'remoteAddress', 'userWithId'].freeze
end
Expand Down
1 change: 1 addition & 0 deletions unleash-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.5"

spec.add_dependency "murmurhash3", "~> 0.1.7"
spec.add_dependency "yggdrasil-engine", "~> 0.0.5.beta.9"

spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "rake", "~> 12.3"
Expand Down

0 comments on commit 1941aaf

Please sign in to comment.