pretty_number 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: 08dabb9faf8b26360c55ac2af480e3905a602e13
4
- data.tar.gz: cd04778f45dd4cc83ff54467780e36a93692aa68
3
+ metadata.gz: 8231d5a4fabae7b1c2a4706b5e0f07cfcd1b8a7d
4
+ data.tar.gz: fbb0c686524d41294a7b2fde8df8228ffe2973e3
5
5
  SHA512:
6
- metadata.gz: 9b653832a0445be00fff5b9087a4b13b6291283bfc81ed0996e3b10eb4dd10c3b7b883e431377dd85dd89b786c2dfe2bd09be2b0e0f20437e211d48760f343b8
7
- data.tar.gz: 1d25fbf17e8fb08cdb4a99febf29f9ebec35303d70a7be11cbf01f5a166cfa3a08ce24d563418220ad4a83c7beeff9b09897d7385f3b5eb41e6f7338eaadaf06
6
+ metadata.gz: 9326e986241499aaf2ff673f0d5a8c26f54d1798a89c71af346942e68b0064879a5c338d5f3265987c64333e28cb02036474216e42b3c6dd98745427ae70fe76
7
+ data.tar.gz: fa5d91825b5a77d8dc40d3ca764188f764f3c5cb91cdfbb10e8cbe007c78115b9ead43a8a402c909cbc07ed93b9b8469c169eea856ff6010a475f0179aedf58f
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # PrettyNumber
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pretty_number`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ A Gem For Encrypt And Decrypt Nonnegative Number
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,14 +20,19 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ #### Encrypt
26
24
 
27
- ## Development
25
+ You Can Direct Used By the Method `PrettyNumber.encrypt 1234` To Encrypt Number
26
+ or Custom Encrypted Array Under Initializers Like `$pretty_number = PrettyNumber.init ['ß', '£', '¢', '∞', 'Ω']` and Encrypted Number Through `$pretty_number.encrypt 1234`
27
+
28
+ #### Decrypt
28
29
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+ Similar To Encrypted: `PrettyNumber.decrypt "kD"` or `$pretty_number.decrypt "£ΩΩ£Ω"`
31
+
32
+ ## Development
30
33
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
+ [rubygems.org](https://rubygems.org/profiles/cckkll).
32
35
 
33
36
  ## Contributing
34
37
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pretty_number.
38
+ https://github.com/chengyuanheng/pretty_number.
@@ -1,3 +1,3 @@
1
1
  module PrettyNumber
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -5,12 +5,13 @@ require "pretty_number/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "pretty_number"
7
7
  spec.version = PrettyNumber::VERSION
8
+ spec.licenses = ['MIT']
8
9
  spec.authors = ["cckkll"]
9
10
  spec.email = ["237178842@qq.com"]
10
11
 
11
12
  spec.summary = %q{encrypt and decrypt number }
12
13
  spec.description = %q{encrypt and decrypt number}
13
- spec.homepage = "https://github.com/chengyuanheng"
14
+ spec.homepage = "https://github.com/chengyuanheng/pretty_number"
14
15
 
15
16
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
17
  # to allow pushing to a single host or delete this section to allow pushing to any host.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_number
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
  - cckkll
@@ -54,8 +54,9 @@ files:
54
54
  - lib/pretty_number.rb
55
55
  - lib/pretty_number/version.rb
56
56
  - pretty_number.gemspec
57
- homepage: https://github.com/chengyuanheng
58
- licenses: []
57
+ homepage: https://github.com/chengyuanheng/pretty_number
58
+ licenses:
59
+ - MIT
59
60
  metadata:
60
61
  allowed_push_host: https://rubygems.org
61
62
  post_install_message: