Giter VIP home page Giter VIP logo

determinator's People

Contributors

cih avatar danielcooper avatar emre-basala avatar geoffwa avatar greyschale avatar israelherskovic avatar jphastings avatar laszlorozsas avatar me avatar novotnyjakub avatar okulik avatar picandocodigo avatar rafet-ongun avatar romainpiel avatar rxbynerd avatar sljory avatar timpwbaker avatar zakharantoshchenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

determinator's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • Update circleci/ruby Docker tag to v2.7
  • Update actions/checkout action to v4
  • Update circleci/ruby Docker tag to v3
  • Update github/codeql-action action to v3
  • ๐Ÿ” Create all pending approval PRs at once ๐Ÿ”

Detected dependencies

circleci
.circleci/config.yml
  • circleci/ruby 2.4
  • circleci/ruby 2.5
  • circleci/ruby 2.6
github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/codeql-scheduled.yml
  • actions/checkout v3
  • ruby/setup-ruby v1
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/gem-push.yml
  • actions/checkout v3
  • ruby/setup-ruby v1
regex
.circleci/config.yml
  • circleci/ruby 2.4
  • circleci/ruby 2.5
  • circleci/ruby 2.6

  • Check this box to trigger a request for Renovate to run again on this repository

Needs to update Installation section

Currently this section says that you need to have such code in your initializer file

Determinator.configure(
  retrieval: Determinator::Retrieve::Dynaconf.new(host: 'localhost:2345'),
  feature_cache: Determinator::Cache::FetchWrapper.new(
    ActiveSupport::Cache::MemoryStore.new(expires_in: 1.minute)
  )
)

But, this class Determinator::Retrieve::Dynaconf does not require host parameter anymore, it requires these parameters base_url, service_name instead

Routemaster sends Hashie::Mash instead of array for overrides

When a feature has an override, the casting to hash seems to fail:

TypeError: wrong element type Hashie::Mash at 0 (expected array)
from /app/vendor/bundle/ruby/2.2.0/gems/determinator-0.3.0/lib/determinator/retrieve/routemaster.rb:53:in `to_h'

Override is broken for `guid` features

What

The part of code that checks overrides for determinations, seem to always look into the id -- while (the features bucket_type is guid) one would the keys on overrides to represent guids.

Solution

There is an easy solution of deciding to use id or guid here -- however backwards compatibility is a big issue here. Two ways I can imagine we get around this:

  1. Do a major release and warn about the breaking change.
  2. Check for both id and guid -- bit hacky but in reality these two never clash, so... we should be fine?

Thoughts?
/cc @jphastings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.