Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ROT13 encryption/decryption
JavaScript Shell HTML Ruby Cucumber
branch: master
Failed to load latest commit information.
bin jslint bin/
features move code to lib/ and bin/
hooks hooks
lib jslint
test jslint
views lili
.editorconfig update editorconfig
.eslintignore eslint
.eslintrc editorconfig
.gitignore move code to lib/ and bin/
.jshintignore lili
.jshintrc editorconfig
.jslintrc jslint
.npmignore fix npmignore
Gemfile lili
Gruntfile.js npm idioms
Guardfile-cucumber regex
Guardfile-lint regex
Guardfile-test mocha
README.md editorconfig
package.json editorconfig
upstart.conf editorconfig

README.md

rotate - ROT13 encryption/decryption

EXAMPLE

$ rotate-cli < `which rotate-cli`
#!/hfe/ova/rai abqr

ine
neti = erdhver("bcgvzvfg").fgevat("u", "f").neti,
ebgngr = erdhver("../yvo/ebgngr");

shapgvba znva() {
  cebprff.fgqva.erfhzr();
  cebprff.fgqva.frgRapbqvat("HGS8");

  cebprff.fgqva.ba("qngn", shapgvba(puhax) {
    cebprff.fgqbhg.jevgr(ebgngr.ebg13(puhax));
  });

  cebprff.fgqva.ba("raq", shapgvba() {});
}

vs (!zbqhyr.cnerag) { znva(); }

HOMEPAGE

http://rot13.yellosoft.us/

NPM

https://www.npmjs.com/package/rotate

INSTALL

$ npm install [-g] rotate

REQUIREMENTS

Optional

DEVELOPMENT

Test

Logic

Ensure the rot13 logic works as expected:

$ npm test

> rotate@0.0.1 test /Users/andrew/Desktop/src/node-rotate
> mocha



  rot
    reversible
      ✓ should be reversible


  1 passing (9ms)

CLI

Ensure the CLI script works as expected:

$ grunt cucumber
Feature: Run example tests

  Scenario: Running example tests            # features/run_example_tests.feature:3
    Given the program has finished           # features/step_definitions/steps.rb:1
    Then the output is correct for each test # features/step_definitions/steps.rb:5

1 scenario (1 passed)
2 steps (2 passed)
0m0.070s

Lint

Keep the code tidy:

$ grunt lint

Spell Check

$ aspelllint
...

Local CI

Guard can automatically check for compliance on file change:

$ bundle
$ guard -G Guardfile-test
$ guard -G Guardfile-cucumber
$ guard -G Guardfile-lint

Git Hooks

See hooks/.

Something went wrong with that request. Please try again.