New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rosette-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rosette-client

  • 1.0.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

rosette-core

Build Status

Installation

gem install rosette-client

Usage

Configure it! Create the file ~/.rosette/config.yml with configuration options for your Rosette setup:

:host: rosette.mycompany.com
:port: 8080
:version: v1

You should now be able to change directory into a git repository and run rosette commands. If you installed Ruby with rbenv, don't forget to run rbenv rehash to make rosette-client's executable available.

Commands

git rosette commit [<ref>]

Causes the given ref to be processed. If ref is omitted, the current HEAD is assumed. Phrases will be extracted and stored in the data store.

git rosette diff <ref1> [<ref2> | <path>] [-- <path1> <path2> ...]

Show the diff between two refs. If the second ref is omitted, the current HEAD is assumed. You can separate paths from ref arguments with -- for consistency with the git diff command. This command will print phrases that were added, removed, or changed between the two refs.

git rosette show [<ref>]

Print the phrases that were added, removed, or changed in the given ref. If the ref is omitted, the current HEAD is assumed.

git rosette status [<ref>]

Print the translation status of the given ref. This includes how many phrases were found and the percentage translated in each supported locale. If ref is omitted, the current HEAD is assumed.

git rosette snapshot [<ref>]

Print a snapshot of the phrases for the given ref. If ref is omitted, the current HEAD is assumed.

git rosette repo_snapshot [<ref>]

Print the snapshot hash for the given ref. A snapshot is a hash of file paths to commit ids, where each commit id represents the commit the file last changed in. If ref is omitted, the current HEAD is assumed.

Requirements

You've gotta be running a properly configured instance of rosette-server to communicate with, but otherwise there are no external requirements.

Running Tests

bundle exec rake should do the trick.

Authors

FAQs

Package last updated on 12 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc