Giter VIP home page Giter VIP logo

trakerr-ruby's People

Contributors

rmsd avatar severr avatar trakerr-io avatar

Stargazers

 avatar

Watchers

 avatar  avatar

trakerr-ruby's Issues

Modify Sample App

Modify Sample App to take in an API key as an argument. for ease of use running the sample app from the command line.

Add new deploymentStage property.

Add the new deploymentStage property (old envName and change the default values of envName (to be the Ruby name) and Version properties. Change the classification to optional as a descriptor and add the new level enum (or ruby equivalent, old classification).

Update README.MD

Update readme for refactor 1 (TC constructors) & 2 (deploymentStage).

Deprecate the SendException function for a Log function

Deprecation of the public functions should allow Ruby to become closer to the Python API's look, feel, and user experience and expectations. Having a single outward facing function also makes sense, considering that these both do the same thing, with exception only adding a Stacktrace.

Add API v3 fields

New fields:
Add current full URL (for browser apps)
Add operation time in millis
Add tags (constructor)
Add application SKU field (constructor)
Add device type and info (iPhone 7) etc. to SDK (automatic defaults)
Add current CPU and memory usage info (automatic defaults)
Add correlation ID (as a new ID to correlate across applications)

Provide default values for the client contstuctor

Right now, the constructor is

default_config = Trakerr::Configuration.default
default_config.base_path = url || default_config.base_path
@apiKey = apiKey
@contextAppVersion = contextAppVersion
@contextEnvName = contextEnvName
@contextEnvVersion = contextEnvVersion
@contextEnvHostname = contextEnvHostname || Socket.gethostname
@contextAppOS = contextAppOS || RbConfig::CONFIG["target_os"]
@contextAppOSVersion = contextAppOSVersion
@contextAppBrowser = contextAppBrowser
@contextAppBrowserVersion = contextAppBrowserVersion
@contextDataCenter = contextDataCenter
@contextDataCenterRegion = contextDataCenterRegion
api_client = Trakerr::ApiClient.new(default_config)
@events_api = Trakerr::EventsApi.new(api_client)

Provide default values for env name and versions and more detail for appos and apposversions. Both of those may require platform specific shell commands.

gemfile only works on BASH systems

The gemfile won't work on windows due to the find file logic using the bash find. Look into using other solutions.

  s.files         = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
  s.test_files    = `find generated/spec/*`.split("\n")

Fix mkgem.sh

right now, running ./mkgem.sh errors on all commands; valid or no. Figure out why.

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.