cryptoruby 0.1.1 → 0.1.2

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: 5fbe7bbad498d30f0bfe88001bd1ebcee67d81a7
4
- data.tar.gz: 2252ec4a2e6b06ca80e4fc537b8854e39563780c
3
+ metadata.gz: c061e9771668bf15ce313c8bae9357fbaf82eec1
4
+ data.tar.gz: 3dcb70c9af2121ae57ae4c6d78bb58e45a801fb4
5
5
  SHA512:
6
- metadata.gz: 4ad5bb98a75d75048a466a14d9d42143a40385f94c22544b941a9c2c84edcdaf6ff87d96e141dcec98c392ebd99879d0bcaa763b009086328786e1adc747b187
7
- data.tar.gz: 4128ff5867333e6f7f0a60af29ab346c87488b8770041ee863ec7755893b124d85c2d82248259c19c6ee81f4871e4b26706e72803a3a7a6cf01675fd4debd24b
6
+ metadata.gz: d862fac4481aa006eedf39e3362a9fd39abafd7bdda61edca15c686958bdd6dc595043bd0b7e307a36524bc65151817de09e01f7d0ba07a1317668c5bf230fed
7
+ data.tar.gz: 641c90555d2b71efa33c04b6529b6afcf525046cd9b37957981159232ffacbfc2f70fff60059bf68d8d0313e4650ea6109503ba6acc538f89e1e87195dbae408
data/.DS_Store CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cryptoruby (0.1.1)
4
+ cryptoruby (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  # Cryptoruby
7
7
 
8
- How about to have your own blockchain? This gems allow you application to have it...
8
+ How about to have your own blockchain? This gems allow your application to have it...
9
9
 
10
10
  ## Installation
11
11
 
@@ -41,13 +41,13 @@ blockchain << data
41
41
 
42
42
  You see... data can be anything. You can store strings, jsons, arrays, even base64 files.
43
43
 
44
- Then, after adding blocks, you'll need to check if your block is still valid right?
44
+ Then, after adding blocks, you'll need to check if your chain is still valid right?
45
45
  ````ruby
46
46
  blockchain.is_valid? # returns true or false
47
47
  ````
48
- Try change something in the blocks and validating again... this works man... for real!
48
+ Try changing something in the blocks and validating again... this works man... for real!
49
49
 
50
- Ah... almost forgot... you can set the blockchain difficult too...
50
+ Ah... almost forgot... you can set yours blockchain's difficult too...
51
51
  To do so, all you need to do is to change (or instantiate from the beginning) the difficult parameter
52
52
  ````ruby
53
53
  blockchain = Cryptoruby::Blockchain.new(3)
@@ -39,8 +39,8 @@ module Cryptoruby
39
39
  p 'Previous hash doesnt match with the current one'
40
40
  return false
41
41
  end
42
- return true
43
42
  end
43
+ return true
44
44
  end
45
45
 
46
46
  def export
@@ -1,3 +1,3 @@
1
1
  module Cryptoruby
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptoruby
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
  - Gabriel Hamdan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-17 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler