student_mvp 0.1.0
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 +7 -0
- data/README.md +35 -0
- data/Rakefile +4 -0
- data/doc/Add_student_presenter.html +238 -0
- data/doc/App_logger.html +386 -0
- data/doc/Base_presenter.html +265 -0
- data/doc/Binary_tree.html +300 -0
- data/doc/Binary_tree_iterator.html +217 -0
- data/doc/Contact_sort_decorator.html +219 -0
- data/doc/DB_client.html +252 -0
- data/doc/Data_list.html +625 -0
- data/doc/Data_list_student_short.html +148 -0
- data/doc/Data_storage_strategy.html +178 -0
- data/doc/Data_table.html +264 -0
- data/doc/Deep_dup.html +152 -0
- data/doc/Edit_contacts_presenter.html +199 -0
- data/doc/Edit_git_presenter.html +192 -0
- data/doc/Edit_student_presenter.html +464 -0
- data/doc/Field_filter_decorator.html +219 -0
- data/doc/Filter.html +148 -0
- data/doc/Filter_decorator.html +209 -0
- data/doc/Full_name_filter_decorator.html +211 -0
- data/doc/Full_name_sort_decorator.html +217 -0
- data/doc/Gemfile.html +98 -0
- data/doc/Git_sort_decorator.html +220 -0
- data/doc/Has_not_field_filter_decorator.html +209 -0
- data/doc/JSON_storage_strategy.html +183 -0
- data/doc/Person.html +511 -0
- data/doc/README_md.html +147 -0
- data/doc/Rakefile.html +94 -0
- data/doc/Replace_student_presenter.html +204 -0
- data/doc/Sort_decorator.html +214 -0
- data/doc/Student.html +755 -0
- data/doc/StudentMvp/Error.html +105 -0
- data/doc/StudentMvp.html +111 -0
- data/doc/Student_list_presenter.html +667 -0
- data/doc/Student_short.html +398 -0
- data/doc/Students_list.html +341 -0
- data/doc/Students_list_DB.html +361 -0
- data/doc/Students_list_file.html +460 -0
- data/doc/Students_list_file_adapter.html +341 -0
- data/doc/Students_list_interface.html +298 -0
- data/doc/YAML_storage_strategy.html +183 -0
- data/doc/bin/setup.html +96 -0
- data/doc/created.rid +44 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +662 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +174 -0
- data/doc/js/darkfish.js +114 -0
- data/doc/js/navigation.js +105 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +110 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +1047 -0
- data/lib/data_access/DB_client/DB_client.rb +26 -0
- data/lib/deep_dup/deep_dup.rb +14 -0
- data/lib/logger/logger.rb +64 -0
- data/lib/models/binary_tree/binary_tree.rb +163 -0
- data/lib/models/binary_tree/binary_tree_iterator.rb +36 -0
- data/lib/models/data_list/data_list.rb +97 -0
- data/lib/models/data_list/data_list_student_short.rb +16 -0
- data/lib/models/data_storage_strategy/JSON_storage_strategy.rb +20 -0
- data/lib/models/data_storage_strategy/YAML_storage_strategy.rb +20 -0
- data/lib/models/data_storage_strategy/data_storage_strategy.rb +11 -0
- data/lib/models/data_table/data_table.rb +52 -0
- data/lib/models/filter/filter.rb +5 -0
- data/lib/models/filter/filter_decorator.rb +14 -0
- data/lib/models/filter/sort_decorator.rb +15 -0
- data/lib/models/filter/student_filters/contact_sort_decorator.rb +50 -0
- data/lib/models/filter/student_filters/field_filter_decorator.rb +34 -0
- data/lib/models/filter/student_filters/full_name_filter_decorator.rb +26 -0
- data/lib/models/filter/student_filters/full_name_sort_decorator.rb +32 -0
- data/lib/models/filter/student_filters/git_sort_decorator.rb +35 -0
- data/lib/models/filter/student_filters/has_not_field_filter_decorator.rb +24 -0
- data/lib/models/person/person.rb +72 -0
- data/lib/models/student/student.rb +204 -0
- data/lib/models/student_short/student_short.rb +98 -0
- data/lib/models/students_list/students_list.rb +32 -0
- data/lib/models/students_list/students_list_DB.rb +95 -0
- data/lib/models/students_list/students_list_file.rb +134 -0
- data/lib/models/students_list/students_list_file_adapter.rb +45 -0
- data/lib/models/students_list/students_list_interface.rb +25 -0
- data/lib/presenters/base_presenters/base_presenter.rb +26 -0
- data/lib/presenters/base_presenters/student_list_presenter.rb +273 -0
- data/lib/presenters/edit_student/add_student_presenter.rb +46 -0
- data/lib/presenters/edit_student/edit_contacts_presenter.rb +36 -0
- data/lib/presenters/edit_student/edit_git_presenter.rb +28 -0
- data/lib/presenters/edit_student/edit_student_presenter.rb +109 -0
- data/lib/presenters/edit_student/replace_student_presenter.rb +37 -0
- data/lib/student_mvp/version.rb +5 -0
- data/lib/student_mvp.rb +8 -0
- data/sig/student_mvp.rbs +4 -0
- metadata +253 -0
@@ -0,0 +1,183 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
|
8
|
+
<title>class YAML_storage_strategy - RDoc Documentation</title>
|
9
|
+
|
10
|
+
<meta name="keywords" content="ruby,class,YAML_storage_strategy">
|
11
|
+
|
12
|
+
<meta name="description" content="Documentation for the YAML_storage_strategy class">
|
13
|
+
|
14
|
+
<script type="text/javascript">
|
15
|
+
var rdoc_rel_prefix = "./";
|
16
|
+
var index_rel_prefix = "./";
|
17
|
+
</script>
|
18
|
+
|
19
|
+
<script src="./js/navigation.js" defer></script>
|
20
|
+
<script src="./js/search.js" defer></script>
|
21
|
+
<script src="./js/search_index.js" defer></script>
|
22
|
+
<script src="./js/searcher.js" defer></script>
|
23
|
+
<script src="./js/darkfish.js" defer></script>
|
24
|
+
|
25
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
26
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
27
|
+
|
28
|
+
|
29
|
+
<body id="top" role="document" class="class">
|
30
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
31
|
+
<span aria-hidden="true">☰</span>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
|
35
|
+
<nav id="navigation" role="navigation">
|
36
|
+
<div id="project-navigation">
|
37
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
38
|
+
<h2>
|
39
|
+
<a href="./index.html" rel="home">Home</a>
|
40
|
+
</h2>
|
41
|
+
|
42
|
+
<div id="table-of-contents-navigation">
|
43
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
44
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
45
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
50
|
+
<form action="#" method="get" accept-charset="utf-8">
|
51
|
+
<div id="search-field-wrapper">
|
52
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
53
|
+
aria-autocomplete="list" aria-controls="search-results"
|
54
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
55
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<ul id="search-results" aria-label="Search Results"
|
59
|
+
aria-busy="false" aria-expanded="false"
|
60
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
61
|
+
</form>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
</div>
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
<div id="parent-class-section" class="nav-section">
|
69
|
+
<h3>Ancestors</h3>
|
70
|
+
<ul><li><a href="Data_storage_strategy.html">Data_storage_strategy</a><ul><li>Object</li></ul></li></ul>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<div class="nav-section">
|
79
|
+
<h3>Instance Methods</h3>
|
80
|
+
<ul class="link-list" role="directory">
|
81
|
+
<li ><a href="#method-i-read">read</a></li>
|
82
|
+
<li ><a href="#method-i-write">write</a></li>
|
83
|
+
</ul>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
<footer id="validator-badges" role="contentinfo">
|
89
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
90
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.8.1.
|
91
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
92
|
+
</footer>
|
93
|
+
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
<main role="main" aria-labelledby="class-YAML_storage_strategy">
|
97
|
+
<h1 id="class-YAML_storage_strategy" class="anchor-link class">
|
98
|
+
class YAML_storage_strategy
|
99
|
+
</h1>
|
100
|
+
|
101
|
+
<section class="description">
|
102
|
+
|
103
|
+
</section>
|
104
|
+
|
105
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
|
112
|
+
<header>
|
113
|
+
<h3>Public Instance Methods</h3>
|
114
|
+
</header>
|
115
|
+
|
116
|
+
<div id="method-i-read" class="method-detail anchor-link ">
|
117
|
+
<div class="method-header">
|
118
|
+
<div class="method-heading">
|
119
|
+
<a href="#method-i-read" title="Link to this method">
|
120
|
+
<span class="method-name">read</span>
|
121
|
+
<span class="method-args">(file_path)</span>
|
122
|
+
</a>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div class="method-controls">
|
127
|
+
<details class="method-source-toggle">
|
128
|
+
<summary>Source</summary>
|
129
|
+
</details>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<div class="method-description">
|
133
|
+
<div class="method-source-code" id="read-source">
|
134
|
+
<pre><span class="ruby-comment"># File lib/models/data_storage_strategy/YAML_storage_strategy.rb, line 7</span>
|
135
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">read</span>(<span class="ruby-identifier">file_path</span>)
|
136
|
+
<span class="ruby-keyword">return</span> [] <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_path</span>)
|
137
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">safe_load</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file_path</span>), <span class="ruby-value">permitted_classes:</span> [<span class="ruby-constant">Date</span>, <span class="ruby-constant">Symbol</span>]) <span class="ruby-operator">||</span> []
|
138
|
+
<span class="ruby-identifier">data</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">student</span><span class="ruby-operator">|</span>
|
139
|
+
<span class="ruby-constant">Student</span>.<span class="ruby-identifier">new_from_hash</span>(<span class="ruby-identifier">student</span>)
|
140
|
+
<span class="ruby-keyword">end</span>
|
141
|
+
<span class="ruby-keyword">end</span></pre>
|
142
|
+
</div>
|
143
|
+
<p>read from yaml file</p>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div id="method-i-write" class="method-detail anchor-link ">
|
150
|
+
<div class="method-header">
|
151
|
+
<div class="method-heading">
|
152
|
+
<a href="#method-i-write" title="Link to this method">
|
153
|
+
<span class="method-name">write</span>
|
154
|
+
<span class="method-args">(file_path, students)</span>
|
155
|
+
</a>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div class="method-controls">
|
160
|
+
<details class="method-source-toggle">
|
161
|
+
<summary>Source</summary>
|
162
|
+
</details>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="method-description">
|
166
|
+
<div class="method-source-code" id="write-source">
|
167
|
+
<pre><span class="ruby-comment"># File lib/models/data_storage_strategy/YAML_storage_strategy.rb, line 16</span>
|
168
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">write</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-identifier">students</span>)
|
169
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">students</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">student</span><span class="ruby-operator">|</span> <span class="ruby-identifier">student</span>.<span class="ruby-identifier">to_h</span> }
|
170
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-identifier">data</span>.<span class="ruby-identifier">to_yaml</span>)
|
171
|
+
<span class="ruby-keyword">end</span></pre>
|
172
|
+
</div>
|
173
|
+
<p>read to yaml file</p>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
</section>
|
180
|
+
|
181
|
+
</section>
|
182
|
+
</main>
|
183
|
+
|
data/doc/bin/setup.html
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
|
8
|
+
<title>setup - RDoc Documentation</title>
|
9
|
+
|
10
|
+
<meta name="keywords" content="ruby,documentation,setup">
|
11
|
+
<meta name="description" content="setup: #!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' set -vx bundle install # Do any other automated setup that you need to do here">
|
12
|
+
|
13
|
+
<script type="text/javascript">
|
14
|
+
var rdoc_rel_prefix = "../";
|
15
|
+
var index_rel_prefix = "../";
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<script src="../js/navigation.js" defer></script>
|
19
|
+
<script src="../js/search.js" defer></script>
|
20
|
+
<script src="../js/search_index.js" defer></script>
|
21
|
+
<script src="../js/searcher.js" defer></script>
|
22
|
+
<script src="../js/darkfish.js" defer></script>
|
23
|
+
|
24
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
25
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
26
|
+
|
27
|
+
|
28
|
+
<body id="top" role="document" class="file">
|
29
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
30
|
+
<span aria-hidden="true">☰</span>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="navigation" role="navigation">
|
35
|
+
<div id="project-navigation">
|
36
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
37
|
+
<h2>
|
38
|
+
<a href="../index.html" rel="home">Home</a>
|
39
|
+
</h2>
|
40
|
+
|
41
|
+
<div id="table-of-contents-navigation">
|
42
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
43
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
44
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
49
|
+
<form action="#" method="get" accept-charset="utf-8">
|
50
|
+
<div id="search-field-wrapper">
|
51
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
52
|
+
aria-autocomplete="list" aria-controls="search-results"
|
53
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
54
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<ul id="search-results" aria-label="Search Results"
|
58
|
+
aria-busy="false" aria-expanded="false"
|
59
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
60
|
+
</form>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
<li><a href="../Gemfile.html">Gemfile</a>
|
72
|
+
<li><a href="../README_md.html">README</a>
|
73
|
+
<li><a href="../Rakefile.html">Rakefile</a>
|
74
|
+
<li><a href="../bin/setup.html">setup</a>
|
75
|
+
</ul>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
|
79
|
+
<footer id="validator-badges" role="contentinfo">
|
80
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
81
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.8.1.
|
82
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
83
|
+
</footer>
|
84
|
+
|
85
|
+
</nav>
|
86
|
+
|
87
|
+
<main role="main" aria-label="Page bin/setup">
|
88
|
+
|
89
|
+
<p>!/usr/bin/env bash set -euo pipefail IFS=$‘nt’ set -vx</p>
|
90
|
+
|
91
|
+
<p>bundle install</p>
|
92
|
+
|
93
|
+
<p># Do any other automated setup that you need to do here</p>
|
94
|
+
|
95
|
+
</main>
|
96
|
+
|
data/doc/created.rid
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
Mon, 02 Dec 2024 20:17:31 +0300
|
2
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/Gemfile Mon, 02 Dec 2024 19:44:25 +0300
|
3
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/README.md Mon, 02 Dec 2024 19:44:25 +0300
|
4
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/Rakefile Mon, 02 Dec 2024 19:44:25 +0300
|
5
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/bin/console Mon, 02 Dec 2024 19:44:25 +0300
|
6
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/bin/setup Mon, 02 Dec 2024 19:44:25 +0300
|
7
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/data_access/DB_client/DB_client.rb Tue, 19 Nov 2024 04:00:46 +0300
|
8
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/deep_dup/deep_dup.rb Fri, 08 Nov 2024 23:39:57 +0300
|
9
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/logger/logger.rb Sun, 01 Dec 2024 08:06:19 +0300
|
10
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/binary_tree/binary_tree.rb Mon, 02 Dec 2024 19:56:26 +0300
|
11
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/binary_tree/binary_tree_iterator.rb Fri, 08 Nov 2024 23:39:57 +0300
|
12
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_list/data_list.rb Mon, 02 Dec 2024 19:57:11 +0300
|
13
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_list/data_list_student_short.rb Mon, 02 Dec 2024 19:58:35 +0300
|
14
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/JSON_storage_strategy.rb Mon, 02 Dec 2024 19:59:48 +0300
|
15
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/YAML_storage_strategy.rb Mon, 02 Dec 2024 20:00:03 +0300
|
16
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/data_storage_strategy.rb Fri, 08 Nov 2024 23:39:57 +0300
|
17
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_table/data_table.rb Mon, 02 Dec 2024 20:00:21 +0300
|
18
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/filter.rb Tue, 12 Nov 2024 23:50:59 +0300
|
19
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/filter_decorator.rb Mon, 02 Dec 2024 20:01:10 +0300
|
20
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/sort_decorator.rb Mon, 02 Dec 2024 20:00:54 +0300
|
21
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/contact_sort_decorator.rb Mon, 02 Dec 2024 20:01:29 +0300
|
22
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/field_filter_decorator.rb Mon, 02 Dec 2024 20:01:42 +0300
|
23
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/full_name_filter_decorator.rb Mon, 02 Dec 2024 20:01:47 +0300
|
24
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/full_name_sort_decorator.rb Mon, 02 Dec 2024 20:01:49 +0300
|
25
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/git_sort_decorator.rb Mon, 02 Dec 2024 20:01:53 +0300
|
26
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/has_not_field_filter_decorator.rb Mon, 02 Dec 2024 20:01:56 +0300
|
27
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/person/person.rb Thu, 21 Nov 2024 03:48:39 +0300
|
28
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/student/student.rb Mon, 02 Dec 2024 20:02:22 +0300
|
29
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/student_short/student_short.rb Mon, 02 Dec 2024 20:02:39 +0300
|
30
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list.rb Tue, 19 Nov 2024 00:48:14 +0300
|
31
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_DB.rb Mon, 02 Dec 2024 20:04:11 +0300
|
32
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_file.rb Mon, 02 Dec 2024 20:06:13 +0300
|
33
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_file_adapter.rb Mon, 02 Dec 2024 20:05:13 +0300
|
34
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_interface.rb Tue, 12 Nov 2024 23:33:11 +0300
|
35
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/base_presenters/base_presenter.rb Mon, 02 Dec 2024 20:07:17 +0300
|
36
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/base_presenters/student_list_presenter.rb Mon, 02 Dec 2024 20:11:38 +0300
|
37
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/add_student_presenter.rb Mon, 02 Dec 2024 20:12:45 +0300
|
38
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_contacts_presenter.rb Mon, 02 Dec 2024 20:12:58 +0300
|
39
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_git_presenter.rb Mon, 02 Dec 2024 20:13:10 +0300
|
40
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_student_presenter.rb Mon, 02 Dec 2024 20:11:59 +0300
|
41
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/replace_student_presenter.rb Mon, 02 Dec 2024 20:13:23 +0300
|
42
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/student_mvp/version.rb Mon, 02 Dec 2024 19:44:25 +0300
|
43
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/student_mvp.rb Mon, 02 Dec 2024 19:44:25 +0300
|
44
|
+
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/sig/student_mvp.rbs Mon, 02 Dec 2024 19:44:25 +0300
|
data/doc/css/fonts.css
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
|
3
|
+
* with Reserved Font Name "Source". All Rights Reserved. Source is a
|
4
|
+
* trademark of Adobe Systems Incorporated in the United States and/or other
|
5
|
+
* countries.
|
6
|
+
*
|
7
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
8
|
+
* 1.1.
|
9
|
+
*
|
10
|
+
* This license is copied below, and is also available with a FAQ at:
|
11
|
+
* http://scripts.sil.org/OFL
|
12
|
+
*/
|
13
|
+
|
14
|
+
@font-face {
|
15
|
+
font-family: "Source Code Pro";
|
16
|
+
font-style: normal;
|
17
|
+
font-weight: 400;
|
18
|
+
src: local("Source Code Pro"),
|
19
|
+
local("SourceCodePro-Regular"),
|
20
|
+
url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: "Source Code Pro";
|
25
|
+
font-style: normal;
|
26
|
+
font-weight: 700;
|
27
|
+
src: local("Source Code Pro Bold"),
|
28
|
+
local("SourceCodePro-Bold"),
|
29
|
+
url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
|
30
|
+
}
|
31
|
+
|
32
|
+
/*
|
33
|
+
* Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
|
34
|
+
* with Reserved Font Name Lato.
|
35
|
+
*
|
36
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
37
|
+
* 1.1.
|
38
|
+
*
|
39
|
+
* This license is copied below, and is also available with a FAQ at:
|
40
|
+
* http://scripts.sil.org/OFL
|
41
|
+
*/
|
42
|
+
|
43
|
+
@font-face {
|
44
|
+
font-family: "Lato";
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 300;
|
47
|
+
src: local("Lato Light"),
|
48
|
+
local("Lato-Light"),
|
49
|
+
url("../fonts/Lato-Light.ttf") format("truetype");
|
50
|
+
}
|
51
|
+
|
52
|
+
@font-face {
|
53
|
+
font-family: "Lato";
|
54
|
+
font-style: italic;
|
55
|
+
font-weight: 300;
|
56
|
+
src: local("Lato Light Italic"),
|
57
|
+
local("Lato-LightItalic"),
|
58
|
+
url("../fonts/Lato-LightItalic.ttf") format("truetype");
|
59
|
+
}
|
60
|
+
|
61
|
+
@font-face {
|
62
|
+
font-family: "Lato";
|
63
|
+
font-style: normal;
|
64
|
+
font-weight: 700;
|
65
|
+
src: local("Lato Regular"),
|
66
|
+
local("Lato-Regular"),
|
67
|
+
url("../fonts/Lato-Regular.ttf") format("truetype");
|
68
|
+
}
|
69
|
+
|
70
|
+
@font-face {
|
71
|
+
font-family: "Lato";
|
72
|
+
font-style: italic;
|
73
|
+
font-weight: 700;
|
74
|
+
src: local("Lato Italic"),
|
75
|
+
local("Lato-Italic"),
|
76
|
+
url("../fonts/Lato-RegularItalic.ttf") format("truetype");
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
* -----------------------------------------------------------
|
81
|
+
* SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
82
|
+
* -----------------------------------------------------------
|
83
|
+
*
|
84
|
+
* PREAMBLE
|
85
|
+
* The goals of the Open Font License (OFL) are to stimulate worldwide
|
86
|
+
* development of collaborative font projects, to support the font creation
|
87
|
+
* efforts of academic and linguistic communities, and to provide a free and
|
88
|
+
* open framework in which fonts may be shared and improved in partnership
|
89
|
+
* with others.
|
90
|
+
*
|
91
|
+
* The OFL allows the licensed fonts to be used, studied, modified and
|
92
|
+
* redistributed freely as long as they are not sold by themselves. The
|
93
|
+
* fonts, including any derivative works, can be bundled, embedded,
|
94
|
+
* redistributed and/or sold with any software provided that any reserved
|
95
|
+
* names are not used by derivative works. The fonts and derivatives,
|
96
|
+
* however, cannot be released under any other type of license. The
|
97
|
+
* requirement for fonts to remain under this license does not apply
|
98
|
+
* to any document created using the fonts or their derivatives.
|
99
|
+
*
|
100
|
+
* DEFINITIONS
|
101
|
+
* "Font Software" refers to the set of files released by the Copyright
|
102
|
+
* Holder(s) under this license and clearly marked as such. This may
|
103
|
+
* include source files, build scripts and documentation.
|
104
|
+
*
|
105
|
+
* "Reserved Font Name" refers to any names specified as such after the
|
106
|
+
* copyright statement(s).
|
107
|
+
*
|
108
|
+
* "Original Version" refers to the collection of Font Software components as
|
109
|
+
* distributed by the Copyright Holder(s).
|
110
|
+
*
|
111
|
+
* "Modified Version" refers to any derivative made by adding to, deleting,
|
112
|
+
* or substituting -- in part or in whole -- any of the components of the
|
113
|
+
* Original Version, by changing formats or by porting the Font Software to a
|
114
|
+
* new environment.
|
115
|
+
*
|
116
|
+
* "Author" refers to any designer, engineer, programmer, technical
|
117
|
+
* writer or other person who contributed to the Font Software.
|
118
|
+
*
|
119
|
+
* PERMISSION & CONDITIONS
|
120
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
121
|
+
* a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
122
|
+
* redistribute, and sell modified and unmodified copies of the Font
|
123
|
+
* Software, subject to the following conditions:
|
124
|
+
*
|
125
|
+
* 1) Neither the Font Software nor any of its individual components,
|
126
|
+
* in Original or Modified Versions, may be sold by itself.
|
127
|
+
*
|
128
|
+
* 2) Original or Modified Versions of the Font Software may be bundled,
|
129
|
+
* redistributed and/or sold with any software, provided that each copy
|
130
|
+
* contains the above copyright notice and this license. These can be
|
131
|
+
* included either as stand-alone text files, human-readable headers or
|
132
|
+
* in the appropriate machine-readable metadata fields within text or
|
133
|
+
* binary files as long as those fields can be easily viewed by the user.
|
134
|
+
*
|
135
|
+
* 3) No Modified Version of the Font Software may use the Reserved Font
|
136
|
+
* Name(s) unless explicit written permission is granted by the corresponding
|
137
|
+
* Copyright Holder. This restriction only applies to the primary font name as
|
138
|
+
* presented to the users.
|
139
|
+
*
|
140
|
+
* 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
141
|
+
* Software shall not be used to promote, endorse or advertise any
|
142
|
+
* Modified Version, except to acknowledge the contribution(s) of the
|
143
|
+
* Copyright Holder(s) and the Author(s) or with their explicit written
|
144
|
+
* permission.
|
145
|
+
*
|
146
|
+
* 5) The Font Software, modified or unmodified, in part or in whole,
|
147
|
+
* must be distributed entirely under this license, and must not be
|
148
|
+
* distributed under any other license. The requirement for fonts to
|
149
|
+
* remain under this license does not apply to any document created
|
150
|
+
* using the Font Software.
|
151
|
+
*
|
152
|
+
* TERMINATION
|
153
|
+
* This license becomes null and void if any of the above conditions are
|
154
|
+
* not met.
|
155
|
+
*
|
156
|
+
* DISCLAIMER
|
157
|
+
* THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
158
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
159
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
160
|
+
* OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
161
|
+
* COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
162
|
+
* INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
163
|
+
* DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
164
|
+
* FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
165
|
+
* OTHER DEALINGS IN THE FONT SOFTWARE.
|
166
|
+
*/
|
167
|
+
|