wordgit 0.0.1.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/wordgit.iml +70 -0
- data/.idea/workspace.xml +555 -0
- data/Gemfile +2 -0
- data/README.md +40 -0
- data/Rakefile +2 -0
- data/bin/console +8 -0
- data/bin/setup +8 -0
- data/exe/wordgit +10 -0
- data/lib/wordgit/cli.rb +126 -0
- data/lib/wordgit/init.rb +18 -0
- data/lib/wordgit/version.rb +3 -0
- data/lib/wordgit.rb +6 -0
- data/wordgit.gemspec +36 -0
- metadata +148 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8d1dedf79b835f6b0dcb4d6bf59f0783c27183d1
|
4
|
+
data.tar.gz: 4837f408d801633623a60db9e33a2665a2b8683c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2060170603f90ce3578e089143c4c29383ca6038b32248953f333328740d0fe803f7b031b7cc2c5336b92ab6229d373e5f86176afb45b69c6ae32a228f000bcc
|
7
|
+
data.tar.gz: 8c4db8cbef874f6e411c5014f0ca3873b218eb6c7def81e43228271349f2269f80d35acc21565490d86d1f8a53c16c79e087e8618972ef1f750ccfa6207e00b3
|
data/.gitignore
ADDED
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 wordgit-0.0.1.pre.alpha.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install wordgit-0.0.1.pre.alpha.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install wordgit-0.0.1.pre.alpha.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.0.1.pre.alpha and build and push wordgit-0.0.1.pre.alpha.gem to Rubygems" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/wordgit.iml
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<shared />
|
5
|
+
<local>
|
6
|
+
<configuration default="false" name="cli" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
7
|
+
<module name="wordgit" />
|
8
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
9
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/wordgit" />
|
10
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
11
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
12
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
13
|
+
<envs />
|
14
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
15
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
16
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
17
|
+
<COVERAGE_PATTERN ENABLED="true">
|
18
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
19
|
+
</COVERAGE_PATTERN>
|
20
|
+
</EXTENSION>
|
21
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/wordgit/cli.rb" />
|
22
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
23
|
+
<method />
|
24
|
+
</configuration>
|
25
|
+
</local>
|
26
|
+
</component>
|
27
|
+
<component name="NewModuleRootManager">
|
28
|
+
<content url="file://$MODULE_DIR$" />
|
29
|
+
<orderEntry type="inheritedJdk" />
|
30
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="actionpack (v5.1.1, rbenv: 2.4.1) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="actionview (v5.1.1, rbenv: 2.4.1) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v5.1.1, rbenv: 2.4.1) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.5.1, rbenv: 2.4.1) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, rbenv: 2.4.1) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.15.0, rbenv: 2.4.1) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="cliver (v0.3.2, rbenv: 2.4.1) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, rbenv: 2.4.1) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.0.5, rbenv: 2.4.1) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="css_parser (v1.5.0, rbenv: 2.4.1) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="descriptive_statistics (v2.5.1, rbenv: 2.4.1) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="erubi (v1.6.0, rbenv: 2.4.1) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="git (v1.3.0, rbenv: 2.4.1) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="github-markdown (v0.6.9, rbenv: 2.4.1) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="html-pipeline (v2.6.0, rbenv: 2.4.1) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="htmlentities (v4.3.4, rbenv: 2.4.1) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="htmltoword (v0.5.1, rbenv: 2.4.1) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.8.1, rbenv: 2.4.1) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="loofah (v2.0.3, rbenv: 2.4.1) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="markdown_to_word (v0.1.5, rbenv: 2.4.1) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.1.0, rbenv: 2.4.1) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.10.2, rbenv: 2.4.1) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.7.2, rbenv: 2.4.1) [gem]" level="application" />
|
54
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri-styles (v0.1.2, rbenv: 2.4.1) [gem]" level="application" />
|
55
|
+
<orderEntry type="library" scope="PROVIDED" name="premailer (v1.10.4, rbenv: 2.4.1) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v2.0.5, rbenv: 2.4.1) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v2.0.3, rbenv: 2.4.1) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.3, rbenv: 2.4.1) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="rails-dom-testing (v2.0.3, rbenv: 2.4.1) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="rails-html-sanitizer (v1.0.3, rbenv: 2.4.1) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, rbenv: 2.4.1) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="reverse_markdown (v0.8.2, rbenv: 2.4.1) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.2.1, rbenv: 2.4.1) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="sys-proctable (v0.9.9, rbenv: 2.4.1) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.19.4, rbenv: 2.4.1) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, rbenv: 2.4.1) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.3, rbenv: 2.4.1) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="word-to-markdown (v1.1.7, rbenv: 2.4.1) [gem]" level="application" />
|
69
|
+
</component>
|
70
|
+
</module>
|
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,555 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="f3a099c8-cf44-4ebc-a681-805357c8b513" name="Default" comment="" />
|
5
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
6
|
+
<option name="TRACKING_ENABLED" value="true" />
|
7
|
+
<option name="SHOW_DIALOG" value="false" />
|
8
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
9
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
10
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
11
|
+
</component>
|
12
|
+
<component name="CoverageDataManager">
|
13
|
+
<SUITE FILE_PATH="coverage/wordgit@cli.coverage" NAME="cli Coverage Results" MODIFIED="1496183812523" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/wordgit" MODULE_NAME="wordgit" />
|
14
|
+
</component>
|
15
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
16
|
+
<component name="FileEditorManager">
|
17
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
18
|
+
<file leaf-file-name="cli.rb" pinned="false" current-in-tab="true">
|
19
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
20
|
+
<provider selected="true" editor-type-id="text-editor">
|
21
|
+
<state relative-caret-position="498">
|
22
|
+
<caret line="79" column="72" lean-forward="false" selection-start-line="79" selection-start-column="72" selection-end-line="79" selection-end-column="72" />
|
23
|
+
<folding />
|
24
|
+
</state>
|
25
|
+
</provider>
|
26
|
+
</entry>
|
27
|
+
</file>
|
28
|
+
<file leaf-file-name="wordgit" pinned="false" current-in-tab="false">
|
29
|
+
<entry file="file://$PROJECT_DIR$/exe/wordgit">
|
30
|
+
<provider selected="true" editor-type-id="text-editor">
|
31
|
+
<state relative-caret-position="150">
|
32
|
+
<caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
33
|
+
<folding />
|
34
|
+
</state>
|
35
|
+
</provider>
|
36
|
+
</entry>
|
37
|
+
</file>
|
38
|
+
<file leaf-file-name="init.rb" pinned="false" current-in-tab="false">
|
39
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/init.rb">
|
40
|
+
<provider selected="true" editor-type-id="text-editor">
|
41
|
+
<state relative-caret-position="270">
|
42
|
+
<caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
|
43
|
+
<folding />
|
44
|
+
</state>
|
45
|
+
</provider>
|
46
|
+
</entry>
|
47
|
+
</file>
|
48
|
+
</leaf>
|
49
|
+
</component>
|
50
|
+
<component name="Git.Settings">
|
51
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
52
|
+
</component>
|
53
|
+
<component name="IdeDocumentHistory">
|
54
|
+
<option name="CHANGED_PATHS">
|
55
|
+
<list>
|
56
|
+
<option value="$PROJECT_DIR$/exe/wordgit" />
|
57
|
+
<option value="$PROJECT_DIR$/wordgit.gemspec" />
|
58
|
+
<option value="$PROJECT_DIR$/lib/wordgit/add.rb" />
|
59
|
+
<option value="$PROJECT_DIR$/lib/wordgit/init.rb" />
|
60
|
+
<option value="$PROJECT_DIR$/lib/wordgit/cli.rb" />
|
61
|
+
</list>
|
62
|
+
</option>
|
63
|
+
</component>
|
64
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
65
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
66
|
+
<component name="JsGulpfileManager">
|
67
|
+
<detection-done>true</detection-done>
|
68
|
+
<sorting>DEFINITION_ORDER</sorting>
|
69
|
+
</component>
|
70
|
+
<component name="ProjectFrameBounds">
|
71
|
+
<option name="x" value="80" />
|
72
|
+
<option name="y" value="76" />
|
73
|
+
<option name="width" value="1440" />
|
74
|
+
<option name="height" value="874" />
|
75
|
+
</component>
|
76
|
+
<component name="ProjectView">
|
77
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
78
|
+
<flattenPackages />
|
79
|
+
<showMembers />
|
80
|
+
<showModules />
|
81
|
+
<showLibraryContents />
|
82
|
+
<hideEmptyPackages />
|
83
|
+
<abbreviatePackageNames />
|
84
|
+
<autoscrollToSource />
|
85
|
+
<autoscrollFromSource />
|
86
|
+
<sortByType />
|
87
|
+
<manualOrder />
|
88
|
+
<foldersAlwaysOnTop value="true" />
|
89
|
+
</navigator>
|
90
|
+
<panes>
|
91
|
+
<pane id="Scope" />
|
92
|
+
<pane id="ProjectPane">
|
93
|
+
<subPane>
|
94
|
+
<PATH>
|
95
|
+
<PATH_ELEMENT>
|
96
|
+
<option name="myItemId" value="wordgit" />
|
97
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
98
|
+
</PATH_ELEMENT>
|
99
|
+
<PATH_ELEMENT>
|
100
|
+
<option name="myItemId" value="wordgit" />
|
101
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
102
|
+
</PATH_ELEMENT>
|
103
|
+
</PATH>
|
104
|
+
<PATH>
|
105
|
+
<PATH_ELEMENT>
|
106
|
+
<option name="myItemId" value="wordgit" />
|
107
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
108
|
+
</PATH_ELEMENT>
|
109
|
+
<PATH_ELEMENT>
|
110
|
+
<option name="myItemId" value="wordgit" />
|
111
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
112
|
+
</PATH_ELEMENT>
|
113
|
+
<PATH_ELEMENT>
|
114
|
+
<option name="myItemId" value="lib" />
|
115
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
116
|
+
</PATH_ELEMENT>
|
117
|
+
</PATH>
|
118
|
+
<PATH>
|
119
|
+
<PATH_ELEMENT>
|
120
|
+
<option name="myItemId" value="wordgit" />
|
121
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
122
|
+
</PATH_ELEMENT>
|
123
|
+
<PATH_ELEMENT>
|
124
|
+
<option name="myItemId" value="wordgit" />
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
126
|
+
</PATH_ELEMENT>
|
127
|
+
<PATH_ELEMENT>
|
128
|
+
<option name="myItemId" value="lib" />
|
129
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
130
|
+
</PATH_ELEMENT>
|
131
|
+
<PATH_ELEMENT>
|
132
|
+
<option name="myItemId" value="wordgit" />
|
133
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
134
|
+
</PATH_ELEMENT>
|
135
|
+
</PATH>
|
136
|
+
<PATH>
|
137
|
+
<PATH_ELEMENT>
|
138
|
+
<option name="myItemId" value="wordgit" />
|
139
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
140
|
+
</PATH_ELEMENT>
|
141
|
+
<PATH_ELEMENT>
|
142
|
+
<option name="myItemId" value="wordgit" />
|
143
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
144
|
+
</PATH_ELEMENT>
|
145
|
+
<PATH_ELEMENT>
|
146
|
+
<option name="myItemId" value="exe" />
|
147
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
148
|
+
</PATH_ELEMENT>
|
149
|
+
</PATH>
|
150
|
+
</subPane>
|
151
|
+
</pane>
|
152
|
+
<pane id="Scratches" />
|
153
|
+
</panes>
|
154
|
+
</component>
|
155
|
+
<component name="PropertiesComponent">
|
156
|
+
<property name="nodejs_interpreter_path" value="/usr/local/bin/node" />
|
157
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
158
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
159
|
+
</component>
|
160
|
+
<component name="RunDashboard">
|
161
|
+
<option name="ruleStates">
|
162
|
+
<list>
|
163
|
+
<RuleState>
|
164
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
165
|
+
</RuleState>
|
166
|
+
<RuleState>
|
167
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
168
|
+
</RuleState>
|
169
|
+
</list>
|
170
|
+
</option>
|
171
|
+
</component>
|
172
|
+
<component name="RunManager" selected="Ruby.cli">
|
173
|
+
<configuration default="false" name="cli" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
174
|
+
<module name="wordgit" />
|
175
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
176
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/wordgit" />
|
177
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
178
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
179
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
180
|
+
<envs />
|
181
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
182
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
183
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
184
|
+
<COVERAGE_PATTERN ENABLED="true">
|
185
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
186
|
+
</COVERAGE_PATTERN>
|
187
|
+
</EXTENSION>
|
188
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/wordgit/cli.rb" />
|
189
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
190
|
+
<method />
|
191
|
+
</configuration>
|
192
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
193
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
194
|
+
<module name="" />
|
195
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
196
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
197
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
198
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
199
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
200
|
+
<envs />
|
201
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
202
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
203
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
204
|
+
<COVERAGE_PATTERN ENABLED="true">
|
205
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
206
|
+
</COVERAGE_PATTERN>
|
207
|
+
</EXTENSION>
|
208
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
209
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
210
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
211
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
212
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
213
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
214
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
215
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
216
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
217
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
218
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
219
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
220
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
221
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
222
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
223
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
224
|
+
<method />
|
225
|
+
</configuration>
|
226
|
+
<configuration default="true" type="GoApplicationRunConfiguration" factoryName="Go Application">
|
227
|
+
<module name="" />
|
228
|
+
<working_directory value="$PROJECT_DIR$" />
|
229
|
+
<go_parameters value="-i" />
|
230
|
+
<filePath value="$PROJECT_DIR$" />
|
231
|
+
<kind value="FILE" />
|
232
|
+
<method />
|
233
|
+
</configuration>
|
234
|
+
<configuration default="true" type="GoRunFileConfiguration" factoryName="Go Single File">
|
235
|
+
<module name="" />
|
236
|
+
<working_directory value="$PROJECT_DIR$" />
|
237
|
+
<filePath value="$PROJECT_DIR$" />
|
238
|
+
<method />
|
239
|
+
</configuration>
|
240
|
+
<configuration default="true" type="GoTestRunConfiguration" factoryName="Go Test">
|
241
|
+
<module name="" />
|
242
|
+
<working_directory value="$PROJECT_DIR$" />
|
243
|
+
<go_parameters value="-i" />
|
244
|
+
<framework value="gotest" />
|
245
|
+
<kind value="DIRECTORY" />
|
246
|
+
<method />
|
247
|
+
</configuration>
|
248
|
+
<configuration default="true" type="JavaScriptTestRunnerJest" factoryName="Jest">
|
249
|
+
<node-interpreter value="project" />
|
250
|
+
<working-dir value="" />
|
251
|
+
<envs />
|
252
|
+
<scope-kind value="ALL" />
|
253
|
+
<method />
|
254
|
+
</configuration>
|
255
|
+
<configuration default="true" type="JavaScriptTestRunnerProtractor" factoryName="Protractor">
|
256
|
+
<config-file value="" />
|
257
|
+
<node-interpreter value="project" />
|
258
|
+
<envs />
|
259
|
+
<method />
|
260
|
+
</configuration>
|
261
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
262
|
+
<method />
|
263
|
+
</configuration>
|
264
|
+
<configuration default="true" type="MixExUnitRunConfigurationType" factoryName="Elixir Mix ExUnit" show_console_on_std_err="false" show_console_on_std_out="false">
|
265
|
+
<option name="passParentEnvs" value="false" />
|
266
|
+
<option name="programParameters" />
|
267
|
+
<option name="workingDirectory" value="" />
|
268
|
+
<module />
|
269
|
+
<envs />
|
270
|
+
<method />
|
271
|
+
</configuration>
|
272
|
+
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
|
273
|
+
<method />
|
274
|
+
</configuration>
|
275
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
276
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
277
|
+
<module name="" />
|
278
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
279
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
280
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
281
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
283
|
+
<envs />
|
284
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
285
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
286
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
287
|
+
<COVERAGE_PATTERN ENABLED="true">
|
288
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
289
|
+
</COVERAGE_PATTERN>
|
290
|
+
</EXTENSION>
|
291
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
292
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
293
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
294
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
295
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
296
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
297
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
298
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
299
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
300
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
301
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
302
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
303
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
304
|
+
<method />
|
305
|
+
</configuration>
|
306
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
307
|
+
<module name="" />
|
308
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
309
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
310
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
311
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
312
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
313
|
+
<envs />
|
314
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
315
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
316
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
317
|
+
<COVERAGE_PATTERN ENABLED="true">
|
318
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
319
|
+
</COVERAGE_PATTERN>
|
320
|
+
</EXTENSION>
|
321
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
322
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
323
|
+
<method />
|
324
|
+
</configuration>
|
325
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
326
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
327
|
+
<module name="" />
|
328
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
329
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
330
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
331
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
332
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
333
|
+
<envs />
|
334
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
335
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
336
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
337
|
+
<COVERAGE_PATTERN ENABLED="true">
|
338
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
339
|
+
</COVERAGE_PATTERN>
|
340
|
+
</EXTENSION>
|
341
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
342
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
343
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
344
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
345
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
346
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
347
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
348
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
349
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
350
|
+
<method />
|
351
|
+
</configuration>
|
352
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
353
|
+
<node-interpreter>project</node-interpreter>
|
354
|
+
<node-options />
|
355
|
+
<gulpfile />
|
356
|
+
<tasks />
|
357
|
+
<arguments />
|
358
|
+
<envs />
|
359
|
+
<method />
|
360
|
+
</configuration>
|
361
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
362
|
+
<command value="run" />
|
363
|
+
<scripts />
|
364
|
+
<node-interpreter value="project" />
|
365
|
+
<envs />
|
366
|
+
<method />
|
367
|
+
</configuration>
|
368
|
+
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
|
369
|
+
<node-interpreter>project</node-interpreter>
|
370
|
+
<node-options />
|
371
|
+
<working-directory />
|
372
|
+
<pass-parent-env>true</pass-parent-env>
|
373
|
+
<envs />
|
374
|
+
<ui />
|
375
|
+
<extra-mocha-options />
|
376
|
+
<test-kind>DIRECTORY</test-kind>
|
377
|
+
<test-directory />
|
378
|
+
<recursive>false</recursive>
|
379
|
+
<method />
|
380
|
+
</configuration>
|
381
|
+
<list size="1">
|
382
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.cli" />
|
383
|
+
</list>
|
384
|
+
<recent_temporary>
|
385
|
+
<list size="1">
|
386
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.cli" />
|
387
|
+
</list>
|
388
|
+
</recent_temporary>
|
389
|
+
</component>
|
390
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
391
|
+
<option name="remove_strategy" value="false" />
|
392
|
+
</component>
|
393
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
394
|
+
<component name="TaskManager">
|
395
|
+
<task active="true" id="Default" summary="Default task">
|
396
|
+
<changelist id="f3a099c8-cf44-4ebc-a681-805357c8b513" name="Default" comment="" />
|
397
|
+
<created>1496173293391</created>
|
398
|
+
<option name="number" value="Default" />
|
399
|
+
<option name="presentableId" value="Default" />
|
400
|
+
<updated>1496173293391</updated>
|
401
|
+
<workItem from="1496173295902" duration="4172000" />
|
402
|
+
<workItem from="1496185911843" duration="751000" />
|
403
|
+
<workItem from="1496237022894" duration="3900000" />
|
404
|
+
<workItem from="1496248155096" duration="3034000" />
|
405
|
+
<workItem from="1496261676547" duration="5329000" />
|
406
|
+
</task>
|
407
|
+
<servers />
|
408
|
+
</component>
|
409
|
+
<component name="TimeTrackingManager">
|
410
|
+
<option name="totallyTimeSpent" value="17186000" />
|
411
|
+
</component>
|
412
|
+
<component name="ToolWindowManager">
|
413
|
+
<frame x="80" y="76" width="1440" height="874" extended-state="0" />
|
414
|
+
<editor active="true" />
|
415
|
+
<layout>
|
416
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13018598" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
417
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
418
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
419
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
420
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
421
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
422
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32920793" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
423
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
424
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
425
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
426
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
427
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
428
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
429
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
430
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
431
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
432
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39975247" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
433
|
+
</layout>
|
434
|
+
</component>
|
435
|
+
<component name="TypeScriptGeneratedFilesManager">
|
436
|
+
<option name="processedProjectFiles" value="true" />
|
437
|
+
</component>
|
438
|
+
<component name="VcsContentAnnotationSettings">
|
439
|
+
<option name="myLimit" value="2678400000" />
|
440
|
+
</component>
|
441
|
+
<component name="XDebuggerManager">
|
442
|
+
<breakpoint-manager>
|
443
|
+
<breakpoints-dialog>
|
444
|
+
<breakpoints-dialog />
|
445
|
+
</breakpoints-dialog>
|
446
|
+
<option name="time" value="1" />
|
447
|
+
</breakpoint-manager>
|
448
|
+
<watches-manager />
|
449
|
+
</component>
|
450
|
+
<component name="editorHistoryManager">
|
451
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
452
|
+
<provider selected="true" editor-type-id="text-editor">
|
453
|
+
<state relative-caret-position="0">
|
454
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
455
|
+
<folding />
|
456
|
+
</state>
|
457
|
+
</provider>
|
458
|
+
</entry>
|
459
|
+
<entry file="file://$PROJECT_DIR$/exe/wordgit">
|
460
|
+
<provider selected="true" editor-type-id="text-editor">
|
461
|
+
<state relative-caret-position="150">
|
462
|
+
<caret line="10" column="0" lean-forward="true" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
463
|
+
<folding />
|
464
|
+
</state>
|
465
|
+
</provider>
|
466
|
+
</entry>
|
467
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/init.rb">
|
468
|
+
<provider selected="true" editor-type-id="text-editor">
|
469
|
+
<state relative-caret-position="120">
|
470
|
+
<caret line="8" column="27" lean-forward="true" selection-start-line="8" selection-start-column="27" selection-end-line="8" selection-end-column="27" />
|
471
|
+
<folding />
|
472
|
+
</state>
|
473
|
+
</provider>
|
474
|
+
</entry>
|
475
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
476
|
+
<provider selected="true" editor-type-id="text-editor">
|
477
|
+
<state relative-caret-position="0">
|
478
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
479
|
+
<folding />
|
480
|
+
</state>
|
481
|
+
</provider>
|
482
|
+
</entry>
|
483
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
484
|
+
<provider selected="true" editor-type-id="text-editor">
|
485
|
+
<state relative-caret-position="0">
|
486
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
487
|
+
<folding />
|
488
|
+
</state>
|
489
|
+
</provider>
|
490
|
+
</entry>
|
491
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/init.rb">
|
492
|
+
<provider selected="true" editor-type-id="text-editor">
|
493
|
+
<state relative-caret-position="195">
|
494
|
+
<caret line="13" column="21" lean-forward="false" selection-start-line="13" selection-start-column="6" selection-end-line="13" selection-end-column="21" />
|
495
|
+
<folding />
|
496
|
+
</state>
|
497
|
+
</provider>
|
498
|
+
</entry>
|
499
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
500
|
+
<provider selected="true" editor-type-id="text-editor">
|
501
|
+
<state relative-caret-position="0">
|
502
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
503
|
+
<folding />
|
504
|
+
</state>
|
505
|
+
</provider>
|
506
|
+
</entry>
|
507
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/init.rb">
|
508
|
+
<provider selected="true" editor-type-id="text-editor">
|
509
|
+
<state relative-caret-position="195">
|
510
|
+
<caret line="13" column="21" lean-forward="true" selection-start-line="13" selection-start-column="6" selection-end-line="13" selection-end-column="21" />
|
511
|
+
<folding />
|
512
|
+
</state>
|
513
|
+
</provider>
|
514
|
+
</entry>
|
515
|
+
<entry file="file://$PROJECT_DIR$/wordgit.gemspec">
|
516
|
+
<provider selected="true" editor-type-id="text-editor">
|
517
|
+
<state relative-caret-position="150">
|
518
|
+
<caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
519
|
+
</state>
|
520
|
+
</provider>
|
521
|
+
</entry>
|
522
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/add.rb" />
|
523
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit.rb">
|
524
|
+
<provider selected="true" editor-type-id="text-editor">
|
525
|
+
<state relative-caret-position="0">
|
526
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
527
|
+
</state>
|
528
|
+
</provider>
|
529
|
+
</entry>
|
530
|
+
<entry file="file://$PROJECT_DIR$/exe/wordgit">
|
531
|
+
<provider selected="true" editor-type-id="text-editor">
|
532
|
+
<state relative-caret-position="150">
|
533
|
+
<caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
534
|
+
<folding />
|
535
|
+
</state>
|
536
|
+
</provider>
|
537
|
+
</entry>
|
538
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/init.rb">
|
539
|
+
<provider selected="true" editor-type-id="text-editor">
|
540
|
+
<state relative-caret-position="270">
|
541
|
+
<caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
|
542
|
+
<folding />
|
543
|
+
</state>
|
544
|
+
</provider>
|
545
|
+
</entry>
|
546
|
+
<entry file="file://$PROJECT_DIR$/lib/wordgit/cli.rb">
|
547
|
+
<provider selected="true" editor-type-id="text-editor">
|
548
|
+
<state relative-caret-position="498">
|
549
|
+
<caret line="79" column="72" lean-forward="false" selection-start-line="79" selection-start-column="72" selection-end-line="79" selection-end-column="72" />
|
550
|
+
<folding />
|
551
|
+
</state>
|
552
|
+
</provider>
|
553
|
+
</entry>
|
554
|
+
</component>
|
555
|
+
</project>
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Wordgit - Word Document Versioning tool
|
2
|
+
|
3
|
+
Wordgit lets you version word document from terminal.
|
4
|
+
|
5
|
+
|
6
|
+
## Setup
|
7
|
+
Make sure [Ruby](https://www.ruby-lang.org/en/documentation/installation/) is installed.
|
8
|
+
Make sure [Libre Office](https://www.libreoffice.org/) is installed
|
9
|
+
|
10
|
+
Execute:
|
11
|
+
```
|
12
|
+
$ gem install wordgit
|
13
|
+
```
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
```shell
|
18
|
+
#List of Commands:
|
19
|
+
$ wordgit -h
|
20
|
+
|
21
|
+
Commands:
|
22
|
+
wordgit commit '[PATH] OR --all' # Commits the changes to the repo.
|
23
|
+
wordgit diff [VERSION1] [VERSION2] # Displays differences between two versions
|
24
|
+
wordgit help [COMMAND] # Describe available commands or one specific command
|
25
|
+
wordgit revert [VERSION] # revert between version
|
26
|
+
wordgit switch [VERSION] # Switch between version
|
27
|
+
wordgit versions # Displays list of version
|
28
|
+
|
29
|
+
```
|
30
|
+
|
31
|
+
#TODO: LOT OF THINGS. The most important ones in works are:
|
32
|
+
1. Difference (between versions) viewer UI
|
33
|
+
2. Merge tool
|
34
|
+
|
35
|
+
##Rubygems.org
|
36
|
+
Hosted at [Rubygems.org](https://rubygems.org/gems/s3_patron)
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
data/bin/setup
ADDED
data/exe/wordgit
ADDED
data/lib/wordgit/cli.rb
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
require 'thor'
|
2
|
+
require 'git'
|
3
|
+
require 'word-to-markdown'
|
4
|
+
require 'colorize'
|
5
|
+
|
6
|
+
|
7
|
+
module Wordgit
|
8
|
+
class Cli < Thor
|
9
|
+
include Thor::Actions
|
10
|
+
|
11
|
+
no_commands do
|
12
|
+
def create_files_and_folders(word_file, version)
|
13
|
+
file = WordToMarkdown.new word_file
|
14
|
+
dir_name = File.dirname word_file
|
15
|
+
empty_directory "./.wrdgit"
|
16
|
+
empty_directory "./.wrdgit/#{version}"
|
17
|
+
empty_directory "./.wrdgit/#{version}/#{dir_name}"
|
18
|
+
create_file "./.wrdgit/#{version}/#{dir_name}/#{File.basename word_file, '.docx'}.md", force: true do
|
19
|
+
file.to_s
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def check_init
|
24
|
+
File.directory?('./.git') && File.directory?('./.wrdgit')
|
25
|
+
end
|
26
|
+
|
27
|
+
def init_message
|
28
|
+
input = ask("No wordgit repo was found. Do you want to initialize it? [Y|N]".colorize :blue)
|
29
|
+
input == 'y' || input == 'Y' ? Wordgit::Init.start : abort("Exiting Wordgit since no repo was found!".colorize :red)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
####################################################################################################################
|
34
|
+
## wordgit commit -m 'a message' -v [VERSION] will commit the changes with a message and a tag
|
35
|
+
####################################################################################################################
|
36
|
+
|
37
|
+
desc "commit '[PATH] OR --all'", "Commits the changes to the repo."
|
38
|
+
method_options all: false
|
39
|
+
def commit(*path)
|
40
|
+
init_message unless check_init
|
41
|
+
message = ask("Message: ".colorize :blue)
|
42
|
+
version = ask("Version: ".colorize :blue)
|
43
|
+
if options[:all]
|
44
|
+
Dir['**/*.docx'].reject{ |f| f['./.git'] || f['./.wrdgit'] }.each do |word_file|
|
45
|
+
next if word_file.start_with?('~$MS')
|
46
|
+
create_files_and_folders word_file, "v#{options[:version]}"
|
47
|
+
end
|
48
|
+
elsif path.count > 0
|
49
|
+
path.each do |word_file|
|
50
|
+
next if word_file.start_with?('~$MS')
|
51
|
+
create_files_and_folders word_file, "v#{options[:version]}"
|
52
|
+
end
|
53
|
+
else
|
54
|
+
say("You need to provide a file path or you can pass an option '--all' to track all files".colorize :blue)
|
55
|
+
end
|
56
|
+
begin
|
57
|
+
g = Git.open'.'
|
58
|
+
g.add all: true
|
59
|
+
g.commit(message)
|
60
|
+
g.add_tag("v#{version}")
|
61
|
+
rescue Git::GitExecuteError
|
62
|
+
say("Sorry but the document could not be commited, please check your input and try again.".colorize :red)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
####################################################################################################################
|
67
|
+
## wordgit versions, will display the versions
|
68
|
+
####################################################################################################################
|
69
|
+
|
70
|
+
desc "versions", "Displays list of version"
|
71
|
+
def versions
|
72
|
+
init_message unless check_init
|
73
|
+
g = Git.open'.'
|
74
|
+
g.tags.each do |tag|
|
75
|
+
commit = g.gcommit(tag)
|
76
|
+
say("#{tag.name.colorize :red} #{commit.author.name.colorize :blue} #{commit.message.colorize :green} #{commit.date.strftime('%m-%d-%y').colorize :blue}")
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
####################################################################################################################
|
81
|
+
## wordgit diff VERSION1 VERSION2, view differences in 2 versions
|
82
|
+
####################################################################################################################
|
83
|
+
|
84
|
+
desc "diff [VERSION1] [VERSION2]", "Displays differences between two versions"
|
85
|
+
def diff(*version)
|
86
|
+
init_message unless check_init
|
87
|
+
g = Git.open'.'
|
88
|
+
#TODO
|
89
|
+
end
|
90
|
+
|
91
|
+
|
92
|
+
####################################################################################################################
|
93
|
+
## wordgit switch VERSION, view preview of version
|
94
|
+
####################################################################################################################
|
95
|
+
|
96
|
+
desc "switch [VERSION]", "Switch between version"
|
97
|
+
method_option :back, type: :boolean, default: false, aliases: "-b", desc: "Switch back to the Current version"
|
98
|
+
def switch(*version)
|
99
|
+
init_message unless check_init
|
100
|
+
g = Git.open'.'
|
101
|
+
system('git stash')
|
102
|
+
if options[:back]
|
103
|
+
g.checkout('master')
|
104
|
+
say("Switched to the current version of the document".colorize :green)
|
105
|
+
else
|
106
|
+
g.checkout("v#{version[0]}")
|
107
|
+
say("Switched to the v#{version[0]} of the document".colorize :green)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
####################################################################################################################
|
112
|
+
## wordgit revert VERSION, change to a version
|
113
|
+
####################################################################################################################
|
114
|
+
|
115
|
+
desc "revert [VERSION]", "revert between version"
|
116
|
+
def revert(*version)
|
117
|
+
init_message unless check_init
|
118
|
+
input = ask("You are reverting to #{version[0]}. Are you sure? [Y|N]".colorize :blue)
|
119
|
+
if input == 'Y' || input == 'y'
|
120
|
+
g = Git.open'.'
|
121
|
+
g.checkout('master')
|
122
|
+
system "git reset --hard v#{version[0]}"
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
data/lib/wordgit/init.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'thor'
|
2
|
+
require 'git'
|
3
|
+
|
4
|
+
module Wordgit
|
5
|
+
class Init < Thor::Group
|
6
|
+
include Thor::Actions
|
7
|
+
|
8
|
+
def self.source_root
|
9
|
+
File.dirname __FILE__
|
10
|
+
end
|
11
|
+
|
12
|
+
desc "Initialize Document repository"
|
13
|
+
def setup
|
14
|
+
empty_directory "./.wrdgit"
|
15
|
+
Git.init
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/wordgit.rb
ADDED
data/wordgit.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "wordgit/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "wordgit"
|
8
|
+
spec.version = Wordgit::VERSION
|
9
|
+
spec.authors = ["Suyesh Bhandari"]
|
10
|
+
spec.email = ["suyeshb@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Version control for word documents, written in Ruby"
|
13
|
+
spec.description = "Wordgit lets you version control word documents, check the differences, pull, merge and much more, just like git."
|
14
|
+
spec.homepage = "https://github.com/suyesh/wordgit"
|
15
|
+
|
16
|
+
if spec.respond_to?(:metadata)
|
17
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
18
|
+
else
|
19
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
20
|
+
"public gem pushes."
|
21
|
+
end
|
22
|
+
|
23
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
24
|
+
f.match(%r{^(test|spec|features)/})
|
25
|
+
end
|
26
|
+
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
spec.add_dependency "word-to-markdown"
|
31
|
+
spec.add_dependency "git"
|
32
|
+
spec.add_dependency "thor"
|
33
|
+
spec.add_dependency "colorize"
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wordgit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre.alpha
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Suyesh Bhandari
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: word-to-markdown
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: git
|
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
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: colorize
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.15'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.15'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
description: Wordgit lets you version control word documents, check the differences,
|
98
|
+
pull, merge and much more, just like git.
|
99
|
+
email:
|
100
|
+
- suyeshb@gmail.com
|
101
|
+
executables:
|
102
|
+
- wordgit
|
103
|
+
extensions: []
|
104
|
+
extra_rdoc_files: []
|
105
|
+
files:
|
106
|
+
- ".gitignore"
|
107
|
+
- ".idea/.rakeTasks"
|
108
|
+
- ".idea/misc.xml"
|
109
|
+
- ".idea/modules.xml"
|
110
|
+
- ".idea/vcs.xml"
|
111
|
+
- ".idea/wordgit.iml"
|
112
|
+
- ".idea/workspace.xml"
|
113
|
+
- Gemfile
|
114
|
+
- README.md
|
115
|
+
- Rakefile
|
116
|
+
- bin/console
|
117
|
+
- bin/setup
|
118
|
+
- exe/wordgit
|
119
|
+
- lib/wordgit.rb
|
120
|
+
- lib/wordgit/cli.rb
|
121
|
+
- lib/wordgit/init.rb
|
122
|
+
- lib/wordgit/version.rb
|
123
|
+
- wordgit.gemspec
|
124
|
+
homepage: https://github.com/suyesh/wordgit
|
125
|
+
licenses: []
|
126
|
+
metadata:
|
127
|
+
allowed_push_host: https://rubygems.org
|
128
|
+
post_install_message:
|
129
|
+
rdoc_options: []
|
130
|
+
require_paths:
|
131
|
+
- lib
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 1.3.1
|
142
|
+
requirements: []
|
143
|
+
rubyforge_project:
|
144
|
+
rubygems_version: 2.6.12
|
145
|
+
signing_key:
|
146
|
+
specification_version: 4
|
147
|
+
summary: Version control for word documents, written in Ruby
|
148
|
+
test_files: []
|