aslon_table_name 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -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"><RakeTask description="Build gem into pkg/" fullCmd="build" taksId="build" /><RakeTask description="Remove rcov products for rcov" fullCmd="clobber_rcov" taksId="clobber_rcov" /><RakeTask description="Remove rdoc products" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Start IRB with all runtime dependencies loaded" fullCmd="console[script]" taksId="console[script]" /><RakeGroup description="" fullCmd="" taksId="gemcutter"><RakeTask description="Release gem to Gemcutter" fullCmd="gemcutter:release" taksId="release" /></RakeGroup><RakeTask description="Generate and validate gemspec" fullCmd="gemspec" taksId="gemspec" /><RakeGroup description="" fullCmd="" taksId="gemspec"><RakeTask description="Display the gemspec for debugging purposes, as jeweler knows it (not from the filesystem)" fullCmd="gemspec:debug" taksId="debug" /><RakeTask description="Regenerate the gemspec on the filesystem" fullCmd="gemspec:generate" taksId="generate" /><RakeTask description="Regenerate and validate gemspec, and then commits and pushes to git" fullCmd="gemspec:release" taksId="release" /><RakeTask description="Validates the gemspec on the filesystem" fullCmd="gemspec:validate" taksId="validate" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="git"><RakeTask description="Tag and push release to git" fullCmd="git:release" taksId="release" /></RakeGroup><RakeTask description="Build and install gem using `gem install`" fullCmd="install" taksId="install" /><RakeTask description="Analyze code coverage with tests" fullCmd="rcov" taksId="rcov" /><RakeTask description="Build the rdoc HTML Files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Release gem" fullCmd="release" taksId="release" /><RakeTask description="Force a rebuild of the RDOC files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="Displays the current version" fullCmd="version" taksId="version" /><RakeGroup description="" fullCmd="" taksId="version"><RakeGroup description="" fullCmd="" taksId="bump"><RakeTask description="Bump the major version by 1" fullCmd="version:bump:major" taksId="major" /><RakeTask description="Bump the a minor version by 1" fullCmd="version:bump:minor" taksId="minor" /><RakeTask description="Bump the patch version by 1" fullCmd="version:bump:patch" taksId="patch" /></RakeGroup><RakeTask description="Writes out an explicit version" fullCmd="version:write" taksId="write" /></RakeGroup><RakeTask description="" fullCmd="clobber" taksId="clobber" /><RakeTask description="" fullCmd="console" taksId="console" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="gemspec_required" taksId="gemspec_required" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /><RakeTask description="" fullCmd="version_required" taksId="version_required" /></RakeGroup></Settings>
@@ -0,0 +1,15 @@
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="git (v1.2.5, RVM: ruby-1.9.2-p290) [gem]" level="application" />
8
+ <orderEntry type="library" scope="PROVIDED" name="shoulda (v2.11.3, RVM: ruby-1.9.2-p290) [gem]" level="application" />
9
+ <orderEntry type="library" scope="PROVIDED" name="jeweler (v1.6.4, RVM: ruby-1.9.2-p290) [gem]" level="application" />
10
+ <orderEntry type="library" scope="PROVIDED" name="rcov (v0.9.11, RVM: ruby-1.9.2-p290) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.18, RVM: ruby-1.9.2-p290) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rake (v0.9.2.2, RVM: ruby-1.9.2-p290) [gem]" level="application" />
13
+ </component>
14
+ </module>
15
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="DependencyValidationManager">
4
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.2-p290" project-jdk-type="RUBY_SDK" />
7
+ </project>
8
+
@@ -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/aslon_table_name.iml" filepath="$PROJECT_DIR$/.idea/aslon_table_name.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,7 @@
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>
7
+
@@ -0,0 +1,399 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="6bb87ea3-691d-41e5-95aa-fa8d0d60eed2" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/aslon_table_name.rb" afterPath="$PROJECT_DIR$/lib/aslon_table_name.rb" />
7
+ </list>
8
+ <ignored path="aslon_table_name.iws" />
9
+ <ignored path=".idea/workspace.xml" />
10
+ <option name="TRACKING_ENABLED" value="true" />
11
+ <option name="SHOW_DIALOG" value="false" />
12
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
13
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14
+ <option name="LAST_RESOLUTION" value="IGNORE" />
15
+ </component>
16
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
17
+ <component name="CreatePatchCommitExecutor">
18
+ <option name="PATCH_PATH" value="" />
19
+ <option name="REVERSE_PATCH" value="false" />
20
+ </component>
21
+ <component name="DaemonCodeAnalyzer">
22
+ <disable_hints />
23
+ </component>
24
+ <component name="FavoritesManager">
25
+ <favorites_list name="aslon_table_name" />
26
+ </component>
27
+ <component name="FileEditorManager">
28
+ <leaf>
29
+ <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
30
+ <entry file="file://$PROJECT_DIR$/Gemfile">
31
+ <provider selected="true" editor-type-id="text-editor">
32
+ <state line="3" column="0" selection-start="90" selection-end="90" vertical-scroll-proportion="0.0">
33
+ <folding />
34
+ </state>
35
+ </provider>
36
+ </entry>
37
+ </file>
38
+ <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
39
+ <entry file="file://$PROJECT_DIR$/Rakefile">
40
+ <provider selected="true" editor-type-id="text-editor">
41
+ <state line="23" column="35" selection-start="737" selection-end="737" vertical-scroll-proportion="0.0">
42
+ <folding />
43
+ </state>
44
+ </provider>
45
+ </entry>
46
+ </file>
47
+ <file leaf-file-name="README.rdoc" pinned="false" current="false" current-in-tab="false">
48
+ <entry file="file://$PROJECT_DIR$/README.rdoc">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
51
+ <folding />
52
+ </state>
53
+ </provider>
54
+ </entry>
55
+ </file>
56
+ <file leaf-file-name="aslon_table_name.rb" pinned="false" current="true" current-in-tab="true">
57
+ <entry file="file://$PROJECT_DIR$/lib/aslon_table_name.rb">
58
+ <provider selected="true" editor-type-id="text-editor">
59
+ <state line="4" column="3" selection-start="114" selection-end="114" vertical-scroll-proportion="0.14184397">
60
+ <folding />
61
+ </state>
62
+ </provider>
63
+ </entry>
64
+ </file>
65
+ <file leaf-file-name="helper.rb" pinned="false" current="false" current-in-tab="false">
66
+ <entry file="file://$PROJECT_DIR$/test/helper.rb">
67
+ <provider selected="true" editor-type-id="text-editor">
68
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
69
+ <folding />
70
+ </state>
71
+ </provider>
72
+ </entry>
73
+ </file>
74
+ <file leaf-file-name="test_aslon_table_name.rb" pinned="false" current="false" current-in-tab="false">
75
+ <entry file="file://$PROJECT_DIR$/test/test_aslon_table_name.rb">
76
+ <provider selected="true" editor-type-id="text-editor">
77
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
78
+ <folding />
79
+ </state>
80
+ </provider>
81
+ </entry>
82
+ </file>
83
+ </leaf>
84
+ </component>
85
+ <component name="FindManager">
86
+ <FindUsagesManager>
87
+ <setting name="OPEN_NEW_TAB" value="false" />
88
+ </FindUsagesManager>
89
+ </component>
90
+ <component name="Git.Settings">
91
+ <option name="CHECKOUT_INCLUDE_TAGS" value="false" />
92
+ <option name="UPDATE_CHANGES_POLICY" value="STASH" />
93
+ </component>
94
+ <component name="IdeDocumentHistory">
95
+ <option name="changedFiles">
96
+ <list>
97
+ <option value="$PROJECT_DIR$/test/dummy/Rakefile" />
98
+ <option value="$PROJECT_DIR$/Gemfile" />
99
+ <option value="$PROJECT_DIR$/Rakefile" />
100
+ <option value="$PROJECT_DIR$/lib/aslon_table_name.rb" />
101
+ </list>
102
+ </option>
103
+ </component>
104
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
105
+ <OptionsSetting value="true" id="Add" />
106
+ <OptionsSetting value="true" id="Remove" />
107
+ <OptionsSetting value="true" id="Checkout" />
108
+ <OptionsSetting value="true" id="Update" />
109
+ <OptionsSetting value="true" id="Status" />
110
+ <OptionsSetting value="true" id="Edit" />
111
+ <ConfirmationsSetting value="0" id="Add" />
112
+ <ConfirmationsSetting value="0" id="Remove" />
113
+ </component>
114
+ <component name="ProjectReloadState">
115
+ <option name="STATE" value="0" />
116
+ </component>
117
+ <component name="ProjectView">
118
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
119
+ <flattenPackages />
120
+ <showMembers />
121
+ <showModules />
122
+ <showLibraryContents />
123
+ <hideEmptyPackages />
124
+ <abbreviatePackageNames />
125
+ <autoscrollToSource />
126
+ <autoscrollFromSource />
127
+ <sortByType />
128
+ </navigator>
129
+ <panes>
130
+ <pane id="Favorites" />
131
+ <pane id="Scope" />
132
+ <pane id="ProjectPane">
133
+ <subPane>
134
+ <PATH>
135
+ <PATH_ELEMENT>
136
+ <option name="myItemId" value="aslon_table_name" />
137
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
138
+ </PATH_ELEMENT>
139
+ </PATH>
140
+ <PATH>
141
+ <PATH_ELEMENT>
142
+ <option name="myItemId" value="aslon_table_name" />
143
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
144
+ </PATH_ELEMENT>
145
+ <PATH_ELEMENT>
146
+ <option name="myItemId" value="aslon_table_name" />
147
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
148
+ </PATH_ELEMENT>
149
+ </PATH>
150
+ </subPane>
151
+ </pane>
152
+ </panes>
153
+ </component>
154
+ <component name="PropertiesComponent">
155
+ <property name="options.splitter.main.proportions" value="0.3" />
156
+ <property name="WebServerToolWindowFactoryState" value="false" />
157
+ <property name="options.lastSelected" value="preferences.externalResources" />
158
+ <property name="options.splitter.details.proportions" value="0.2" />
159
+ <property name="options.searchVisible" value="true" />
160
+ </component>
161
+ <component name="RunManager">
162
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
163
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
164
+ <module name="" />
165
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
166
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
167
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
168
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
169
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
170
+ <envs />
171
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
172
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
173
+ <COVERAGE_PATTERN ENABLED="true">
174
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
175
+ </COVERAGE_PATTERN>
176
+ </EXTENSION>
177
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
178
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
179
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
180
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
181
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
182
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
183
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
184
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
185
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
186
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
187
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
188
+ <method />
189
+ </configuration>
190
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
191
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
192
+ <module name="" />
193
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
194
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
195
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
196
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
197
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
198
+ <envs>
199
+ <env name="ANSICON" value="" />
200
+ </envs>
201
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
202
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
203
+ <COVERAGE_PATTERN ENABLED="true">
204
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
205
+ </COVERAGE_PATTERN>
206
+ </EXTENSION>
207
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
208
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
209
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
210
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
211
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
212
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
213
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
214
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
215
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
216
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
217
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
218
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
219
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
220
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
221
+ <method />
222
+ </configuration>
223
+ <configuration default="true" type="JavascriptDebugSession" factoryName="Local">
224
+ <JSDebuggerConfigurationSettings>
225
+ <option name="engineId" value="embedded" />
226
+ <option name="fileUrl" />
227
+ </JSDebuggerConfigurationSettings>
228
+ <method />
229
+ </configuration>
230
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda">
231
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
232
+ <module name="" />
233
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
234
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
235
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
236
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
237
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
238
+ <envs />
239
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
240
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
241
+ <COVERAGE_PATTERN ENABLED="true">
242
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
243
+ </COVERAGE_PATTERN>
244
+ </EXTENSION>
245
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
246
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
247
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_CLASS_NAME" VALUE="" />
248
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
249
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
250
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
251
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="INHERITANCE_CHECK_DISABLED" VALUE="false" />
252
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
253
+ <method />
254
+ </configuration>
255
+ <list size="0" />
256
+ </component>
257
+ <component name="ShelveChangesManager" show_recycled="false" />
258
+ <component name="SvnConfiguration" maxAnnotateRevisions="500">
259
+ <option name="USER" value="" />
260
+ <option name="PASSWORD" value="" />
261
+ <option name="mySSHConnectionTimeout" value="30000" />
262
+ <option name="mySSHReadTimeout" value="30000" />
263
+ <option name="LAST_MERGED_REVISION" />
264
+ <option name="MERGE_DRY_RUN" value="false" />
265
+ <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
266
+ <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
267
+ <option name="IGNORE_SPACES_IN_MERGE" value="false" />
268
+ <option name="DETECT_NESTED_COPIES" value="true" />
269
+ <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
270
+ <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
271
+ <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
272
+ <option name="FORCE_UPDATE" value="false" />
273
+ <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
274
+ </component>
275
+ <component name="TaskManager">
276
+ <task active="true" id="Default" summary="Default task">
277
+ <changelist id="6bb87ea3-691d-41e5-95aa-fa8d0d60eed2" name="Default" comment="" />
278
+ <created>1328044754647</created>
279
+ <updated>1328044754647</updated>
280
+ </task>
281
+ <servers />
282
+ </component>
283
+ <component name="ToolWindowManager">
284
+ <frame x="46" y="22" width="1387" height="792" extended-state="0" />
285
+ <editor active="true" />
286
+ <layout>
287
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32937685" sideWeight="0.0" order="7" side_tool="false" content_ui="tabs" />
288
+ <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="7" side_tool="false" content_ui="tabs" />
289
+ <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" />
290
+ <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" />
291
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
292
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24944974" sideWeight="0.6706231" order="0" side_tool="false" content_ui="tabs" />
293
+ <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" />
294
+ <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" />
295
+ <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="7" side_tool="false" content_ui="tabs" />
296
+ <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" />
297
+ <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" />
298
+ <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" />
299
+ <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" />
300
+ <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" />
301
+ <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" />
302
+ <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" />
303
+ </layout>
304
+ </component>
305
+ <component name="VcsManagerConfiguration">
306
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
307
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
308
+ <option name="CHECK_NEW_TODO" value="true" />
309
+ <option name="myTodoPanelSettings">
310
+ <value>
311
+ <are-packages-shown value="false" />
312
+ <are-modules-shown value="false" />
313
+ <flatten-packages value="false" />
314
+ <is-autoscroll-to-source value="false" />
315
+ </value>
316
+ </option>
317
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
318
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
319
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
320
+ <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
321
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
322
+ <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
323
+ <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
324
+ <option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
325
+ <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
326
+ <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
327
+ <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
328
+ <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
329
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
330
+ <option name="LAST_COMMIT_MESSAGE" />
331
+ <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
332
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
333
+ <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
334
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
335
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
336
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
337
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
338
+ <option name="ACTIVE_VCS_NAME" />
339
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
340
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
341
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
342
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
343
+ </component>
344
+ <component name="XDebuggerManager">
345
+ <breakpoint-manager />
346
+ </component>
347
+ <component name="editorHistoryManager">
348
+ <entry file="file://$PROJECT_DIR$/test/helper.rb">
349
+ <provider selected="true" editor-type-id="text-editor">
350
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
351
+ <folding />
352
+ </state>
353
+ </provider>
354
+ </entry>
355
+ <entry file="file://$PROJECT_DIR$/README.rdoc">
356
+ <provider selected="true" editor-type-id="text-editor">
357
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
358
+ <folding />
359
+ </state>
360
+ </provider>
361
+ </entry>
362
+ <entry file="file://$PROJECT_DIR$/pkg/aslon_table_name-1.0.0.gem">
363
+ <provider selected="true" editor-type-id="text-editor">
364
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
365
+ <folding />
366
+ </state>
367
+ </provider>
368
+ </entry>
369
+ <entry file="file://$PROJECT_DIR$/Rakefile">
370
+ <provider selected="true" editor-type-id="text-editor">
371
+ <state line="23" column="35" selection-start="737" selection-end="737" vertical-scroll-proportion="0.0">
372
+ <folding />
373
+ </state>
374
+ </provider>
375
+ </entry>
376
+ <entry file="file://$PROJECT_DIR$/Gemfile">
377
+ <provider selected="true" editor-type-id="text-editor">
378
+ <state line="3" column="0" selection-start="90" selection-end="90" vertical-scroll-proportion="0.0">
379
+ <folding />
380
+ </state>
381
+ </provider>
382
+ </entry>
383
+ <entry file="file://$PROJECT_DIR$/test/test_aslon_table_name.rb">
384
+ <provider selected="true" editor-type-id="text-editor">
385
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
386
+ <folding />
387
+ </state>
388
+ </provider>
389
+ </entry>
390
+ <entry file="file://$PROJECT_DIR$/lib/aslon_table_name.rb">
391
+ <provider selected="true" editor-type-id="text-editor">
392
+ <state line="4" column="3" selection-start="114" selection-end="114" vertical-scroll-proportion="0.14184397">
393
+ <folding />
394
+ </state>
395
+ </provider>
396
+ </entry>
397
+ </component>
398
+ </project>
399
+
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "shoulda", ">= 0"
10
+ gem "bundler", "~> 1.0.0"
11
+ gem "jeweler", "~> 1.6.4"
12
+ gem "rcov", ">= 0"
13
+ end
@@ -0,0 +1,20 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.6.4)
6
+ bundler (~> 1.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ rake (0.9.2.2)
10
+ rcov (0.9.11)
11
+ shoulda (2.11.3)
12
+
13
+ PLATFORMS
14
+ ruby
15
+
16
+ DEPENDENCIES
17
+ bundler (~> 1.0.0)
18
+ jeweler (~> 1.6.4)
19
+ rcov
20
+ shoulda
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 aslon
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ = aslon_table_name
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to aslon_table_name
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2012 aslon. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,53 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "aslon_table_name"
18
+ gem.homepage = "http://github.com/aslon/aslon_table_name"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{set table_name XXX_YYY_ZZZZ for XXX::YYY::ZZZ active record class}
21
+ gem.description = %Q{use to group table by scope}
22
+ gem.email = ""
23
+ gem.authors = ["aslon"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ require 'rcov/rcovtask'
36
+ Rcov::RcovTask.new do |test|
37
+ test.libs << 'test'
38
+ test.pattern = 'test/**/test_*.rb'
39
+ test.verbose = true
40
+ test.rcov_opts << '--exclude "gems/*"'
41
+ end
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "aslon_table_name #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,66 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "aslon_table_name"
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["aslon"]
12
+ s.date = "2012-02-01"
13
+ s.description = "use to group table by scope"
14
+ s.email = ""
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".idea/.rakeTasks",
22
+ ".idea/aslon_table_name.iml",
23
+ ".idea/encodings.xml",
24
+ ".idea/misc.xml",
25
+ ".idea/modules.xml",
26
+ ".idea/vcs.xml",
27
+ ".idea/workspace.xml",
28
+ "Gemfile",
29
+ "Gemfile.lock",
30
+ "LICENSE.txt",
31
+ "README.rdoc",
32
+ "Rakefile",
33
+ "VERSION",
34
+ "aslon_table_name.gemspec",
35
+ "lib/aslon_table_name.rb",
36
+ "test/helper.rb",
37
+ "test/test_aslon_table_name.rb"
38
+ ]
39
+ s.homepage = "http://github.com/aslon/aslon_table_name"
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = "1.8.10"
43
+ s.summary = "set table_name XXX_YYY_ZZZZ for XXX::YYY::ZZZ active record class"
44
+
45
+ if s.respond_to? :specification_version then
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
50
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
51
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
52
+ s.add_development_dependency(%q<rcov>, [">= 0"])
53
+ else
54
+ s.add_dependency(%q<shoulda>, [">= 0"])
55
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
56
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
57
+ s.add_dependency(%q<rcov>, [">= 0"])
58
+ end
59
+ else
60
+ s.add_dependency(%q<shoulda>, [">= 0"])
61
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
62
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
63
+ s.add_dependency(%q<rcov>, [">= 0"])
64
+ end
65
+ end
66
+
@@ -0,0 +1,5 @@
1
+ class ActiveRecord::Base
2
+ def self.table_name
3
+ self.name.underscore.pluralize.gsub('/','_')
4
+ end
5
+ end
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'aslon_table_name'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestAslonTableName < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aslon_table_name
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - aslon
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-01 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: shoulda
16
+ requirement: &70158578250780 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70158578250780
25
+ - !ruby/object:Gem::Dependency
26
+ name: bundler
27
+ requirement: &70158578250300 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70158578250300
36
+ - !ruby/object:Gem::Dependency
37
+ name: jeweler
38
+ requirement: &70158578249820 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 1.6.4
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70158578249820
47
+ - !ruby/object:Gem::Dependency
48
+ name: rcov
49
+ requirement: &70158578249340 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70158578249340
58
+ description: use to group table by scope
59
+ email: ''
60
+ executables: []
61
+ extensions: []
62
+ extra_rdoc_files:
63
+ - LICENSE.txt
64
+ - README.rdoc
65
+ files:
66
+ - .document
67
+ - .idea/.rakeTasks
68
+ - .idea/aslon_table_name.iml
69
+ - .idea/encodings.xml
70
+ - .idea/misc.xml
71
+ - .idea/modules.xml
72
+ - .idea/vcs.xml
73
+ - .idea/workspace.xml
74
+ - Gemfile
75
+ - Gemfile.lock
76
+ - LICENSE.txt
77
+ - README.rdoc
78
+ - Rakefile
79
+ - VERSION
80
+ - aslon_table_name.gemspec
81
+ - lib/aslon_table_name.rb
82
+ - test/helper.rb
83
+ - test/test_aslon_table_name.rb
84
+ homepage: http://github.com/aslon/aslon_table_name
85
+ licenses:
86
+ - MIT
87
+ post_install_message:
88
+ rdoc_options: []
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ segments:
98
+ - 0
99
+ hash: -778550410010394611
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project:
108
+ rubygems_version: 1.8.10
109
+ signing_key:
110
+ specification_version: 3
111
+ summary: set table_name XXX_YYY_ZZZZ for XXX::YYY::ZZZ active record class
112
+ test_files: []