Project

fix-its

0.0
No commit activity in last 3 years
No release in over 3 years
Provides "its" method for attribute matching.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 12.3
~> 0.67
~> 0.16
~> 0.9

Runtime

~> 0.18.1
 Project Readme

Fix::Its

Build Status Code Climate Gem Version Inline docs Documentation

Provides its method for attribute matching.

Contact

Rubies

Installation

Add this line to your application's Gemfile:

gem 'fix-its'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fix-its

Let's get started!

asciicast

Usage

Given this code:

require 'fix/its'

Fix.describe -6 * 7 do
  its(:abs) { MUST equal 42 }
end

The output should look like this:

$ ruby answer_spec.rb
.

Ran 1 tests in 0.000164 seconds
100% compliant - 0 infos, 0 failures, 0 errors

Security

As a basic form of security Fix::Its provides a set of SHA512 checksums for every Gem release. These checksums can be found in the checksum/ directory. Although these checksums do not prevent malicious users from tampering with a built Gem they can be used for basic integrity verification purposes.

The checksum of a file can be checked using the sha512sum command. For example:

$ sha512sum pkg/fix-its-0.1.0.gem
26198b7812a5ac118a5f2a1b63927871b3378efb071b37abb7e1ba87c1aac9f3a6b45eeae87d9dc647b194c15171b13f15e46503a9a1440b1233faf924381ff5  pkg/fix-its-0.1.0.gem

Versioning

Fix::Its follows Semantic Versioning 2.0.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

See LICENSE.md file.


This project is sponsored by:

Sashite