cyberarm_engine 0.5.0 → 0.5.1

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
  SHA256:
3
- metadata.gz: be5c4d2ceabea4e42e5fe364f312310bddf1e5ab2c8e1e269ed1e3da6a42cbe1
4
- data.tar.gz: 96049af3e8924fd73d3234a4cd4cae9a3d191ecc2f79f37d5d2cc998cffa5008
3
+ metadata.gz: bf5c5815639fb29c28cdace96b2204c356c4fc8eb680d88b7d0f2a5742814b3e
4
+ data.tar.gz: d233385170165baa376d203829d944c5f7eba30d45b675846e39465b3e1b3c0b
5
5
  SHA512:
6
- metadata.gz: c218b4922f64c8536451d944993986b342673463c5454ef3f8ae1a7085763e560d0df2e8153dd1553736cc1463200a88296cd48a9a435634bd1ebc9bfaf7365b
7
- data.tar.gz: cf65066b9842bc061648d286d8937fbabe5e4193fcfb810e1ff3522606d6a358eacee34d2c71d1745307890adcbd21698eb9aecbc21e7397ffdc1c418aea4121
6
+ metadata.gz: b0b8128ffbf49f7484549e593fde9415c99a98dc061d49144edfd93bed83be7942d2769ffcc25d94101f423bb4978035e99cfdcb2c965f64df33bde4cc957de9
7
+ data.tar.gz: 2c9c251bd592e108e70d206fc80aa59b9ee912f5dd2958edab9308a848249ba4f9d1868b38ba812f1896339183a40ac9fc920c3562fbad33554a6a60169c281f
@@ -72,7 +72,7 @@ module CyberarmEngine
72
72
  end
73
73
 
74
74
  def height
75
- (@text.lines.count) * textobject.height
75
+ @text.lines.count > 0 ? (@text.lines.count) * textobject.height : @textobject.height
76
76
  end
77
77
 
78
78
  def draw
@@ -1,4 +1,4 @@
1
1
  module CyberarmEngine
2
2
  NAME = "InDev"
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyberarm_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyberarm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu