tapsoob 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +32 -9
- data/README.md +10 -4
- data/lib/tapsoob/version.rb +1 -1
- data/lib/tasks/tapsoob.rake +36 -3
- data/spec/lib/tapsoob/chunksize_spec.rb +92 -0
- data/spec/lib/tapsoob/version_spec.rb +7 -0
- data/spec/spec_helper.rb +91 -0
- data/tapsoob.gemspec +4 -5
- metadata +31 -23
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzVhZGMyYWI4NWYyMTY4ODRlOGM3NGFiMzY5NDI0ODI0YTExZjk4Yw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d5bcde2759084d276cbe32124b2299ebff022d23
|
4
|
+
data.tar.gz: b2752086caf5f17dc17d8181a1acc21135b682b9
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YjlkMzQ2YzBmNjljZmNiZTc1ZGUzN2FhZjAzZTc5NWU3OWUxNmE0YjE2MmVh
|
11
|
-
Njc2MGQ5MjQyZTJkNjk2ZjFmZDVkNTJlOGU2N2MwYjMzNjU0NGI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YWZjZDIzZDI2MDdiNDc2OGM4NGMzNWRlYWIzYjEyOTIzNDFlZTk0NzU3YjJh
|
14
|
-
OWNmYWNlNjE4MDcxM2Y2MTkyOWM3MmUyMDAxYmNmOTFlODY1MGIxMjAwNmU2
|
15
|
-
YWNiYzRhYzBmZmRiYmVmYTgyZjYwMjUzMDllODVkOWMwNDk0ZTk=
|
6
|
+
metadata.gz: e94b88138d2c483f31a36add78ed900ecda51a5e6564504ab26352d10f94179ffb8054960c4416baca81721e75ef4a0b7f661933be59ce974a2667101052e535
|
7
|
+
data.tar.gz: 266625490376c3feeeb8eb644828c830d58eed4e097a2faa588ca658cbe0adcba3999fdaebe069c3a7b04f089a41a5a8307f7caf40cb9edf5d4331204ef60d1f
|
data/.gitignore
CHANGED
data/.rspec
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,24 +1,47 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tapsoob (0.1.
|
5
|
-
sequel (~>
|
4
|
+
tapsoob (0.1.24)
|
5
|
+
sequel (~> 4.17.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
+
diff-lcs (1.2.5)
|
11
|
+
docile (1.1.5)
|
12
|
+
multi_json (1.11.0)
|
10
13
|
mysql (2.9.1)
|
11
|
-
mysql2 (0.3.
|
12
|
-
pg (0.
|
13
|
-
|
14
|
-
|
14
|
+
mysql2 (0.3.18)
|
15
|
+
pg (0.18.1)
|
16
|
+
rspec (3.2.0)
|
17
|
+
rspec-core (~> 3.2.0)
|
18
|
+
rspec-expectations (~> 3.2.0)
|
19
|
+
rspec-mocks (~> 3.2.0)
|
20
|
+
rspec-core (3.2.3)
|
21
|
+
rspec-support (~> 3.2.0)
|
22
|
+
rspec-expectations (3.2.1)
|
23
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
+
rspec-support (~> 3.2.0)
|
25
|
+
rspec-mocks (3.2.1)
|
26
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
+
rspec-support (~> 3.2.0)
|
28
|
+
rspec-support (3.2.2)
|
29
|
+
sequel (4.17.0)
|
30
|
+
simplecov (0.9.2)
|
31
|
+
docile (~> 1.1.0)
|
32
|
+
multi_json (~> 1.0)
|
33
|
+
simplecov-html (~> 0.9.0)
|
34
|
+
simplecov-html (0.9.0)
|
35
|
+
sqlite3 (1.3.10)
|
15
36
|
|
16
37
|
PLATFORMS
|
17
38
|
ruby
|
18
39
|
|
19
40
|
DEPENDENCIES
|
20
41
|
mysql (~> 2.9.1)
|
21
|
-
mysql2 (~> 0.3.
|
22
|
-
pg (~> 0.
|
23
|
-
|
42
|
+
mysql2 (~> 0.3.18)
|
43
|
+
pg (~> 0.18.1)
|
44
|
+
rspec (~> 3.2.0)
|
45
|
+
simplecov (~> 0.9.2)
|
46
|
+
sqlite3 (~> 1.3.10)
|
24
47
|
tapsoob!
|
data/README.md
CHANGED
@@ -49,18 +49,24 @@ If you're using Rails, there's also two Rake tasks provided:
|
|
49
49
|
Your exports can be moved from one machine to another for backups or replication, you can also use Tapsoob to switch your RDBMS from one of the supported system to another.
|
50
50
|
|
51
51
|
|
52
|
-
##
|
52
|
+
## ToDo
|
53
53
|
|
54
|
-
* Tests
|
54
|
+
* Tests (in progress)
|
55
|
+
|
56
|
+
|
57
|
+
## Contributors
|
58
|
+
|
59
|
+
* Félix Bellanger <felix.bellanger@gmail.com>
|
60
|
+
* Michael Chrisco <michaelachrisco@gmail.com>
|
55
61
|
|
56
62
|
|
57
63
|
## License
|
58
64
|
|
59
65
|
The MIT License (MIT)
|
60
|
-
Copyright ©
|
66
|
+
Copyright © 2015 Félix Bellanger <felix.bellanger@gmail.com>
|
61
67
|
|
62
68
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
63
69
|
|
64
70
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
65
71
|
|
66
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
72
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/tapsoob/version.rb
CHANGED
data/lib/tasks/tapsoob.rake
CHANGED
@@ -17,17 +17,50 @@ namespace :tapsoob do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "Push a compatible dump on your filesystem to a database"
|
20
|
-
task :push => :environment do
|
20
|
+
task :push, [:timestamp] => :environment do |t, args|
|
21
21
|
# Default options
|
22
22
|
opts={:default_chunksize => 1000, :debug => false, :resume_filename => nil, :disable_compression => false, :indexes_first => false}
|
23
23
|
|
24
|
-
# Get the
|
25
|
-
|
24
|
+
# Get the dumps
|
25
|
+
dumps = Dir[Rails.root.join("db", "*/")].select { |e| e =~ /([0-9]{14})([A-Z]{2})/ }.sort
|
26
|
+
|
27
|
+
# In case a timestamp argument try to use it instead of using the last dump
|
28
|
+
dump_path = dumps.last
|
29
|
+
unless args[:timestamp].empty?
|
30
|
+
timestamps = dumps.map { |dump| File.basename(dump) }
|
31
|
+
|
32
|
+
# Check that the dump_path exists
|
33
|
+
raise Exception.new "Invalid or non existent timestamp: '#{args[:timestamp]}'" unless timestamps.include?(args[:timestamp])
|
34
|
+
|
35
|
+
# Select dump_path
|
36
|
+
dump_path = Rails.root.join("db", args[:timestamp])
|
37
|
+
end
|
26
38
|
|
27
39
|
# Run operation
|
28
40
|
Tapsoob::Operation.factory(:push, database_uri, dump_path, opts).run
|
29
41
|
end
|
30
42
|
|
43
|
+
desc "Cleanup old dumps"
|
44
|
+
task :clean, [:keep] => :environment do |t, args|
|
45
|
+
# Number of dumps to keep
|
46
|
+
keep = ((args[:keep] =~ /\A[0-9]+\z/).nil? ? 5 : args[:keep].to_i)
|
47
|
+
|
48
|
+
# Get all the dump folders
|
49
|
+
dumps = Dir[Rails.root.join("db", "*/")].select { |e| e =~ /([0-9]{14})([A-Z]{2})/ }.sort
|
50
|
+
|
51
|
+
# Return if there's fewer dumps than we want to keep
|
52
|
+
return if dumps.count <= keep
|
53
|
+
|
54
|
+
# Delete old dumps
|
55
|
+
old_dumps = dumps - dumps.reverse[0..(keep - 1)]
|
56
|
+
old_dumps.each do |dir|
|
57
|
+
if Dir.exists?(dir)
|
58
|
+
puts "Deleting old dump directory ('#{dir}')"
|
59
|
+
Dir.rmdir(dir)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
31
64
|
private
|
32
65
|
def database_uri
|
33
66
|
uri = ""
|
@@ -0,0 +1,92 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'tapsoob/chunksize'
|
3
|
+
|
4
|
+
describe Tapsoob::Chunksize do
|
5
|
+
subject(:tapsoob) { Tapsoob::Chunksize.new(1) }
|
6
|
+
let(:chunksize) { double('chunksize') }
|
7
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
8
|
+
describe '#new' do
|
9
|
+
it 'works' do
|
10
|
+
result = Tapsoob::Chunksize.new(chunksize)
|
11
|
+
expect(result).not_to be_nil
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '#initialize' do
|
15
|
+
it { should respond_to :chunksize }
|
16
|
+
it { should respond_to :idle_secs }
|
17
|
+
it { should respond_to :retries }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe '#to_i' do
|
22
|
+
|
23
|
+
it { expect(tapsoob.to_i).to eq(1) }
|
24
|
+
it { expect(tapsoob.to_i).to be_a(Integer) }
|
25
|
+
it 'works' do
|
26
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
27
|
+
result = chunksize.to_i
|
28
|
+
expect(result).not_to be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
context 'converts to type integer' do
|
32
|
+
it { expect(tapsoob.to_i).to eq(1) }
|
33
|
+
it { expect(tapsoob.to_i).to be_an(Integer) }
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe '#reset_chunksize' do
|
38
|
+
|
39
|
+
context 'retries <= 1' do
|
40
|
+
it { expect(tapsoob.retries).to eq(0) }
|
41
|
+
it { expect(tapsoob.reset_chunksize).to eq(10) }
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'works' do
|
45
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
46
|
+
result = chunksize.reset_chunksize
|
47
|
+
expect(result).not_to be_nil
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
describe '#diff' do
|
53
|
+
it 'works' do
|
54
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
55
|
+
chunksize.start_time = 1
|
56
|
+
chunksize.end_time = 10
|
57
|
+
chunksize.time_in_db = 2
|
58
|
+
chunksize.idle_secs = 3
|
59
|
+
result = chunksize.diff
|
60
|
+
expect(result).not_to be_nil
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe '#time_in_db=' do
|
65
|
+
it 'works' do
|
66
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
67
|
+
result = chunksize.time_in_db = (1)
|
68
|
+
expect(result).not_to be_nil
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe '#time_delta' do
|
73
|
+
it 'works' do
|
74
|
+
chunksize = double('chunksize')
|
75
|
+
chunksize = Tapsoob::Chunksize.new(chunksize)
|
76
|
+
result = chunksize.time_delta
|
77
|
+
expect(result).not_to be_nil
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe '#calc_new_chunksize' do
|
82
|
+
it 'works' do
|
83
|
+
chunksize = Tapsoob::Chunksize.new(1)
|
84
|
+
chunksize.start_time = 1
|
85
|
+
chunksize.end_time = 10
|
86
|
+
chunksize.time_in_db = 2
|
87
|
+
chunksize.idle_secs = 3
|
88
|
+
result = chunksize.calc_new_chunksize
|
89
|
+
expect(result).not_to be_nil
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.start
|
3
|
+
|
4
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
5
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
6
|
+
# The generated `.rspec` file contains
|
7
|
+
# `--require spec_helper` which will cause this
|
8
|
+
# file to always be loaded, without
|
9
|
+
# a need to explicitly require it in any files.
|
10
|
+
#
|
11
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
12
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
13
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
14
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
15
|
+
# a separate helper file that requires the additional dependencies and performs
|
16
|
+
# the additional setup,
|
17
|
+
# and require it from the spec files that actually need it.
|
18
|
+
#
|
19
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
20
|
+
# users commonly want.
|
21
|
+
#
|
22
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
23
|
+
RSpec.configure do |config|
|
24
|
+
# rspec-expectations config goes here. You can use an alternate
|
25
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
26
|
+
# assertions if you prefer.
|
27
|
+
config.expect_with :rspec do |expectations|
|
28
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
29
|
+
# and `failure_message` of custom matchers include text for helper methods
|
30
|
+
# defined using `chain`, e.g.:
|
31
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
32
|
+
# # => "be bigger than 2 and smaller than 4"
|
33
|
+
# ...rather than:
|
34
|
+
# # => "be bigger than 2"
|
35
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
36
|
+
end
|
37
|
+
|
38
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
39
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
40
|
+
config.mock_with :rspec do |mocks|
|
41
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
42
|
+
# a real object. This is generally recommended, and will default to
|
43
|
+
# `true` in RSpec 4.
|
44
|
+
mocks.verify_partial_doubles = true
|
45
|
+
end
|
46
|
+
|
47
|
+
# The settings below are suggested to provide a good initial experience
|
48
|
+
# with RSpec, but feel free to customize to your heart's content.
|
49
|
+
# # These two settings work together to allow you to limit a spec run
|
50
|
+
# # to individual examples or groups you care about by tagging them with
|
51
|
+
# # `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
52
|
+
# # get run.
|
53
|
+
# config.filter_run :focus
|
54
|
+
# config.run_all_when_everything_filtered = true
|
55
|
+
#
|
56
|
+
|
57
|
+
# config.disable_monkey_patching!
|
58
|
+
#
|
59
|
+
# # This setting enables warnings. It's recommended, but in some cases may
|
60
|
+
# # be too noisy due to issues in dependencies.
|
61
|
+
# config.warnings = true
|
62
|
+
#
|
63
|
+
# # Many RSpec users commonly either run the entire suite or an individual
|
64
|
+
# # file, and it's useful to allow more verbose output when running an
|
65
|
+
# # individual spec file.
|
66
|
+
# if config.files_to_run.one?
|
67
|
+
# # Use the documentation formatter for detailed output,
|
68
|
+
# # unless a formatter has already been configured
|
69
|
+
# # (e.g. via a command-line flag).
|
70
|
+
# config.default_formatter = 'doc'
|
71
|
+
# end
|
72
|
+
#
|
73
|
+
# # Print the 10 slowest examples and example groups at the
|
74
|
+
# # end of the spec run, to help surface which specs are running
|
75
|
+
# # particularly slow.
|
76
|
+
# config.profile_examples = 10
|
77
|
+
#
|
78
|
+
# # Run specs in random order to surface order dependencies. If you find an
|
79
|
+
# # order dependency and want to debug it,
|
80
|
+
# # you can fix the order by providing
|
81
|
+
# # the seed, which is printed after each run.
|
82
|
+
# # --seed 1234
|
83
|
+
# config.order = :random
|
84
|
+
#
|
85
|
+
# # Seed global randomization in this process using the `--seed` CLI option.
|
86
|
+
# # Setting this allows you to use `--seed` to deterministically reproduce
|
87
|
+
# # test failures
|
88
|
+
# # related to randomization by passing the same `--seed` value
|
89
|
+
# # as the one that triggered the failure.
|
90
|
+
# Kernel.srand config.seed
|
91
|
+
end
|
data/tapsoob.gemspec
CHANGED
@@ -6,8 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
# Metadata
|
7
7
|
s.name = "tapsoob"
|
8
8
|
s.version = Tapsoob::VERSION.dup
|
9
|
-
s.
|
10
|
-
s.authors = ["Félix Bellanger"]
|
9
|
+
s.authors = ["Félix Bellanger", "Michael Chrisco"]
|
11
10
|
s.email = "felix.bellanger@faveod.com"
|
12
11
|
s.homepage = "https://github.com/Keeguon/tapsoob"
|
13
12
|
s.summary = "Simple tool to import/export databases."
|
@@ -24,7 +23,7 @@ Gem::Specification.new do |s|
|
|
24
23
|
s.add_dependency "sequel", "~> 4.17.0"
|
25
24
|
|
26
25
|
s.add_development_dependency "mysql", "~> 2.9.1"
|
27
|
-
s.add_development_dependency "mysql2", "~> 0.3.
|
28
|
-
s.add_development_dependency "pg", "~> 0.
|
29
|
-
s.add_development_dependency "sqlite3", "~> 1.3.
|
26
|
+
s.add_development_dependency "mysql2", "~> 0.3.18"
|
27
|
+
s.add_development_dependency "pg", "~> 0.18.1"
|
28
|
+
s.add_development_dependency "sqlite3", "~> 1.3.10"
|
30
29
|
end
|
metadata
CHANGED
@@ -1,85 +1,86 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapsoob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Félix Bellanger
|
8
|
+
- Michael Chrisco
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: sequel
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- - ~>
|
18
|
+
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: 4.17.0
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- - ~>
|
25
|
+
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: 4.17.0
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: mysql
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - ~>
|
32
|
+
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
34
|
version: 2.9.1
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - ~>
|
39
|
+
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: 2.9.1
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: mysql2
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - ~>
|
46
|
+
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.3.
|
48
|
+
version: 0.3.18
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - ~>
|
53
|
+
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.3.
|
55
|
+
version: 0.3.18
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: pg
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- - ~>
|
60
|
+
- - "~>"
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
62
|
+
version: 0.18.1
|
62
63
|
type: :development
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- - ~>
|
67
|
+
- - "~>"
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
69
|
+
version: 0.18.1
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: sqlite3
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
|
-
- - ~>
|
74
|
+
- - "~>"
|
74
75
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.3.
|
76
|
+
version: 1.3.10
|
76
77
|
type: :development
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
|
-
- - ~>
|
81
|
+
- - "~>"
|
81
82
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.3.
|
83
|
+
version: 1.3.10
|
83
84
|
description: Simple tool to import/export databases inspired by taps but OOB, meaning
|
84
85
|
databases are imported/exported from the filesystem.
|
85
86
|
email: felix.bellanger@faveod.com
|
@@ -89,7 +90,8 @@ executables:
|
|
89
90
|
extensions: []
|
90
91
|
extra_rdoc_files: []
|
91
92
|
files:
|
92
|
-
- .gitignore
|
93
|
+
- ".gitignore"
|
94
|
+
- ".rspec"
|
93
95
|
- Gemfile
|
94
96
|
- Gemfile.lock
|
95
97
|
- README.md
|
@@ -110,6 +112,9 @@ files:
|
|
110
112
|
- lib/tapsoob/utils.rb
|
111
113
|
- lib/tapsoob/version.rb
|
112
114
|
- lib/tasks/tapsoob.rake
|
115
|
+
- spec/lib/tapsoob/chunksize_spec.rb
|
116
|
+
- spec/lib/tapsoob/version_spec.rb
|
117
|
+
- spec/spec_helper.rb
|
113
118
|
- tapsoob.gemspec
|
114
119
|
homepage: https://github.com/Keeguon/tapsoob
|
115
120
|
licenses:
|
@@ -121,18 +126,21 @@ require_paths:
|
|
121
126
|
- lib
|
122
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
123
128
|
requirements:
|
124
|
-
- -
|
129
|
+
- - ">="
|
125
130
|
- !ruby/object:Gem::Version
|
126
131
|
version: '0'
|
127
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
133
|
requirements:
|
129
|
-
- -
|
134
|
+
- - ">="
|
130
135
|
- !ruby/object:Gem::Version
|
131
136
|
version: '0'
|
132
137
|
requirements: []
|
133
138
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.5.1
|
135
140
|
signing_key:
|
136
141
|
specification_version: 4
|
137
142
|
summary: Simple tool to import/export databases.
|
138
|
-
test_files:
|
143
|
+
test_files:
|
144
|
+
- spec/lib/tapsoob/chunksize_spec.rb
|
145
|
+
- spec/lib/tapsoob/version_spec.rb
|
146
|
+
- spec/spec_helper.rb
|