data_structure_type 0.1.2 → 0.2.2
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 +4 -4
- data/.idea/workspace.xml +16 -5
- data/CHANGELOG.md +3 -0
- data/Gemfile +2 -0
- data/lib/data_structure_type/stack.rb +1 -3
- data/lib/data_structure_type/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bc0c62f78fb413f20b536ffa721d7837f78d37b5a2de51cd042e420db77ab21
|
4
|
+
data.tar.gz: 7a9d998233dff08573567e1c355fd17d75749b01514e60147728db24e9c44025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d648b17f2d0bf6bf80c739ffcf2a8b62a2fbde3c0be9aa191013d2962a4603ab6bccf13dc5f7210bef3f0b9728fc70cf1f511c9c400cc534a028f9f7119482c1
|
7
|
+
data.tar.gz: b4c4fdde32d6ba793a0b4ee26c0b20c21ba96347aa8ad9ecd8e5a18e43e82a9b48c2ff1f9eb87cb1e5060c9720c76993d31cfe66cacf893869bee0e8682647a0
|
data/.idea/workspace.xml
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
|
-
<list default="true" id="b42f3081-5935-4a10-8bda-d750b841f385" name="Default Changelist" comment="
|
4
|
+
<list default="true" id="b42f3081-5935-4a10-8bda-d750b841f385" name="Default Changelist" comment="버전 업데이트">
|
5
5
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
6
|
+
<change beforePath="$PROJECT_DIR$/CHANGELOG.md" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
|
7
|
+
<change beforePath="$PROJECT_DIR$/Gemfile" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
|
8
|
+
<change beforePath="$PROJECT_DIR$/lib/data_structure_type/stack.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/data_structure_type/stack.rb" afterDir="false" />
|
6
9
|
<change beforePath="$PROJECT_DIR$/lib/data_structure_type/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/data_structure_type/version.rb" afterDir="false" />
|
7
10
|
</list>
|
8
11
|
<option name="SHOW_DIALOG" value="false" />
|
@@ -44,7 +47,8 @@
|
|
44
47
|
<option name="presentableId" value="Default" />
|
45
48
|
<updated>1630461365819</updated>
|
46
49
|
<workItem from="1630461367021" duration="134000" />
|
47
|
-
<workItem from="1630461503975" duration="
|
50
|
+
<workItem from="1630461503975" duration="10921000" />
|
51
|
+
<workItem from="1630480503276" duration="2610000" />
|
48
52
|
</task>
|
49
53
|
<task id="LOCAL-00001" summary="Rroject Setting">
|
50
54
|
<created>1630463666163</created>
|
@@ -88,7 +92,14 @@
|
|
88
92
|
<option name="project" value="LOCAL" />
|
89
93
|
<updated>1630471401971</updated>
|
90
94
|
</task>
|
91
|
-
<
|
95
|
+
<task id="LOCAL-00007" summary="버전 업데이트">
|
96
|
+
<created>1630472387177</created>
|
97
|
+
<option name="number" value="00007" />
|
98
|
+
<option name="presentableId" value="LOCAL-00007" />
|
99
|
+
<option name="project" value="LOCAL" />
|
100
|
+
<updated>1630472387177</updated>
|
101
|
+
</task>
|
102
|
+
<option name="localTasksCounter" value="8" />
|
92
103
|
<servers />
|
93
104
|
</component>
|
94
105
|
<component name="TypeScriptGeneratedFilesManager">
|
@@ -111,8 +122,8 @@
|
|
111
122
|
<MESSAGE value="Stack 추가" />
|
112
123
|
<MESSAGE value="ignore 추가" />
|
113
124
|
<MESSAGE value="초기화 에러 수정, 함수명 변경" />
|
114
|
-
<MESSAGE value="버전 업데이트" />
|
115
125
|
<MESSAGE value="changelog_uri 수정" />
|
116
|
-
<
|
126
|
+
<MESSAGE value="버전 업데이트" />
|
127
|
+
<option name="LAST_COMMIT_MESSAGE" value="버전 업데이트" />
|
117
128
|
</component>
|
118
129
|
</project>
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
module DataStructureType
|
2
2
|
class Stack
|
3
|
-
|
4
3
|
def initialize
|
5
4
|
@stack = []
|
6
5
|
end
|
7
6
|
|
8
7
|
def add(data)
|
9
|
-
@stack.push(data)
|
8
|
+
data.present? ? @stack.push(data) : @stack
|
10
9
|
end
|
11
10
|
|
12
11
|
def peek
|
@@ -21,7 +20,6 @@ module DataStructureType
|
|
21
20
|
@stack.empty?
|
22
21
|
end
|
23
22
|
end
|
24
|
-
|
25
23
|
end
|
26
24
|
|
27
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_structure_type
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kim HyunKi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|