ecdsa 1.1.0 → 1.2.0

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: 25e8c83f3ce99fc8aa59227d35d585c6e9a6243d
4
- data.tar.gz: 075eae949de245595465e56bc88cf343a96963a4
3
+ metadata.gz: 699ca15afbdc07cd6695b62ee3a7b34fecfd6bba
4
+ data.tar.gz: 0537e82bf3edddc7966b741dbbf4f23511b1ccf2
5
5
  SHA512:
6
- metadata.gz: cc8301baedb1e03857302738d7573c2a9cf3a521a6f396529879a190190c2e17f2074a2105277d7296d8fe8535e8322fd51d0a763322f4018d74ac0e171eb024
7
- data.tar.gz: a85fdcc62172795e57e3926e14a7c910568b68672cf51a753aa53bd46018eabddb1e8cc4800319fedfb878f0f36d9aa10c2168447ea96918119840e000ccd0d1
6
+ metadata.gz: 84920674dc7d746b46f0fcee632a51f0f5bd7becccf65f02229fa85e5525b61194a369b8820275c800a98faa8def86ac056b7e2153b109a04b12c04cdf10890e
7
+ data.tar.gz: 05022113ee5c0b7a2e797a00e57b3727db515e92c4990bf691ceb019ca328518d120bba7da49c86e08e230c690ee40f9a87e6c8f78e1cb9642bd97f3b59b6cde
@@ -83,6 +83,9 @@ module ECDSA
83
83
  raise "Failed to add #{inspect} to #{other.inspect}: No addition rules matched."
84
84
  end
85
85
 
86
+ # (see #add_to_point)
87
+ alias_method :+, :add_to_point
88
+
86
89
  # Returns the additive inverse of the point.
87
90
  #
88
91
  # @return (Point)
@@ -123,6 +126,9 @@ module ECDSA
123
126
  result
124
127
  end
125
128
 
129
+ # (see #multiply_by_scalar)
130
+ alias_method :*, :multiply_by_scalar
131
+
126
132
  # Compares this point to another.
127
133
  #
128
134
  # @return (true or false) true if the points are equal
@@ -1,3 +1,3 @@
1
1
  module ECDSA
2
- VERSION = '1.1.0'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecdsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Grayson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-20 00:00:00.000000000 Z
11
+ date: 2014-09-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: davidegrayson@gmail.com