Skip to content

Commit e5b0b17

Browse files
committed
removed BEL JSON Graph Format
moved to its own repository: jsongraph/bel-jsongraph-format moved tests to the top-level; updated travis
1 parent 1637584 commit e5b0b17

10 files changed

Lines changed: 11 additions & 351 deletions

File tree

.build/Gemfile.lock

Lines changed: 0 additions & 19 deletions
This file was deleted.

.build/test/test-bel.rb

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/.build/.bundle/
2-
/.build/.gems/
1+
.bundle
2+
.gems
3+
Gemfile.lock

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
language: ruby
2-
gemfile: .build/Gemfile
3-
env:
4-
- BUNDLE_GEMFILE=.build/Gemfile
5-
script: 'bundle exec rake -f .build/Rakefile'
2+
script: bundle exec rake
File renamed without changes.
File renamed without changes.

TESTING.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Testing
22
=======
33

4-
Ruby build and tests exist in `.build`_ to:
4+
Ruby build and tests exist to:
55

66
- validate json graph schema as draft v4 of `JSON schema`_
77
- validate examples against the json graph schema
@@ -13,11 +13,10 @@ How-to
1313

1414
- Install `ruby`.
1515
- Install `bundler` with ``gem install bundler``.
16-
- Install testing dependencies with ``bundle install`` from `.build`_ dir.
17-
- Run:
16+
- Install testing dependencies with ``bundle install``.
17+
- Run tests using rake:
1818

19-
- From `.build`_: ``rake``
20-
- From project root: ``BUNDLE_GEMFILE=.build/Gemfile bundle exec rake -f .build/Rakefile``
19+
- ``bundle exec rake``
2120

2221
.. _travis-ci:
2322

@@ -26,6 +25,5 @@ Travis-CI
2625

2726
Automated testing with Travis-CI at `travis`_.
2827

29-
.. _.build: https://github.com/jsongraph/json-graph-specification/tree/master/.build
3028
.. _JSON schema: http://json-schema.org
3129
.. _travis: https://travis-ci.org/jsongraph/json-graph-specification

child-schemas/bel-json-graph.schema.json

Lines changed: 0 additions & 288 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class ExamplesTest < Minitest::Unit::TestCase
88

99
def setup
10-
root = Pathname(File.dirname(File.expand_path __FILE__)) + '..' + '..'
11-
@schema = JSON.parse File.read(root + 'json-graph-schema.json')
10+
root = Pathname(File.dirname(File.expand_path __FILE__)) + '..'
11+
@schema = JSON.parse File.read(root + 'json-graph-schema.json')
1212
@examples = Dir[root + 'examples' + '*.json']
1313
end
1414

0 commit comments

Comments
 (0)