seven_bridges 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e16ac8490db8b9f21af9eda33a0ba6e9b8db860e
4
- data.tar.gz: 801430c3f259794c6fc74f3ae4e2f09756782258
3
+ metadata.gz: 85f9c35809ed2a6c6d17e0b0029d18c276b97f37
4
+ data.tar.gz: cbd81d953cabe7669c04a91eb72dc71ea63da942
5
5
  SHA512:
6
- metadata.gz: 4e2bc62f9db91f4a77196407942bc5622b88723c7827ef500b398fd2a9af23ad400d4a4a397bafddd02f3f26388267a5fd628338fc4da24b54ef218811a1d31c
7
- data.tar.gz: 24964e9d8ea15c9061635469781ac251614a6df213d744cbf4544bb98d5c82ebd9f0f9bbb406972285e8c8bca2bf86efb97100d500178c8a3c6521bd414edef1
6
+ metadata.gz: 43f090ea840ce11b8e2f35f0c01e024c1f8fc09ad07cb97334cfd8dbc58cebe218ef13abb0ece8e2e43cff31ca421305d36cecd4239a0fe470a65a7e359afc98
7
+ data.tar.gz: 183e127b0defb7bebf23f50ae014e29d45c2a54a89e5715a041e11c58de107d15437345d0d452b22c73f8ce6a074adb487d93c92ef2d9f42ebe1d885fab130de
data/README.md CHANGED
@@ -1,13 +1,9 @@
1
1
  # SevenBridges
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/seven_bridges`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
3
 
7
4
  ## Installation
8
5
 
9
- Add this line to your application's Gemfile:
10
-
6
+ Add seven_bridges to Gemfile
11
7
  ```ruby
12
8
  gem 'seven_bridges'
13
9
  ```
@@ -22,18 +18,23 @@ Or install it yourself as:
22
18
 
23
19
  ## Usage
24
20
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
21
+ Add an initializer to your project in e.g. /my-sweet-app/config/initializers/seven_bridges_initializer.rb with:
28
22
 
29
- 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 interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
23
+ ```ruby
24
+ require 'seven_bridges'
25
+ require 'neo4j'
32
26
 
33
- ## Contributing
27
+ # TODO USE ENV variable
28
+ n4j = Neo4j::Session.open(:server_db, 'http://localhost:7474')
29
+ n4j.query('match (n) detach delete n')
34
30
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/seven_bridges.
31
+ SevenBridges.configure do |config|
32
+ # change default settings if needed
36
33
 
34
+ # config.klass = MiniTest::Test
35
+ config.project_root = '/path/to/src/my/project/my-sweet-app'
36
+ end
37
+ ```
37
38
 
38
39
  ## License
39
40
 
@@ -40,7 +40,7 @@ module SevenBridges
40
40
  end
41
41
 
42
42
  def nodes_file
43
- File.join(@base_path, "nodes.csv")
43
+ File.join(@base_path, "#{Process.pid}_nodes.csv")
44
44
  end
45
45
 
46
46
  def edges_header_file
@@ -48,7 +48,7 @@ module SevenBridges
48
48
  end
49
49
 
50
50
  def edges_file
51
- File.join(@base_path, "relationships.csv")
51
+ File.join(@base_path, "#{Process.pid}_relationships.csv")
52
52
  end
53
53
  end
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module SevenBridges
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seven_bridges
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Speidel
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-04-22 00:00:00.000000000 Z
13
+ date: 2016-06-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler