projecter 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/projector.iml +91 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +354 -0
- data/.rubocop.yml +18 -0
- data/Gemfile +3 -0
- data/MIT-LICENSE +19 -0
- data/README.md +40 -0
- data/Rakefile +4 -0
- data/bin/projecter +24 -0
- data/files/Gemfile +3 -0
- data/files/Guardfile +27 -0
- data/files/Rakefile +37 -0
- data/files/dot-gitignore +21 -0
- data/files/dot-metrics +4 -0
- data/files/dot-rspec +1 -0
- data/files/dot-rubocop.yml +13 -0
- data/lib/commands/create.rb +116 -0
- data/lib/commands/version.rb +6 -0
- data/lib/projecter.rb +5 -0
- data/lib/version.rb +3 -0
- data/projector.gemspec +38 -0
- data/templates/README.md.tt +44 -0
- data/templates/gemspec.tt +39 -0
- data/templates/mainapp.tt +29 -0
- data/templates/mainlib.rb.tt +13 -0
- data/templates/reek.tt +5 -0
- data/templates/spec_fixtures.rb.tt +8 -0
- data/templates/spec_helper.rb.tt +12 -0
- data/templates/spec_resources.rb.tt +7 -0
- data/templates/version-cmd.rb.tt +6 -0
- data/templates/version.rb.tt +3 -0
- metadata +323 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 47420eb2c0d02f8ffcfd1f90f6900dbfc7e2f2c0
|
4
|
+
data.tar.gz: 3078488a23d65de632139853347daef57c77b939
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cac14a9ea378b9dd8ea4504fab43242328347ad2928f3e78d0de985bcc04f202c734b54a38eae8c0f90aef4aa87b88a1842dcbba7827003140f86462f1679c53
|
7
|
+
data.tar.gz: 8a06ef7f5260c721dcbd9e962d2be28aa0af6a5e0bb16e08e78621df44ad9f38f97049f9c3bc635293ed2d6a7d62a4a0a2423635a67feda2087a5245e6331844
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
projector
|
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"><RakeTask description="Build punty-0.0.18.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install punty-0.0.18.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.18 and build and push punty-0.0.18.gem to Rubygems" fullCmd="release" taksId="release" /><RakeTask description="" fullCmd="default" taksId="default" /></RakeGroup></Settings>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
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/projector.iml" filepath="$PROJECT_DIR$/.idea/projector.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/projector.iml
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="CompassSettings">
|
4
|
+
<option name="compassSupportEnabled" value="true" />
|
5
|
+
</component>
|
6
|
+
<component name="FacetManager">
|
7
|
+
<facet type="gem" name="Ruby Gem">
|
8
|
+
<configuration>
|
9
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
10
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
11
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
12
|
+
</configuration>
|
13
|
+
</facet>
|
14
|
+
</component>
|
15
|
+
<component name="NewModuleRootManager">
|
16
|
+
<content url="file://$MODULE_DIR$" />
|
17
|
+
<orderEntry type="inheritedJdk" />
|
18
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="abstract_type (v0.0.7, rbenv: 2.1.2) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.1.5, rbenv: 2.1.2) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="arrayfields (v4.7.4, rbenv: 2.1.2) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.0.0, rbenv: 2.1.2) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="bluff (v0.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.2, rbenv: 2.1.2) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="cane (v2.5.2, rbenv: 2.1.2) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="celluloid (v0.15.2, rbenv: 2.1.2) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="chronic (v0.10.2, rbenv: 2.1.2) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="churn (v0.0.28, rbenv: 2.1.2) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="code_analyzer (v0.4.5, rbenv: 2.1.2) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="colored (v1.2, rbenv: 2.1.2) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, rbenv: 2.1.2) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, rbenv: 2.1.2) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="fattr (v2.2.1, rbenv: 2.1.2) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.3, rbenv: 2.1.2) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="flay (v2.0.1, rbenv: 2.1.2) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="flog (v3.2.2, rbenv: 2.1.2) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="formatador (v0.2.5, rbenv: 2.1.2) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="guard (v2.1.1, rbenv: 2.1.2) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-reek (v0.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-rspec (v4.2.10, rbenv: 2.1.2) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-rubocop (v1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="hirb (v0.7.2, rbenv: 2.1.2) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.6.11, rbenv: 2.1.2) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="japgolly-Saikuro (v1.1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, rbenv: 2.1.2) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="listen (v2.7.9, rbenv: 2.1.2) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="lumberjack (v1.0.9, rbenv: 2.1.2) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="main (v6.0.0, rbenv: 2.1.2) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="map (v6.2.0, rbenv: 2.1.2) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, rbenv: 2.1.2) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="metric_fu (v4.2.1, rbenv: 2.1.2) [gem]" level="application" />
|
54
|
+
<orderEntry type="library" scope="PROVIDED" name="metric_fu-roodi (v3.0.0, rbenv: 2.1.2) [gem]" level="application" />
|
55
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.4.0, rbenv: 2.1.2) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.10.1, rbenv: 2.1.2) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v0.6.2, rbenv: 2.1.2) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v2.2.0.pre.4, rbenv: 2.1.2) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="powerpack (v0.0.9, rbenv: 2.1.2) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="progressbar (v0.21.0, rbenv: 2.1.2) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.10.1, rbenv: 2.1.2) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="rails_best_practices (v1.13.2, rbenv: 2.1.2) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v2.0.0, rbenv: 2.1.2) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.9.4, rbenv: 2.1.2) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.9.5, rbenv: 2.1.2) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="redcard (v1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="redcarpet (v2.3.0, rbenv: 2.1.2) [gem]" level="application" />
|
69
|
+
<orderEntry type="library" scope="PROVIDED" name="reek (v1.3.1, rbenv: 2.1.2) [gem]" level="application" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.0.0, rbenv: 2.1.2) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
74
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.0.4, rbenv: 2.1.2) [gem]" level="application" />
|
75
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.25.0, rbenv: 2.1.2) [gem]" level="application" />
|
76
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.5.1, rbenv: 2.1.2) [gem]" level="application" />
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby2ruby (v2.0.8, rbenv: 2.1.2) [gem]" level="application" />
|
78
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby_parser (v3.1.3, rbenv: 2.1.2) [gem]" level="application" />
|
79
|
+
<orderEntry type="library" scope="PROVIDED" name="sexp_processor (v4.4.4, rbenv: 2.1.2) [gem]" level="application" />
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.7.1, rbenv: 2.1.2) [gem]" level="application" />
|
81
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.7.1, rbenv: 2.1.2) [gem]" level="application" />
|
82
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, rbenv: 2.1.2) [gem]" level="application" />
|
83
|
+
<orderEntry type="library" scope="PROVIDED" name="sysexits (v1.0.2, rbenv: 2.1.2) [gem]" level="application" />
|
84
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.18.1, rbenv: 2.1.2) [gem]" level="application" />
|
85
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.4, rbenv: 2.1.2) [gem]" level="application" />
|
86
|
+
<orderEntry type="library" scope="PROVIDED" name="timers (v1.1.0, rbenv: 2.1.2) [gem]" level="application" />
|
87
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, rbenv: 2.1.2) [gem]" level="application" />
|
88
|
+
<orderEntry type="library" scope="PROVIDED" name="yard (v0.8.7.4, rbenv: 2.1.2) [gem]" level="application" />
|
89
|
+
</component>
|
90
|
+
</module>
|
91
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,354 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="a0e5f229-1c9a-4017-a1b4-91966d1ea620" name="Default" comment="" />
|
5
|
+
<ignored path="projector.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<option name="TRACKING_ENABLED" value="true" />
|
8
|
+
<option name="SHOW_DIALOG" value="false" />
|
9
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12
|
+
</component>
|
13
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
14
|
+
<component name="CreatePatchCommitExecutor">
|
15
|
+
<option name="PATCH_PATH" value="" />
|
16
|
+
</component>
|
17
|
+
<component name="DaemonCodeAnalyzer">
|
18
|
+
<disable_hints />
|
19
|
+
</component>
|
20
|
+
<component name="FavoritesManager">
|
21
|
+
<favorites_list name="projector" />
|
22
|
+
</component>
|
23
|
+
<component name="FileEditorManager">
|
24
|
+
<leaf />
|
25
|
+
</component>
|
26
|
+
<component name="FindManager">
|
27
|
+
<FindUsagesManager>
|
28
|
+
<setting name="OPEN_NEW_TAB" value="true" />
|
29
|
+
</FindUsagesManager>
|
30
|
+
</component>
|
31
|
+
<component name="IdeDocumentHistory">
|
32
|
+
<option name="changedFiles">
|
33
|
+
<list>
|
34
|
+
<option value="$PROJECT_DIR$/lib/punty.rb" />
|
35
|
+
<option value="$PROJECT_DIR$/lib/projecter.rb" />
|
36
|
+
<option value="$PROJECT_DIR$/lib/version.rb" />
|
37
|
+
<option value="$PROJECT_DIR$/punty.gemspec" />
|
38
|
+
<option value="$PROJECT_DIR$/lib/commands/create.rb" />
|
39
|
+
<option value="$PROJECT_DIR$/templates/gemspec.tt" />
|
40
|
+
<option value="$PROJECT_DIR$/projector.gemspec" />
|
41
|
+
<option value="$PROJECT_DIR$/README.md" />
|
42
|
+
</list>
|
43
|
+
</option>
|
44
|
+
</component>
|
45
|
+
<component name="ProjectFrameBounds">
|
46
|
+
<option name="y" value="22" />
|
47
|
+
<option name="width" value="1680" />
|
48
|
+
<option name="height" value="940" />
|
49
|
+
</component>
|
50
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
51
|
+
<OptionsSetting value="true" id="Add" />
|
52
|
+
<OptionsSetting value="true" id="Remove" />
|
53
|
+
<OptionsSetting value="true" id="Checkout" />
|
54
|
+
<OptionsSetting value="true" id="Update" />
|
55
|
+
<OptionsSetting value="true" id="Status" />
|
56
|
+
<OptionsSetting value="true" id="Edit" />
|
57
|
+
<ConfirmationsSetting value="0" id="Add" />
|
58
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
59
|
+
</component>
|
60
|
+
<component name="ProjectReloadState">
|
61
|
+
<option name="STATE" value="0" />
|
62
|
+
</component>
|
63
|
+
<component name="ProjectView">
|
64
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
65
|
+
<flattenPackages />
|
66
|
+
<showMembers />
|
67
|
+
<showModules />
|
68
|
+
<showLibraryContents />
|
69
|
+
<hideEmptyPackages />
|
70
|
+
<abbreviatePackageNames />
|
71
|
+
<autoscrollToSource />
|
72
|
+
<autoscrollFromSource />
|
73
|
+
<sortByType />
|
74
|
+
</navigator>
|
75
|
+
<panes>
|
76
|
+
<pane id="ProjectPane">
|
77
|
+
<subPane>
|
78
|
+
<PATH>
|
79
|
+
<PATH_ELEMENT>
|
80
|
+
<option name="myItemId" value="projector" />
|
81
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
82
|
+
</PATH_ELEMENT>
|
83
|
+
</PATH>
|
84
|
+
<PATH>
|
85
|
+
<PATH_ELEMENT>
|
86
|
+
<option name="myItemId" value="projector" />
|
87
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
88
|
+
</PATH_ELEMENT>
|
89
|
+
<PATH_ELEMENT>
|
90
|
+
<option name="myItemId" value="projector" />
|
91
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
92
|
+
</PATH_ELEMENT>
|
93
|
+
</PATH>
|
94
|
+
<PATH>
|
95
|
+
<PATH_ELEMENT>
|
96
|
+
<option name="myItemId" value="projector" />
|
97
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
98
|
+
</PATH_ELEMENT>
|
99
|
+
<PATH_ELEMENT>
|
100
|
+
<option name="myItemId" value="projector" />
|
101
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
102
|
+
</PATH_ELEMENT>
|
103
|
+
<PATH_ELEMENT>
|
104
|
+
<option name="myItemId" value="templates" />
|
105
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
106
|
+
</PATH_ELEMENT>
|
107
|
+
</PATH>
|
108
|
+
<PATH>
|
109
|
+
<PATH_ELEMENT>
|
110
|
+
<option name="myItemId" value="projector" />
|
111
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
112
|
+
</PATH_ELEMENT>
|
113
|
+
<PATH_ELEMENT>
|
114
|
+
<option name="myItemId" value="projector" />
|
115
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
116
|
+
</PATH_ELEMENT>
|
117
|
+
<PATH_ELEMENT>
|
118
|
+
<option name="myItemId" value="lib" />
|
119
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
120
|
+
</PATH_ELEMENT>
|
121
|
+
</PATH>
|
122
|
+
<PATH>
|
123
|
+
<PATH_ELEMENT>
|
124
|
+
<option name="myItemId" value="projector" />
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
126
|
+
</PATH_ELEMENT>
|
127
|
+
<PATH_ELEMENT>
|
128
|
+
<option name="myItemId" value="projector" />
|
129
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
130
|
+
</PATH_ELEMENT>
|
131
|
+
<PATH_ELEMENT>
|
132
|
+
<option name="myItemId" value="lib" />
|
133
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
134
|
+
</PATH_ELEMENT>
|
135
|
+
<PATH_ELEMENT>
|
136
|
+
<option name="myItemId" value="commands" />
|
137
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
138
|
+
</PATH_ELEMENT>
|
139
|
+
</PATH>
|
140
|
+
<PATH>
|
141
|
+
<PATH_ELEMENT>
|
142
|
+
<option name="myItemId" value="projector" />
|
143
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
144
|
+
</PATH_ELEMENT>
|
145
|
+
<PATH_ELEMENT>
|
146
|
+
<option name="myItemId" value="projector" />
|
147
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
148
|
+
</PATH_ELEMENT>
|
149
|
+
<PATH_ELEMENT>
|
150
|
+
<option name="myItemId" value="files" />
|
151
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
152
|
+
</PATH_ELEMENT>
|
153
|
+
</PATH>
|
154
|
+
</subPane>
|
155
|
+
</pane>
|
156
|
+
<pane id="Scope" />
|
157
|
+
</panes>
|
158
|
+
</component>
|
159
|
+
<component name="PropertiesComponent">
|
160
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
161
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
162
|
+
<property name="FullScreen" value="false" />
|
163
|
+
</component>
|
164
|
+
<component name="RunManager">
|
165
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
166
|
+
<method />
|
167
|
+
</configuration>
|
168
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
169
|
+
<module name="" />
|
170
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
171
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
172
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
173
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
174
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
175
|
+
<envs />
|
176
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
177
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
178
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
179
|
+
<COVERAGE_PATTERN ENABLED="true">
|
180
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
181
|
+
</COVERAGE_PATTERN>
|
182
|
+
</EXTENSION>
|
183
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
184
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
185
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
186
|
+
<method />
|
187
|
+
</configuration>
|
188
|
+
<list size="0" />
|
189
|
+
</component>
|
190
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
191
|
+
<component name="TaskManager">
|
192
|
+
<task active="true" id="Default" summary="Default task">
|
193
|
+
<changelist id="a0e5f229-1c9a-4017-a1b4-91966d1ea620" name="Default" comment="" />
|
194
|
+
<created>1409258947991</created>
|
195
|
+
<updated>1409258947991</updated>
|
196
|
+
</task>
|
197
|
+
<servers />
|
198
|
+
</component>
|
199
|
+
<component name="ToolWindowManager">
|
200
|
+
<frame x="0" y="22" width="1680" height="940" extended-state="6" />
|
201
|
+
<editor active="false" />
|
202
|
+
<layout>
|
203
|
+
<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" />
|
204
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.14166667" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
205
|
+
<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" />
|
206
|
+
<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" />
|
207
|
+
<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" />
|
208
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32944608" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
209
|
+
<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" />
|
210
|
+
<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" />
|
211
|
+
<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="false" content_ui="tabs" />
|
212
|
+
<window_info id="Terminal" 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" />
|
213
|
+
<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" />
|
214
|
+
<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" />
|
215
|
+
<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" />
|
216
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32294616" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
217
|
+
<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" />
|
218
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
219
|
+
<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" />
|
220
|
+
<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" />
|
221
|
+
<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" />
|
222
|
+
</layout>
|
223
|
+
</component>
|
224
|
+
<component name="Vcs.Log.UiProperties">
|
225
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
226
|
+
<collection />
|
227
|
+
</option>
|
228
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
229
|
+
<collection />
|
230
|
+
</option>
|
231
|
+
</component>
|
232
|
+
<component name="VcsContentAnnotationSettings">
|
233
|
+
<option name="myLimit" value="2678400000" />
|
234
|
+
</component>
|
235
|
+
<component name="VcsManagerConfiguration">
|
236
|
+
<option name="myTodoPanelSettings">
|
237
|
+
<TodoPanelSettings />
|
238
|
+
</option>
|
239
|
+
</component>
|
240
|
+
<component name="XDebuggerManager">
|
241
|
+
<breakpoint-manager />
|
242
|
+
</component>
|
243
|
+
<component name="editorHistoryManager">
|
244
|
+
<entry file="file://$PROJECT_DIR$/projector.gemspec">
|
245
|
+
<provider selected="true" editor-type-id="text-editor">
|
246
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="660">
|
247
|
+
<caret line="17" column="0" selection-start-line="17" selection-start-column="0" selection-end-line="36" selection-end-column="57" />
|
248
|
+
<folding />
|
249
|
+
</state>
|
250
|
+
</provider>
|
251
|
+
</entry>
|
252
|
+
<entry file="file://$PROJECT_DIR$/templates/gemspec.tt">
|
253
|
+
<provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
|
254
|
+
<state />
|
255
|
+
</provider>
|
256
|
+
<provider selected="true" editor-type-id="text-editor">
|
257
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="585" max-vertical-offset="675">
|
258
|
+
<caret line="39" column="0" selection-start-line="39" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
|
259
|
+
<folding />
|
260
|
+
</state>
|
261
|
+
</provider>
|
262
|
+
</entry>
|
263
|
+
<entry file="file://$PROJECT_DIR$/lib/commands/create.rb">
|
264
|
+
<provider selected="true" editor-type-id="text-editor">
|
265
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="360" max-vertical-offset="1860">
|
266
|
+
<caret line="24" column="6" selection-start-line="24" selection-start-column="6" selection-end-line="24" selection-end-column="6" />
|
267
|
+
<folding />
|
268
|
+
</state>
|
269
|
+
</provider>
|
270
|
+
</entry>
|
271
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
272
|
+
<provider selected="true" editor-type-id="text-editor">
|
273
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="689">
|
274
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
275
|
+
<folding />
|
276
|
+
</state>
|
277
|
+
</provider>
|
278
|
+
</entry>
|
279
|
+
<entry file="file://$PROJECT_DIR$/lib/version.rb">
|
280
|
+
<provider selected="true" editor-type-id="text-editor">
|
281
|
+
<state vertical-scroll-proportion="0.014548982" vertical-offset="0" max-vertical-offset="1031">
|
282
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
283
|
+
</state>
|
284
|
+
</provider>
|
285
|
+
</entry>
|
286
|
+
<entry file="file://$PROJECT_DIR$/lib/projecter.rb">
|
287
|
+
<provider selected="true" editor-type-id="text-editor">
|
288
|
+
<state vertical-scroll-proportion="0.02997003" vertical-offset="0" max-vertical-offset="1001">
|
289
|
+
<caret line="2" column="10" selection-start-line="2" selection-start-column="7" selection-end-line="2" selection-end-column="16" />
|
290
|
+
</state>
|
291
|
+
</provider>
|
292
|
+
</entry>
|
293
|
+
<entry file="file://$PROJECT_DIR$/projector.gemspec">
|
294
|
+
<provider selected="true" editor-type-id="text-editor">
|
295
|
+
<state vertical-scroll-proportion="0.41958043" vertical-offset="0" max-vertical-offset="1001">
|
296
|
+
<caret line="28" column="49" selection-start-line="28" selection-start-column="49" selection-end-line="28" selection-end-column="49" />
|
297
|
+
<folding />
|
298
|
+
</state>
|
299
|
+
</provider>
|
300
|
+
</entry>
|
301
|
+
<entry file="file://$PROJECT_DIR$/templates/gemspec.tt">
|
302
|
+
<provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
|
303
|
+
<state />
|
304
|
+
</provider>
|
305
|
+
<provider selected="true" editor-type-id="text-editor">
|
306
|
+
<state vertical-scroll-proportion="0.30800822" vertical-offset="0" max-vertical-offset="974">
|
307
|
+
<caret line="20" column="41" selection-start-line="20" selection-start-column="41" selection-end-line="20" selection-end-column="41" />
|
308
|
+
<folding />
|
309
|
+
</state>
|
310
|
+
</provider>
|
311
|
+
</entry>
|
312
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
313
|
+
<provider selected="true" editor-type-id="text-editor">
|
314
|
+
<state vertical-scroll-proportion="0.24779736" vertical-offset="0" max-vertical-offset="908">
|
315
|
+
<caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
|
316
|
+
<folding />
|
317
|
+
</state>
|
318
|
+
</provider>
|
319
|
+
</entry>
|
320
|
+
<entry file="file://$PROJECT_DIR$/lib/commands/create.rb">
|
321
|
+
<provider selected="true" editor-type-id="text-editor">
|
322
|
+
<state vertical-scroll-proportion="0.33333334" vertical-offset="65" max-vertical-offset="1860">
|
323
|
+
<caret line="26" column="12" selection-start-line="26" selection-start-column="11" selection-end-line="26" selection-end-column="12" />
|
324
|
+
<folding />
|
325
|
+
</state>
|
326
|
+
</provider>
|
327
|
+
</entry>
|
328
|
+
<entry file="file://$PROJECT_DIR$/templates/mainapp.tt">
|
329
|
+
<provider selected="true" editor-type-id="text-editor">
|
330
|
+
<state vertical-scroll-proportion="0.05994006" vertical-offset="0" max-vertical-offset="1001">
|
331
|
+
<caret line="4" column="7" selection-start-line="4" selection-start-column="7" selection-end-line="4" selection-end-column="7" />
|
332
|
+
<folding />
|
333
|
+
</state>
|
334
|
+
</provider>
|
335
|
+
</entry>
|
336
|
+
<entry file="file://$PROJECT_DIR$/templates/mainlib.rb.tt">
|
337
|
+
<provider selected="true" editor-type-id="text-editor">
|
338
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1001">
|
339
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
340
|
+
<folding />
|
341
|
+
</state>
|
342
|
+
</provider>
|
343
|
+
</entry>
|
344
|
+
<entry file="file://$PROJECT_DIR$/templates/README.md.tt">
|
345
|
+
<provider selected="true" editor-type-id="text-editor">
|
346
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1001">
|
347
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
348
|
+
<folding />
|
349
|
+
</state>
|
350
|
+
</provider>
|
351
|
+
</entry>
|
352
|
+
</component>
|
353
|
+
</project>
|
354
|
+
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
LineLength:
|
2
|
+
Enabled: true
|
3
|
+
Max: 128
|
4
|
+
|
5
|
+
Encoding:
|
6
|
+
Enabled: false
|
7
|
+
|
8
|
+
# The rubocop Documentation cop is a duplicate of the Reek IrresponsibleModule
|
9
|
+
# check.
|
10
|
+
Documentation:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
CaseIndentation:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
# MethodLength is superseded by Reek's TooManyStatements smell-finder.
|
17
|
+
MethodLength:
|
18
|
+
Enabled: false
|
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2014 Gray Industries
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Projecter
|
2
|
+
|
3
|
+
Projecter is a simple CLI application generator.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
$ gem install projecter
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
Using projecter's quite a bit like running `bundle gem gemname`. It gives you a gem layout, plus a skeleton of a Thor CLI application.
|
12
|
+
|
13
|
+
When you
|
14
|
+
|
15
|
+
$ projecter create $PROJECT
|
16
|
+
|
17
|
+
you get a new gem in $PROJECT, complete with its own fresh git repo.
|
18
|
+
|
19
|
+
### Directory Layout
|
20
|
+
|
21
|
+
If you create an app called `myapp`, projecter creates the following directories:
|
22
|
+
|
23
|
+
- `lib/commands/`: `myapp`'s subcommands.
|
24
|
+
- `lib/myapp/`: `myapp`'s library.
|
25
|
+
- `spec/fixtures`: test fixtures.
|
26
|
+
- `spec/resources`: configs, other files needed to run tests.
|
27
|
+
- `spec/unit/lib/{commands,myapp}/`: unit tests.
|
28
|
+
- `spec/integration/lib/{commands,myapp}/`: integration tests.
|
29
|
+
- `spec/acceptance/lib/{commands,myapp}/`: large scale system or subsystem tests; stress tests; performance tests; interface conformance tests for demonstrating the adherence of APIs, CLIs, etc. to established standards.
|
30
|
+
|
31
|
+
Each leaf directory contains an empty `.gitignore` file. This is because git does not track directories, and without an empty file the directory would not appear in the repo.
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
1. Fork it
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create new Pull Request
|
40
|
+
|
data/Rakefile
ADDED