gemspec_deps_gen 1.0.5 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.idea/gemspec_deps_gen.iml +19 -9
- data/.idea/jenkinsSettings.xml +9 -0
- data/.idea/misc.xml +2 -1
- data/.idea/workspace.xml +227 -70
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CHANGES +5 -1
- data/Gemfile +3 -3
- data/README.md +65 -3
- data/Rakefile +0 -5
- data/bin/gemspec_deps_gen +22 -0
- data/bin/gemspec_deps_gen.bat +6 -0
- data/gemspec_deps_gen.gemspec +5 -2
- data/lib/gemspec_deps_gen.rb +1 -0
- data/lib/gemspec_deps_gen/gemspec_deps_gen.rb +10 -6
- data/lib/gemspec_deps_gen/version.rb +2 -2
- data/sample/Gemfile +15 -0
- data/sample/Rakefile +30 -0
- data/sample/lib/sample.rb +5 -0
- data/sample/sample.gemspec +20 -0
- data/sample/sample.gemspec.erb +16 -0
- metadata +38 -17
- data/.rvmrc +0 -4
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 00059cc8215db70e62ee0a5601f361784102f4dc
|
4
|
+
data.tar.gz: 6066992e4d281a21e24010350edf013a61021377
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8cfa5624451d6babdfe5328acd61c62b4a4d440483196bf723914f9ee41240da0168ee9808d4142a532b2da3288476ec6deb0ef5e08d747f47af5b5e3c3224b1
|
7
|
+
data.tar.gz: 990d79b35dc07dec2b294c839297ea8928b80051baa43149b706b975b1e3ce5182acf706a4aea439a96ed7c24f609871ea0ac5f50adf8bfa21d284c20c2d7cd6
|
data/.idea/gemspec_deps_gen.iml
CHANGED
@@ -1,18 +1,28 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="Gem">
|
5
|
+
<configuration>
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="" />
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
3
12
|
<component name="NewModuleRootManager">
|
4
13
|
<content url="file://$MODULE_DIR$" />
|
5
14
|
<orderEntry type="inheritedJdk" />
|
6
15
|
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.
|
8
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.
|
9
|
-
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.4, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="mocha (v0.14.0, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.14.4, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.14.1, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.3, RVM: ruby-2.0.0-p247 [gemspec_deps_gen]) [gem]" level="application" />
|
16
26
|
</component>
|
17
27
|
</module>
|
18
28
|
|
data/.idea/misc.xml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<project version="4">
|
3
|
-
<component name="
|
3
|
+
<component name="CppTools.Loader" reportImplicitCastToBool="false" reportNameReferencedOnce="false" version="3" compilerSelect="AUTO" />
|
4
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.0.0-p247 [gemspec_deps_gen]" project-jdk-type="RUBY_SDK" />
|
4
5
|
</project>
|
5
6
|
|
data/.idea/workspace.xml
CHANGED
@@ -2,10 +2,42 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="7ff5d788-a599-4460-bba2-66ee4aef909f" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/gemspec_deps_gen.iml" afterPath="$PROJECT_DIR$/.idea/gemspec_deps_gen.iml" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" afterPath="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/sample/sample.gemspec.erb" afterPath="$PROJECT_DIR$/sample/sample.gemspec.erb" />
|
11
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" afterPath="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" />
|
5
12
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
13
|
</list>
|
7
14
|
<ignored path="gemspec_deps_gen.iws" />
|
8
15
|
<ignored path=".idea/workspace.xml" />
|
16
|
+
<file path="/Dummy.txt" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376339616178" ignored="false" />
|
17
|
+
<file path="/.ruby-version" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226875902" ignored="false" />
|
18
|
+
<file path="/version.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226799994" ignored="false" />
|
19
|
+
<file path="/sample.gemspec" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376225289850" ignored="false" />
|
20
|
+
<file path="/Rakefile" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376225931879" ignored="false" />
|
21
|
+
<file path="/gemspec_deps_gen.gemspec" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376227626222" ignored="false" />
|
22
|
+
<file path="/gemspec_deps_gen.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226413659" ignored="false" />
|
23
|
+
<file path="/temp.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376149384944" ignored="false" />
|
24
|
+
<file path="/sample.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376184286307" ignored="false" />
|
25
|
+
<file path="/sample.gemspec.erb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376225881300" ignored="false" />
|
26
|
+
<file path="$USER_HOME$/.rvm/gems/ruby-2.0.0-p195@gemspec_deps_gen/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226123577" ignored="false" />
|
27
|
+
<file path="$USER_HOME$/.rvm/gems/ruby-2.0.0-p195@gemspec_deps_gen/gems/rspec-core-2.9.0/lib/rspec/core/rake_task.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226123577" ignored="false" />
|
28
|
+
<file path="$USER_HOME$/.rvm/gems/ruby-2.0.0-p195@gemspec_deps_gen/gems/mocha-0.10.3/lib/mocha/object.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226759049" ignored="false" />
|
29
|
+
<file path="$PROJECT_DIR$/../file_utils/Gemfile" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226974544" ignored="false" />
|
30
|
+
<file path="$PROJECT_DIR$/../file_utils/lib/file_utils/version.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376227189175" ignored="false" />
|
31
|
+
<file path="$PROJECT_DIR$/../file_utils/CHANGES" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226826845" ignored="false" />
|
32
|
+
<file path="$PROJECT_DIR$/../file_utils/.ruby-gemset" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226862440" ignored="false" />
|
33
|
+
<file path="/.ruby-gemset" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226862440" ignored="false" />
|
34
|
+
<file path="$PROJECT_DIR$/../file_utils/.ruby-version" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376226876221" ignored="false" />
|
35
|
+
<file path="$PROJECT_DIR$/../file_utils/Gemfile.lock" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376227104030" ignored="false" />
|
36
|
+
<file path="/README.md" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376228404528" ignored="false" />
|
37
|
+
<file path="/gemspec_deps_gen" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376229585016" ignored="false" />
|
38
|
+
<file path="/gemspec_deps_gen.bat" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376227792094" ignored="false" />
|
39
|
+
<file path="/genspec_deps_gen.rb" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376228696111" ignored="false" />
|
40
|
+
<file path="/a.dummy" changelist="7ff5d788-a599-4460-bba2-66ee4aef909f" time="1376339732704" ignored="false" />
|
9
41
|
<option name="TRACKING_ENABLED" value="true" />
|
10
42
|
<option name="SHOW_DIALOG" value="false" />
|
11
43
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -19,15 +51,16 @@
|
|
19
51
|
<component name="DaemonCodeAnalyzer">
|
20
52
|
<disable_hints />
|
21
53
|
</component>
|
54
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
22
55
|
<component name="FavoritesManager">
|
23
56
|
<favorites_list name="gemspec_deps_gen" />
|
24
57
|
</component>
|
25
58
|
<component name="FileEditorManager">
|
26
59
|
<leaf>
|
27
|
-
<file leaf-file-name=".
|
28
|
-
<entry file="file://$PROJECT_DIR
|
60
|
+
<file leaf-file-name="sample.gemspec.erb" pinned="false" current="false" current-in-tab="false">
|
61
|
+
<entry file="file://$PROJECT_DIR$/sample/sample.gemspec.erb">
|
29
62
|
<provider selected="true" editor-type-id="text-editor">
|
30
|
-
<state line="
|
63
|
+
<state line="14" column="22" selection-start="423" selection-end="423" vertical-scroll-proportion="-8.96">
|
31
64
|
<folding />
|
32
65
|
</state>
|
33
66
|
</provider>
|
@@ -36,55 +69,76 @@
|
|
36
69
|
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
37
70
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
38
71
|
<provider selected="true" editor-type-id="text-editor">
|
39
|
-
<state line="
|
72
|
+
<state line="15" column="0" selection-start="181" selection-end="181" vertical-scroll-proportion="0.0">
|
40
73
|
<folding />
|
41
74
|
</state>
|
42
75
|
</provider>
|
43
76
|
</entry>
|
44
77
|
</file>
|
45
|
-
<file leaf-file-name="
|
46
|
-
<entry file="file://$PROJECT_DIR$/
|
78
|
+
<file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
|
79
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
47
80
|
<provider selected="true" editor-type-id="text-editor">
|
48
|
-
<state line="
|
81
|
+
<state line="16" column="47" selection-start="237" selection-end="237" vertical-scroll-proportion="0.0">
|
49
82
|
<folding />
|
50
83
|
</state>
|
51
84
|
</provider>
|
52
85
|
</entry>
|
53
86
|
</file>
|
54
|
-
<file leaf-file-name="
|
55
|
-
<entry file="file://$PROJECT_DIR$/
|
87
|
+
<file leaf-file-name="gemspec_deps_gen" pinned="false" current="false" current-in-tab="false">
|
88
|
+
<entry file="file://$PROJECT_DIR$/bin/gemspec_deps_gen">
|
56
89
|
<provider selected="true" editor-type-id="text-editor">
|
57
|
-
<state line="
|
90
|
+
<state line="8" column="76" selection-start="222" selection-end="222" vertical-scroll-proportion="0.0">
|
58
91
|
<folding />
|
59
92
|
</state>
|
60
93
|
</provider>
|
61
94
|
</entry>
|
62
95
|
</file>
|
63
|
-
<file leaf-file-name="
|
96
|
+
<file leaf-file-name="sample.gemspec" pinned="false" current="false" current-in-tab="false">
|
97
|
+
<entry file="file://$PROJECT_DIR$/sample/sample.gemspec">
|
98
|
+
<provider selected="true" editor-type-id="text-editor">
|
99
|
+
<state line="20" column="0" selection-start="558" selection-end="558" vertical-scroll-proportion="0.0">
|
100
|
+
<folding />
|
101
|
+
</state>
|
102
|
+
</provider>
|
103
|
+
</entry>
|
104
|
+
</file>
|
105
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
106
|
+
<entry file="file://$PROJECT_DIR$/sample/Rakefile">
|
107
|
+
<provider selected="true" editor-type-id="text-editor">
|
108
|
+
<state line="8" column="21" selection-start="176" selection-end="176" vertical-scroll-proportion="0.0">
|
109
|
+
<folding />
|
110
|
+
</state>
|
111
|
+
</provider>
|
112
|
+
</entry>
|
113
|
+
</file>
|
114
|
+
<file leaf-file-name="gemspec_deps_gen.rb" pinned="false" current="false" current-in-tab="false">
|
64
115
|
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
|
65
116
|
<provider selected="true" editor-type-id="text-editor">
|
66
|
-
<state line="
|
117
|
+
<state line="15" column="43" selection-start="366" selection-end="366" vertical-scroll-proportion="0.0">
|
67
118
|
<folding />
|
68
119
|
</state>
|
69
120
|
</provider>
|
70
121
|
</entry>
|
71
122
|
</file>
|
72
|
-
<file leaf-file-name="
|
73
|
-
<entry file="file://$PROJECT_DIR$/
|
123
|
+
<file leaf-file-name="Gemfile.lock" pinned="false" current="false" current-in-tab="false">
|
124
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
74
125
|
<provider selected="true" editor-type-id="text-editor">
|
75
|
-
<state line="
|
126
|
+
<state line="21" column="0" selection-start="427" selection-end="427" vertical-scroll-proportion="0.0">
|
76
127
|
<folding />
|
77
128
|
</state>
|
78
129
|
</provider>
|
79
130
|
</entry>
|
80
131
|
</file>
|
81
|
-
<file leaf-file-name="
|
82
|
-
<entry file="file://$PROJECT_DIR$/
|
132
|
+
<file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
|
133
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
83
134
|
<provider selected="true" editor-type-id="text-editor">
|
84
|
-
<state line="
|
135
|
+
<state line="44" column="70" selection-start="914" selection-end="914" vertical-scroll-proportion="0.45229682">
|
85
136
|
<folding />
|
86
137
|
</state>
|
87
138
|
</provider>
|
139
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
140
|
+
<state />
|
141
|
+
</provider>
|
88
142
|
</entry>
|
89
143
|
</file>
|
90
144
|
</leaf>
|
@@ -97,18 +151,30 @@
|
|
97
151
|
<component name="Git.Settings">
|
98
152
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
99
153
|
</component>
|
154
|
+
<component name="GitLogSettings">
|
155
|
+
<option name="myDateState">
|
156
|
+
<MyDateState />
|
157
|
+
</option>
|
158
|
+
</component>
|
100
159
|
<component name="IdeDocumentHistory">
|
101
160
|
<option name="changedFiles">
|
102
161
|
<list>
|
103
|
-
<option value="$PROJECT_DIR$/
|
104
|
-
<option value="$PROJECT_DIR$/lib/
|
105
|
-
<option value="$PROJECT_DIR$/lib/
|
162
|
+
<option value="$PROJECT_DIR$/spec/sample/Rakefile" />
|
163
|
+
<option value="$PROJECT_DIR$/spec/sample/lib/sample.rb" />
|
164
|
+
<option value="$PROJECT_DIR$/lib/sample/Rakefile" />
|
165
|
+
<option value="$PROJECT_DIR$/sample/lib/sample.rb" />
|
166
|
+
<option value="$PROJECT_DIR$/sample/sample.gemspec" />
|
167
|
+
<option value="$PROJECT_DIR$/sample/Rakefile" />
|
168
|
+
<option value="$PROJECT_DIR$/bin/gemspec_deps_gen.bat" />
|
169
|
+
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/genspec_deps_gen.rb" />
|
106
170
|
<option value="$PROJECT_DIR$/gemspec_deps_gen.gemspec" />
|
107
|
-
<option value="$PROJECT_DIR$/.rvmrc" />
|
108
|
-
<option value="$PROJECT_DIR$/Gemfile" />
|
109
171
|
<option value="$PROJECT_DIR$/Rakefile" />
|
110
|
-
<option value="$PROJECT_DIR$/
|
172
|
+
<option value="$PROJECT_DIR$/bin/gemspec_deps_gen" />
|
173
|
+
<option value="$PROJECT_DIR$/README.md" />
|
111
174
|
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" />
|
175
|
+
<option value="$PROJECT_DIR$/sample/sample.gemspec.erb" />
|
176
|
+
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" />
|
177
|
+
<option value="$PROJECT_DIR$/CHANGES" />
|
112
178
|
</list>
|
113
179
|
</option>
|
114
180
|
</component>
|
@@ -163,6 +229,34 @@
|
|
163
229
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
164
230
|
</PATH_ELEMENT>
|
165
231
|
</PATH>
|
232
|
+
<PATH>
|
233
|
+
<PATH_ELEMENT>
|
234
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
235
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
236
|
+
</PATH_ELEMENT>
|
237
|
+
<PATH_ELEMENT>
|
238
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
239
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
240
|
+
</PATH_ELEMENT>
|
241
|
+
<PATH_ELEMENT>
|
242
|
+
<option name="myItemId" value="sample" />
|
243
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
244
|
+
</PATH_ELEMENT>
|
245
|
+
</PATH>
|
246
|
+
<PATH>
|
247
|
+
<PATH_ELEMENT>
|
248
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
249
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
250
|
+
</PATH_ELEMENT>
|
251
|
+
<PATH_ELEMENT>
|
252
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
253
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
254
|
+
</PATH_ELEMENT>
|
255
|
+
<PATH_ELEMENT>
|
256
|
+
<option name="myItemId" value="lib" />
|
257
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
258
|
+
</PATH_ELEMENT>
|
259
|
+
</PATH>
|
166
260
|
<PATH>
|
167
261
|
<PATH_ELEMENT>
|
168
262
|
<option name="myItemId" value="gemspec_deps_gen" />
|
@@ -181,10 +275,39 @@
|
|
181
275
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
182
276
|
</PATH_ELEMENT>
|
183
277
|
</PATH>
|
278
|
+
<PATH>
|
279
|
+
<PATH_ELEMENT>
|
280
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
281
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
282
|
+
</PATH_ELEMENT>
|
283
|
+
<PATH_ELEMENT>
|
284
|
+
<option name="myItemId" value="gemspec_deps_gen" />
|
285
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
286
|
+
</PATH_ELEMENT>
|
287
|
+
<PATH_ELEMENT>
|
288
|
+
<option name="myItemId" value="bin" />
|
289
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
290
|
+
</PATH_ELEMENT>
|
291
|
+
</PATH>
|
184
292
|
</subPane>
|
185
293
|
</pane>
|
186
294
|
</panes>
|
187
295
|
</component>
|
296
|
+
<component name="PropertiesComponent">
|
297
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
298
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
299
|
+
<property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
|
300
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
301
|
+
<property name="options.searchVisible" value="true" />
|
302
|
+
</component>
|
303
|
+
<component name="RecentsManager">
|
304
|
+
<key name="MoveFile.RECENT_KEYS">
|
305
|
+
<recent name="$PROJECT_DIR$/lib/gemspec_deps_gen" />
|
306
|
+
<recent name="$PROJECT_DIR$/lib" />
|
307
|
+
<recent name="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen" />
|
308
|
+
<recent name="$PROJECT_DIR$" />
|
309
|
+
</key>
|
310
|
+
</component>
|
188
311
|
<component name="RunManager">
|
189
312
|
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
190
313
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
@@ -196,11 +319,13 @@
|
|
196
319
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
197
320
|
<envs />
|
198
321
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
322
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
199
323
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
200
324
|
<COVERAGE_PATTERN ENABLED="true">
|
201
325
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
202
326
|
</COVERAGE_PATTERN>
|
203
327
|
</EXTENSION>
|
328
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
204
329
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
205
330
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
206
331
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
@@ -223,11 +348,13 @@
|
|
223
348
|
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
224
349
|
<envs />
|
225
350
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
351
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
226
352
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
227
353
|
<COVERAGE_PATTERN ENABLED="true">
|
228
354
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
229
355
|
</COVERAGE_PATTERN>
|
230
356
|
</EXTENSION>
|
357
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
231
358
|
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
232
359
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
233
360
|
<method />
|
@@ -242,11 +369,13 @@
|
|
242
369
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
243
370
|
<envs />
|
244
371
|
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
372
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
245
373
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
246
374
|
<COVERAGE_PATTERN ENABLED="true">
|
247
375
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
248
376
|
</COVERAGE_PATTERN>
|
249
377
|
</EXTENSION>
|
378
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
250
379
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
251
380
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
252
381
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
@@ -259,16 +388,33 @@
|
|
259
388
|
<list size="0" />
|
260
389
|
</component>
|
261
390
|
<component name="ShelveChangesManager" show_recycled="false" />
|
391
|
+
<component name="TaskManager">
|
392
|
+
<task active="true" id="Default" summary="Default task">
|
393
|
+
<changelist id="7ff5d788-a599-4460-bba2-66ee4aef909f" name="Default" comment="" />
|
394
|
+
<created>1376147747140</created>
|
395
|
+
<updated>1376147747140</updated>
|
396
|
+
</task>
|
397
|
+
<task id="LOCAL-00001" summary="new version">
|
398
|
+
<created>1376229692230</created>
|
399
|
+
<updated>1376229692230</updated>
|
400
|
+
</task>
|
401
|
+
<task id="LOCAL-00002" summary="new version">
|
402
|
+
<created>1376229755347</created>
|
403
|
+
<updated>1376229755347</updated>
|
404
|
+
</task>
|
405
|
+
<option name="localTasksCounter" value="3" />
|
406
|
+
<servers />
|
407
|
+
</component>
|
262
408
|
<component name="ToolWindowManager">
|
263
409
|
<frame x="240" y="142" width="1588" height="1058" extended-state="0" />
|
264
410
|
<editor active="true" />
|
265
411
|
<layout>
|
266
|
-
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.
|
267
|
-
<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" />
|
412
|
+
<window_info id="Changes" 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" />
|
268
413
|
<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" />
|
414
|
+
<window_info id="Find" active="false" 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" />
|
415
|
+
<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="3" side_tool="false" content_ui="tabs" />
|
269
416
|
<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" />
|
270
|
-
<window_info id="
|
271
|
-
<window_info id="Project" active="false" 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" />
|
417
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25616083" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
272
418
|
<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" />
|
273
419
|
<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" />
|
274
420
|
<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" />
|
@@ -277,9 +423,11 @@
|
|
277
423
|
<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" />
|
278
424
|
<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" />
|
279
425
|
<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" />
|
280
|
-
<window_info id="
|
281
|
-
<window_info id="Messages" active="
|
426
|
+
<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" />
|
427
|
+
<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="7" side_tool="false" content_ui="tabs" />
|
428
|
+
<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" />
|
282
429
|
<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" />
|
430
|
+
<window_info id="Jenkins" 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
431
|
<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" />
|
284
432
|
<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" />
|
285
433
|
</layout>
|
@@ -306,23 +454,27 @@
|
|
306
454
|
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
307
455
|
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
308
456
|
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
309
|
-
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
310
457
|
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
311
458
|
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
312
459
|
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
313
460
|
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
314
|
-
<option name="
|
461
|
+
<option name="SHORT_DIFF_HORIZONTALLY" value="true" />
|
315
462
|
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
316
463
|
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
317
464
|
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
318
465
|
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
319
|
-
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
|
320
466
|
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
321
467
|
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
322
|
-
<option name="
|
468
|
+
<option name="SHOW_DIRTY_RECURSIVELY" value="false" />
|
469
|
+
<option name="LIMIT_HISTORY" value="true" />
|
470
|
+
<option name="MAXIMUM_HISTORY_ROWS" value="1000" />
|
471
|
+
<option name="UPDATE_FILTER_SCOPE_NAME" />
|
472
|
+
<option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
|
473
|
+
<option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
|
474
|
+
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
|
323
475
|
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
324
476
|
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
325
|
-
<option name="LAST_COMMIT_MESSAGE" />
|
477
|
+
<option name="LAST_COMMIT_MESSAGE" value="new version" />
|
326
478
|
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
327
479
|
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
328
480
|
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
@@ -333,120 +485,125 @@
|
|
333
485
|
<option name="ACTIVE_VCS_NAME" />
|
334
486
|
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
335
487
|
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
488
|
+
<option name="UPDATE_FILTER_BY_SCOPE" value="false" />
|
336
489
|
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
337
490
|
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
491
|
+
<MESSAGE value="new version" />
|
338
492
|
</component>
|
339
493
|
<component name="XDebuggerManager">
|
340
494
|
<breakpoint-manager />
|
341
495
|
</component>
|
342
496
|
<component name="editorHistoryManager">
|
343
|
-
<entry file="file://$PROJECT_DIR
|
497
|
+
<entry file="file://$PROJECT_DIR$/.ruby-gemset">
|
344
498
|
<provider selected="true" editor-type-id="text-editor">
|
345
|
-
<state line="
|
346
|
-
<folding />
|
347
|
-
</state>
|
499
|
+
<state line="0" column="16" selection-start="16" selection-end="16" vertical-scroll-proportion="0.0" />
|
348
500
|
</provider>
|
349
501
|
</entry>
|
350
|
-
<entry file="file://$PROJECT_DIR$/
|
502
|
+
<entry file="file://$PROJECT_DIR$/bin/gemspec_deps_gen.bat">
|
351
503
|
<provider selected="true" editor-type-id="text-editor">
|
352
|
-
<state line="
|
353
|
-
<folding />
|
354
|
-
</state>
|
504
|
+
<state line="2" column="52" selection-start="97" selection-end="97" vertical-scroll-proportion="0.05059022" />
|
355
505
|
</provider>
|
356
506
|
</entry>
|
357
|
-
<entry file="file://$PROJECT_DIR
|
507
|
+
<entry file="file://$PROJECT_DIR$/sample/Gemfile">
|
358
508
|
<provider selected="true" editor-type-id="text-editor">
|
359
|
-
<state line="
|
509
|
+
<state line="0" column="0" selection-start="0" selection-end="29" vertical-scroll-proportion="0.0">
|
360
510
|
<folding />
|
361
511
|
</state>
|
362
512
|
</provider>
|
363
513
|
</entry>
|
364
|
-
<entry file="file://$PROJECT_DIR$/
|
514
|
+
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen.rb">
|
365
515
|
<provider selected="true" editor-type-id="text-editor">
|
366
|
-
<state line="0" column="
|
516
|
+
<state line="0" column="43" selection-start="43" selection-end="43" vertical-scroll-proportion="0.0">
|
367
517
|
<folding />
|
368
518
|
</state>
|
369
519
|
</provider>
|
370
520
|
</entry>
|
371
521
|
<entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
|
372
522
|
<provider selected="true" editor-type-id="text-editor">
|
373
|
-
<state line="2" column="
|
523
|
+
<state line="2" column="73" selection-start="100" selection-end="100" vertical-scroll-proportion="0.0">
|
374
524
|
<folding />
|
375
525
|
</state>
|
376
526
|
</provider>
|
377
527
|
</entry>
|
378
|
-
<entry file="file://$PROJECT_DIR$/
|
528
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
379
529
|
<provider selected="true" editor-type-id="text-editor">
|
380
|
-
<state line="
|
530
|
+
<state line="21" column="0" selection-start="359" selection-end="359" vertical-scroll-proportion="0.54545456">
|
381
531
|
<folding />
|
382
532
|
</state>
|
383
533
|
</provider>
|
384
534
|
</entry>
|
385
|
-
<entry file="file://$PROJECT_DIR$/
|
535
|
+
<entry file="file://$PROJECT_DIR$/sample/sample.gemspec">
|
386
536
|
<provider selected="true" editor-type-id="text-editor">
|
387
|
-
<state line="
|
537
|
+
<state line="20" column="0" selection-start="558" selection-end="558" vertical-scroll-proportion="0.0">
|
538
|
+
<folding />
|
539
|
+
</state>
|
388
540
|
</provider>
|
389
541
|
</entry>
|
390
|
-
<entry file="file://$PROJECT_DIR$/Gemfile">
|
542
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
391
543
|
<provider selected="true" editor-type-id="text-editor">
|
392
|
-
<state line="
|
544
|
+
<state line="21" column="0" selection-start="427" selection-end="427" vertical-scroll-proportion="0.0">
|
393
545
|
<folding />
|
394
546
|
</state>
|
395
547
|
</provider>
|
396
548
|
</entry>
|
397
|
-
<entry file="file://$PROJECT_DIR$/
|
549
|
+
<entry file="file://$PROJECT_DIR$/bin/gemspec_deps_gen">
|
398
550
|
<provider selected="true" editor-type-id="text-editor">
|
399
|
-
<state line="
|
551
|
+
<state line="8" column="76" selection-start="222" selection-end="222" vertical-scroll-proportion="0.0">
|
552
|
+
<folding />
|
553
|
+
</state>
|
400
554
|
</provider>
|
401
555
|
</entry>
|
402
|
-
<entry file="file://$PROJECT_DIR
|
556
|
+
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
|
403
557
|
<provider selected="true" editor-type-id="text-editor">
|
404
|
-
<state line="
|
558
|
+
<state line="15" column="43" selection-start="366" selection-end="366" vertical-scroll-proportion="0.0">
|
405
559
|
<folding />
|
406
560
|
</state>
|
407
561
|
</provider>
|
408
562
|
</entry>
|
409
|
-
<entry file="file://$PROJECT_DIR$/
|
563
|
+
<entry file="file://$PROJECT_DIR$/sample/Rakefile">
|
410
564
|
<provider selected="true" editor-type-id="text-editor">
|
411
|
-
<state line="
|
565
|
+
<state line="8" column="21" selection-start="176" selection-end="176" vertical-scroll-proportion="0.0">
|
412
566
|
<folding />
|
413
567
|
</state>
|
414
568
|
</provider>
|
415
569
|
</entry>
|
416
|
-
<entry file="file://$PROJECT_DIR$/
|
570
|
+
<entry file="file://$PROJECT_DIR$/sample/sample.gemspec.erb">
|
417
571
|
<provider selected="true" editor-type-id="text-editor">
|
418
|
-
<state line="
|
572
|
+
<state line="14" column="22" selection-start="423" selection-end="423" vertical-scroll-proportion="-8.96">
|
419
573
|
<folding />
|
420
574
|
</state>
|
421
575
|
</provider>
|
422
576
|
</entry>
|
423
|
-
<entry file="file://$PROJECT_DIR$/
|
577
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
424
578
|
<provider selected="true" editor-type-id="text-editor">
|
425
|
-
<state line="
|
579
|
+
<state line="15" column="0" selection-start="181" selection-end="181" vertical-scroll-proportion="0.0">
|
426
580
|
<folding />
|
427
581
|
</state>
|
428
582
|
</provider>
|
429
583
|
</entry>
|
430
|
-
<entry file="file://$PROJECT_DIR$/gemspec_deps_gen.
|
584
|
+
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb">
|
431
585
|
<provider selected="true" editor-type-id="text-editor">
|
432
|
-
<state line="
|
586
|
+
<state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.02698145">
|
433
587
|
<folding />
|
434
588
|
</state>
|
435
589
|
</provider>
|
436
590
|
</entry>
|
437
|
-
<entry file="file://$PROJECT_DIR$/
|
591
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
438
592
|
<provider selected="true" editor-type-id="text-editor">
|
439
|
-
<state line="
|
593
|
+
<state line="16" column="47" selection-start="237" selection-end="237" vertical-scroll-proportion="0.0">
|
440
594
|
<folding />
|
441
595
|
</state>
|
442
596
|
</provider>
|
443
597
|
</entry>
|
444
|
-
<entry file="file://$PROJECT_DIR$/
|
598
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
445
599
|
<provider selected="true" editor-type-id="text-editor">
|
446
|
-
<state line="
|
600
|
+
<state line="44" column="70" selection-start="914" selection-end="914" vertical-scroll-proportion="0.45229682">
|
447
601
|
<folding />
|
448
602
|
</state>
|
449
603
|
</provider>
|
604
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
605
|
+
<state />
|
606
|
+
</provider>
|
450
607
|
</entry>
|
451
608
|
</component>
|
452
609
|
</project>
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gemspec_deps_gen
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,66 @@
|
|
1
|
-
gemspec_deps_gen
|
2
|
-
|
1
|
+
# gemspec_deps_gen - gem for generating project dependencies inside gemspec file
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this line to to your Gemfile:
|
6
|
+
|
7
|
+
gem "gemspec_deps_gen"
|
8
|
+
|
9
|
+
And then execute:
|
10
|
+
|
11
|
+
$ bundle
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
Create <project_name>.erb file:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
Gem::Specification.new do |spec|
|
19
|
+
spec.name = "sample"
|
20
|
+
spec.summary = %q{Summary.}
|
21
|
+
spec.description = %q{Description.}
|
22
|
+
spec.email = "alexander.shvets@gmail.com"
|
23
|
+
spec.authors = ["Alexander Shvets"]
|
24
|
+
spec.homepage = "http://github.com/shvets/sample"
|
25
|
+
|
26
|
+
spec.files = `git ls-files`.split($\)
|
27
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
|
+
|
29
|
+
spec.version = "1.0.0"
|
30
|
+
|
31
|
+
<%= project_dependencies %>
|
32
|
+
end
|
33
|
+
|
34
|
+
```
|
35
|
+
|
36
|
+
You can see ERB fragment (project_dependencies) included inside the body of the specification.
|
37
|
+
|
38
|
+
Now, run this command:
|
39
|
+
|
40
|
+
|
41
|
+
```bash
|
42
|
+
gemspec_deps_gen <project_name>
|
43
|
+
```
|
44
|
+
|
45
|
+
It will generate <project_name>.gemspec and replace ERB fragment with dependencies from Gemfile:
|
46
|
+
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
Gem::Specification.new do |spec|
|
50
|
+
...
|
51
|
+
|
52
|
+
spec.add_runtime_dependency "bundler", [">= 0"]
|
53
|
+
spec.add_runtime_dependency "file_utils", [">= 0"]
|
54
|
+
spec.add_development_dependency "gemcutter", [">= 0"]
|
55
|
+
|
56
|
+
end
|
57
|
+
```
|
58
|
+
|
59
|
+
## Contributing
|
60
|
+
|
61
|
+
1. Fork it
|
62
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
63
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
64
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
65
|
+
5. Create new Pull Request
|
3
66
|
|
4
|
-
Class for generating dependencies inside gemspec file
|
data/Rakefile
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
$LOAD_PATH.unshift File.expand_path("lib", File.dirname(__FILE__))
|
4
4
|
|
5
|
-
require "rspec/core/rake_task"
|
6
5
|
require "gemspec_deps_gen/version"
|
7
6
|
|
8
7
|
def version
|
@@ -25,9 +24,5 @@ task :release => :build do
|
|
25
24
|
system "gem push #{project_name}-#{version}.gem"
|
26
25
|
end
|
27
26
|
|
28
|
-
RSpec::Core::RakeTask.new do |task|
|
29
|
-
task.pattern = 'spec/**/*_spec.rb'
|
30
|
-
task.verbose = false
|
31
|
-
end
|
32
27
|
|
33
28
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
$:.unshift(File::join(File::dirname(File::dirname(__FILE__)), "lib"))
|
4
|
+
|
5
|
+
require 'gemspec_deps_gen'
|
6
|
+
|
7
|
+
USAGE= <<-TEXT
|
8
|
+
Usage:
|
9
|
+
gemspec_deps_gen project_name - generates .gemspec file with included dependencies from Gemspec file
|
10
|
+
TEXT
|
11
|
+
|
12
|
+
if ARGV.size == 0
|
13
|
+
puts USAGE
|
14
|
+
else
|
15
|
+
project_name = ARGV.shift
|
16
|
+
|
17
|
+
generator = GemspecDepsGen.new project_name
|
18
|
+
|
19
|
+
generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
|
20
|
+
|
21
|
+
puts "File #{project_name}.gemspec was generated."
|
22
|
+
end
|
data/gemspec_deps_gen.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path(File.dirname(__FILE__) + '/lib/gemspec_deps_gen/version
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "gemspec_deps_gen"
|
7
|
-
spec.summary = %q{Class for generating dependencies
|
8
|
-
spec.description = %q{Class for generating dependencies
|
7
|
+
spec.summary = %q{Class for generating gem dependencies from Gemfile }
|
8
|
+
spec.description = %q{Class for generating gem dependencies from Gemfile }
|
9
9
|
spec.email = "alexander.shvets@gmail.com"
|
10
10
|
spec.authors = ["Alexander Shvets"]
|
11
11
|
spec.homepage = "http://github.com/shvets/gemspec_deps_gen"
|
@@ -15,6 +15,9 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
spec.version = GemspecDepsGen::VERSION
|
17
17
|
|
18
|
+
spec.executables = ["gemspec_deps_gen"]
|
19
|
+
|
18
20
|
spec.add_dependency "file_utils", [">= 0"]
|
21
|
+
spec.add_dependency "bundler", [">= 0"]
|
19
22
|
end
|
20
23
|
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'gemspec_deps_gen/gemspec_deps_gen'
|
@@ -4,25 +4,29 @@ require 'file_utils'
|
|
4
4
|
class GemspecDepsGen
|
5
5
|
include FileUtils
|
6
6
|
|
7
|
+
def initialize project_name
|
8
|
+
@project_name = project_name
|
9
|
+
end
|
10
|
+
|
7
11
|
def bundler_gems group
|
8
12
|
Bundler.environment.dependencies.select { |d| d.groups.include?(group) }.collect
|
9
13
|
end
|
10
14
|
|
11
|
-
def generate_dependencies source, target
|
12
|
-
|
15
|
+
def generate_dependencies spec_name, source, target
|
16
|
+
project_dependencies = generate_project_dependencies spec_name
|
13
17
|
|
14
18
|
write_content_to_file(execute_template(source, binding), target)
|
15
19
|
end
|
16
20
|
|
17
|
-
def
|
18
|
-
text = ""
|
21
|
+
def generate_project_dependencies spec_name
|
22
|
+
text = "\n"
|
19
23
|
|
20
24
|
bundler_gems(:default).each do |gem|
|
21
|
-
text += "
|
25
|
+
text += " #{spec_name}.add_runtime_dependency \"#{gem.name}\", #{gem.requirements_list}\n"
|
22
26
|
end
|
23
27
|
|
24
28
|
bundler_gems(:development).each do |gem|
|
25
|
-
text +="
|
29
|
+
text +=" #{spec_name}.add_development_dependency \"#{gem.name}\", #{gem.requirements_list}\n"
|
26
30
|
end
|
27
31
|
|
28
32
|
text
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
VERSION = "1.
|
1
|
+
class GemspecDepsGen
|
2
|
+
VERSION = "1.1.1"
|
3
3
|
end
|
data/sample/Gemfile
ADDED
data/sample/Rakefile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require "../lib/gemspec_deps_gen/gemspec_deps_gen"
|
2
|
+
|
3
|
+
project_name = "sample"
|
4
|
+
version = "1.0.0"
|
5
|
+
|
6
|
+
task :gen do
|
7
|
+
generator = GemspecDepsGen.new project_name
|
8
|
+
|
9
|
+
generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
|
10
|
+
end
|
11
|
+
|
12
|
+
task :build do
|
13
|
+
system "gem build #{project_name}.gemspec"
|
14
|
+
end
|
15
|
+
|
16
|
+
task :install do
|
17
|
+
system "gem install #{project_name}-#{version}.gem"
|
18
|
+
end
|
19
|
+
|
20
|
+
task :uninstall do
|
21
|
+
system "gem uninstall #{project_name}"
|
22
|
+
end
|
23
|
+
|
24
|
+
task :test do
|
25
|
+
require 'sample'
|
26
|
+
|
27
|
+
sample = Sample.new
|
28
|
+
|
29
|
+
puts sample.hello
|
30
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "sample"
|
3
|
+
spec.summary = %q{Summary.}
|
4
|
+
spec.description = %q{Description.}
|
5
|
+
spec.email = "alexander.shvets@gmail.com"
|
6
|
+
spec.authors = ["Alexander Shvets"]
|
7
|
+
spec.homepage = "http://github.com/shvets/sample"
|
8
|
+
|
9
|
+
spec.files = `git ls-files`.split($\)
|
10
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
11
|
+
|
12
|
+
spec.version = "1.0.0"
|
13
|
+
|
14
|
+
|
15
|
+
spec.add_runtime_dependency "bundler", [">= 0"]
|
16
|
+
spec.add_runtime_dependency "file_utils", [">= 0"]
|
17
|
+
spec.add_development_dependency "gemcutter", [">= 0"]
|
18
|
+
|
19
|
+
end
|
20
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "sample"
|
3
|
+
spec.summary = %q{Summary.}
|
4
|
+
spec.description = %q{Description.}
|
5
|
+
spec.email = "alexander.shvets@gmail.com"
|
6
|
+
spec.authors = ["Alexander Shvets"]
|
7
|
+
spec.homepage = "http://github.com/shvets/sample"
|
8
|
+
|
9
|
+
spec.files = `git ls-files`.split($\)
|
10
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
11
|
+
|
12
|
+
spec.version = "1.0.0"
|
13
|
+
|
14
|
+
<%= project_dependencies %>
|
15
|
+
end
|
16
|
+
|
metadata
CHANGED
@@ -1,35 +1,47 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemspec_deps_gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Alexander Shvets
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-08-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: file_utils
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
|
-
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: 'Class for generating gem dependencies from Gemfile '
|
31
42
|
email: alexander.shvets@gmail.com
|
32
|
-
executables:
|
43
|
+
executables:
|
44
|
+
- gemspec_deps_gen
|
33
45
|
extensions: []
|
34
46
|
extra_rdoc_files: []
|
35
47
|
files:
|
@@ -39,41 +51,50 @@ files:
|
|
39
51
|
- .idea/cssxfire.xml
|
40
52
|
- .idea/encodings.xml
|
41
53
|
- .idea/gemspec_deps_gen.iml
|
54
|
+
- .idea/jenkinsSettings.xml
|
42
55
|
- .idea/misc.xml
|
43
56
|
- .idea/modules.xml
|
44
57
|
- .idea/scopes/scope_settings.xml
|
45
58
|
- .idea/vcs.xml
|
46
59
|
- .idea/workspace.xml
|
47
|
-
- .
|
60
|
+
- .ruby-gemset
|
61
|
+
- .ruby-version
|
48
62
|
- CHANGES
|
49
63
|
- Gemfile
|
50
64
|
- README.md
|
51
65
|
- Rakefile
|
66
|
+
- bin/gemspec_deps_gen
|
67
|
+
- bin/gemspec_deps_gen.bat
|
52
68
|
- gemspec_deps_gen.gemspec
|
69
|
+
- lib/gemspec_deps_gen.rb
|
53
70
|
- lib/gemspec_deps_gen/gemspec_deps_gen.rb
|
54
71
|
- lib/gemspec_deps_gen/version.rb
|
72
|
+
- sample/Gemfile
|
73
|
+
- sample/Rakefile
|
74
|
+
- sample/lib/sample.rb
|
75
|
+
- sample/sample.gemspec
|
76
|
+
- sample/sample.gemspec.erb
|
55
77
|
homepage: http://github.com/shvets/gemspec_deps_gen
|
56
78
|
licenses: []
|
79
|
+
metadata: {}
|
57
80
|
post_install_message:
|
58
81
|
rdoc_options: []
|
59
82
|
require_paths:
|
60
83
|
- lib
|
61
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
85
|
requirements:
|
64
|
-
- -
|
86
|
+
- - '>='
|
65
87
|
- !ruby/object:Gem::Version
|
66
88
|
version: '0'
|
67
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
90
|
requirements:
|
70
|
-
- -
|
91
|
+
- - '>='
|
71
92
|
- !ruby/object:Gem::Version
|
72
93
|
version: '0'
|
73
94
|
requirements: []
|
74
95
|
rubyforge_project:
|
75
|
-
rubygems_version:
|
96
|
+
rubygems_version: 2.0.5
|
76
97
|
signing_key:
|
77
|
-
specification_version:
|
78
|
-
summary: Class for generating dependencies
|
98
|
+
specification_version: 4
|
99
|
+
summary: Class for generating gem dependencies from Gemfile
|
79
100
|
test_files: []
|
data/.rvmrc
DELETED