Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Library for generating version file for the project. For example if you have several clients with standalone installation of your project and you are planning to check versions of the app and make deployments. You can add to the deployment hooks tasks version file builder and then access to this file through public folder.
Add this line to your application's Gemfile:
gem 'versionius'
And then execute:
$ bundle
Or install it yourself as:
$ gem install versionius
If you are using Rails 2 you can add to your deploy.rb or Rakefile
require 'versionius/tasks'
Now we can create a custom deploy task for capistrano like that:
before 'deploy' do
sh <<-CMD
rake versionius:minor
CMD
end
after 'deploy' do
run <<-CMD
rake versionius:build
CMD
end
It will create a minor version of the project(new tag), make 'git push --tags origin master', generate new version.txt file in the public folder after deployment.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that versionius demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.