libcache 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.idea/libcache.iml +31 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/workspace.xml +641 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +71 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/libcache +17 -0
- data/lib/libcache/cache.rb +38 -0
- data/lib/libcache/cache_builder.rb +33 -0
- data/lib/libcache/file_cache.rb +47 -0
- data/lib/libcache/version.rb +3 -0
- data/lib/libcache.rb +5 -0
- data/libcache.gemspec +27 -0
- metadata +107 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f40f2854d61e701f86b7a283b0263007e4272fb6
|
4
|
+
data.tar.gz: 6a35287703e0ddc7741add12abb3deb0b31a59dc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d6da62f3842bffae825518fb3f62500ccf72cda402d636222ada3227e7df0029983cc5fd91a2df85a4a12091b32bdcb1fef13b6a7511d3838d95be19edeb494c
|
7
|
+
data.tar.gz: 5a951aea30ce3044a0e5b952c60bff0bc33199489e725afab05670d391c98fbf21328b7a8ca68624fb216a11dd9a9d0ccdc04eb973a4d3d906214bdc7c52b362
|
data/.gitignore
ADDED
data/.idea/libcache.iml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<configuration default="false" name="libcache" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
5
|
+
<module name="libcache" />
|
6
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
7
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/exe" />
|
8
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
9
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
10
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
11
|
+
<envs />
|
12
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
13
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
14
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
15
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/exe/libcache" />
|
16
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE=""C:\Users\Salah\cache\gfunk"" />
|
17
|
+
<method />
|
18
|
+
</configuration>
|
19
|
+
</component>
|
20
|
+
<component name="NewModuleRootManager">
|
21
|
+
<content url="file://$MODULE_DIR$" />
|
22
|
+
<orderEntry type="inheritedJdk" />
|
23
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.13.7, ruby-2.3.3-p222) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.5, ruby-2.3.3-p222) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, ruby-2.3.3-p222) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rufus-scheduler (v3.3.2, ruby-2.3.3-p222) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, ruby-2.3.3-p222) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, ruby-2.3.3-p222) [gem]" level="application" />
|
30
|
+
</component>
|
31
|
+
</module>
|
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,641 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="fad7315f-a081-431c-8fbc-46af4841158f" name="Default" comment="">
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/libcache.iml" />
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
7
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
|
8
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
9
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/console" />
|
10
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/setup" />
|
11
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/exe/libcache" />
|
12
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/libcache.gemspec" afterPath="$PROJECT_DIR$/libcache.gemspec" />
|
13
|
+
</list>
|
14
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
15
|
+
<option name="TRACKING_ENABLED" value="true" />
|
16
|
+
<option name="SHOW_DIALOG" value="false" />
|
17
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
18
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
19
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
20
|
+
</component>
|
21
|
+
<component name="CoverageDataManager">
|
22
|
+
<SUITE FILE_PATH="coverage/libcache@libcache.coverage" NAME="libcache Coverage Results" MODIFIED="1484353334009" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/exe" MODULE_NAME="libcache" />
|
23
|
+
</component>
|
24
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
25
|
+
<component name="FileEditorManager">
|
26
|
+
<leaf>
|
27
|
+
<file leaf-file-name="libcache" pinned="false" current-in-tab="false">
|
28
|
+
<entry file="file://$PROJECT_DIR$/exe/libcache">
|
29
|
+
<provider selected="true" editor-type-id="text-editor">
|
30
|
+
<state relative-caret-position="80">
|
31
|
+
<caret line="5" column="0" lean-forward="false" selection-start-line="5" selection-start-column="0" selection-end-line="16" selection-end-column="3" />
|
32
|
+
<folding />
|
33
|
+
</state>
|
34
|
+
</provider>
|
35
|
+
</entry>
|
36
|
+
</file>
|
37
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
38
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
39
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
40
|
+
<state split_layout="FIRST">
|
41
|
+
<first_editor relative-caret-position="742">
|
42
|
+
<caret line="53" column="0" lean-forward="true" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
|
43
|
+
<folding>
|
44
|
+
<marker date="1484353847762" expanded="true" signature="565:584" ph="{ ... }" />
|
45
|
+
<marker date="1484353847762" expanded="true" signature="705:791" ph="##..." />
|
46
|
+
<marker date="1484353847762" expanded="true" signature="800:828" ph="do ... end" />
|
47
|
+
<marker date="1484353847762" expanded="true" signature="1159:1178" ph="{ ... }" />
|
48
|
+
<marker date="1484353847762" expanded="true" signature="1299:1395" ph="##..." />
|
49
|
+
<marker date="1484353847762" expanded="true" signature="1404:1432" ph="do ... end" />
|
50
|
+
</folding>
|
51
|
+
</first_editor>
|
52
|
+
<second_editor />
|
53
|
+
</state>
|
54
|
+
</provider>
|
55
|
+
</entry>
|
56
|
+
</file>
|
57
|
+
<file leaf-file-name=".travis.yml" pinned="false" current-in-tab="false">
|
58
|
+
<entry file="file://$PROJECT_DIR$/.travis.yml">
|
59
|
+
<provider selected="true" editor-type-id="text-editor">
|
60
|
+
<state relative-caret-position="80">
|
61
|
+
<caret line="5" column="0" lean-forward="true" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
|
62
|
+
<folding />
|
63
|
+
</state>
|
64
|
+
</provider>
|
65
|
+
</entry>
|
66
|
+
</file>
|
67
|
+
<file leaf-file-name="test_helper.rb" pinned="false" current-in-tab="false">
|
68
|
+
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
70
|
+
<state relative-caret-position="0">
|
71
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
72
|
+
<folding />
|
73
|
+
</state>
|
74
|
+
</provider>
|
75
|
+
</entry>
|
76
|
+
</file>
|
77
|
+
<file leaf-file-name="libcache_test.rb" pinned="false" current-in-tab="false">
|
78
|
+
<entry file="file://$PROJECT_DIR$/test/libcache_test.rb">
|
79
|
+
<provider selected="true" editor-type-id="text-editor">
|
80
|
+
<state relative-caret-position="176">
|
81
|
+
<caret line="11" column="0" lean-forward="true" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
|
82
|
+
<folding />
|
83
|
+
</state>
|
84
|
+
</provider>
|
85
|
+
</entry>
|
86
|
+
</file>
|
87
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
88
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/version.rb">
|
89
|
+
<provider selected="true" editor-type-id="text-editor">
|
90
|
+
<state relative-caret-position="0">
|
91
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
92
|
+
<folding />
|
93
|
+
</state>
|
94
|
+
</provider>
|
95
|
+
</entry>
|
96
|
+
</file>
|
97
|
+
<file leaf-file-name="cache.rb" pinned="false" current-in-tab="false">
|
98
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/cache.rb">
|
99
|
+
<provider selected="true" editor-type-id="text-editor">
|
100
|
+
<state relative-caret-position="192">
|
101
|
+
<caret line="18" column="17" lean-forward="false" selection-start-line="18" selection-start-column="17" selection-end-line="18" selection-end-column="17" />
|
102
|
+
<folding />
|
103
|
+
</state>
|
104
|
+
</provider>
|
105
|
+
</entry>
|
106
|
+
</file>
|
107
|
+
<file leaf-file-name="CODE_OF_CONDUCT.md" pinned="false" current-in-tab="false">
|
108
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
109
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
110
|
+
<state split_layout="SPLIT">
|
111
|
+
<first_editor relative-caret-position="0">
|
112
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
113
|
+
<folding />
|
114
|
+
</first_editor>
|
115
|
+
<second_editor />
|
116
|
+
</state>
|
117
|
+
</provider>
|
118
|
+
</entry>
|
119
|
+
</file>
|
120
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
121
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
122
|
+
<provider selected="true" editor-type-id="text-editor">
|
123
|
+
<state relative-caret-position="48">
|
124
|
+
<caret line="3" column="7" lean-forward="false" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
|
125
|
+
<folding />
|
126
|
+
</state>
|
127
|
+
</provider>
|
128
|
+
</entry>
|
129
|
+
</file>
|
130
|
+
<file leaf-file-name="libcache.gemspec" pinned="false" current-in-tab="true">
|
131
|
+
<entry file="file://$PROJECT_DIR$/libcache.gemspec">
|
132
|
+
<provider selected="true" editor-type-id="text-editor">
|
133
|
+
<state relative-caret-position="91">
|
134
|
+
<caret line="14" column="28" lean-forward="false" selection-start-line="14" selection-start-column="28" selection-end-line="14" selection-end-column="28" />
|
135
|
+
<folding />
|
136
|
+
</state>
|
137
|
+
</provider>
|
138
|
+
</entry>
|
139
|
+
</file>
|
140
|
+
</leaf>
|
141
|
+
</component>
|
142
|
+
<component name="FileTemplateManagerImpl">
|
143
|
+
<option name="RECENT_TEMPLATES">
|
144
|
+
<list>
|
145
|
+
<option value="Ruby Class Template" />
|
146
|
+
</list>
|
147
|
+
</option>
|
148
|
+
</component>
|
149
|
+
<component name="Git.Settings">
|
150
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
151
|
+
</component>
|
152
|
+
<component name="IdeDocumentHistory">
|
153
|
+
<option name="CHANGED_PATHS">
|
154
|
+
<list>
|
155
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
156
|
+
<option value="$PROJECT_DIR$/lib/libcache/cache.rb" />
|
157
|
+
<option value="$PROJECT_DIR$/lib/libcache/cache_builder.rb" />
|
158
|
+
<option value="$PROJECT_DIR$/lib/libcache/file_cache.rb" />
|
159
|
+
<option value="$PROJECT_DIR$/exe/libcache" />
|
160
|
+
<option value="$PROJECT_DIR$/README.md" />
|
161
|
+
<option value="$PROJECT_DIR$/libcache.gemspec" />
|
162
|
+
</list>
|
163
|
+
</option>
|
164
|
+
</component>
|
165
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
166
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
167
|
+
<component name="JsGulpfileManager">
|
168
|
+
<detection-done>true</detection-done>
|
169
|
+
<sorting>DEFINITION_ORDER</sorting>
|
170
|
+
</component>
|
171
|
+
<component name="ProjectFrameBounds">
|
172
|
+
<option name="x" value="-8" />
|
173
|
+
<option name="y" value="-8" />
|
174
|
+
<option name="width" value="1382" />
|
175
|
+
<option name="height" value="744" />
|
176
|
+
</component>
|
177
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
178
|
+
<component name="ProjectView">
|
179
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
180
|
+
<flattenPackages />
|
181
|
+
<showMembers />
|
182
|
+
<showModules />
|
183
|
+
<showLibraryContents />
|
184
|
+
<hideEmptyPackages />
|
185
|
+
<abbreviatePackageNames />
|
186
|
+
<autoscrollToSource />
|
187
|
+
<autoscrollFromSource />
|
188
|
+
<sortByType />
|
189
|
+
<manualOrder />
|
190
|
+
<foldersAlwaysOnTop value="true" />
|
191
|
+
</navigator>
|
192
|
+
<panes>
|
193
|
+
<pane id="ProjectPane">
|
194
|
+
<subPane>
|
195
|
+
<PATH>
|
196
|
+
<PATH_ELEMENT>
|
197
|
+
<option name="myItemId" value="libcache" />
|
198
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
199
|
+
</PATH_ELEMENT>
|
200
|
+
<PATH_ELEMENT>
|
201
|
+
<option name="myItemId" value="libcache" />
|
202
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
203
|
+
</PATH_ELEMENT>
|
204
|
+
</PATH>
|
205
|
+
<PATH>
|
206
|
+
<PATH_ELEMENT>
|
207
|
+
<option name="myItemId" value="libcache" />
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
209
|
+
</PATH_ELEMENT>
|
210
|
+
<PATH_ELEMENT>
|
211
|
+
<option name="myItemId" value="libcache" />
|
212
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
213
|
+
</PATH_ELEMENT>
|
214
|
+
<PATH_ELEMENT>
|
215
|
+
<option name="myItemId" value="test" />
|
216
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
217
|
+
</PATH_ELEMENT>
|
218
|
+
</PATH>
|
219
|
+
<PATH>
|
220
|
+
<PATH_ELEMENT>
|
221
|
+
<option name="myItemId" value="libcache" />
|
222
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
223
|
+
</PATH_ELEMENT>
|
224
|
+
<PATH_ELEMENT>
|
225
|
+
<option name="myItemId" value="libcache" />
|
226
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
227
|
+
</PATH_ELEMENT>
|
228
|
+
<PATH_ELEMENT>
|
229
|
+
<option name="myItemId" value="lib" />
|
230
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
231
|
+
</PATH_ELEMENT>
|
232
|
+
</PATH>
|
233
|
+
<PATH>
|
234
|
+
<PATH_ELEMENT>
|
235
|
+
<option name="myItemId" value="libcache" />
|
236
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
237
|
+
</PATH_ELEMENT>
|
238
|
+
<PATH_ELEMENT>
|
239
|
+
<option name="myItemId" value="libcache" />
|
240
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
241
|
+
</PATH_ELEMENT>
|
242
|
+
<PATH_ELEMENT>
|
243
|
+
<option name="myItemId" value="lib" />
|
244
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
245
|
+
</PATH_ELEMENT>
|
246
|
+
<PATH_ELEMENT>
|
247
|
+
<option name="myItemId" value="libcache" />
|
248
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
249
|
+
</PATH_ELEMENT>
|
250
|
+
</PATH>
|
251
|
+
<PATH>
|
252
|
+
<PATH_ELEMENT>
|
253
|
+
<option name="myItemId" value="libcache" />
|
254
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
255
|
+
</PATH_ELEMENT>
|
256
|
+
<PATH_ELEMENT>
|
257
|
+
<option name="myItemId" value="libcache" />
|
258
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
259
|
+
</PATH_ELEMENT>
|
260
|
+
<PATH_ELEMENT>
|
261
|
+
<option name="myItemId" value="exe" />
|
262
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
263
|
+
</PATH_ELEMENT>
|
264
|
+
</PATH>
|
265
|
+
</subPane>
|
266
|
+
</pane>
|
267
|
+
<pane id="Scratches" />
|
268
|
+
<pane id="Scope" />
|
269
|
+
</panes>
|
270
|
+
</component>
|
271
|
+
<component name="PropertiesComponent">
|
272
|
+
<property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
273
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
274
|
+
<property name="node.js.path.for.package.jscs" value="project" />
|
275
|
+
<property name="nodejs_interpreter_path" value="C:/Program Files/nodejs/node" />
|
276
|
+
<property name="node.js.selected.package.jscs" value="" />
|
277
|
+
<property name="node.js.path.for.package.eslint" value="project" />
|
278
|
+
<property name="node.js.selected.package.eslint" value="" />
|
279
|
+
</component>
|
280
|
+
<component name="RunManager" selected="Ruby.libcache">
|
281
|
+
<configuration default="false" name="libcache" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
282
|
+
<module name="libcache" />
|
283
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
284
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/exe" />
|
285
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
286
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
287
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
288
|
+
<envs />
|
289
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
290
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
291
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
292
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/exe/libcache" />
|
293
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE=""C:\Users\Salah\cache\gfunk"" />
|
294
|
+
<method />
|
295
|
+
</configuration>
|
296
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
297
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
298
|
+
<module name="" />
|
299
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
300
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
301
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
302
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
303
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
304
|
+
<envs />
|
305
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
306
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
307
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
308
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
309
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
310
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
311
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
312
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
313
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
314
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
315
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
316
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
317
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
318
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
319
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
320
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
321
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
322
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
323
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
324
|
+
<method />
|
325
|
+
</configuration>
|
326
|
+
<configuration default="true" type="JavaScriptTestRunnerProtractor" factoryName="Protractor">
|
327
|
+
<config-file value="" />
|
328
|
+
<node-interpreter value="project" />
|
329
|
+
<envs />
|
330
|
+
<method />
|
331
|
+
</configuration>
|
332
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
333
|
+
<method />
|
334
|
+
</configuration>
|
335
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
336
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
337
|
+
<module name="" />
|
338
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
339
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
340
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
341
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
342
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
343
|
+
<envs />
|
344
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
345
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
346
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
347
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
348
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
349
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
350
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
351
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
352
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
353
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
354
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
355
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
356
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
357
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
358
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
359
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
360
|
+
<method />
|
361
|
+
</configuration>
|
362
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
363
|
+
<module name="" />
|
364
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
365
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
366
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
367
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
368
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
369
|
+
<envs />
|
370
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
371
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
372
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
373
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
374
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
375
|
+
<method />
|
376
|
+
</configuration>
|
377
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
378
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
379
|
+
<module name="" />
|
380
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
381
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
382
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
383
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
384
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
385
|
+
<envs />
|
386
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
387
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
388
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
389
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
390
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
391
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
392
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
393
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
394
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
395
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
396
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
397
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
398
|
+
<method />
|
399
|
+
</configuration>
|
400
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
401
|
+
<method />
|
402
|
+
</configuration>
|
403
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
404
|
+
<command value="run" />
|
405
|
+
<scripts />
|
406
|
+
<node-interpreter value="project" />
|
407
|
+
<envs />
|
408
|
+
<method />
|
409
|
+
</configuration>
|
410
|
+
<list size="1">
|
411
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.libcache" />
|
412
|
+
</list>
|
413
|
+
<recent_temporary>
|
414
|
+
<list size="1">
|
415
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.libcache" />
|
416
|
+
</list>
|
417
|
+
</recent_temporary>
|
418
|
+
</component>
|
419
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
420
|
+
<option name="remove_strategy" value="false" />
|
421
|
+
</component>
|
422
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
423
|
+
<component name="TaskManager">
|
424
|
+
<task active="true" id="Default" summary="Default task">
|
425
|
+
<changelist id="fad7315f-a081-431c-8fbc-46af4841158f" name="Default" comment="" />
|
426
|
+
<created>1484342488609</created>
|
427
|
+
<option name="number" value="Default" />
|
428
|
+
<option name="presentableId" value="Default" />
|
429
|
+
<updated>1484342488609</updated>
|
430
|
+
<workItem from="1484342491002" duration="11654000" />
|
431
|
+
</task>
|
432
|
+
<task id="LOCAL-00001" summary="Initial commit">
|
433
|
+
<created>1484352837659</created>
|
434
|
+
<option name="number" value="00001" />
|
435
|
+
<option name="presentableId" value="LOCAL-00001" />
|
436
|
+
<option name="project" value="LOCAL" />
|
437
|
+
<updated>1484352837659</updated>
|
438
|
+
</task>
|
439
|
+
<task id="LOCAL-00002" summary="Update links">
|
440
|
+
<created>1484353079924</created>
|
441
|
+
<option name="number" value="00002" />
|
442
|
+
<option name="presentableId" value="LOCAL-00002" />
|
443
|
+
<option name="project" value="LOCAL" />
|
444
|
+
<updated>1484353079924</updated>
|
445
|
+
</task>
|
446
|
+
<task id="LOCAL-00003" summary="Updated readme">
|
447
|
+
<created>1484353693802</created>
|
448
|
+
<option name="number" value="00003" />
|
449
|
+
<option name="presentableId" value="LOCAL-00003" />
|
450
|
+
<option name="project" value="LOCAL" />
|
451
|
+
<updated>1484353693802</updated>
|
452
|
+
</task>
|
453
|
+
<task id="LOCAL-00004" summary="Fixed typos">
|
454
|
+
<created>1484353976280</created>
|
455
|
+
<option name="number" value="00004" />
|
456
|
+
<option name="presentableId" value="LOCAL-00004" />
|
457
|
+
<option name="project" value="LOCAL" />
|
458
|
+
<updated>1484353976281</updated>
|
459
|
+
</task>
|
460
|
+
<option name="localTasksCounter" value="5" />
|
461
|
+
<servers />
|
462
|
+
</component>
|
463
|
+
<component name="TimeTrackingManager">
|
464
|
+
<option name="totallyTimeSpent" value="11654000" />
|
465
|
+
</component>
|
466
|
+
<component name="ToolWindowManager">
|
467
|
+
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
|
468
|
+
<editor active="true" />
|
469
|
+
<layout>
|
470
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24743778" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
471
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
472
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
473
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
474
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
475
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3296355" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
476
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
477
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3296355" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
478
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
479
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
480
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
481
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
482
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
483
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
484
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
485
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
486
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
487
|
+
</layout>
|
488
|
+
</component>
|
489
|
+
<component name="TypeScriptGeneratedFilesManager">
|
490
|
+
<option name="processedProjectFiles" value="true" />
|
491
|
+
</component>
|
492
|
+
<component name="VcsContentAnnotationSettings">
|
493
|
+
<option name="myLimit" value="2678400000" />
|
494
|
+
</component>
|
495
|
+
<component name="VcsManagerConfiguration">
|
496
|
+
<MESSAGE value="Initial commit" />
|
497
|
+
<MESSAGE value="Update links" />
|
498
|
+
<MESSAGE value="Updated readme" />
|
499
|
+
<MESSAGE value="Fixed typos" />
|
500
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fixed typos" />
|
501
|
+
</component>
|
502
|
+
<component name="XDebuggerManager">
|
503
|
+
<breakpoint-manager />
|
504
|
+
<watches-manager />
|
505
|
+
</component>
|
506
|
+
<component name="editorHistoryManager">
|
507
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
508
|
+
<provider selected="true" editor-type-id="text-editor">
|
509
|
+
<state relative-caret-position="0">
|
510
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
511
|
+
<folding />
|
512
|
+
</state>
|
513
|
+
</provider>
|
514
|
+
</entry>
|
515
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache.rb">
|
516
|
+
<provider selected="true" editor-type-id="text-editor">
|
517
|
+
<state relative-caret-position="0">
|
518
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
519
|
+
<folding />
|
520
|
+
</state>
|
521
|
+
</provider>
|
522
|
+
</entry>
|
523
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/cache_builder.rb">
|
524
|
+
<provider selected="true" editor-type-id="text-editor">
|
525
|
+
<state relative-caret-position="288">
|
526
|
+
<caret line="28" column="23" lean-forward="false" selection-start-line="28" selection-start-column="23" selection-end-line="28" selection-end-column="23" />
|
527
|
+
<folding />
|
528
|
+
</state>
|
529
|
+
</provider>
|
530
|
+
</entry>
|
531
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
532
|
+
<provider selected="true" editor-type-id="text-editor">
|
533
|
+
<state relative-caret-position="0">
|
534
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
535
|
+
<folding />
|
536
|
+
</state>
|
537
|
+
</provider>
|
538
|
+
</entry>
|
539
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/file_cache.rb">
|
540
|
+
<provider selected="true" editor-type-id="text-editor">
|
541
|
+
<state relative-caret-position="219">
|
542
|
+
<caret line="41" column="16" lean-forward="true" selection-start-line="41" selection-start-column="16" selection-end-line="41" selection-end-column="16" />
|
543
|
+
<folding />
|
544
|
+
</state>
|
545
|
+
</provider>
|
546
|
+
</entry>
|
547
|
+
<entry file="file://$PROJECT_DIR$/exe/libcache">
|
548
|
+
<provider selected="true" editor-type-id="text-editor">
|
549
|
+
<state relative-caret-position="80">
|
550
|
+
<caret line="5" column="0" lean-forward="false" selection-start-line="5" selection-start-column="0" selection-end-line="16" selection-end-column="3" />
|
551
|
+
<folding />
|
552
|
+
</state>
|
553
|
+
</provider>
|
554
|
+
</entry>
|
555
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/cache.rb">
|
556
|
+
<provider selected="true" editor-type-id="text-editor">
|
557
|
+
<state relative-caret-position="192">
|
558
|
+
<caret line="18" column="17" lean-forward="false" selection-start-line="18" selection-start-column="17" selection-end-line="18" selection-end-column="17" />
|
559
|
+
<folding />
|
560
|
+
</state>
|
561
|
+
</provider>
|
562
|
+
</entry>
|
563
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
564
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
565
|
+
<state split_layout="FIRST">
|
566
|
+
<first_editor relative-caret-position="742">
|
567
|
+
<caret line="53" column="0" lean-forward="true" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
|
568
|
+
<folding>
|
569
|
+
<marker date="1484353847762" expanded="true" signature="565:584" ph="{ ... }" />
|
570
|
+
<marker date="1484353847762" expanded="true" signature="705:791" ph="##..." />
|
571
|
+
<marker date="1484353847762" expanded="true" signature="800:828" ph="do ... end" />
|
572
|
+
<marker date="1484353847762" expanded="true" signature="1159:1178" ph="{ ... }" />
|
573
|
+
<marker date="1484353847762" expanded="true" signature="1299:1395" ph="##..." />
|
574
|
+
<marker date="1484353847762" expanded="true" signature="1404:1432" ph="do ... end" />
|
575
|
+
</folding>
|
576
|
+
</first_editor>
|
577
|
+
<second_editor />
|
578
|
+
</state>
|
579
|
+
</provider>
|
580
|
+
</entry>
|
581
|
+
<entry file="file://$PROJECT_DIR$/.travis.yml">
|
582
|
+
<provider selected="true" editor-type-id="text-editor">
|
583
|
+
<state relative-caret-position="80">
|
584
|
+
<caret line="5" column="0" lean-forward="true" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
|
585
|
+
<folding />
|
586
|
+
</state>
|
587
|
+
</provider>
|
588
|
+
</entry>
|
589
|
+
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
590
|
+
<provider selected="true" editor-type-id="text-editor">
|
591
|
+
<state relative-caret-position="0">
|
592
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
593
|
+
<folding />
|
594
|
+
</state>
|
595
|
+
</provider>
|
596
|
+
</entry>
|
597
|
+
<entry file="file://$PROJECT_DIR$/test/libcache_test.rb">
|
598
|
+
<provider selected="true" editor-type-id="text-editor">
|
599
|
+
<state relative-caret-position="176">
|
600
|
+
<caret line="11" column="0" lean-forward="true" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
|
601
|
+
<folding />
|
602
|
+
</state>
|
603
|
+
</provider>
|
604
|
+
</entry>
|
605
|
+
<entry file="file://$PROJECT_DIR$/lib/libcache/version.rb">
|
606
|
+
<provider selected="true" editor-type-id="text-editor">
|
607
|
+
<state relative-caret-position="0">
|
608
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
609
|
+
<folding />
|
610
|
+
</state>
|
611
|
+
</provider>
|
612
|
+
</entry>
|
613
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
614
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
615
|
+
<state split_layout="SPLIT">
|
616
|
+
<first_editor relative-caret-position="0">
|
617
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
618
|
+
<folding />
|
619
|
+
</first_editor>
|
620
|
+
<second_editor />
|
621
|
+
</state>
|
622
|
+
</provider>
|
623
|
+
</entry>
|
624
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
625
|
+
<provider selected="true" editor-type-id="text-editor">
|
626
|
+
<state relative-caret-position="48">
|
627
|
+
<caret line="3" column="7" lean-forward="false" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
|
628
|
+
<folding />
|
629
|
+
</state>
|
630
|
+
</provider>
|
631
|
+
</entry>
|
632
|
+
<entry file="file://$PROJECT_DIR$/libcache.gemspec">
|
633
|
+
<provider selected="true" editor-type-id="text-editor">
|
634
|
+
<state relative-caret-position="91">
|
635
|
+
<caret line="14" column="28" lean-forward="false" selection-start-line="14" selection-start-column="28" selection-end-line="14" selection-end-column="28" />
|
636
|
+
<folding />
|
637
|
+
</state>
|
638
|
+
</provider>
|
639
|
+
</entry>
|
640
|
+
</component>
|
641
|
+
</project>
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at silk8192@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 silk8192
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Libcache
|
2
|
+
|
3
|
+
A caching library that provides in-memory and file based cache
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'libcache'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install libcache
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
For an in memory Cache with an expiry time of 3 seconds, store location at 'foo\bar', and refresh method where 100 is added to the key (of course more sophisticated value retrieving operations will replace this method)
|
24
|
+
```ruby
|
25
|
+
|
26
|
+
cache = CacheBuilder.with(Cache).set_expiry('3s').set_refresh(Proc.new { |key| key + 100 }).build
|
27
|
+
|
28
|
+
cache.put(1, 5)
|
29
|
+
cache.get(1) # will return 5
|
30
|
+
sleep 4 # note that this is more than the expiry time
|
31
|
+
cache.get(1) # will return 105 as the data has been refreshed
|
32
|
+
|
33
|
+
# delete all data on exit of program
|
34
|
+
at_exit do
|
35
|
+
cache.invalidateAll
|
36
|
+
end
|
37
|
+
|
38
|
+
```
|
39
|
+
|
40
|
+
For an file-based Cache with an expiry time of 3 seconds, store location at 'foo\bar', and refresh method where 100 is added to the key (of course more sophisticated value retrieving operations will replace this method)
|
41
|
+
```ruby
|
42
|
+
cache = CacheBuilder.with(FileCache).set_store('foo\bar').set_expiry('3s').set_refresh(Proc.new { |key| key + 100 }).build
|
43
|
+
|
44
|
+
cache.put(1, 5)
|
45
|
+
cache.get(1) # will return 5
|
46
|
+
sleep 4 # note that this is more than the expiry time
|
47
|
+
cache.get(1) # will return 105 as the data has been refreshed
|
48
|
+
|
49
|
+
# delete all leftover files on exit of program
|
50
|
+
at_exit do
|
51
|
+
cache.invalidateAll
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
For more on what kind of strings are understood as times, [click here](https://github.com/jmettraux/rufus-scheduler/blob/two/README.rdoc#the-time-strings-understood-by-rufus-scheduler).
|
56
|
+
|
57
|
+
## Development
|
58
|
+
|
59
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
60
|
+
|
61
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
62
|
+
|
63
|
+
## Contributing
|
64
|
+
|
65
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/silk8192/libcache. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
66
|
+
|
67
|
+
|
68
|
+
## License
|
69
|
+
|
70
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
71
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "libcache"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/exe/libcache
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "../lib/libcache/cache_builder"
|
4
|
+
require_relative "../lib/libcache/file_cache"
|
5
|
+
|
6
|
+
cache = CacheBuilder.with(Cache).set_store(ARGV[0]).set_expiry('3s').set_refresh(Proc.new { |key| key + 12 }).build
|
7
|
+
|
8
|
+
cache.put(1, 2)
|
9
|
+
|
10
|
+
2.times do |i|
|
11
|
+
puts cache.get(1)
|
12
|
+
sleep i
|
13
|
+
end
|
14
|
+
|
15
|
+
at_exit do
|
16
|
+
cache.invalidateAll
|
17
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'rufus-scheduler'
|
2
|
+
|
3
|
+
class Cache
|
4
|
+
|
5
|
+
attr_accessor :expiry_time, :refresh, :store
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
ENV['TZ'] = 'UTC'
|
9
|
+
@scheduler = Rufus::Scheduler.new
|
10
|
+
end
|
11
|
+
|
12
|
+
def create_store
|
13
|
+
@cache = Hash.new
|
14
|
+
end
|
15
|
+
|
16
|
+
def put(key, value)
|
17
|
+
@cache[key] = value
|
18
|
+
@scheduler.in expiry_time, :blocking => true do
|
19
|
+
invalidate key
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def get(key)
|
24
|
+
if @cache[key] == nil
|
25
|
+
return refresh.call key
|
26
|
+
end
|
27
|
+
return @cache[key]
|
28
|
+
end
|
29
|
+
|
30
|
+
def invalidate(key)
|
31
|
+
@cache.delete key
|
32
|
+
end
|
33
|
+
|
34
|
+
def invalidateAll
|
35
|
+
@cache.clear
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require_relative 'cache'
|
2
|
+
|
3
|
+
class CacheBuilder
|
4
|
+
|
5
|
+
def initialize(cache)
|
6
|
+
@cache = cache.new
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.with(cache)
|
10
|
+
return self.new(cache)
|
11
|
+
end
|
12
|
+
|
13
|
+
def set_store(path)
|
14
|
+
@cache.store = path
|
15
|
+
return self
|
16
|
+
end
|
17
|
+
|
18
|
+
def set_expiry(time)
|
19
|
+
@cache.expiry_time = time
|
20
|
+
return self
|
21
|
+
end
|
22
|
+
|
23
|
+
def set_refresh(proc)
|
24
|
+
@cache.refresh = proc
|
25
|
+
return self
|
26
|
+
end
|
27
|
+
|
28
|
+
def build
|
29
|
+
@cache.create_store
|
30
|
+
return @cache.dup
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative 'cache'
|
2
|
+
|
3
|
+
class FileCache < Cache
|
4
|
+
|
5
|
+
def initialize
|
6
|
+
super
|
7
|
+
end
|
8
|
+
|
9
|
+
def create_store
|
10
|
+
@cache = Hash.new
|
11
|
+
if store == nil
|
12
|
+
raise 'Store path is missing!'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def put(key, value)
|
17
|
+
@cache[key] = value
|
18
|
+
File.open(File.join(store, key.to_s), 'w') do |f|
|
19
|
+
f.write(value)
|
20
|
+
end
|
21
|
+
@scheduler.in expiry_time, :blocking => true do
|
22
|
+
invalidate key
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def get(key)
|
27
|
+
if @cache[key] == nil
|
28
|
+
val = refresh.call(key)
|
29
|
+
put(key, val)
|
30
|
+
return val
|
31
|
+
end
|
32
|
+
return File.read(File.join(store, key.to_s))
|
33
|
+
end
|
34
|
+
|
35
|
+
def invalidate(key)
|
36
|
+
super
|
37
|
+
File.delete(File.join(store, key.to_s))
|
38
|
+
end
|
39
|
+
|
40
|
+
def invalidateAll
|
41
|
+
super
|
42
|
+
Dir.foreach(store) { |f|
|
43
|
+
File.delete(File.join(store, f)) if f != '.' && f != '..'
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/lib/libcache.rb
ADDED
data/libcache.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'libcache/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "libcache"
|
8
|
+
spec.version = Libcache::VERSION
|
9
|
+
spec.authors = ["silk8192"]
|
10
|
+
spec.email = ["silk8192@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "A caching library that provides in-memory and file based cache"
|
13
|
+
spec.description = "A caching library that provides in-memory and file based cache"
|
14
|
+
spec.homepage = "https://github.com/silk8192/libcache"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libcache
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- silk8192
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-01-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.13'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.13'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
description: A caching library that provides in-memory and file based cache
|
56
|
+
email:
|
57
|
+
- silk8192@gmail.com
|
58
|
+
executables:
|
59
|
+
- libcache
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- ".idea/libcache.iml"
|
65
|
+
- ".idea/misc.xml"
|
66
|
+
- ".idea/modules.xml"
|
67
|
+
- ".idea/workspace.xml"
|
68
|
+
- ".travis.yml"
|
69
|
+
- CODE_OF_CONDUCT.md
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- bin/console
|
75
|
+
- bin/setup
|
76
|
+
- exe/libcache
|
77
|
+
- lib/libcache.rb
|
78
|
+
- lib/libcache/cache.rb
|
79
|
+
- lib/libcache/cache_builder.rb
|
80
|
+
- lib/libcache/file_cache.rb
|
81
|
+
- lib/libcache/version.rb
|
82
|
+
- libcache.gemspec
|
83
|
+
homepage: https://github.com/silk8192/libcache
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata: {}
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
requirements: []
|
102
|
+
rubyforge_project:
|
103
|
+
rubygems_version: 2.6.8
|
104
|
+
signing_key:
|
105
|
+
specification_version: 4
|
106
|
+
summary: A caching library that provides in-memory and file based cache
|
107
|
+
test_files: []
|