gemspec_deps_gen 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .DS_Store
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ gemspec_deps_gen
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>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CssXFireSettings">
4
+ <general autoClear="false" autoExpand="false" />
5
+ <strategy useRoutes="false" mediaReduce="false" fileReduce="false" currentDocumentsReduce="false" resolveVariables="true" resolveMixins="true" />
6
+ <routes />
7
+ </component>
8
+ </project>
9
+
@@ -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,17 @@
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.3, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
8
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
9
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
10
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v0.10.3, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.9.0, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.9.0, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.9.1, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.9.0, RVM: ruby-1.9.3-p194 [file_utils]) [gem]" level="application" />
15
+ </component>
16
+ </module>
17
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p194 [file_utils]" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
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/gemspec_deps_gen.iml" filepath="$PROJECT_DIR$/.idea/gemspec_deps_gen.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -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,468 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="7ff5d788-a599-4460-bba2-66ee4aef909f" name="Default" comment="">
5
+ <change type="MOVED" beforePath="$PROJECT_DIR$/lib/gemspec_deps_gem/gemspec_deps_gen.rb" afterPath="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" />
6
+ <change type="MOVED" beforePath="$PROJECT_DIR$/lib/gemspec_deps_gem/version.rb" afterPath="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" />
7
+ </list>
8
+ <ignored path="gemspec_deps_gen.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
+ </component>
20
+ <component name="DaemonCodeAnalyzer">
21
+ <disable_hints />
22
+ </component>
23
+ <component name="FavoritesManager">
24
+ <favorites_list name="gemspec_deps_gen" />
25
+ </component>
26
+ <component name="FileEditorManager">
27
+ <leaf>
28
+ <file leaf-file-name=".rvmrc" pinned="false" current="false" current-in-tab="false">
29
+ <entry file="file://$PROJECT_DIR$/.rvmrc">
30
+ <provider selected="true" editor-type-id="text-editor">
31
+ <state line="3" column="30" selection-start="87" selection-end="87" vertical-scroll-proportion="0.0">
32
+ <folding />
33
+ </state>
34
+ </provider>
35
+ </entry>
36
+ </file>
37
+ <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
38
+ <entry file="file://$PROJECT_DIR$/Gemfile">
39
+ <provider selected="true" editor-type-id="text-editor">
40
+ <state line="6" column="14" selection-start="77" selection-end="77" vertical-scroll-proportion="0.0">
41
+ <folding />
42
+ </state>
43
+ </provider>
44
+ </entry>
45
+ </file>
46
+ <file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
47
+ <entry file="file://$PROJECT_DIR$/README.md">
48
+ <provider selected="true" editor-type-id="text-editor">
49
+ <state line="3" column="29" selection-start="64" selection-end="64" vertical-scroll-proportion="0.0">
50
+ <folding />
51
+ </state>
52
+ </provider>
53
+ </entry>
54
+ </file>
55
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
56
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb">
57
+ <provider selected="true" editor-type-id="text-editor">
58
+ <state line="3" column="9" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0">
59
+ <folding />
60
+ </state>
61
+ </provider>
62
+ </entry>
63
+ </file>
64
+ <file leaf-file-name="Rakefile" pinned="false" current="true" current-in-tab="true">
65
+ <entry file="file://$PROJECT_DIR$/Rakefile">
66
+ <provider selected="true" editor-type-id="text-editor">
67
+ <state line="25" column="21" selection-start="492" selection-end="492" vertical-scroll-proportion="0.4282655">
68
+ <folding />
69
+ </state>
70
+ </provider>
71
+ </entry>
72
+ </file>
73
+ <file leaf-file-name="gemspec_deps_gen.rb" pinned="false" current="false" current-in-tab="false">
74
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
75
+ <provider selected="true" editor-type-id="text-editor">
76
+ <state line="31" column="28" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
77
+ <folding />
78
+ </state>
79
+ </provider>
80
+ </entry>
81
+ </file>
82
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
83
+ <entry file="file://$PROJECT_DIR$/CHANGES">
84
+ <provider selected="true" editor-type-id="text-editor">
85
+ <state line="0" column="2" selection-start="2" selection-end="2" vertical-scroll-proportion="0.0">
86
+ <folding />
87
+ </state>
88
+ </provider>
89
+ </entry>
90
+ </file>
91
+ <file leaf-file-name="gemspec_deps_gen.gemspec" pinned="false" current="false" current-in-tab="false">
92
+ <entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
93
+ <provider selected="true" editor-type-id="text-editor">
94
+ <state line="18" column="52" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0">
95
+ <folding />
96
+ </state>
97
+ </provider>
98
+ </entry>
99
+ </file>
100
+ </leaf>
101
+ </component>
102
+ <component name="FindManager">
103
+ <FindUsagesManager>
104
+ <setting name="OPEN_NEW_TAB" value="false" />
105
+ </FindUsagesManager>
106
+ </component>
107
+ <component name="Git.Settings">
108
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
109
+ </component>
110
+ <component name="IdeDocumentHistory">
111
+ <option name="changedFiles">
112
+ <list>
113
+ <option value="$PROJECT_DIR$/CHANGES" />
114
+ <option value="$PROJECT_DIR$/lib/gemspec_deps_gem/gemspec_deps_gen.rb" />
115
+ <option value="$PROJECT_DIR$/Gemfile" />
116
+ <option value="$PROJECT_DIR$/lib/gemspec_deps_gem/version.rb" />
117
+ <option value="$PROJECT_DIR$/gemspec_deps_gen.gemspec" />
118
+ <option value="$PROJECT_DIR$/.rvmrc" />
119
+ <option value="$PROJECT_DIR$/Rakefile" />
120
+ </list>
121
+ </option>
122
+ </component>
123
+ <component name="ProjectFrameBounds">
124
+ <option name="x" value="147" />
125
+ <option name="y" value="72" />
126
+ <option name="width" value="1588" />
127
+ <option name="height" value="1058" />
128
+ </component>
129
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
130
+ <OptionsSetting value="true" id="Add" />
131
+ <OptionsSetting value="true" id="Remove" />
132
+ <OptionsSetting value="true" id="Checkout" />
133
+ <OptionsSetting value="true" id="Update" />
134
+ <OptionsSetting value="true" id="Status" />
135
+ <OptionsSetting value="true" id="Edit" />
136
+ <ConfirmationsSetting value="0" id="Add" />
137
+ <ConfirmationsSetting value="0" id="Remove" />
138
+ </component>
139
+ <component name="ProjectReloadState">
140
+ <option name="STATE" value="0" />
141
+ </component>
142
+ <component name="ProjectView">
143
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
144
+ <flattenPackages />
145
+ <showMembers />
146
+ <showModules />
147
+ <showLibraryContents />
148
+ <hideEmptyPackages />
149
+ <abbreviatePackageNames />
150
+ <autoscrollToSource />
151
+ <autoscrollFromSource />
152
+ <sortByType />
153
+ </navigator>
154
+ <panes>
155
+ <pane id="ProjectPane">
156
+ <subPane>
157
+ <PATH>
158
+ <PATH_ELEMENT>
159
+ <option name="myItemId" value="gemspec_deps_gen" />
160
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
161
+ </PATH_ELEMENT>
162
+ </PATH>
163
+ <PATH>
164
+ <PATH_ELEMENT>
165
+ <option name="myItemId" value="gemspec_deps_gen" />
166
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
167
+ </PATH_ELEMENT>
168
+ <PATH_ELEMENT>
169
+ <option name="myItemId" value="gemspec_deps_gen" />
170
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
+ </PATH_ELEMENT>
172
+ </PATH>
173
+ <PATH>
174
+ <PATH_ELEMENT>
175
+ <option name="myItemId" value="gemspec_deps_gen" />
176
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
177
+ </PATH_ELEMENT>
178
+ <PATH_ELEMENT>
179
+ <option name="myItemId" value="gemspec_deps_gen" />
180
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
181
+ </PATH_ELEMENT>
182
+ <PATH_ELEMENT>
183
+ <option name="myItemId" value="lib" />
184
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
+ </PATH_ELEMENT>
186
+ <PATH_ELEMENT>
187
+ <option name="myItemId" value="gemspec_deps_gen" />
188
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
189
+ </PATH_ELEMENT>
190
+ </PATH>
191
+ </subPane>
192
+ </pane>
193
+ <pane id="Scope" />
194
+ </panes>
195
+ </component>
196
+ <component name="RunManager">
197
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
198
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
199
+ <module name="" />
200
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
201
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
202
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
203
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
204
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
205
+ <envs />
206
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
207
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
208
+ <COVERAGE_PATTERN ENABLED="true">
209
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
210
+ </COVERAGE_PATTERN>
211
+ </EXTENSION>
212
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
213
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
214
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
215
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
216
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
217
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
218
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
219
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
220
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
221
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
222
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
223
+ <method />
224
+ </configuration>
225
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
226
+ <module name="" />
227
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
228
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
229
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
230
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
231
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
232
+ <envs />
233
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
234
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
235
+ <COVERAGE_PATTERN ENABLED="true">
236
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
237
+ </COVERAGE_PATTERN>
238
+ </EXTENSION>
239
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
240
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
241
+ <method />
242
+ </configuration>
243
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
244
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
245
+ <module name="" />
246
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
247
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
248
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
249
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
250
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
251
+ <envs />
252
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
253
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
254
+ <COVERAGE_PATTERN ENABLED="true">
255
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
256
+ </COVERAGE_PATTERN>
257
+ </EXTENSION>
258
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
259
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
260
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
261
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
262
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
263
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
264
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
265
+ <method />
266
+ </configuration>
267
+ <list size="0" />
268
+ <recent_temporary>
269
+ <list size="0" />
270
+ </recent_temporary>
271
+ </component>
272
+ <component name="ShelveChangesManager" show_recycled="false" />
273
+ <component name="ToolWindowManager">
274
+ <frame x="147" y="72" width="1588" height="1058" extended-state="0" />
275
+ <editor active="false" />
276
+ <layout>
277
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
278
+ <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" />
279
+ <window_info id="CSS-X-Fire" 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" />
280
+ <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" />
281
+ <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" />
282
+ <window_info id="jenkinsBrowser" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
283
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
284
+ <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" />
285
+ <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="2" side_tool="true" content_ui="tabs" />
286
+ <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="7" side_tool="true" content_ui="tabs" />
287
+ <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" />
288
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
289
+ <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" />
290
+ <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" />
291
+ <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" />
292
+ <window_info id="Find" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3298647" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
293
+ <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" />
294
+ <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" />
295
+ <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" />
296
+ </layout>
297
+ </component>
298
+ <component name="VcsContentAnnotationSettings">
299
+ <option name="myLimit" value="2678400000" />
300
+ </component>
301
+ <component name="VcsManagerConfiguration">
302
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
303
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
304
+ <option name="CHECK_NEW_TODO" value="true" />
305
+ <option name="myTodoPanelSettings">
306
+ <value>
307
+ <are-packages-shown value="false" />
308
+ <are-modules-shown value="false" />
309
+ <flatten-packages value="false" />
310
+ <is-autoscroll-to-source value="false" />
311
+ </value>
312
+ </option>
313
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
314
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
315
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
316
+ <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
317
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
318
+ <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
319
+ <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
320
+ <option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
321
+ <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
322
+ <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
323
+ <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
324
+ <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
325
+ <option name="SHORT_DIFF_HORISONTALLY" value="true" />
326
+ <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
327
+ <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
328
+ <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
329
+ <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
330
+ <option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
331
+ <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
332
+ <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
333
+ <option name="CHANGE_DETAILS_ON" value="false" />
334
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
335
+ <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
336
+ <option name="LAST_COMMIT_MESSAGE" />
337
+ <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
338
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
339
+ <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
340
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
341
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
342
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
343
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
344
+ <option name="ACTIVE_VCS_NAME" />
345
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
346
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
347
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
348
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
349
+ </component>
350
+ <component name="XDebuggerManager">
351
+ <breakpoint-manager />
352
+ </component>
353
+ <component name="editorHistoryManager">
354
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
355
+ <provider selected="true" editor-type-id="text-editor">
356
+ <state line="31" column="28" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
357
+ <folding />
358
+ </state>
359
+ </provider>
360
+ </entry>
361
+ <entry file="file://$PROJECT_DIR$/CHANGES">
362
+ <provider selected="true" editor-type-id="text-editor">
363
+ <state line="0" column="2" selection-start="2" selection-end="2" vertical-scroll-proportion="0.0">
364
+ <folding />
365
+ </state>
366
+ </provider>
367
+ </entry>
368
+ <entry file="file://$PROJECT_DIR$/.rvmrc">
369
+ <provider selected="true" editor-type-id="text-editor">
370
+ <state line="3" column="30" selection-start="87" selection-end="87" vertical-scroll-proportion="0.0">
371
+ <folding />
372
+ </state>
373
+ </provider>
374
+ </entry>
375
+ <entry file="file://$PROJECT_DIR$/CHANGES">
376
+ <provider selected="true" editor-type-id="text-editor">
377
+ <state line="0" column="2" selection-start="2" selection-end="2" vertical-scroll-proportion="0.0">
378
+ <folding />
379
+ </state>
380
+ </provider>
381
+ </entry>
382
+ <entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
383
+ <provider selected="true" editor-type-id="text-editor">
384
+ <state line="2" column="72" selection-start="99" selection-end="99" vertical-scroll-proportion="0.0">
385
+ <folding />
386
+ </state>
387
+ </provider>
388
+ </entry>
389
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
390
+ <provider selected="true" editor-type-id="text-editor">
391
+ <state line="31" column="0" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
392
+ <folding />
393
+ </state>
394
+ </provider>
395
+ </entry>
396
+ <entry file="file://$PROJECT_DIR$/README.md">
397
+ <provider selected="true" editor-type-id="text-editor">
398
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
399
+ <folding />
400
+ </state>
401
+ </provider>
402
+ </entry>
403
+ <entry file="file://$PROJECT_DIR$/Gemfile">
404
+ <provider selected="true" editor-type-id="text-editor">
405
+ <state line="6" column="14" selection-start="77" selection-end="77" vertical-scroll-proportion="0.0">
406
+ <folding />
407
+ </state>
408
+ </provider>
409
+ </entry>
410
+ <entry file="file://$PROJECT_DIR$/CHANGES">
411
+ <provider selected="true" editor-type-id="text-editor">
412
+ <state line="0" column="2" selection-start="2" selection-end="2" vertical-scroll-proportion="0.0">
413
+ <folding />
414
+ </state>
415
+ </provider>
416
+ </entry>
417
+ <entry file="file://$PROJECT_DIR$/Gemfile">
418
+ <provider selected="true" editor-type-id="text-editor">
419
+ <state line="6" column="14" selection-start="77" selection-end="77" vertical-scroll-proportion="0.0">
420
+ <folding />
421
+ </state>
422
+ </provider>
423
+ </entry>
424
+ <entry file="file://$PROJECT_DIR$/README.md">
425
+ <provider selected="true" editor-type-id="text-editor">
426
+ <state line="3" column="29" selection-start="64" selection-end="64" vertical-scroll-proportion="0.0">
427
+ <folding />
428
+ </state>
429
+ </provider>
430
+ </entry>
431
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
432
+ <provider selected="true" editor-type-id="text-editor">
433
+ <state line="31" column="28" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
434
+ <folding />
435
+ </state>
436
+ </provider>
437
+ </entry>
438
+ <entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb">
439
+ <provider selected="true" editor-type-id="text-editor">
440
+ <state line="3" column="9" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0">
441
+ <folding />
442
+ </state>
443
+ </provider>
444
+ </entry>
445
+ <entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
446
+ <provider selected="true" editor-type-id="text-editor">
447
+ <state line="18" column="52" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0">
448
+ <folding />
449
+ </state>
450
+ </provider>
451
+ </entry>
452
+ <entry file="file://$PROJECT_DIR$/.rvmrc">
453
+ <provider selected="true" editor-type-id="text-editor">
454
+ <state line="3" column="30" selection-start="87" selection-end="87" vertical-scroll-proportion="0.0">
455
+ <folding />
456
+ </state>
457
+ </provider>
458
+ </entry>
459
+ <entry file="file://$PROJECT_DIR$/Rakefile">
460
+ <provider selected="true" editor-type-id="text-editor">
461
+ <state line="25" column="21" selection-start="492" selection-end="492" vertical-scroll-proportion="0.4282655">
462
+ <folding />
463
+ </state>
464
+ </provider>
465
+ </entry>
466
+ </component>
467
+ </project>
468
+
data/.rvmrc ADDED
@@ -0,0 +1,4 @@
1
+ rvm_gemset_create_on_use_flag=1
2
+ rvm_pretty_print_flag=1
3
+
4
+ rvm use 1.9.3@gemspec_deps_gen
data/CHANGES ADDED
@@ -0,0 +1,5 @@
1
+ = Gemspec Deps Gen Changelog
2
+
3
+ == Version 1.0.0
4
+
5
+ * Initial release.
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source :rubygems
2
+
3
+ group :default do
4
+ end
5
+
6
+ group :development do
7
+ gem "bundler"
8
+ end
9
+
10
+ group :test do
11
+ gem "rspec", "2.9.0"
12
+ gem "mocha", "0.10.3"
13
+ end
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ gemspec_deps_gen
2
+ ================
3
+
4
+ Class for generating dependencies inside gemspec file
data/Rakefile ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env rake
2
+
3
+ $LOAD_PATH.unshift File.expand_path("lib", File.dirname(__FILE__))
4
+
5
+ require "rspec/core/rake_task"
6
+ require "gemspec_deps_gen/version"
7
+
8
+ def version
9
+ GemspecDepsGen::VERSION
10
+ end
11
+
12
+ def project_name
13
+ File.basename(Dir.pwd)
14
+ end
15
+
16
+ task :build do
17
+ system "gem build #{project_name}.gemspec"
18
+ end
19
+
20
+ task :release => :build do
21
+ system "gem push #{project_name}-#{version}.gem"
22
+ end
23
+
24
+ RSpec::Core::RakeTask.new do |task|
25
+ task.pattern = 'spec/**/*_spec.rb'
26
+ task.verbose = false
27
+ end
28
+
29
+
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require File.expand_path(File.dirname(__FILE__) + '/lib/gemspec_deps_gen/version')
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "gemspec_deps_gen"
7
+ spec.summary = %q{Class for generating dependencies inside gemspec file }
8
+ spec.description = %q{Class for generating dependencies inside gemspec file }
9
+ spec.email = "alexander.shvets@gmail.com"
10
+ spec.authors = ["Alexander Shvets"]
11
+ spec.homepage = "http://github.com/shvets/gemspec_deps_gen"
12
+
13
+ spec.files = `git ls-files`.split($\)
14
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
15
+ spec.require_paths = ["lib"]
16
+ spec.version = GemspecDepsGen::VERSION
17
+ end
18
+
@@ -0,0 +1,31 @@
1
+ require 'erb'
2
+ require 'bundler'
3
+
4
+ class GemspecDepsGen
5
+ def bundler_gems group
6
+ Bundler.environment.dependencies.select { |d| d.groups.include?(group) }.collect
7
+ end
8
+
9
+ def generate_included_dependencies
10
+ text = ""
11
+ bundler_gems(:default).each do |gem|
12
+ text += "spec.add_runtime_dependency \"#{gem.name}\", #{gem.requirements_list}\n "
13
+ end
14
+
15
+ bundler_gems(:development).each do |gem|
16
+ text +="spec.add_development_dependency \"#{gem.name}\", #{gem.requirements_list}\n "
17
+ end
18
+
19
+ text
20
+ end
21
+
22
+ def generate_dependencies source, target
23
+ include_dependencies = generate_included_dependencies
24
+
25
+ template = ERB.new File.open(source).read
26
+
27
+ File.open(target, "w") do |file|
28
+ file.write(template.result(binding))
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,3 @@
1
+ module GemspecDepsGen
2
+ VERSION = "1.0.0"
3
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gemspec_deps_gen
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alexander Shvets
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-08 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! 'Class for generating dependencies inside gemspec file '
15
+ email: alexander.shvets@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - .gitignore
21
+ - .idea/.name
22
+ - .idea/.rakeTasks
23
+ - .idea/cssxfire.xml
24
+ - .idea/encodings.xml
25
+ - .idea/gemspec_deps_gen.iml
26
+ - .idea/misc.xml
27
+ - .idea/modules.xml
28
+ - .idea/scopes/scope_settings.xml
29
+ - .idea/vcs.xml
30
+ - .idea/workspace.xml
31
+ - .rvmrc
32
+ - CHANGES
33
+ - Gemfile
34
+ - README.md
35
+ - Rakefile
36
+ - gemspec_deps_gen.gemspec
37
+ - lib/gemspec_deps_gen/gemspec_deps_gen.rb
38
+ - lib/gemspec_deps_gen/version.rb
39
+ homepage: http://github.com/shvets/gemspec_deps_gen
40
+ licenses: []
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 1.8.23
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: Class for generating dependencies inside gemspec file
63
+ test_files: []