adler32 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: 35f1dab6deb14f505bd4a719841324c1ab38720e
4
- data.tar.gz: adbb4677a0640c65c758563db91b81e9828ac318
3
+ metadata.gz: e771ba4f36651d934cca79b100d5d91b34efcf53
4
+ data.tar.gz: 8b91629bf6a162844aa78940445a0ffe35b46be4
5
5
  SHA512:
6
- metadata.gz: 7d55c336059b484931b32474b1145531f5d292aa1247ae5747e5dc3068a35a0aacaea4bf150510cefe8e470b4a6ef919aecfebb5cd7dabbab951ba840e4865a3
7
- data.tar.gz: 7c06b6d924c387b86283d45bc5ccc28d043a4910ac973725359c2b1067856e81f0116aa668372237e7bc636b696861e51302f523181361df80127c82a5aabc5f
6
+ metadata.gz: 1aedf37b9c7f816e5cd5f5cf7452d02b0bb3f2c887e9f6fe884a863dd83cac5314472c5c8ff3cc53eced3a5efd59d6c763291d38ef3ce5b78d4c85ea40719f88
7
+ data.tar.gz: d15cee5aee57f7de16471bdfaf31896d93084e9225bd5c3d3dc162c8bee7466cca90eda0a2a17a1ca72ac3d66b938a8d8da1eaa361a11f175fc0519ae17dbb6c
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Adler32
2
2
 
3
- TODO: Write a gem description
3
+ A Ruby implementation of Adler-32 checksum algorithm
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,15 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ ```ruby
22
+ require "adler32"
23
+
24
+ # with single value
25
+ Adler32.checksum 'abc' # => "024d0127"
26
+
27
+ # multiple arguments can be handled
28
+ Adler32.checksum 'abc', 'def' # => "081e0256"
29
+ ```
22
30
 
23
31
  ## Contributing
24
32
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["maco.sakata@gmail.com"]
11
11
  spec.summary = "A Ruby implementation of Adler-32 checksum algorithm"
12
12
  spec.description = "see http://en.wikipedia.org/wiki/Adler-32 for the algorithm details"
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/sakatam/adler32-ruby"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -1,3 +1,3 @@
1
1
  module Adler32
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adler32
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
  - Makoto Sakata
@@ -54,7 +54,7 @@ files:
54
54
  - lib/adler32.rb
55
55
  - lib/adler32/version.rb
56
56
  - test/test_alder32.rb
57
- homepage: ''
57
+ homepage: https://github.com/sakatam/adler32-ruby
58
58
  licenses:
59
59
  - MIT
60
60
  metadata: {}