geordi 1.6.1 → 1.6.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.
- data/Gemfile.lock +1 -1
- data/lib/geordi/dump_loader.rb +2 -0
- data/lib/geordi/version.rb +1 -1
- metadata +18 -12
- checksums.yaml +0 -7
data/Gemfile.lock
CHANGED
data/lib/geordi/dump_loader.rb
CHANGED
|
@@ -23,6 +23,7 @@ module Geordi
|
|
|
23
23
|
command = 'mysql --silent'
|
|
24
24
|
command << ' -p' << config['password'] if config['password']
|
|
25
25
|
command << ' -u' << config['username'] if config['username']
|
|
26
|
+
command << ' --port=' << config['port'] if config['port']
|
|
26
27
|
command << ' --default-character-set=utf8'
|
|
27
28
|
command << ' ' << config['database']
|
|
28
29
|
command << ' < ' << dump_file
|
|
@@ -33,6 +34,7 @@ module Geordi
|
|
|
33
34
|
ENV['PGPASSWORD'] = config['password']
|
|
34
35
|
command = 'pg_restore --no-owner --clean'
|
|
35
36
|
command << ' --username=' << config['username'] if config['username']
|
|
37
|
+
command << ' --port=' << config['port'] if config['port']
|
|
36
38
|
command << ' --host=' << config['host'] if config['host']
|
|
37
39
|
command << ' --dbname=' << config['database']
|
|
38
40
|
command << ' ' << dump_file
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geordi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
7
|
authors:
|
|
7
8
|
- Henning Koch
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
12
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: thor
|
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
16
18
|
requirements:
|
|
17
|
-
- -
|
|
19
|
+
- - ! '>='
|
|
18
20
|
- !ruby/object:Gem::Version
|
|
19
21
|
version: 0.18.0
|
|
20
22
|
type: :runtime
|
|
21
23
|
prerelease: false
|
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
23
26
|
requirements:
|
|
24
|
-
- -
|
|
27
|
+
- - ! '>='
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: 0.18.0
|
|
27
30
|
description: Collection of command line tools we use in our daily work with Ruby,
|
|
@@ -50,8 +53,8 @@ executables:
|
|
|
50
53
|
extensions: []
|
|
51
54
|
extra_rdoc_files: []
|
|
52
55
|
files:
|
|
53
|
-
-
|
|
54
|
-
-
|
|
56
|
+
- .gitignore
|
|
57
|
+
- .ruby-version
|
|
55
58
|
- Gemfile
|
|
56
59
|
- Gemfile.lock
|
|
57
60
|
- LICENSE
|
|
@@ -129,26 +132,29 @@ files:
|
|
|
129
132
|
homepage: http://makandra.com
|
|
130
133
|
licenses:
|
|
131
134
|
- MIT
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
post_install_message: ! '* Binary `geordi` installed
|
|
136
|
+
|
|
137
|
+
'
|
|
134
138
|
rdoc_options: []
|
|
135
139
|
require_paths:
|
|
136
140
|
- lib
|
|
137
141
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
|
+
none: false
|
|
138
143
|
requirements:
|
|
139
|
-
- -
|
|
144
|
+
- - ! '>='
|
|
140
145
|
- !ruby/object:Gem::Version
|
|
141
146
|
version: '0'
|
|
142
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
|
+
none: false
|
|
143
149
|
requirements:
|
|
144
|
-
- -
|
|
150
|
+
- - ! '>='
|
|
145
151
|
- !ruby/object:Gem::Version
|
|
146
152
|
version: '0'
|
|
147
153
|
requirements: []
|
|
148
154
|
rubyforge_project: geordi
|
|
149
|
-
rubygems_version:
|
|
155
|
+
rubygems_version: 1.8.23.2
|
|
150
156
|
signing_key:
|
|
151
|
-
specification_version:
|
|
157
|
+
specification_version: 3
|
|
152
158
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails
|
|
153
159
|
and Linux at makandra.
|
|
154
160
|
test_files: []
|
checksums.yaml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: ce327c7fc6bb66a9923e3010629755280aa0bae5
|
|
4
|
-
data.tar.gz: 0c9601c9cc26c5a23aaf4932b6d1aa3a2ba4194b
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz: 42b4aeecacf5c17f8a9dc12c6df02c281ea609c3eebd35b95ba4baeadc127cee8a5101572d2c6129f7d8908525378fec3b1ca954ca48d804c4e4fe1b35e6adb5
|
|
7
|
-
data.tar.gz: 58c829d2354e8f70eeb1412f98d0e77283eb1f51b382aa067b3f57a8ff3656309a90cac32de42df624648b0d8a0141129dc78c0a6ac7357683b1a3d28ff62b8e
|