origen 0.7.46 → 0.7.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/core_ext/numeric.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8688e7223db63afb14c0f389e2ab3d886a734c5
|
4
|
+
data.tar.gz: 86b84cadd3cef4869577b0d1c0537c520665df6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a12e93f8ecbbae0ace53ee1766c4508915f51cf9723862b991776c510b412e6713aa95394ea1901cc57a4e783f088f41f21f94c2979df5b9a28f837d08a6b12c
|
7
|
+
data.tar.gz: a0146dad6e254c25bb97fd58ad905e5cf8af69690ec7bff85e1a3ee786ac15ca0adf1c28814d0ed83379cb62701aac22f2f8dc1e99f809481c61acd7dbc76293
|
data/config/version.rb
CHANGED
@@ -29,13 +29,15 @@ class Numeric
|
|
29
29
|
result
|
30
30
|
end
|
31
31
|
|
32
|
-
|
32
|
+
# Msps ==> Mega samples per second
|
33
|
+
|
34
|
+
%w(GHz Ghz GTs Gts Gsps).each do |m|
|
33
35
|
define_method m do
|
34
36
|
self * 1_000_000_000
|
35
37
|
end
|
36
38
|
end
|
37
39
|
|
38
|
-
%w(MHz Mhz MTs Mts).each do |m|
|
40
|
+
%w(MHz Mhz MTs Mts Msps).each do |m|
|
39
41
|
define_method m do
|
40
42
|
self * 1_000_000
|
41
43
|
end
|
@@ -75,7 +77,7 @@ class Numeric
|
|
75
77
|
end
|
76
78
|
end
|
77
79
|
|
78
|
-
%w(kHz KHz Khz kO ko kOhm kohm).each do |m|
|
80
|
+
%w(kHz KHz Khz kO ko kOhm kohm ksps).each do |m|
|
79
81
|
define_method m do
|
80
82
|
self * 1_000
|
81
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|