pg_dump 0.2.0 → 0.3.0
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 +4 -4
- data/.gitignore +9 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/pg_dump.iml +10 -0
- data/.idea/workspace.xml +301 -0
- data/Gemfile +4 -0
- data/README.md +36 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/pg_dump/version.rb +3 -0
- data/pg_dump.gemspec +26 -0
- metadata +13 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b38bb62217cc1dd7643f0470ecdc60d38eea071
|
|
4
|
+
data.tar.gz: 3cb4307748b6e9ac74fe1b62561f6882d09e15d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d7ee0dff7d4b57ea8d7d84aaf010c6a57637a6194f9335ad2848995f428dd3bc96c49889a1b05f76e65d7d13d5f39ff8b4c4db5cf554fabd57f2a94d1e7aa4a
|
|
7
|
+
data.tar.gz: 27b7ac3f80800c6eba7fdc85e30b206de4483166d1edd49739108ae85358b40052b46577eeea565203f3e3190d5db40b2d7edfb02a363f3a12a070e50cec977e
|
data/.gitignore
ADDED
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.0" project-jdk-type="RUBY_SDK" />
|
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/pg_dump.iml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.13.6, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.3.0) [gem]" level="application" />
|
|
9
|
+
</component>
|
|
10
|
+
</module>
|
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="bfae21ee-507d-4320-933e-abec215d558b" name="Default" comment="" />
|
|
5
|
+
<ignored path="pg_dump.iws" />
|
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
|
7
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
8
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
9
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
10
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
11
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
12
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
13
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
14
|
+
</component>
|
|
15
|
+
<component name="CreatePatchCommitExecutor">
|
|
16
|
+
<option name="PATCH_PATH" value="" />
|
|
17
|
+
</component>
|
|
18
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
19
|
+
<component name="FavoritesManager">
|
|
20
|
+
<favorites_list name="pg_dump" />
|
|
21
|
+
</component>
|
|
22
|
+
<component name="FileEditorManager">
|
|
23
|
+
<leaf>
|
|
24
|
+
<file leaf-file-name="pg_dump.gemspec" pinned="false" current-in-tab="true">
|
|
25
|
+
<entry file="file://$PROJECT_DIR$/pg_dump.gemspec">
|
|
26
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
27
|
+
<state relative-caret-position="75">
|
|
28
|
+
<caret line="5" column="26" selection-start-line="5" selection-start-column="26" selection-end-line="5" selection-end-column="26" />
|
|
29
|
+
<folding />
|
|
30
|
+
</state>
|
|
31
|
+
</provider>
|
|
32
|
+
</entry>
|
|
33
|
+
</file>
|
|
34
|
+
</leaf>
|
|
35
|
+
</component>
|
|
36
|
+
<component name="IdeDocumentHistory">
|
|
37
|
+
<option name="CHANGED_PATHS">
|
|
38
|
+
<list>
|
|
39
|
+
<option value="$PROJECT_DIR$/lib/pg_dump.rb" />
|
|
40
|
+
<option value="$PROJECT_DIR$/pg_dump.gemspec" />
|
|
41
|
+
<option value="$PROJECT_DIR$/lib/pg_dump/version.rb" />
|
|
42
|
+
</list>
|
|
43
|
+
</option>
|
|
44
|
+
</component>
|
|
45
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
46
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
47
|
+
<component name="JsGulpfileManager">
|
|
48
|
+
<detection-done>true</detection-done>
|
|
49
|
+
<sorting>DEFINITION_ORDER</sorting>
|
|
50
|
+
</component>
|
|
51
|
+
<component name="ProjectFrameBounds">
|
|
52
|
+
<option name="x" value="52" />
|
|
53
|
+
<option name="y" value="23" />
|
|
54
|
+
<option name="width" value="1343" />
|
|
55
|
+
<option name="height" value="805" />
|
|
56
|
+
</component>
|
|
57
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
58
|
+
<OptionsSetting value="true" id="Add" />
|
|
59
|
+
<OptionsSetting value="true" id="Remove" />
|
|
60
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
61
|
+
<OptionsSetting value="true" id="Update" />
|
|
62
|
+
<OptionsSetting value="true" id="Status" />
|
|
63
|
+
<OptionsSetting value="true" id="Edit" />
|
|
64
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
65
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
66
|
+
</component>
|
|
67
|
+
<component name="ProjectView">
|
|
68
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
69
|
+
<flattenPackages />
|
|
70
|
+
<showMembers />
|
|
71
|
+
<showModules />
|
|
72
|
+
<showLibraryContents />
|
|
73
|
+
<hideEmptyPackages />
|
|
74
|
+
<abbreviatePackageNames />
|
|
75
|
+
<autoscrollToSource />
|
|
76
|
+
<autoscrollFromSource />
|
|
77
|
+
<sortByType />
|
|
78
|
+
<manualOrder />
|
|
79
|
+
<foldersAlwaysOnTop value="true" />
|
|
80
|
+
</navigator>
|
|
81
|
+
<panes>
|
|
82
|
+
<pane id="ProjectPane">
|
|
83
|
+
<subPane>
|
|
84
|
+
<PATH>
|
|
85
|
+
<PATH_ELEMENT>
|
|
86
|
+
<option name="myItemId" value="pg_dump" />
|
|
87
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
88
|
+
</PATH_ELEMENT>
|
|
89
|
+
</PATH>
|
|
90
|
+
<PATH>
|
|
91
|
+
<PATH_ELEMENT>
|
|
92
|
+
<option name="myItemId" value="pg_dump" />
|
|
93
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
94
|
+
</PATH_ELEMENT>
|
|
95
|
+
<PATH_ELEMENT>
|
|
96
|
+
<option name="myItemId" value="pg_dump" />
|
|
97
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
98
|
+
</PATH_ELEMENT>
|
|
99
|
+
</PATH>
|
|
100
|
+
<PATH>
|
|
101
|
+
<PATH_ELEMENT>
|
|
102
|
+
<option name="myItemId" value="pg_dump" />
|
|
103
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
104
|
+
</PATH_ELEMENT>
|
|
105
|
+
<PATH_ELEMENT>
|
|
106
|
+
<option name="myItemId" value="pg_dump" />
|
|
107
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
108
|
+
</PATH_ELEMENT>
|
|
109
|
+
<PATH_ELEMENT>
|
|
110
|
+
<option name="myItemId" value="lib" />
|
|
111
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
112
|
+
</PATH_ELEMENT>
|
|
113
|
+
</PATH>
|
|
114
|
+
<PATH>
|
|
115
|
+
<PATH_ELEMENT>
|
|
116
|
+
<option name="myItemId" value="pg_dump" />
|
|
117
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
118
|
+
</PATH_ELEMENT>
|
|
119
|
+
<PATH_ELEMENT>
|
|
120
|
+
<option name="myItemId" value="pg_dump" />
|
|
121
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
122
|
+
</PATH_ELEMENT>
|
|
123
|
+
<PATH_ELEMENT>
|
|
124
|
+
<option name="myItemId" value="lib" />
|
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
126
|
+
</PATH_ELEMENT>
|
|
127
|
+
<PATH_ELEMENT>
|
|
128
|
+
<option name="myItemId" value="pg_dump" />
|
|
129
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
130
|
+
</PATH_ELEMENT>
|
|
131
|
+
</PATH>
|
|
132
|
+
</subPane>
|
|
133
|
+
</pane>
|
|
134
|
+
<pane id="Scratches" />
|
|
135
|
+
<pane id="Scope" />
|
|
136
|
+
</panes>
|
|
137
|
+
</component>
|
|
138
|
+
<component name="PropertiesComponent">
|
|
139
|
+
<property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
|
140
|
+
<property name="settings.editor.splitter.proportion" value="0.2" />
|
|
141
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
142
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
|
|
143
|
+
</component>
|
|
144
|
+
<component name="RunManager">
|
|
145
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
146
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
147
|
+
<module name="" />
|
|
148
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
149
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
150
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
151
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
152
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
153
|
+
<envs />
|
|
154
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
155
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
156
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
157
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
158
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
159
|
+
</COVERAGE_PATTERN>
|
|
160
|
+
</EXTENSION>
|
|
161
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
162
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
163
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
164
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
165
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
166
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
167
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
168
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
169
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
170
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
171
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
172
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
173
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
174
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
175
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
176
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
177
|
+
<method />
|
|
178
|
+
</configuration>
|
|
179
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
180
|
+
<method />
|
|
181
|
+
</configuration>
|
|
182
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
183
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
184
|
+
<module name="" />
|
|
185
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
186
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
187
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
188
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
189
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
190
|
+
<envs />
|
|
191
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
192
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
193
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
194
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
195
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
196
|
+
</COVERAGE_PATTERN>
|
|
197
|
+
</EXTENSION>
|
|
198
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
199
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
200
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
201
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
|
202
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
203
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
204
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
205
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
206
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
|
207
|
+
<method />
|
|
208
|
+
</configuration>
|
|
209
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
210
|
+
<method />
|
|
211
|
+
</configuration>
|
|
212
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
213
|
+
<command value="run-script" />
|
|
214
|
+
<scripts />
|
|
215
|
+
<node-interpreter value="project" />
|
|
216
|
+
<envs />
|
|
217
|
+
<method />
|
|
218
|
+
</configuration>
|
|
219
|
+
</component>
|
|
220
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
|
221
|
+
<option name="remove_strategy" value="false" />
|
|
222
|
+
</component>
|
|
223
|
+
<component name="TaskManager">
|
|
224
|
+
<task active="true" id="Default" summary="Default task">
|
|
225
|
+
<changelist id="bfae21ee-507d-4320-933e-abec215d558b" name="Default" comment="" />
|
|
226
|
+
<created>1478587302108</created>
|
|
227
|
+
<option name="number" value="Default" />
|
|
228
|
+
<option name="presentableId" value="Default" />
|
|
229
|
+
<updated>1478587302108</updated>
|
|
230
|
+
<workItem from="1478587303318" duration="758000" />
|
|
231
|
+
</task>
|
|
232
|
+
<servers />
|
|
233
|
+
</component>
|
|
234
|
+
<component name="TimeTrackingManager">
|
|
235
|
+
<option name="totallyTimeSpent" value="758000" />
|
|
236
|
+
</component>
|
|
237
|
+
<component name="ToolWindowManager">
|
|
238
|
+
<frame x="52" y="23" width="1343" height="805" extended-state="0" />
|
|
239
|
+
<editor active="true" />
|
|
240
|
+
<layout>
|
|
241
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24980783" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
242
|
+
<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" />
|
|
243
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
|
244
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
|
245
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33042213" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
246
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
|
247
|
+
<window_info id="Structure" active="false" anchor="left" 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" />
|
|
248
|
+
<window_info id="Terminal" 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" />
|
|
249
|
+
<window_info id="Debug" 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="3" side_tool="false" content_ui="tabs" />
|
|
250
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
|
251
|
+
<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" />
|
|
252
|
+
<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" />
|
|
253
|
+
<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" />
|
|
254
|
+
<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" />
|
|
255
|
+
<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" />
|
|
256
|
+
<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" />
|
|
257
|
+
<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" />
|
|
258
|
+
</layout>
|
|
259
|
+
</component>
|
|
260
|
+
<component name="Vcs.Log.UiProperties">
|
|
261
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
|
262
|
+
<collection />
|
|
263
|
+
</option>
|
|
264
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
|
265
|
+
<collection />
|
|
266
|
+
</option>
|
|
267
|
+
</component>
|
|
268
|
+
<component name="VcsContentAnnotationSettings">
|
|
269
|
+
<option name="myLimit" value="2678400000" />
|
|
270
|
+
</component>
|
|
271
|
+
<component name="XDebuggerManager">
|
|
272
|
+
<breakpoint-manager />
|
|
273
|
+
<watches-manager />
|
|
274
|
+
</component>
|
|
275
|
+
<component name="editorHistoryManager">
|
|
276
|
+
<entry file="file://$PROJECT_DIR$/lib/pg_dump/version.rb">
|
|
277
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
278
|
+
<state relative-caret-position="15">
|
|
279
|
+
<caret line="1" column="16" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="16" />
|
|
280
|
+
<folding />
|
|
281
|
+
</state>
|
|
282
|
+
</provider>
|
|
283
|
+
</entry>
|
|
284
|
+
<entry file="file://$PROJECT_DIR$/lib/pg_dump.rb">
|
|
285
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
286
|
+
<state relative-caret-position="192">
|
|
287
|
+
<caret line="25" column="12" selection-start-line="25" selection-start-column="12" selection-end-line="25" selection-end-column="12" />
|
|
288
|
+
<folding />
|
|
289
|
+
</state>
|
|
290
|
+
</provider>
|
|
291
|
+
</entry>
|
|
292
|
+
<entry file="file://$PROJECT_DIR$/pg_dump.gemspec">
|
|
293
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
294
|
+
<state relative-caret-position="75">
|
|
295
|
+
<caret line="5" column="26" selection-start-line="5" selection-start-column="26" selection-end-line="5" selection-end-column="26" />
|
|
296
|
+
<folding />
|
|
297
|
+
</state>
|
|
298
|
+
</provider>
|
|
299
|
+
</entry>
|
|
300
|
+
</component>
|
|
301
|
+
</project>
|
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# PgDump
|
|
2
|
+
|
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pg_dump`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
+
|
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Add this line to your application's Gemfile:
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
gem 'pg_dump'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install pg_dump
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
TODO: Write usage instructions here
|
|
26
|
+
|
|
27
|
+
## Development
|
|
28
|
+
|
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
|
+
|
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
|
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pg_dump.
|
|
36
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "pg_dump"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/pg_dump.gemspec
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'pg_dump/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "pg_dump"
|
|
8
|
+
spec.version = PgDump::VERSION
|
|
9
|
+
spec.authors = ["ziyouchutuwenwu"]
|
|
10
|
+
spec.email = ["ziyouchutuwenwu@gmail.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = "pg sync db tool"
|
|
13
|
+
spec.description = "using pg_dump and pg_restore"
|
|
14
|
+
spec.homepage = "http://github.com/ziyouchutuwenwu/pg_dump"
|
|
15
|
+
|
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
spec.bindir = "exe"
|
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
|
+
spec.require_paths = ["lib"]
|
|
23
|
+
|
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
26
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pg_dump
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ziyouchutuwenwu
|
|
@@ -45,7 +45,19 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".idea/misc.xml"
|
|
50
|
+
- ".idea/modules.xml"
|
|
51
|
+
- ".idea/pg_dump.iml"
|
|
52
|
+
- ".idea/workspace.xml"
|
|
53
|
+
- Gemfile
|
|
54
|
+
- README.md
|
|
55
|
+
- Rakefile
|
|
56
|
+
- bin/console
|
|
57
|
+
- bin/setup
|
|
48
58
|
- lib/pg_dump.rb
|
|
59
|
+
- lib/pg_dump/version.rb
|
|
60
|
+
- pg_dump.gemspec
|
|
49
61
|
homepage: http://github.com/ziyouchutuwenwu/pg_dump
|
|
50
62
|
licenses: []
|
|
51
63
|
metadata: {}
|