spaghetti_stack 0.1.2 → 0.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
  SHA256:
3
- metadata.gz: 243a638fc46685da6b10bc85a327b723e38ecc507715f6791e534e41d295f4f7
4
- data.tar.gz: 006db5b6683773ebe559184ae26e500776a4d2755d256746948c2b1760af1154
3
+ metadata.gz: 5c893953db35b9bd965993b40cad8befd618a9329e3cafa0bdcbaf990c88e6ba
4
+ data.tar.gz: 872836fda20352bcfc92ff438efb4f93d80bc2c91262353193748ebb5c2c254d
5
5
  SHA512:
6
- metadata.gz: 44dfe5352a54e97cff3b2e2f57620ccf8107e379c5d31cd57b27f01fb01fea1ccab252c7c41345767715a19a787834bd9b2eeeb587fc3ef538904cb8ebec5633
7
- data.tar.gz: 8e459f83768c24e539209cc329e0e15b8436abc892068ae30910d804692acb16ba941d75f477622efcd7492e19aba09496b40cd57a7028239fbf387297c7e4df
6
+ metadata.gz: 21f2083c79d4692a1b48bd3926cda07057e76dec5b33546c3203a48b02e2c47498ebf898700dc735375881ee3004417aa23d308f75d05e0c3ed9f4760de0a01a
7
+ data.tar.gz: b748b65925fd16c8f1b56c06377fa4c9e5f3f48fc49d77d72a68fd293ae4f7391f3c05ef37a1da54929f2b46d79973246ddb28d458f4f0e52a8f58e6d27a399c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spaghetti_stack (0.1.0)
4
+ spaghetti_stack (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -11,6 +11,11 @@ class SpaghettiStack
11
11
  @data = data
12
12
  @parent = parent
13
13
  end
14
+
15
+ def update(data)
16
+ return self if data == @data
17
+ @data = data
18
+ end
14
19
  end
15
20
 
16
21
  attr_reader :root, :top
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class SpaghettiStack
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaghetti_stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mansakondo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-01 00:00:00.000000000 Z
11
+ date: 2021-01-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: