bitcoin2graphdb 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55b1eb9d3024b24308bb0c1ae4268eccc5a97591
4
- data.tar.gz: d481780673fc69dba52669c77b323b96dc70064d
3
+ metadata.gz: e0656566bb7bb0137ebbd55e71a542a93cfd5c10
4
+ data.tar.gz: 8cab3c87318083f179255f4d9fea1087785aa549
5
5
  SHA512:
6
- metadata.gz: f6dbe2b91830b2dccbf0a294e549d5bfc940534eeed7f101c22ddd39b624bcf36979fc58b2eff0c68645831841c0bf872fddc7ee2ae5bcab5a0ebeacc90c5268
7
- data.tar.gz: 47f705deaacb59bfa8ed9228024efa164a42bb49a1d4f089f00909362d694f07316b037457550d555a3bf018035609418e416578d5f78964cca8fd0b270b038d
6
+ metadata.gz: 21f51cb0185d54b98c0570f630d21e853abe1871ce8189fb093b277ea15087ced068409bfb073cdc8a9d2d52919d4bdc7b3fa2033e110df2279c130237695343
7
+ data.tar.gz: 4e60e3234297aa8b04322def668d149e2c56d181d9df9773a497887aa6a4258c4031c3173f889002e5cc888f2171d6b87dbb235cb377ac8777352781e5e3351b
data/README.md CHANGED
@@ -43,6 +43,9 @@ bitcoin2graphdb:
43
43
  host: 'Bitcoin Core server host. ex, xxx.xxx.xxx.xxx'
44
44
  neo4j:
45
45
  server: 'neo4j server url. ex, http://localhost:7474'
46
+ basic_auth:
47
+ username: 'neo4j username'
48
+ password: 'neo4j password'
46
49
  ```
47
50
 
48
51
  ## Usage
@@ -3,7 +3,7 @@ module Bitcoin2Graphdb
3
3
 
4
4
  def initialize(config)
5
5
  Bitcoin2Graphdb::Bitcoin.provider = Bitcoin2Graphdb::Bitcoin::BlockchainProvider.new(config[:bitcoin])
6
- Neo4j::Session.open(:server_db, config[:neo4j][:server_url])
6
+ Neo4j::Session.open(:server_db, config[:neo4j][:server_url], {basic_auth: config[:neo4j][:basic_auth]})
7
7
  end
8
8
 
9
9
  def run
@@ -1,3 +1,3 @@
1
1
  module Bitcoin2Graphdb
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoin2graphdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - azuchi