teepee 0.12.10 → 0.12.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teepee/command-parser.rb +2 -0
- data/lib/teepee/commander.rb +8 -0
- 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: ecf663db7d98476598a43fc1a2f56555ccdc76ee
|
4
|
+
data.tar.gz: 29fe97871b75e502cb0c01196cdb1f0762efe180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 168e130a4d794f1f906e7ad6996b650d4771167748e10f8797bc736d65b383ddac85a6a7c961f40b187abeeb15f98b61d9a9d0d418536f45ebab8fd6bc47eb04
|
7
|
+
data.tar.gz: f2af3dff36c80878129014eee1302592e3714961beaedf415bd570267eb15385c9519b953ff12193f8014069b1234803c4d03af624508b9d5d13502d5027c6af
|
data/lib/teepee/commander.rb
CHANGED
@@ -677,6 +677,14 @@ module Teepee
|
|
677
677
|
"]"
|
678
678
|
end
|
679
679
|
|
680
|
+
def round number, precision = nil, *_
|
681
|
+
if precision.nil?
|
682
|
+
ensure_numeric number.round
|
683
|
+
else
|
684
|
+
ensure_numeric number.round precision
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
680
688
|
def sin angle
|
681
689
|
ensure_numeric Math.sin angle
|
682
690
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teepee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Mark Gore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|