testu_gem 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/dictionaries/shadab.xml +3 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +26 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/testu_gem.iml +10 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +301 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +61 -0
- data/lib/testu_gem/version.rb +3 -0
- data/lib/testu_gem.rb +5 -0
- data/testu_gem.gemspec +19 -0
- metadata +83 -0
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
testu_gem
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectResources">
|
4
|
+
<default-html-doctype>$APPLICATION_HOME_DIR$/lib/rubymine.jar!/resources/html5-schema/html5.rnc</default-html-doctype>
|
5
|
+
</component>
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ree-1.8.7-2012.02-i386" project-jdk-type="RUBY_SDK" />
|
7
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false">
|
8
|
+
<option name="USER" value="" />
|
9
|
+
<option name="PASSWORD" value="" />
|
10
|
+
<option name="mySSHConnectionTimeout" value="30000" />
|
11
|
+
<option name="mySSHReadTimeout" value="30000" />
|
12
|
+
<option name="LAST_MERGED_REVISION" />
|
13
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
14
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
15
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
16
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
17
|
+
<option name="DETECT_NESTED_COPIES" value="true" />
|
18
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
19
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
20
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
21
|
+
<option name="FORCE_UPDATE" value="false" />
|
22
|
+
<option name="IGNORE_EXTERNALS" value="false" />
|
23
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
24
|
+
</component>
|
25
|
+
</project>
|
26
|
+
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
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/testu_gem.iml" filepath="$PROJECT_DIR$/.idea/testu_gem.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/testu_gem.iml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
5
|
+
<orderEntry type="inheritedJdk" />
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.1.5, RVM: ree-1.8.7-2012.02-i386) [gem]" level="application" />
|
8
|
+
</component>
|
9
|
+
</module>
|
10
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,301 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="3429cd84-b232-46c9-b922-9c5069b62780" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
6
|
+
</list>
|
7
|
+
<ignored path="testu_gem.iws" />
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
9
|
+
<option name="TRACKING_ENABLED" value="true" />
|
10
|
+
<option name="SHOW_DIALOG" value="false" />
|
11
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
13
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14
|
+
</component>
|
15
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
16
|
+
<component name="CreatePatchCommitExecutor">
|
17
|
+
<option name="PATCH_PATH" value="" />
|
18
|
+
</component>
|
19
|
+
<component name="DaemonCodeAnalyzer">
|
20
|
+
<disable_hints />
|
21
|
+
</component>
|
22
|
+
<component name="FileEditorManager">
|
23
|
+
<leaf>
|
24
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
25
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
26
|
+
<provider selected="true" editor-type-id="text-editor">
|
27
|
+
<state line="49" column="20" selection-start="1421" selection-end="1421" vertical-scroll-proportion="0.0">
|
28
|
+
<folding />
|
29
|
+
</state>
|
30
|
+
</provider>
|
31
|
+
</entry>
|
32
|
+
</file>
|
33
|
+
<file leaf-file-name="gem_tasks.rb" pinned="false" current="false" current-in-tab="false">
|
34
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ree-1.8.7-2012.02-i386@global/gems/bundler-1.1.5/lib/bundler/gem_tasks.rb">
|
35
|
+
<provider selected="true" editor-type-id="text-editor">
|
36
|
+
<state line="1" column="26" selection-start="55" selection-end="55" vertical-scroll-proportion="0.0">
|
37
|
+
<folding />
|
38
|
+
</state>
|
39
|
+
</provider>
|
40
|
+
</entry>
|
41
|
+
</file>
|
42
|
+
<file leaf-file-name="gem_helper.rb" pinned="false" current="true" current-in-tab="true">
|
43
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ree-1.8.7-2012.02-i386@global/gems/bundler-1.1.5/lib/bundler/gem_helper.rb">
|
44
|
+
<provider selected="true" editor-type-id="text-editor">
|
45
|
+
<state line="109" column="8" selection-start="3221" selection-end="3221" vertical-scroll-proportion="0.16753022">
|
46
|
+
<folding />
|
47
|
+
</state>
|
48
|
+
</provider>
|
49
|
+
</entry>
|
50
|
+
</file>
|
51
|
+
<file leaf-file-name="testu_gem.gemspec" pinned="false" current="false" current-in-tab="false">
|
52
|
+
<entry file="file://$PROJECT_DIR$/testu_gem.gemspec">
|
53
|
+
<provider selected="true" editor-type-id="text-editor">
|
54
|
+
<state line="11" column="26" selection-start="433" selection-end="433" vertical-scroll-proportion="0.0">
|
55
|
+
<folding />
|
56
|
+
</state>
|
57
|
+
</provider>
|
58
|
+
</entry>
|
59
|
+
</file>
|
60
|
+
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
61
|
+
<entry file="file://$PROJECT_DIR$/lib/testu_gem/version.rb">
|
62
|
+
<provider selected="true" editor-type-id="text-editor">
|
63
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
64
|
+
<folding />
|
65
|
+
</state>
|
66
|
+
</provider>
|
67
|
+
</entry>
|
68
|
+
</file>
|
69
|
+
</leaf>
|
70
|
+
</component>
|
71
|
+
<component name="Git.Settings">
|
72
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
73
|
+
</component>
|
74
|
+
<component name="IdeDocumentHistory">
|
75
|
+
<option name="changedFiles">
|
76
|
+
<list>
|
77
|
+
<option value="$PROJECT_DIR$/testu_gem.gemspec" />
|
78
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
79
|
+
</list>
|
80
|
+
</option>
|
81
|
+
</component>
|
82
|
+
<component name="ProjectFrameBounds">
|
83
|
+
<option name="x" value="4" />
|
84
|
+
<option name="y" value="22" />
|
85
|
+
<option name="width" value="1676" />
|
86
|
+
<option name="height" value="1024" />
|
87
|
+
</component>
|
88
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
89
|
+
<OptionsSetting value="true" id="Add" />
|
90
|
+
<OptionsSetting value="true" id="Remove" />
|
91
|
+
<OptionsSetting value="true" id="Checkout" />
|
92
|
+
<OptionsSetting value="true" id="Update" />
|
93
|
+
<OptionsSetting value="true" id="Status" />
|
94
|
+
<OptionsSetting value="true" id="Edit" />
|
95
|
+
<ConfirmationsSetting value="0" id="Add" />
|
96
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
97
|
+
</component>
|
98
|
+
<component name="ProjectReloadState">
|
99
|
+
<option name="STATE" value="0" />
|
100
|
+
</component>
|
101
|
+
<component name="ProjectView">
|
102
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
103
|
+
<flattenPackages />
|
104
|
+
<showMembers />
|
105
|
+
<showModules />
|
106
|
+
<showLibraryContents />
|
107
|
+
<hideEmptyPackages />
|
108
|
+
<abbreviatePackageNames />
|
109
|
+
<autoscrollToSource />
|
110
|
+
<autoscrollFromSource />
|
111
|
+
<sortByType />
|
112
|
+
</navigator>
|
113
|
+
<panes>
|
114
|
+
<pane id="ProjectPane">
|
115
|
+
<subPane>
|
116
|
+
<PATH>
|
117
|
+
<PATH_ELEMENT>
|
118
|
+
<option name="myItemId" value="testu_gem" />
|
119
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
120
|
+
</PATH_ELEMENT>
|
121
|
+
</PATH>
|
122
|
+
<PATH>
|
123
|
+
<PATH_ELEMENT>
|
124
|
+
<option name="myItemId" value="testu_gem" />
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
126
|
+
</PATH_ELEMENT>
|
127
|
+
<PATH_ELEMENT>
|
128
|
+
<option name="myItemId" value="testu_gem" />
|
129
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
130
|
+
</PATH_ELEMENT>
|
131
|
+
</PATH>
|
132
|
+
<PATH>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="testu_gem" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
<PATH_ELEMENT>
|
138
|
+
<option name="myItemId" value="testu_gem" />
|
139
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
140
|
+
</PATH_ELEMENT>
|
141
|
+
<PATH_ELEMENT>
|
142
|
+
<option name="myItemId" value="lib" />
|
143
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
144
|
+
</PATH_ELEMENT>
|
145
|
+
</PATH>
|
146
|
+
<PATH>
|
147
|
+
<PATH_ELEMENT>
|
148
|
+
<option name="myItemId" value="testu_gem" />
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
150
|
+
</PATH_ELEMENT>
|
151
|
+
<PATH_ELEMENT>
|
152
|
+
<option name="myItemId" value="testu_gem" />
|
153
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
154
|
+
</PATH_ELEMENT>
|
155
|
+
<PATH_ELEMENT>
|
156
|
+
<option name="myItemId" value="lib" />
|
157
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
158
|
+
</PATH_ELEMENT>
|
159
|
+
<PATH_ELEMENT>
|
160
|
+
<option name="myItemId" value="testu_gem" />
|
161
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
162
|
+
</PATH_ELEMENT>
|
163
|
+
</PATH>
|
164
|
+
</subPane>
|
165
|
+
</pane>
|
166
|
+
<pane id="Scope" />
|
167
|
+
</panes>
|
168
|
+
</component>
|
169
|
+
<component name="PropertiesComponent">
|
170
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
171
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
172
|
+
<property name="options.lastSelected" value="reference.settings.ide.settings.file-colors" />
|
173
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
174
|
+
<property name="options.searchVisible" value="true" />
|
175
|
+
</component>
|
176
|
+
<component name="RunManager">
|
177
|
+
<list size="0" />
|
178
|
+
</component>
|
179
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
180
|
+
<component name="TaskManager">
|
181
|
+
<task active="true" id="Default" summary="Default task">
|
182
|
+
<created>1347191634483</created>
|
183
|
+
<updated>1347191634483</updated>
|
184
|
+
</task>
|
185
|
+
<servers />
|
186
|
+
</component>
|
187
|
+
<component name="ToolWindowManager">
|
188
|
+
<frame x="4" y="22" width="1676" height="1024" extended-state="0" />
|
189
|
+
<editor active="true" />
|
190
|
+
<layout>
|
191
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32890365" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
192
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
193
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
194
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
195
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
196
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24969324" sideWeight="0.6710963" order="0" side_tool="false" content_ui="combo" />
|
197
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
198
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
199
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
200
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
201
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
202
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
203
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
204
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
205
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
206
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
207
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
208
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
209
|
+
</layout>
|
210
|
+
</component>
|
211
|
+
<component name="VcsContentAnnotationSettings">
|
212
|
+
<option name="myLimit" value="2678400000" />
|
213
|
+
</component>
|
214
|
+
<component name="VcsManagerConfiguration">
|
215
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
216
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
217
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
218
|
+
<option name="myTodoPanelSettings">
|
219
|
+
<value>
|
220
|
+
<are-packages-shown value="false" />
|
221
|
+
<are-modules-shown value="false" />
|
222
|
+
<flatten-packages value="false" />
|
223
|
+
<is-autoscroll-to-source value="false" />
|
224
|
+
</value>
|
225
|
+
</option>
|
226
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
227
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
228
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
229
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
230
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
231
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
232
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
233
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
234
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
235
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
236
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
237
|
+
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
|
238
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
239
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
240
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
241
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
242
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
243
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
244
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
245
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
246
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
247
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
248
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
249
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
250
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
251
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
252
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
253
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
254
|
+
<option name="ACTIVE_VCS_NAME" />
|
255
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
256
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
257
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
258
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
259
|
+
</component>
|
260
|
+
<component name="XDebuggerManager">
|
261
|
+
<breakpoint-manager />
|
262
|
+
</component>
|
263
|
+
<component name="editorHistoryManager">
|
264
|
+
<entry file="file://$PROJECT_DIR$/lib/testu_gem/version.rb">
|
265
|
+
<provider selected="true" editor-type-id="text-editor">
|
266
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
267
|
+
<folding />
|
268
|
+
</state>
|
269
|
+
</provider>
|
270
|
+
</entry>
|
271
|
+
<entry file="file://$PROJECT_DIR$/testu_gem.gemspec">
|
272
|
+
<provider selected="true" editor-type-id="text-editor">
|
273
|
+
<state line="11" column="26" selection-start="433" selection-end="433" vertical-scroll-proportion="0.0">
|
274
|
+
<folding />
|
275
|
+
</state>
|
276
|
+
</provider>
|
277
|
+
</entry>
|
278
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
279
|
+
<provider selected="true" editor-type-id="text-editor">
|
280
|
+
<state line="49" column="20" selection-start="1421" selection-end="1421" vertical-scroll-proportion="0.0">
|
281
|
+
<folding />
|
282
|
+
</state>
|
283
|
+
</provider>
|
284
|
+
</entry>
|
285
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ree-1.8.7-2012.02-i386@global/gems/bundler-1.1.5/lib/bundler/gem_tasks.rb">
|
286
|
+
<provider selected="true" editor-type-id="text-editor">
|
287
|
+
<state line="1" column="26" selection-start="55" selection-end="55" vertical-scroll-proportion="0.0">
|
288
|
+
<folding />
|
289
|
+
</state>
|
290
|
+
</provider>
|
291
|
+
</entry>
|
292
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ree-1.8.7-2012.02-i386@global/gems/bundler-1.1.5/lib/bundler/gem_helper.rb">
|
293
|
+
<provider selected="true" editor-type-id="text-editor">
|
294
|
+
<state line="109" column="8" selection-start="3221" selection-end="3221" vertical-scroll-proportion="0.16753022">
|
295
|
+
<folding />
|
296
|
+
</state>
|
297
|
+
</provider>
|
298
|
+
</entry>
|
299
|
+
</component>
|
300
|
+
</project>
|
301
|
+
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Shadab Ahmed
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# TestuGem
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'testu_gem'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install testu_gem
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require 'rspec/core/rake_task'
|
3
|
+
|
4
|
+
# Add default task. When you type just rake command this would run. Travis CI runs this. Making this run spec
|
5
|
+
desc 'Default: run specs.'
|
6
|
+
task :default => :spec
|
7
|
+
|
8
|
+
# Defining spec task for running spec
|
9
|
+
desc "Run specs"
|
10
|
+
RSpec::Core::RakeTask.new('spec') do |spec|
|
11
|
+
# Pattern filr for spec files to run. This is default btw.
|
12
|
+
spec.pattern = "./spec/**/*_spec.rb"
|
13
|
+
end
|
14
|
+
|
15
|
+
# Run the rdoc task to generate rdocs for this gem
|
16
|
+
require 'rdoc/task'
|
17
|
+
RDoc::Task.new do |rdoc|
|
18
|
+
require "testu_gem/version"
|
19
|
+
version = TestuGem::VERSION
|
20
|
+
|
21
|
+
rdoc.rdoc_dir = 'rdoc'
|
22
|
+
rdoc.title = "testu_gem #{version}"
|
23
|
+
rdoc.rdoc_files.include('README*')
|
24
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
25
|
+
end
|
26
|
+
|
27
|
+
# Code coverage tasks. Different for Ruby 1.8 vs 1.9
|
28
|
+
if RUBY_VERSION =~ /^1\.8/
|
29
|
+
# Ruby 1.8 uses rcov for code coverage
|
30
|
+
RSpec::Core::RakeTask.new(:coverage) do |spec|
|
31
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
32
|
+
spec.rcov = true
|
33
|
+
spec.rcov_opts = %w{--exclude pkg\/,spec\/,features\/}
|
34
|
+
end
|
35
|
+
else
|
36
|
+
# Ruby 1.9+ using simplecov. Note: Simplecov config defined in spec_helper
|
37
|
+
desc "Code coverage detail"
|
38
|
+
task :coverage do
|
39
|
+
ENV['COVERAGE'] = "true"
|
40
|
+
Rake::Task['spec'].execute
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
module Bundler
|
45
|
+
class GemHelper
|
46
|
+
def unrelease_gem
|
47
|
+
cmd = "gem yank -v #{version}"
|
48
|
+
out, code = sh_with_code(cmd)
|
49
|
+
sh_with_code "git tag -d #{version_tag}"
|
50
|
+
sh_with_code ""
|
51
|
+
raise "Couldn't unrelease. Make sure gemcutter gem is installed" unless code == 0
|
52
|
+
Bundler.ui.confirm(out)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
desc "Unrelease the current version of the gem"
|
58
|
+
task :unrelease do
|
59
|
+
Bundler::GemHelper.new(Dir.pwd).unrelease_gem
|
60
|
+
end
|
61
|
+
|
data/lib/testu_gem.rb
ADDED
data/testu_gem.gemspec
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'testu_gem/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "testu_gem"
|
8
|
+
gem.version = TestuGem::VERSION
|
9
|
+
gem.authors = ["Shadab Ahmed"]
|
10
|
+
gem.email = ["shadab_ahmed@mckinsey.com"]
|
11
|
+
gem.description = %q{SODO: Write a gem description}
|
12
|
+
gem.summary = %q{SODO: Write a gem summary}
|
13
|
+
gem.homepage = ""
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: testu_gem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Shadab Ahmed
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-09-09 00:00:00 Z
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: "SODO: Write a gem description"
|
22
|
+
email:
|
23
|
+
- shadab_ahmed@mckinsey.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- .gitignore
|
32
|
+
- .idea/.name
|
33
|
+
- .idea/.rakeTasks
|
34
|
+
- .idea/dictionaries/shadab.xml
|
35
|
+
- .idea/encodings.xml
|
36
|
+
- .idea/misc.xml
|
37
|
+
- .idea/modules.xml
|
38
|
+
- .idea/scopes/scope_settings.xml
|
39
|
+
- .idea/testu_gem.iml
|
40
|
+
- .idea/vcs.xml
|
41
|
+
- .idea/workspace.xml
|
42
|
+
- Gemfile
|
43
|
+
- LICENSE.txt
|
44
|
+
- README.md
|
45
|
+
- Rakefile
|
46
|
+
- lib/testu_gem.rb
|
47
|
+
- lib/testu_gem/version.rb
|
48
|
+
- testu_gem.gemspec
|
49
|
+
homepage: ""
|
50
|
+
licenses: []
|
51
|
+
|
52
|
+
post_install_message:
|
53
|
+
rdoc_options: []
|
54
|
+
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 3
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
requirements: []
|
76
|
+
|
77
|
+
rubyforge_project:
|
78
|
+
rubygems_version: 1.8.24
|
79
|
+
signing_key:
|
80
|
+
specification_version: 3
|
81
|
+
summary: "SODO: Write a gem summary"
|
82
|
+
test_files: []
|
83
|
+
|