wonder 0.0.2 → 0.0.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/lib/wonder/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 331421dd05c1e29efd59c32c2dd23a8cdbc0d569
4
- data.tar.gz: bd26e7c5472914f3da2dc2ac3003d25d524d4cc7
3
+ metadata.gz: 376dd96b0c679d9bfdbe93b749fbae152ce57aa4
4
+ data.tar.gz: 2ba2fd9ea1878f93d55e74c6628739290f1052d1
5
5
  SHA512:
6
- metadata.gz: 57145baaaf774344f09226f9df02e6348d3113513e165fb6cc240af4a3edd6c1ece5c534af50baa628fbec08c95bdaf293d2429093744037dfbfeb708a480990
7
- data.tar.gz: 1311ff50aed0ece01857e9aa8ef484cfcb5aed81d811d0ae399558ea9e09ddd239f72ac34e2da1b3867dacd56d0e5b6237973b6ea1d246b4edcbfc12781d87f3
6
+ metadata.gz: 2af1e6778f8def7601e1f27921cd59a5c6842f3ab4b5d60eeeaa8670798a1c9a61bf853d57e7c5ce49a794c5959b2cb4e991b3f17bd36f0c7f91b8b3ee042772
7
+ data.tar.gz: 27fd8b21a675edff1663252236973ad20c4b94184e482986e768824bdbd63818f47443394cd44c87d45f780cd914c526e52278f95cb57671760a7ce7630fd176
data/README.md CHANGED
@@ -20,19 +20,22 @@ Or install it yourself as:
20
20
  ## Usage
21
21
 
22
22
  You can use your private key to encryp or uncryp one string, for example:
23
+
23
24
  key = "thisismykey"
24
25
 
25
- encryped_str = 'HelloWorld'.to_encryp
26
+ encryped_str = 'HelloWorld'.to_encryp(key)
26
27
 
27
- uncryped_str = encryped_str.to_uncryp
28
+ uncryped_str = encryped_str.to_uncryp(key)
28
29
 
29
30
  puts uncryped_str
30
31
 
31
32
  Also you can use commas function to format an Integer or a Float
32
33
 
33
- puts 123.commas #123.00
34
- puts 123.4.commas #123.40
35
- puts 12345.67.commas #12,345.67
34
+ puts 123.commas #123.00
35
+
36
+ puts 123.4.commas #123.40
37
+
38
+ puts 12345.67.commas #12,345.67
36
39
 
37
40
 
38
41
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module Wonder
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wonder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sdr