wonder 0.0.1 → 0.0.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: 847aa25d2a00c17634af3b30b2486825f426be3b
4
- data.tar.gz: 551a1825d0dc22378531082f9d87f8b6bc01ed8b
3
+ metadata.gz: 331421dd05c1e29efd59c32c2dd23a8cdbc0d569
4
+ data.tar.gz: bd26e7c5472914f3da2dc2ac3003d25d524d4cc7
5
5
  SHA512:
6
- metadata.gz: fad447f2972c8785c28463b1e64cbbb677671697481a56c9d17d8b06e0992ffb15c530e37bdc42cdc8c70ed6d067053d68658beb9a8f3405874b2f05d8168023
7
- data.tar.gz: 042afa1d6fc631bd8f903474a82c7778554dcbcef53fb9d482b05fc11dbe7b55ac3c3031faf0560f9b3a4d09f3eb69b6670e0e702a48103737073ab49ffd9477
6
+ metadata.gz: 57145baaaf774344f09226f9df02e6348d3113513e165fb6cc240af4a3edd6c1ece5c534af50baa628fbec08c95bdaf293d2429093744037dfbfeb708a480990
7
+ data.tar.gz: 1311ff50aed0ece01857e9aa8ef484cfcb5aed81d811d0ae399558ea9e09ddd239f72ac34e2da1b3867dacd56d0e5b6237973b6ea1d246b4edcbfc12781d87f3
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Wonder
2
2
 
3
- TODO: Write a gem description
3
+ This gem add encryp and uncryp function to String, also add a format
4
+ function to Integer and Float
4
5
 
5
6
  ## Installation
6
7
 
@@ -18,7 +19,21 @@ Or install it yourself as:
18
19
 
19
20
  ## Usage
20
21
 
21
- TODO: Write usage instructions here
22
+ You can use your private key to encryp or uncryp one string, for example:
23
+ key = "thisismykey"
24
+
25
+ encryped_str = 'HelloWorld'.to_encryp
26
+
27
+ uncryped_str = encryped_str.to_uncryp
28
+
29
+ puts uncryped_str
30
+
31
+ Also you can use commas function to format an Integer or a Float
32
+
33
+ puts 123.commas #123.00
34
+ puts 123.4.commas #123.40
35
+ puts 12345.67.commas #12,345.67
36
+
22
37
 
23
38
  ## Contributing
24
39
 
@@ -1,3 +1,3 @@
1
1
  module Wonder
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/wonder.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["sdr@263.net"]
11
11
  spec.summary = %q{add encryp and uncryp function to String and add format function to Integer and Float.}
12
12
  spec.description = %q{String.to_encryp String.to_uncryp Integer.commas Float.commas}
13
- spec.homepage = "http://www.iwuye.net"
13
+ spec.homepage = "https://github.com/sdr/wonder"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sdr
@@ -54,7 +54,7 @@ files:
54
54
  - lib/wonder/core_ext.rb
55
55
  - lib/wonder/version.rb
56
56
  - wonder.gemspec
57
- homepage: http://www.iwuye.net
57
+ homepage: https://github.com/sdr/wonder
58
58
  licenses:
59
59
  - MIT
60
60
  metadata: {}