simpleurlcount 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 56397407a54e4f719fce7a094bed8cb93cdc84d7
4
+ data.tar.gz: 26a23d714d3a135d5238cb8689240ae2fef588ab
5
+ SHA512:
6
+ metadata.gz: 97ecbd0e632f947aa51cb8bd7b501a28f483f299206900e702af2606486a8e57b10442166d96a4ef89e73125468f56a394e7dee0827c3f289a3d7426a1426136
7
+ data.tar.gz: 6de0f5f7075d6ef42fc253e6e4ae2bc025069a3773a30ef1f389a05fcafc678ae5ff9cfe03e65513c9c46757fc4f57d7b55923f0d14960eda0310a329823d190
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ </profile>
6
+ </component>
data/.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.4.2-p198" project-jdk-type="RUBY_SDK" />
4
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/simpleurlcount.iml" filepath="$PROJECT_DIR$/.idea/simpleurlcount.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.0, ruby-2.4.2-p198) [gem]" level="application" />
11
+ </component>
12
+ </module>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,336 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="e3c3291d-b474-403c-845f-1aecb72a4fc6" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/simpleurlcount.gemspec" afterPath="$PROJECT_DIR$/simpleurlcount.gemspec" />
6
+ </list>
7
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+ <option name="TRACKING_ENABLED" value="true" />
9
+ <option name="SHOW_DIALOG" value="false" />
10
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+ <option name="LAST_RESOLUTION" value="IGNORE" />
13
+ </component>
14
+ <component name="CoverageDataManager">
15
+ <SUITE FILE_PATH="coverage/simpleurlcount@All_tests_in_spec__simpleurlcount.coverage" NAME="All tests in spec: simpleurlcount Coverage Results" MODIFIED="1511738942891" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="simpleurlcount" />
16
+ </component>
17
+ <component name="FileEditorManager">
18
+ <leaf>
19
+ <file leaf-file-name="simpleurlcount.gemspec" pinned="false" current-in-tab="true">
20
+ <entry file="file://$PROJECT_DIR$/simpleurlcount.gemspec">
21
+ <provider selected="true" editor-type-id="text-editor">
22
+ <state relative-caret-position="119">
23
+ <caret line="23" column="7" lean-forward="true" selection-start-line="23" selection-start-column="7" selection-end-line="23" selection-end-column="7" />
24
+ <folding />
25
+ </state>
26
+ </provider>
27
+ </entry>
28
+ </file>
29
+ <file leaf-file-name="simpleurlcount_spec.rb" pinned="false" current-in-tab="false">
30
+ <entry file="file://$PROJECT_DIR$/spec/simpleurlcount_spec.rb">
31
+ <provider selected="true" editor-type-id="text-editor">
32
+ <state relative-caret-position="68">
33
+ <caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
34
+ <folding />
35
+ </state>
36
+ </provider>
37
+ </entry>
38
+ </file>
39
+ <file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
40
+ <entry file="file://$PROJECT_DIR$/Rakefile">
41
+ <provider selected="true" editor-type-id="text-editor">
42
+ <state relative-caret-position="102">
43
+ <caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
44
+ <folding />
45
+ </state>
46
+ </provider>
47
+ </entry>
48
+ </file>
49
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
50
+ <entry file="file://$PROJECT_DIR$/lib/simpleurlcount/version.rb">
51
+ <provider selected="true" editor-type-id="text-editor">
52
+ <state relative-caret-position="0">
53
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
54
+ <folding />
55
+ </state>
56
+ </provider>
57
+ </entry>
58
+ </file>
59
+ <file leaf-file-name="simpleurlcount.rb" pinned="false" current-in-tab="false">
60
+ <entry file="file://$PROJECT_DIR$/lib/simpleurlcount.rb">
61
+ <provider selected="true" editor-type-id="text-editor">
62
+ <state relative-caret-position="85">
63
+ <caret line="5" column="22" lean-forward="false" selection-start-line="5" selection-start-column="22" selection-end-line="5" selection-end-column="22" />
64
+ <folding />
65
+ </state>
66
+ </provider>
67
+ </entry>
68
+ </file>
69
+ </leaf>
70
+ </component>
71
+ <component name="FindInProjectRecents">
72
+ <findStrings>
73
+ <find>TODO</find>
74
+ <find>rb_sysopen</find>
75
+ </findStrings>
76
+ </component>
77
+ <component name="Git.Settings">
78
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
79
+ </component>
80
+ <component name="IdeDocumentHistory">
81
+ <option name="CHANGED_PATHS">
82
+ <list>
83
+ <option value="$PROJECT_DIR$/lib/simpleurlcount.rb" />
84
+ <option value="$PROJECT_DIR$/spec/simpleurlcount_spec.rb" />
85
+ <option value="$PROJECT_DIR$/simpleurlcount.gemspec" />
86
+ </list>
87
+ </option>
88
+ </component>
89
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
90
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
91
+ <component name="JsGulpfileManager">
92
+ <detection-done>true</detection-done>
93
+ <sorting>DEFINITION_ORDER</sorting>
94
+ </component>
95
+ <component name="ProjectFrameBounds" extendedState="6">
96
+ <option name="x" value="10" />
97
+ <option name="y" value="20" />
98
+ <option name="width" value="1346" />
99
+ <option name="height" value="688" />
100
+ </component>
101
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
102
+ <component name="ProjectView">
103
+ <navigator currentView="ProjectPane" proportions="" version="1">
104
+ <flattenPackages />
105
+ <showMembers />
106
+ <showModules />
107
+ <showLibraryContents />
108
+ <hideEmptyPackages />
109
+ <abbreviatePackageNames />
110
+ <autoscrollToSource />
111
+ <autoscrollFromSource />
112
+ <sortByType />
113
+ <manualOrder />
114
+ <foldersAlwaysOnTop value="true" />
115
+ </navigator>
116
+ <panes>
117
+ <pane id="Scratches" />
118
+ <pane id="ProjectPane">
119
+ <subPane>
120
+ <expand>
121
+ <path>
122
+ <item name="simpleurlcount" type="b2602c69:ProjectViewProjectNode" />
123
+ <item name="simpleurlcount" type="462c0819:PsiDirectoryNode" />
124
+ </path>
125
+ <path>
126
+ <item name="simpleurlcount" type="b2602c69:ProjectViewProjectNode" />
127
+ <item name="simpleurlcount" type="462c0819:PsiDirectoryNode" />
128
+ <item name="bin" type="462c0819:PsiDirectoryNode" />
129
+ </path>
130
+ <path>
131
+ <item name="simpleurlcount" type="b2602c69:ProjectViewProjectNode" />
132
+ <item name="simpleurlcount" type="462c0819:PsiDirectoryNode" />
133
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
134
+ </path>
135
+ <path>
136
+ <item name="simpleurlcount" type="b2602c69:ProjectViewProjectNode" />
137
+ <item name="simpleurlcount" type="462c0819:PsiDirectoryNode" />
138
+ <item name="spec" type="462c0819:PsiDirectoryNode" />
139
+ </path>
140
+ </expand>
141
+ <select />
142
+ </subPane>
143
+ </pane>
144
+ <pane id="Scope" />
145
+ </panes>
146
+ </component>
147
+ <component name="PropertiesComponent">
148
+ <property name="WebServerToolWindowFactoryState" value="false" />
149
+ </component>
150
+ <component name="RunDashboard">
151
+ <option name="ruleStates">
152
+ <list>
153
+ <RuleState>
154
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
155
+ </RuleState>
156
+ <RuleState>
157
+ <option name="name" value="StatusDashboardGroupingRule" />
158
+ </RuleState>
159
+ </list>
160
+ </option>
161
+ </component>
162
+ <component name="RunManager" selected="Test::Unit/Shoulda/Minitest.All tests in spec: simpleurlcount">
163
+ <configuration name="All tests in spec: simpleurlcount" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
164
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
165
+ <module name="simpleurlcount" />
166
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Ilib" />
167
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
168
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
169
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
170
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
171
+ <envs>
172
+ <env name="JRUBY_OPTS" value="-X+O" />
173
+ </envs>
174
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
175
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
176
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
177
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
178
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
179
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*,*_spec}.rb" />
180
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
181
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
182
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
183
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
184
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
185
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
186
+ </configuration>
187
+ <recent_temporary>
188
+ <list size="1">
189
+ <item index="0" class="java.lang.String" itemvalue="Test::Unit/Shoulda/Minitest.All tests in spec: simpleurlcount" />
190
+ </list>
191
+ </recent_temporary>
192
+ </component>
193
+ <component name="ShelveChangesManager" show_recycled="false">
194
+ <option name="remove_strategy" value="false" />
195
+ </component>
196
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
197
+ <component name="TaskManager">
198
+ <task active="true" id="Default" summary="Default task">
199
+ <changelist id="e3c3291d-b474-403c-845f-1aecb72a4fc6" name="Default" comment="" />
200
+ <created>1511666526944</created>
201
+ <option name="number" value="Default" />
202
+ <option name="presentableId" value="Default" />
203
+ <updated>1511666526944</updated>
204
+ <workItem from="1511666531007" duration="4617000" />
205
+ </task>
206
+ <task id="LOCAL-00001" summary="Gemfile test">
207
+ <created>1511739234808</created>
208
+ <option name="number" value="00001" />
209
+ <option name="presentableId" value="LOCAL-00001" />
210
+ <option name="project" value="LOCAL" />
211
+ <updated>1511739234808</updated>
212
+ </task>
213
+ <option name="localTasksCounter" value="2" />
214
+ <servers />
215
+ </component>
216
+ <component name="TestHistory">
217
+ <history-entry file="All_tests_in_spec__simpleurlcount - 2017.11.26 at 18h 13m 44s.xml">
218
+ <configuration name="All tests in spec: simpleurlcount" configurationId="TestUnitRunConfigurationType" />
219
+ </history-entry>
220
+ <history-entry file="All_tests_in_spec__simpleurlcount - 2017.11.26 at 18h 17m 02s.xml">
221
+ <configuration name="All tests in spec: simpleurlcount" configurationId="TestUnitRunConfigurationType" />
222
+ </history-entry>
223
+ <history-entry file="All_tests_in_spec__simpleurlcount - 2017.11.26 at 18h 29m 03s.xml">
224
+ <configuration name="All tests in spec: simpleurlcount" configurationId="TestUnitRunConfigurationType" />
225
+ </history-entry>
226
+ </component>
227
+ <component name="TimeTrackingManager">
228
+ <option name="totallyTimeSpent" value="4617000" />
229
+ </component>
230
+ <component name="ToolWindowManager">
231
+ <frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
232
+ <editor active="true" />
233
+ <layout>
234
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24963397" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
235
+ <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" />
236
+ <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" />
237
+ <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" />
238
+ <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" />
239
+ <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" />
240
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32223904" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
241
+ <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" />
242
+ <window_info id="Terminal" 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" />
243
+ <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" />
244
+ <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" />
245
+ <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" />
246
+ <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" />
247
+ <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" />
248
+ <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" />
249
+ <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" />
250
+ <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" />
251
+ </layout>
252
+ </component>
253
+ <component name="TypeScriptGeneratedFilesManager">
254
+ <option name="version" value="1" />
255
+ </component>
256
+ <component name="VcsContentAnnotationSettings">
257
+ <option name="myLimit" value="2678400000" />
258
+ </component>
259
+ <component name="VcsManagerConfiguration">
260
+ <MESSAGE value="Gemfile test" />
261
+ <option name="LAST_COMMIT_MESSAGE" value="Gemfile test" />
262
+ </component>
263
+ <component name="XDebuggerManager">
264
+ <breakpoint-manager />
265
+ <watches-manager />
266
+ </component>
267
+ <component name="editorHistoryManager">
268
+ <entry file="file://$PROJECT_DIR$/lib/simpleurlcount/version.rb">
269
+ <provider selected="true" editor-type-id="text-editor">
270
+ <state relative-caret-position="0">
271
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
272
+ <folding />
273
+ </state>
274
+ </provider>
275
+ </entry>
276
+ <entry file="file://$PROJECT_DIR$/Gemfile">
277
+ <provider selected="true" editor-type-id="text-editor">
278
+ <state relative-caret-position="0">
279
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
280
+ <folding />
281
+ </state>
282
+ </provider>
283
+ </entry>
284
+ <entry file="file://$PROJECT_DIR$/lib/simpleurlcount.rb">
285
+ <provider selected="true" editor-type-id="text-editor">
286
+ <state relative-caret-position="85">
287
+ <caret line="5" column="22" lean-forward="false" selection-start-line="5" selection-start-column="22" selection-end-line="5" selection-end-column="22" />
288
+ <folding />
289
+ </state>
290
+ </provider>
291
+ </entry>
292
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
293
+ <provider selected="true" editor-type-id="text-editor">
294
+ <state relative-caret-position="136">
295
+ <caret line="8" column="33" lean-forward="true" selection-start-line="8" selection-start-column="33" selection-end-line="8" selection-end-column="33" />
296
+ <folding />
297
+ </state>
298
+ </provider>
299
+ </entry>
300
+ <entry file="file://$PROJECT_DIR$/Rakefile">
301
+ <provider selected="true" editor-type-id="text-editor">
302
+ <state relative-caret-position="102">
303
+ <caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
304
+ <folding />
305
+ </state>
306
+ </provider>
307
+ </entry>
308
+ <entry file="file://$PROJECT_DIR$/README.md">
309
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
310
+ <state split_layout="SPLIT">
311
+ <first_editor relative-caret-position="0">
312
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
313
+ <folding />
314
+ </first_editor>
315
+ <second_editor />
316
+ </state>
317
+ </provider>
318
+ </entry>
319
+ <entry file="file://$PROJECT_DIR$/spec/simpleurlcount_spec.rb">
320
+ <provider selected="true" editor-type-id="text-editor">
321
+ <state relative-caret-position="68">
322
+ <caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
323
+ <folding />
324
+ </state>
325
+ </provider>
326
+ </entry>
327
+ <entry file="file://$PROJECT_DIR$/simpleurlcount.gemspec">
328
+ <provider selected="true" editor-type-id="text-editor">
329
+ <state relative-caret-position="119">
330
+ <caret line="23" column="7" lean-forward="true" selection-start-line="23" selection-start-column="7" selection-end-line="23" selection-end-column="7" />
331
+ <folding />
332
+ </state>
333
+ </provider>
334
+ </entry>
335
+ </component>
336
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.2
5
+ before_install: gem install bundler -v 1.16.0
@@ -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 h.nouri85@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
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in simpleurlcount.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Hassan Nouri
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,43 @@
1
+ # Simpleurlcount
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/simpleurlcount`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'simpleurlcount'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install simpleurlcount
22
+
23
+ ## Usage
24
+
25
+ Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simpleurlcount. 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.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Simpleurlcount project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/simpleurlcount/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "simpleurlcount"
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(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module Simpleurlcount
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,8 @@
1
+ require "simpleurlcount/version"
2
+
3
+
4
+ module Simpleurlcount
5
+ def self.hi
6
+ puts "Hello world!"
7
+ end
8
+ end
@@ -0,0 +1,36 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "simpleurlcount/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "simpleurlcount"
8
+ spec.version = Simpleurlcount::VERSION
9
+ spec.authors = ["Hassan Nouri"]
10
+ spec.email = ["h.nouri85@gmail.com"]
11
+
12
+ spec.summary = %q{This gem is a url counter}
13
+ spec.description = %q{Write a longer description or delete this line.}
14
+ spec.homepage = "https://github.com/Nourico/URLGem.git"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against " \
23
+ # "public gem pushes."
24
+ # end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.16"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ end
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simpleurlcount
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Hassan Nouri
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-11-26 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.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
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: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: Write a longer description or delete this line.
56
+ email:
57
+ - h.nouri85@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/inspectionProfiles/Project_Default.xml"
64
+ - ".idea/misc.xml"
65
+ - ".idea/modules.xml"
66
+ - ".idea/simpleurlcount.iml"
67
+ - ".idea/vcs.xml"
68
+ - ".idea/workspace.xml"
69
+ - ".rspec"
70
+ - ".travis.yml"
71
+ - CODE_OF_CONDUCT.md
72
+ - Gemfile
73
+ - LICENSE.txt
74
+ - README.md
75
+ - Rakefile
76
+ - bin/console
77
+ - bin/setup
78
+ - lib/simpleurlcount.rb
79
+ - lib/simpleurlcount/version.rb
80
+ - simpleurlcount.gemspec
81
+ homepage: https://github.com/Nourico/URLGem.git
82
+ licenses:
83
+ - MIT
84
+ metadata: {}
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 2.6.13
102
+ signing_key:
103
+ specification_version: 4
104
+ summary: This gem is a url counter
105
+ test_files: []