Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Official opinionated Ruby interface for the Lokalise API that represents returned data as Ruby objects.
Looking for a Rails integration? Try the lokalise_rails gem. Also you can use a lokalise_manager gem which allows to exchange translation files between Lokalise and any Ruby script.
Install the gem by running:
$ gem install ruby-lokalise-api
Obtain an API token in your personal profile (API tokens section) and initialize the client:
require 'ruby_lokalise_api'
@client = RubyLokaliseApi.client 'YOUR_TOKEN_HERE'
Now the @client
can be used to perform API requests:
project = @client.project '123.abc'
project.name
process = @client.upload_file project_id,
data: 'Base-64 encoded data... ZnI6DQogI...',
filename: 'my_file.yml',
lang_iso: 'en'
process.status
Alternatively instantiate your client with an OAuth2 token:
@client = RubyLokaliseApi.oauth2_client 'YOUR_OAUTH2_TOKEN_HERE'
Learn how to generate an OAuth2 token in the docs.
Detailed documentation can be found at lokalise.github.io/ruby-lokalise-api.
You can also check this repo containing some usage examples and this blog post with explanations.
This gem is licensed under the BSD 3 Clause license. Prior to version 4 the license type was MIT.
Copyright (c) Lokalise team and Ilya Krukowski
FAQs
Unknown package
We found that ruby-lokalise-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.