term_canvas 0.2.7 → 0.2.8

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
  SHA256:
3
- metadata.gz: bfafbd729bb22814452e51d4b8a26040dcdccba797b573e0b61781cc0ab86de2
4
- data.tar.gz: 6923caf13aaa4c5f12c91f4d804f200207898fc526c2097511e63695ecc93977
3
+ metadata.gz: 33853245ed29b4a787585c5e610c334eae76e9846bbd94070df5d6a0099f521f
4
+ data.tar.gz: a3746e4a3d28fac284990d911d592c74a580af3ab7bf55e4086c1f96f5eaf830
5
5
  SHA512:
6
- metadata.gz: 24fd415c676121742b6eee87163fa5f33971331dfdc19ce08c202b815e857781c065b6c28b68b36b3d97236081678df37b8aa28843fac20dd7325183caa0cf0f
7
- data.tar.gz: 10cb081991e2479bec357d06fa7495261e5769cc411bdc16b134d6b4a086b62f1c6406661f45a67a92662004e93cea25bc818882b2906f9fd8835bcc23e3708f
6
+ metadata.gz: 1310d61417f6340492c9ff18b637a14a387664ca226fc0955abf211e6ea0024cb016a3c1a6cb288596a0629268af47f4a5782ca8b5cf6984072bfca3243e4a67
7
+ data.tar.gz: af48ceb20c7e95af6436bdbc22a5e4a77f938ea0546c320a03902eebc178876004ebb3eaa2fbee3e7b8224afa2f052c1b47a03d065e93f8603ddcf0d391f1bfa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- term_canvas (0.2.7)
4
+ term_canvas (0.2.8)
5
5
  curses
6
6
 
7
7
  GEM
@@ -10,10 +10,19 @@ module TermCanvas
10
10
  # @param x [Integer] Offset of x
11
11
  # @param y [Integer] Offset of y
12
12
  # @return self
13
- def offset(x: nil, y: nil)
13
+ def position_offset(x: nil, y: nil)
14
14
  @x += x if x
15
15
  @y += y if y
16
16
  self
17
17
  end
18
+
19
+ # @param x [Integer] New x
20
+ # @param y [Integer] New y
21
+ # @return self
22
+ def position_override(x: nil, y: nil)
23
+ @x = x if x
24
+ @y = y if y
25
+ self
26
+ end
18
27
  end
19
28
  end
@@ -1,3 +1,3 @@
1
1
  module TermCanvas
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: term_canvas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - kthatoto