uff_db_loader 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 95175e122ab4572d155f684796d9093587d5764d330855f3f50707491d223185
4
+ data.tar.gz: da94a660905f4e8a768735343347bf7b8016d67a2a706c245360a14ab0eb7a02
5
+ SHA512:
6
+ metadata.gz: f9ca8396b85bb4d5665f209d50dc183b97ce8020ac0393429e6f884f3455fa81cf4c6206bf05c80a6c8c1ac85d35ae254cfc919db0aa14b7a6c6425c39ac7dd1
7
+ data.tar.gz: a64fb6d2c537c3b5004234253ad7c7fc5acd150fa1e5b09265d8a3d89a730834dd49a1510251e1934684fe88df34a74e6453948d44ff4e45e9f5ab94eac0d1d2
@@ -0,0 +1,27 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ ruby-version: ['2.6', '2.7', '3.0', '3.1']
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true
26
+ - name: Run tests
27
+ run: bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ Gemfile.lock
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 2.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at robin@coding-robin.de. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in uff_db_loader.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "standard", "~> 1.3"
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Robin Mehner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # UffDbLoader
2
+
3
+ ## Description
4
+
5
+ `uff_db_loader` provides rake tasks to download and import databases in rails projects with a dockerized deployment that we use in multiple projects.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'uff_db_loader'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install uff_db_loader
22
+
23
+ ## Configuration
24
+
25
+ You can configure the gem by running the following during the initialization of the Rails app:
26
+ ```ruby
27
+ # frozen_string_literal: true
28
+
29
+ UffDbLoader.configure do |config|
30
+ config.environments = ['sandbox', 'production'] # default is "['staging', 'production']"
31
+ config.ssh_user = 'Francina'
32
+ config.ssh_host = 'host.of.yoursite'
33
+ config.db_name = 'twotter'
34
+ config.db_system = :postgresql # Possible values are 'postgresql' and 'mysql'.
35
+ config.app_name = 'my_app' # Defaults to the Rails app name
36
+ config.dumps_directory = '/path/to/dumps' # Defaults to Rails.root.join('dumps')
37
+ config.database_config_file = 'path/to/database.yml' # Defaults to Rails.root.join('config', 'database.yml')
38
+ end
39
+ ```
40
+ For example in a file like `config/initializers/uff_db_loader.rb`.
41
+
42
+ Make sure the app's database user has the superuser role. Otherwise the app will crash on startup due to missing permissions.
43
+
44
+ ## Usage
45
+
46
+ `uff_db_loader` provides `rails remote_database:dump` and `rails remote_database:load` which will prompt for a configured environment.
47
+ `dump` will only create and download a current database dump, while `load`, will do the same and restore the database content into a new database and gives instructions on how to use it in development.
48
+
49
+
50
+
51
+ ## Development
52
+
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
54
+
55
+ ## Contributing
56
+
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rmehner/uff_db_loader. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/rmehner/uff_db_loader/blob/main/CODE_OF_CONDUCT.md).
58
+
59
+ ## License
60
+
61
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
62
+
63
+ ## Code of Conduct
64
+
65
+ Everyone interacting in the UffDbLoader project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rmehner/uff_db_loader/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "uff_db_loader"
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(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "uff_db_loader"
4
+
5
+ path = File.expand_path(__dir__)
6
+ Dir.glob("#{path}/tasks/*.rake").each { |f| import f }
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "uff_db_loader/postgresql"
4
+ require "uff_db_loader/mysql"
5
+
6
+ module UffDbLoader
7
+ class Configuration
8
+ attr_accessor :environments, :ssh_host, :ssh_user, :db_name, :db_system, :app_name, :dumps_directory, :database_config_file
9
+
10
+ def initialize
11
+ @environments = %w[staging production]
12
+ @ssh_host = nil
13
+ @ssh_user = nil
14
+ @db_name = nil
15
+ @db_system = nil
16
+ @app_name = Dir.pwd.split("/").last
17
+ @dumps_directory = File.join(Dir.pwd, "dumps")
18
+ @database_config_file = File.join(Dir.pwd, "config", "database.yml")
19
+ end
20
+
21
+ def database
22
+ db_name || ssh_user
23
+ end
24
+
25
+ def database_system
26
+ case db_system.to_sym
27
+ when :postgresql
28
+ UffDbLoader::Postgresql
29
+ when :mysql
30
+ UffDbLoader::Mysql
31
+ else
32
+ raise UnknownDatabaseSystem, "Could not identify database system. Use `config.db_system` to configure it."
33
+ end
34
+ end
35
+ end
36
+ end
data/lib/railtie.rb ADDED
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "uff_db_loader"
4
+ require "rails"
5
+
6
+ module UffDbLoader
7
+ class Railtie < Rails::Railtie
8
+ railtie_name "uff_db_loader"
9
+
10
+ initializer "uff_db_loader.setup" do |app|
11
+ UffDbLoader.configure do |config|
12
+ config.dumps_directory = Rails.root.join("dumps")
13
+ config.database_config_file = Rails.root.join("config", "database.yml")
14
+ config.app_name = (Rails.application.class.respond_to?(:parent_name) ? Rails.application.class.parent_name : Rails.application.class.module_parent_name).downcase
15
+ end
16
+ end
17
+
18
+ rake_tasks do
19
+ path = File.expand_path(__dir__)
20
+ Dir.glob("#{path}/uff_db_loader/tasks/*.rake").each { |f| load f }
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module UffDbLoader
4
+ module Mysql
5
+ def self.dump_extension
6
+ "sql"
7
+ end
8
+
9
+ def self.dump_command_template
10
+ "ssh %user%@%host% \"docker exec -i %app_name%_%environment%_db sh -c 'exec mysqldump --opt --no-tablespaces -uroot -p\"\\$MYSQL_ROOT_PASSWORD\" %database%'\" > %target%"
11
+ end
12
+
13
+ def self.restore_command(database_name, result_file_path)
14
+ "mysql -uroot #{database_name} < #{result_file_path}"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module UffDbLoader
4
+ module Postgresql
5
+ def self.dump_extension
6
+ "dump"
7
+ end
8
+
9
+ def self.dump_command_template
10
+ "ssh %user%@%host% \"docker exec -i %app_name%_%environment%_db sh -c 'exec pg_dump --username \\$POSTGRES_USER --clean --no-owner --no-acl --format=c %database%'\" > %target%"
11
+ end
12
+
13
+ def self.restore_command(database_name, result_file_path)
14
+ "pg_restore --username postgres --clean --if-exists --no-owner --no-acl --dbname #{database_name} #{result_file_path}"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "tty-prompt"
4
+
5
+ namespace :remote_database do
6
+ desc "Dumps a remote database to #{UffDbLoader.config.dumps_directory}"
7
+ task dump: :environment do
8
+ prompt = TTY::Prompt.new
9
+ environment = prompt.select("Which environment should we get the dump from?", UffDbLoader.config.environments)
10
+ UffDbLoader.ensure_valid_environment!(environment)
11
+ UffDbLoader.dump_from(environment)
12
+ end
13
+
14
+ desc "Gets a dump from remote and loads it into the local database"
15
+ task load: :environment do
16
+ prompt = TTY::Prompt.new
17
+ environment = prompt.select("Which environment should we get the dump from?", UffDbLoader.config.environments)
18
+ UffDbLoader.ensure_valid_environment!(environment)
19
+ result_file_path = UffDbLoader.dump_from(environment)
20
+
21
+ puts "🤓 Reading from to #{result_file_path}"
22
+
23
+ database_name = File.basename(result_file_path, ".*")
24
+ ActiveRecord::Base.connection.execute("CREATE DATABASE #{database_name};")
25
+
26
+ puts "🗂 Created database #{database_name}"
27
+
28
+ command_successful = system(UffDbLoader.restore_command(database_name, result_file_path))
29
+ raise "Command did not run succesful: #{UffDbLoader.restore_command(database_name, result_file_path)}" unless command_successful
30
+
31
+ puts "✅ Succesfully loaded #{result_file_path} into #{database_name}"
32
+
33
+ puts "💩 Because YAML is a wonderful format, you need to adapt your config file by hand."
34
+ puts "🆗 Go to #{UffDbLoader.config.database_config_file} and change the development database value to: #{database_name}"
35
+ puts "🧑🏾‍🏫 Don't forgot to restart the Rails server after changing the database config (`rails restart`)"
36
+ end
37
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module UffDbLoader
4
+ VERSION = "1.0.0"
5
+ end
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "uff_db_loader/version"
4
+ require "configuration"
5
+
6
+ module UffDbLoader
7
+ require "railtie"
8
+
9
+ def self.config
10
+ @configuration ||= Configuration.new
11
+ end
12
+
13
+ def self.reset
14
+ @configuration = Configuration.new
15
+ end
16
+
17
+ def self.configure
18
+ yield(config)
19
+ end
20
+
21
+ def self.dump_from(environment)
22
+ FileUtils.mkdir_p(config.dumps_directory)
23
+
24
+ puts "⬇️ Creating dump ..."
25
+
26
+ target = File.join(config.dumps_directory, Time.now.strftime("#{config.app_name}_#{environment}_%Y_%m_%d_%H_%M_%S.#{config.database_system.dump_extension}"))
27
+ command_successful = system(dump_command(environment, target))
28
+ raise "Command did not run succesful: #{dump_command(environment, target)}" unless command_successful
29
+
30
+ puts "✅ Succesfully dumped to #{target}"
31
+
32
+ target
33
+ end
34
+
35
+ def self.dump_command(environment, target)
36
+ config
37
+ .database_system
38
+ .dump_command_template
39
+ .gsub("%environment%", environment)
40
+ .gsub("%host%", config.ssh_host)
41
+ .gsub("%user%", config.ssh_user)
42
+ .gsub("%database%", config.database)
43
+ .gsub("%target%", target)
44
+ .gsub("%app_name%", config.app_name)
45
+ end
46
+
47
+ def self.ensure_valid_environment!(environment)
48
+ unless config.environments.include?(environment)
49
+ raise ForbiddenEnvironmentError, "Invalid environment: #{environment}."
50
+ end
51
+ end
52
+
53
+ def self.restore_command(database_name, result_file_path)
54
+ config.database_system.restore_command(database_name, result_file_path)
55
+ end
56
+
57
+ class ForbiddenEnvironmentError < StandardError; end
58
+
59
+ class UnknownDatabaseSystem < StandardError; end
60
+ end
@@ -0,0 +1,33 @@
1
+ require_relative "lib/uff_db_loader/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "uff_db_loader"
5
+ spec.version = UffDbLoader::VERSION
6
+ spec.authors = ["Andreas Hellwig", "Fynn Heintz", "Robin Mehner"]
7
+ spec.email = ["robin@coding-robin.de"]
8
+
9
+ spec.summary = "Allows to dump, download and restore databases from docker servers."
10
+ spec.description = "Allows to dump, download and restore databases from servers with a specific docker setup, that UFF uses commonly."
11
+ spec.homepage = "https://github.com/rmehner/uff_db_loader"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+
15
+ spec.metadata = {
16
+ "bug_tracker_uri" => "#{spec.homepage}/issues",
17
+ "changelog_uri" => "#{spec.homepage}/releases/tag/#{spec.version}",
18
+ "homepage_uri" => spec.homepage,
19
+ "source_code_uri" => "#{spec.homepage}/tree/#{spec.version}"
20
+ }
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
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 "tty-prompt"
31
+ spec.add_dependency "activerecord", ">= 5.2"
32
+ spec.add_dependency "railties", ">= 5.2"
33
+ end
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uff_db_loader
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Andreas Hellwig
8
+ - Fynn Heintz
9
+ - Robin Mehner
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2022-07-21 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: tty-prompt
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: activerecord
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '5.2'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '5.2'
43
+ - !ruby/object:Gem::Dependency
44
+ name: railties
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '5.2'
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '5.2'
57
+ description: Allows to dump, download and restore databases from servers with a specific
58
+ docker setup, that UFF uses commonly.
59
+ email:
60
+ - robin@coding-robin.de
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files: []
64
+ files:
65
+ - ".github/workflows/test.yml"
66
+ - ".gitignore"
67
+ - ".rspec"
68
+ - ".standard.yml"
69
+ - CODE_OF_CONDUCT.md
70
+ - Gemfile
71
+ - LICENSE.txt
72
+ - README.md
73
+ - Rakefile
74
+ - bin/console
75
+ - bin/setup
76
+ - lib/Rakefile
77
+ - lib/configuration.rb
78
+ - lib/railtie.rb
79
+ - lib/uff_db_loader.rb
80
+ - lib/uff_db_loader/mysql.rb
81
+ - lib/uff_db_loader/postgresql.rb
82
+ - lib/uff_db_loader/tasks/remote_database.rake
83
+ - lib/uff_db_loader/version.rb
84
+ - uff_db_loader.gemspec
85
+ homepage: https://github.com/rmehner/uff_db_loader
86
+ licenses:
87
+ - MIT
88
+ metadata:
89
+ bug_tracker_uri: https://github.com/rmehner/uff_db_loader/issues
90
+ changelog_uri: https://github.com/rmehner/uff_db_loader/releases/tag/1.0.0
91
+ homepage_uri: https://github.com/rmehner/uff_db_loader
92
+ source_code_uri: https://github.com/rmehner/uff_db_loader/tree/1.0.0
93
+ post_install_message:
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 2.3.0
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubygems_version: 3.3.8
109
+ signing_key:
110
+ specification_version: 4
111
+ summary: Allows to dump, download and restore databases from docker servers.
112
+ test_files: []