Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
== The Ocean gem
This repository contains the Ocean ruby gem, containing common framework functionality for the Ruby on Rails part of the architecture.
Ocean requires Ruby 2.2 and Ruby on Rails 4.2.0 or later.
{}[http://badge.fury.io/rb/ocean-rails]
=== What does ocean-rails provide?
Thus, the +ocean-rails+ gem provides all the abstractions you need for creating very terse and powerful controller and model code. It's a good idea to browse the documentation.
=== Documentation
=== Creating an Ocean Rails app
Cf. the tutorial at http://wiki.oceanframework.net/index.php/Tutorial for information on about how to set up an Ocean Rails app and create Ocean Resources for it.
=== Running the specs
There are no runtime dependencies. Simply run:
bundle exec rspec
All tests should pass.
=== Rails console
The Rails console is available from the built-in dummy application:
cd spec/dummy rails console
You're now in a sandbox environment (thanks to +webmock+): HTTP accesses are disallowed; each HTTP access you make will be intercepted with a message describing exactly how to mock it away.
To enable HTTP traffic:
WebMock.allow_net_connect!
Please refer to the +webmock+ gem documentation for full information. It's possible to prevent traffic only to specific hosts (e.g. +localhost+).
When you leave the console, you must navigate back to the Rails directory (cd ../..) in order to be able to run RSpec again.
FAQs
Unknown package
We found that ocean-rails 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.