gemspec_deps_gen 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/gemspec_deps_gen.iml +1 -0
- data/.idea/workspace.xml +19 -13
- data/lib/gemspec_deps_gen/gemspec_deps_gen.rb +1 -1
- data/lib/gemspec_deps_gen/version.rb +1 -1
- metadata +1 -1
data/.idea/gemspec_deps_gen.iml
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
<orderEntry type="sourceFolder" forTests="false" />
|
7
7
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.1.3, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
8
8
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.4, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
9
10
|
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
10
11
|
<orderEntry type="library" scope="PROVIDED" name="mocha (v0.10.3, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
11
12
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.9.0, RVM: ruby-1.9.3-p194 [gemspec_deps_gen]) [gem]" level="application" />
|
data/.idea/workspace.xml
CHANGED
@@ -3,10 +3,7 @@
|
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="7ff5d788-a599-4460-bba2-66ee4aef909f" name="Default" comment="">
|
5
5
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/gemspec_deps_gen.iml" afterPath="$PROJECT_DIR$/.idea/gemspec_deps_gen.iml" />
|
6
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
7
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
8
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
9
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
10
7
|
<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" />
|
11
8
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" afterPath="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" />
|
12
9
|
</list>
|
@@ -48,6 +45,15 @@
|
|
48
45
|
</provider>
|
49
46
|
</entry>
|
50
47
|
</file>
|
48
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
49
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
50
|
+
<provider selected="true" editor-type-id="text-editor">
|
51
|
+
<state line="19" column="0" selection-start="315" selection-end="389" vertical-scroll-proportion="0.0">
|
52
|
+
<folding />
|
53
|
+
</state>
|
54
|
+
</provider>
|
55
|
+
</entry>
|
56
|
+
</file>
|
51
57
|
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
52
58
|
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb">
|
53
59
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -60,7 +66,7 @@
|
|
60
66
|
<file leaf-file-name="gemspec_deps_gen.rb" pinned="false" current="true" current-in-tab="true">
|
61
67
|
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
|
62
68
|
<provider selected="true" editor-type-id="text-editor">
|
63
|
-
<state line="30" column="
|
69
|
+
<state line="30" column="10" selection-start="735" selection-end="735" vertical-scroll-proportion="0.51391864">
|
64
70
|
<folding />
|
65
71
|
</state>
|
66
72
|
</provider>
|
@@ -78,7 +84,7 @@
|
|
78
84
|
<file leaf-file-name="gemspec_deps_gen.gemspec" pinned="false" current="false" current-in-tab="false">
|
79
85
|
<entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
|
80
86
|
<provider selected="true" editor-type-id="text-editor">
|
81
|
-
<state line="18" column="
|
87
|
+
<state line="18" column="50" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0">
|
82
88
|
<folding />
|
83
89
|
</state>
|
84
90
|
</provider>
|
@@ -104,8 +110,8 @@
|
|
104
110
|
<option value="$PROJECT_DIR$/.rvmrc" />
|
105
111
|
<option value="$PROJECT_DIR$/Gemfile" />
|
106
112
|
<option value="$PROJECT_DIR$/Rakefile" />
|
107
|
-
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" />
|
108
113
|
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/version.rb" />
|
114
|
+
<option value="$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb" />
|
109
115
|
</list>
|
110
116
|
</option>
|
111
117
|
</component>
|
@@ -275,7 +281,7 @@
|
|
275
281
|
<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" />
|
276
282
|
<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" />
|
277
283
|
<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" />
|
278
|
-
<window_info id="Messages" active="
|
284
|
+
<window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
279
285
|
<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" />
|
280
286
|
<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" />
|
281
287
|
<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" />
|
@@ -410,23 +416,23 @@
|
|
410
416
|
</state>
|
411
417
|
</provider>
|
412
418
|
</entry>
|
413
|
-
<entry file="file://$PROJECT_DIR$/
|
419
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
414
420
|
<provider selected="true" editor-type-id="text-editor">
|
415
|
-
<state line="
|
421
|
+
<state line="4" column="17" selection-start="69" selection-end="69" vertical-scroll-proportion="0.0">
|
416
422
|
<folding />
|
417
423
|
</state>
|
418
424
|
</provider>
|
419
425
|
</entry>
|
420
426
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
421
427
|
<provider selected="true" editor-type-id="text-editor">
|
422
|
-
<state line="
|
428
|
+
<state line="19" column="0" selection-start="315" selection-end="389" vertical-scroll-proportion="0.0">
|
423
429
|
<folding />
|
424
430
|
</state>
|
425
431
|
</provider>
|
426
432
|
</entry>
|
427
|
-
<entry file="file://$PROJECT_DIR$/
|
433
|
+
<entry file="file://$PROJECT_DIR$/gemspec_deps_gen.gemspec">
|
428
434
|
<provider selected="true" editor-type-id="text-editor">
|
429
|
-
<state line="
|
435
|
+
<state line="18" column="50" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0">
|
430
436
|
<folding />
|
431
437
|
</state>
|
432
438
|
</provider>
|
@@ -440,7 +446,7 @@
|
|
440
446
|
</entry>
|
441
447
|
<entry file="file://$PROJECT_DIR$/lib/gemspec_deps_gen/gemspec_deps_gen.rb">
|
442
448
|
<provider selected="true" editor-type-id="text-editor">
|
443
|
-
<state line="30" column="
|
449
|
+
<state line="30" column="10" selection-start="735" selection-end="735" vertical-scroll-proportion="0.51391864">
|
444
450
|
<folding />
|
445
451
|
</state>
|
446
452
|
</provider>
|
@@ -11,7 +11,7 @@ class GemspecDepsGen
|
|
11
11
|
def generate_dependencies source, target
|
12
12
|
include_dependencies = generate_included_dependencies
|
13
13
|
|
14
|
-
|
14
|
+
write_content_to_file(execute_template(source, binding), target)
|
15
15
|
end
|
16
16
|
|
17
17
|
def generate_included_dependencies
|