Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Move example to examples dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
grempe committed May 13, 2016
1 parent badfb70 commit f15580c
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
/pkg/
/spec/reports/
/tmp/
/example/.bundle/
/example/Gemfile.lock
/examples/.bundle/
/examples/Gemfile.lock
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,10 @@ compliant third-party libraries:

[JSRP / JavaScript](https://github.com/alax/jsrp)

Currently supported for SHA1 hash which is not the default. You can configure
JSRP to use SHA1 using the following config directive:

```js
client.init({ username: username, password: password, length: 2048 }, function () {

client.srp.params.hash = 'sha1'

...
})
```

## Usage Example

In this example the client and server steps are interleaved for demonstration
purposes. See the `example` dir for simple working client and server
purposes. See the `examples` dir for simple working client and server
implementations.

``` ruby
Expand Down Expand Up @@ -104,7 +92,7 @@ client.verify(server_H_AMK) == true
## Development

After checking out the repo, run `bin/setup` to install dependencies. Then,
run `rake test` to run the tests. You can also run `bin/console` for an
run `bundle exec rake test` to run the tests. You can also run `bin/console` for an
interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`.
File renamed without changes.
2 changes: 1 addition & 1 deletion example/README.md → examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Install Ruby Dependencies

```
$ cd example
$ cd examples
$ bundle install
```

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f15580c

Please sign in to comment.