ethereum-base 0.1.0 → 0.1.1

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: de5876380603e16b6768ec297a5d9c7462def5ac
4
- data.tar.gz: 0b8bcb8c6f1c0b38eb816b5f2baf3f4f7cffd6d1
3
+ metadata.gz: e29103e5f9e5109ff26e9ba348e8f1a81f760edb
4
+ data.tar.gz: 86bb6d6d7188be686aff22317f1d1275e1dde60d
5
5
  SHA512:
6
- metadata.gz: 8c090fde521b3d910eedb928c1b0675ab968643cb81b64362a363f747754d2b4d7d9ff38451f39947ae86f2c3c72cac1eebfb25d902f36fa9762ae9bb78a4ac6
7
- data.tar.gz: af77dac8a601cd9760a1e1d71587bd342ee9f955662c51b835dd60efe004d8b4cf3040e6a6dd32f84603631e1bc248611893011bebf4dca2f6a14af5bbdad230
6
+ metadata.gz: 3194a0ef3b02b4b66274cffe015363695d48244e193d310aa3d5506bffc55e79e254961523ca1b35e8401ed46b61260aa96b251c2471cf4ec54f2789e429dfd7
7
+ data.tar.gz: e4153178677053251c9d3a8cb477d741ab61cfbe2b08f60ba8036b066eea038a76974ce7a0eefe1ffefef5c931aeae2513136a2c42a32a1b369d7e82e09c8bcc
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'ethereum/base/version'
4
+ require 'ethereum/base'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "ethereum-base"
@@ -3,6 +3,6 @@ require 'rlp'
3
3
 
4
4
  module Ethereum
5
5
 
6
- autoload :Utils, 'ethereum/utils'
6
+ autoload :Base, 'ethereum/base'
7
7
 
8
8
  end
@@ -2,6 +2,10 @@ require_relative "../ethereum"
2
2
 
3
3
  module Ethereum
4
4
  module Base
5
- # Your code goes here...
5
+
6
+ VERSION = "0.1.1"
7
+
8
+ autoload :Utils, 'ethereum/base/utils'
9
+
6
10
  end
7
11
  end
@@ -1,4 +1,4 @@
1
- module Ethereum
1
+ module Ethereum::Base
2
2
  module Utils
3
3
 
4
4
  def sha256(x)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethereum-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Xie
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-06-23 00:00:00.000000000 Z
12
+ date: 2016-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: digest-sha3
@@ -101,8 +101,7 @@ files:
101
101
  - ethereum-base.gemspec
102
102
  - lib/ethereum.rb
103
103
  - lib/ethereum/base.rb
104
- - lib/ethereum/base/version.rb
105
- - lib/ethereum/utils.rb
104
+ - lib/ethereum/base/utils.rb
106
105
  homepage: https://github.com/janx/ruby-ethereum-base
107
106
  licenses:
108
107
  - MIT
@@ -1,5 +0,0 @@
1
- module Ethereum
2
- module Base
3
- VERSION = "0.1.0"
4
- end
5
- end