data_structure_type 0.1.0 → 0.1.1

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: 18d0f369220086b595d7ea7835e70914f2647527a82515e847d338936cae5d1f
4
- data.tar.gz: a880bf874ef5c292cbd247487c4923683d85b6139cd4a0d3508fc56d7317330a
3
+ metadata.gz: a80305ee546f4fc05bd096fb60f91fb3a2c33a3aef528aa16592094cc65d7ecf
4
+ data.tar.gz: bb9e29adda37db637f31cfb1f2f677534bb6efdbd79021963bdb4205d6126aa2
5
5
  SHA512:
6
- metadata.gz: 8b9d6248bee4b44bb352f14a6d3a36d7ff013a7667a9f66bdd1d4cf4662e181a73574acdb66db8743fa10f1e790a509d9dfe42d46ddf2fe390bc6cdab79a41fb
7
- data.tar.gz: 65afb402ef39665a65230051be7433a44bb7225a0f3b048e9cdb4fa88d8a18568f7db0d8df77045d32e7872f7145f487af0fcb1d61d0b488877abf83b8ad0dc0
6
+ metadata.gz: f662b450a4617a0e1714e80fb11de01defcd7bf797f6d5e1f0b23de6d943cc94dd652b3213a75623033b325fd7c7da28abb033a24148ab1f408741337000ac11
7
+ data.tar.gz: f6064a5bac5f47dc6da7150b6e28111d5e274fba791d9890d5c5f38f03f36c5c0778b684b0dad6baede3598d95f8e3fe519ac2611c22ea306f8971eeeed39cc5
data/.idea/workspace.xml CHANGED
@@ -1,8 +1,9 @@
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="Stack 추가">
5
- <change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
4
+ <list default="true" id="b42f3081-5935-4a10-8bda-d750b841f385" name="Default Changelist" comment="초기화 에러 수정, 함수명 변경">
5
+ <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/lib/data_structure_type/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/data_structure_type/version.rb" afterDir="false" />
6
7
  </list>
7
8
  <option name="SHOW_DIALOG" value="false" />
8
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -29,6 +30,7 @@
29
30
  <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
30
31
  <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
31
32
  <property name="WebServerToolWindowFactoryState" value="false" />
33
+ <property name="nodejs_package_manager_path" value="npm" />
32
34
  <property name="settings.editor.selected.configurable" value="configurable.group.tools" />
33
35
  <property name="vue.rearranger.settings.migration" value="true" />
34
36
  </component>
@@ -42,7 +44,7 @@
42
44
  <option name="presentableId" value="Default" />
43
45
  <updated>1630461365819</updated>
44
46
  <workItem from="1630461367021" duration="134000" />
45
- <workItem from="1630461503975" duration="4205000" />
47
+ <workItem from="1630461503975" duration="7215000" />
46
48
  </task>
47
49
  <task id="LOCAL-00001" summary="Rroject Setting">
48
50
  <created>1630463666163</created>
@@ -58,7 +60,21 @@
58
60
  <option name="project" value="LOCAL" />
59
61
  <updated>1630465689523</updated>
60
62
  </task>
61
- <option name="localTasksCounter" value="3" />
63
+ <task id="LOCAL-00003" summary="ignore 추가">
64
+ <created>1630465727674</created>
65
+ <option name="number" value="00003" />
66
+ <option name="presentableId" value="LOCAL-00003" />
67
+ <option name="project" value="LOCAL" />
68
+ <updated>1630465727674</updated>
69
+ </task>
70
+ <task id="LOCAL-00004" summary="초기화 에러 수정, 함수명 변경">
71
+ <created>1630470402625</created>
72
+ <option name="number" value="00004" />
73
+ <option name="presentableId" value="LOCAL-00004" />
74
+ <option name="project" value="LOCAL" />
75
+ <updated>1630470402625</updated>
76
+ </task>
77
+ <option name="localTasksCounter" value="5" />
62
78
  <servers />
63
79
  </component>
64
80
  <component name="TypeScriptGeneratedFilesManager">
@@ -79,6 +95,8 @@
79
95
  <component name="VcsManagerConfiguration">
80
96
  <MESSAGE value="Rroject Setting" />
81
97
  <MESSAGE value="Stack 추가" />
82
- <option name="LAST_COMMIT_MESSAGE" value="Stack 추가" />
98
+ <MESSAGE value="ignore 추가" />
99
+ <MESSAGE value="초기화 에러 수정, 함수명 변경" />
100
+ <option name="LAST_COMMIT_MESSAGE" value="초기화 에러 수정, 함수명 변경" />
83
101
  </component>
84
102
  </project>
@@ -2,7 +2,7 @@ module DataStructureType
2
2
  class Stack
3
3
 
4
4
  def initialize
5
- @stack = Stack.new
5
+ @stack = []
6
6
  end
7
7
 
8
8
  def add(data)
@@ -10,14 +10,14 @@ module DataStructureType
10
10
  end
11
11
 
12
12
  def peek
13
- @stack.last unless @stack.is_empty?
13
+ @stack.last unless @stack.empty?
14
14
  end
15
15
 
16
16
  def pop
17
- @stack.pop unless @stack.is_empty?
17
+ @stack.pop unless @stack.empty?
18
18
  end
19
19
 
20
- def is_empty?
20
+ def empty?
21
21
  @stack.empty?
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module DataStructureType
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_structure_type
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim HyunKi