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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dce5e9f34e759dbe0660bc8f93349560ee16045fa210b2f7e4e7a590b8256b2
4
- data.tar.gz: cfc3441280f006374dbf24b5f8bc8ad842fd4530f19cdc32a433882350f8718d
3
+ metadata.gz: 4bc0c62f78fb413f20b536ffa721d7837f78d37b5a2de51cd042e420db77ab21
4
+ data.tar.gz: 7a9d998233dff08573567e1c355fd17d75749b01514e60147728db24e9c44025
5
5
  SHA512:
6
- metadata.gz: b4c13d8def8c7dd6cc45899c389a567d76b79bbcacd6f806ea9045e59d3a26c04b628b1a9846cdee9d9d0ca90dca4cc0e61dddfca5856ba06cf2a4336a197dd2
7
- data.tar.gz: 066c2fc3e2b17d2d9e2f6019c5e0c775337a64528c522def51bdd2496b0c1be1cf1dd8ea45fa4be7a84d879197926a285b4d5abf469bcf301916b7ad1ee4ef96
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="changelog_uri 수정">
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="8270000" />
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
- <option name="localTasksCounter" value="7" />
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
- <option name="LAST_COMMIT_MESSAGE" value="changelog_uri 수정" />
126
+ <MESSAGE value="버전 업데이트" />
127
+ <option name="LAST_COMMIT_MESSAGE" value="버전 업데이트" />
117
128
  </component>
118
129
  </project>
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.2.0(2021-09-02)
2
+ - Add "Rails" gem
3
+
1
4
  # 0.1.0(2021-09-01)
2
5
  - Develop Stack
3
6
 
data/Gemfile CHANGED
@@ -5,3 +5,5 @@ gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
7
7
  gem "minitest", "~> 5.0"
8
+ gem 'rails', '~> 5.2.3'
9
+
@@ -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) if data.present?
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
 
@@ -1,3 +1,3 @@
1
1
  module DataStructureType
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.2"
3
3
  end
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.1.2
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-01 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: