dockerizer 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fcc1f47c81343ef79c3c97fa41960a5260ce9ef64105beb4863216fa15461ea3
4
+ data.tar.gz: badbc4c1ace47e02e03f66dfb040ecaa955294c8b31d0dde91391646e73f1c2a
5
+ SHA512:
6
+ metadata.gz: 19d0b2d9f2c8abb4d246eace8b1ee3225f3103024a54d979506c24456bd10ee200ede01167b3a1e1b270e55842ff7780baa324134c80d013e281852a08b663d4
7
+ data.tar.gz: 419d2f3a9e062a74b0cc16026d5afd867840980b92cb682fe09b6c336623ea60e93210851ed329891d06fb86e5f24f0ea6327bfe207cdd3b341479d3e9ed1476
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.1
5
+ before_install: gem install bundler -v 1.16.2
@@ -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 anton.bozhinov@softwaregroup.com. 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 [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in dockerizer.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dockerizer (0.1.0)
5
+ thor
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ rake (10.5.0)
12
+ rspec (3.7.0)
13
+ rspec-core (~> 3.7.0)
14
+ rspec-expectations (~> 3.7.0)
15
+ rspec-mocks (~> 3.7.0)
16
+ rspec-core (3.7.1)
17
+ rspec-support (~> 3.7.0)
18
+ rspec-expectations (3.7.0)
19
+ diff-lcs (>= 1.2.0, < 2.0)
20
+ rspec-support (~> 3.7.0)
21
+ rspec-mocks (3.7.0)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.7.0)
24
+ rspec-support (3.7.1)
25
+ thor (0.20.0)
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ bundler (~> 1.16)
32
+ dockerizer!
33
+ rake (~> 10.0)
34
+ rspec (~> 3.0)
35
+
36
+ BUNDLED WITH
37
+ 1.16.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 TODO: Write your name
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,48 @@
1
+ # Dockerizer
2
+
3
+ Dockerizer is a ruby gem for generating applications inside docker containers with docker-compose.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'dockerizer'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install dockerizer
21
+
22
+ ## Usage
23
+
24
+ $ dockerizer /module/ with /db_name/
25
+
26
+ ## Example
27
+ $ dockerizer rails with postgresql
28
+
29
+ #### See all available options
30
+ $ dockerizer
31
+
32
+ ## Development
33
+
34
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
35
+
36
+ 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).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dockerizer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
41
+
42
+ ## License
43
+
44
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
45
+
46
+ ## Code of Conduct
47
+
48
+ Everyone interacting in the Dockerizer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/dockerizer/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
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
+ namespace :gem do
9
+ task :build do
10
+ system "rake build && rake install"
11
+ end
12
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "dockerizer"
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
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "dockerizer/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "dockerizer"
8
+ spec.version = Dockerizer::VERSION
9
+ spec.authors = ["Anton Bozhinov"]
10
+ spec.email = ["anton.bozhinov@gmail.com"]
11
+
12
+ spec.summary = %q{Create dockerized apps}
13
+ spec.description = %q{Generates a docker-compose file with app and given database}
14
+ spec.homepage = "https://github.com/AntonBozhinov/dockerizer"
15
+ spec.license = "MIT"
16
+
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = `git ls-files`.split("\n")
21
+ spec.bindir = "exe"
22
+ spec.executables = ["dockerizer"]
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.16"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.0"
28
+
29
+ spec.add_dependency "thor"
30
+ end
data/exe/dockerizer ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'dockerizer/cli'
4
+ Dockerizer::Cli.start
data/lib/dockerizer.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "dockerizer/version"
2
+ require "dockerizer/cli"
3
+
4
+ module Dockerizer
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,15 @@
1
+ require 'thor'
2
+ require_relative 'rails'
3
+
4
+ module Dockerizer
5
+ class Cli < Thor
6
+ desc "rails ", "Generates a docker-compose rails app with given database"
7
+ long_desc <<-LONGDESC
8
+ `dockerizer rails` will generate a ruby on rails application with the default sqlite database
9
+ inside of a docker container. It will also generate a docker-compose.yml file.
10
+
11
+ > from: Anton Bozhinov
12
+ LONGDESC
13
+ subcommand "rails", Rails
14
+ end
15
+ end
@@ -0,0 +1,88 @@
1
+ # PostgreSQL. Versions 9.1 and up are supported.
2
+ #
3
+ # Install the pg driver:
4
+ # gem install pg
5
+ # On OS X with Homebrew:
6
+ # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
7
+ # On OS X with MacPorts:
8
+ # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
9
+ # On Windows:
10
+ # gem install pg
11
+ # Choose the win32 build.
12
+ # Install PostgreSQL and put its /bin directory on your path.
13
+ #
14
+ # Configure Using Gemfile
15
+ # gem 'pg'
16
+ #
17
+ default: &default
18
+ adapter: <%= @db_type %>
19
+ encoding: unicode
20
+ host: db
21
+ username: <%= @db_username %>
22
+ password: <%= @db_password %>
23
+ # For details on connection pooling, see Rails configuration guide
24
+ # http://guides.rubyonrails.org/configuring.html#database-pooling
25
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
26
+
27
+ development:
28
+ <<: *default
29
+ database: app_development
30
+
31
+ # The specified database role being used to connect to postgres.
32
+ # To create additional roles in postgres see `$ createuser --help`.
33
+ # When left blank, postgres will use the default role. This is
34
+ # the same name as the operating system user that initialized the database.
35
+ #username: app
36
+
37
+ # The password associated with the postgres role (username).
38
+ #password:
39
+
40
+ # Connect on a TCP socket. Omitted by default since the client uses a
41
+ # domain socket that doesn't need configuration. Windows does not have
42
+ # domain sockets, so uncomment these lines.
43
+ #host: localhost
44
+
45
+ # The TCP port the server listens on. Defaults to 5432.
46
+ # If your server runs on a different port number, change accordingly.
47
+ #port: 5432
48
+
49
+ # Schema search path. The server defaults to $user,public
50
+ #schema_search_path: myapp,sharedapp,public
51
+
52
+ # Minimum log levels, in increasing order:
53
+ # debug5, debug4, debug3, debug2, debug1,
54
+ # log, notice, warning, error, fatal, and panic
55
+ # Defaults to warning.
56
+ #min_messages: notice
57
+
58
+ # Warning: The database defined as "test" will be erased and
59
+ # re-generated from your development database when you run "rake".
60
+ # Do not set this db to the same as development or production.
61
+ test:
62
+ <<: *default
63
+ database: app_test
64
+
65
+ # As with config/secrets.yml, you never want to store sensitive information,
66
+ # like your database password, in your source code. If your source code is
67
+ # ever seen by anyone, they now have access to your database.
68
+ #
69
+ # Instead, provide the password as a unix environment variable when you boot
70
+ # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
71
+ # for a full rundown on how to provide these environment variables in a
72
+ # production deployment.
73
+ #
74
+ # On Heroku and other platform providers, you may have a full connection URL
75
+ # available as an environment variable. For example:
76
+ #
77
+ # DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
78
+ #
79
+ # You can use this database configuration with:
80
+ #
81
+ # production:
82
+ # url: <%= ENV['DATABASE_URL'] %>
83
+ #
84
+ production:
85
+ <<: *default
86
+ database: app_production
87
+ username: app
88
+ password: <%= ENV['APP_DATABASE_PASSWORD'] %>
@@ -0,0 +1,94 @@
1
+ require 'thor'
2
+ require 'fileutils'
3
+ require 'erb'
4
+
5
+ module Dockerizer
6
+ class Rails < Thor
7
+ desc "with <db_type>", "Creates docker-compose rails app with given database type"
8
+ long_desc <<-LONGDESC
9
+ will generate ruby on rails application and will connect it
10
+ to a given database.
11
+ Example:
12
+ $ dockerizer rails with postgresql
13
+
14
+ Supported dbs:
15
+ - postgresql
16
+ > from: Anton Bozhinov
17
+ LONGDESC
18
+ option :name
19
+ option :db_username
20
+ option :db_password
21
+ def with(db_type)
22
+ @db_type = db_type
23
+ valid_db_types = ["postgresql"]
24
+ unless valid_db_types.include?(@db_type)
25
+ puts "Invalid db type #{@db_type}. Valid types are #{valid_db_types}"
26
+ exit!
27
+ end
28
+
29
+ if options[:name]
30
+ @project_name = options[:name]
31
+ else
32
+ puts "What is your project name?"
33
+ @project_name = STDIN.gets.chomp
34
+ end
35
+ if options[:db_username]
36
+ @db_username = options[:db_username]
37
+ else
38
+ puts "Enter a db username..."
39
+ @db_username = STDIN.gets.chomp
40
+ end
41
+ if options[:db_password]
42
+ @db_password = options[:db_password]
43
+ else
44
+ puts "Enter a db password..."
45
+ @db_password = STDIN.gets.chomp
46
+ end
47
+ puts "Generating rails aplication with #{@db_type} as a database in #{@project_name}..."
48
+ puts "Creating #{@project_name} dir in #{Dir.pwd}"
49
+
50
+ project_dir = Dir.pwd + "/#{@project_name}"
51
+ if Dir.exist?(project_dir)
52
+ puts "Found dir with same project name!"
53
+ puts "Replacing dir with the current project..."
54
+ FileUtils.remove_dir(project_dir)
55
+ end
56
+
57
+ puts "Creating project folder..."
58
+ FileUtils.mkdir @project_name
59
+
60
+ puts "Copy template files..."
61
+ template_dir = Dir.glob(File.expand_path(File.dirname(__FILE__) + "/template/rails/common/*"))
62
+ FileUtils.cp_r(template_dir, project_dir)
63
+
64
+ docker_compose_dir = File.expand_path("#{File.dirname(__FILE__)}/template/rails/#{@db_type}/docker-compose.yml.erb")
65
+ config_dir = File.expand_path("#{File.dirname(__FILE__)}/config/database.yml.erb")
66
+
67
+ puts "docker-compose file found at #{docker_compose_dir}"
68
+ docker_compose_file = File.read(docker_compose_dir)
69
+ docker_compose_renderer = ERB.new(docker_compose_file)
70
+ docker_compose_output = docker_compose_renderer.result(binding)
71
+ File.open("#{project_dir}/docker-compose.yml", "w") do |f|
72
+ f.write(docker_compose_output)
73
+ f.close()
74
+ end
75
+ puts "docker-compose file added successfuly"
76
+
77
+ puts "Database config found at #{config_dir}"
78
+ config_file = File.read(config_dir)
79
+ renderer = ERB.new(config_file)
80
+ config_output = renderer.result(binding)
81
+
82
+ puts "Initializing rails application..."
83
+ Dir.chdir(project_dir) do
84
+ puts "Currently in #{Dir.pwd}"
85
+ system "docker-compose run web rails new . --force -T --database=#{db_type}"
86
+ system "docker-compose build"
87
+ File.open("config/database.yml", "w") do |f|
88
+ f.write(config_output)
89
+ f.close()
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,8 @@
1
+ FROM ruby:2.5
2
+ RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
3
+ RUN mkdir /app
4
+ WORKDIR /app
5
+ COPY Gemfile /app/Gemfile
6
+ COPY Gemfile.lock /app/Gemfile.lock
7
+ RUN bundle install
8
+ COPY . /app
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gem 'rails', '5.2.0'
File without changes
@@ -0,0 +1,28 @@
1
+ # Use postgres/example for username/password db credentials
2
+
3
+ version: '3'
4
+ services:
5
+ db:
6
+ image: postgres
7
+ volumes:
8
+ - ./postgres/db:/var/lib/postgresql/data
9
+ environment:
10
+ POSTGRES_USER: <%= @db_username %>
11
+ POSTGRES_PASSWORD: <%= @db_password %>
12
+ POSTGRES_DB: <%= @project_name %>
13
+
14
+ adminer:
15
+ image: adminer
16
+ restart: always
17
+ ports:
18
+ - 8080:8080
19
+
20
+ web:
21
+ build: .
22
+ command: bundle exec rails s -p 3000 -b '0.0.0.0'
23
+ volumes:
24
+ - .:/app
25
+ ports:
26
+ - "3000:3000"
27
+ depends_on:
28
+ - db
@@ -0,0 +1,3 @@
1
+ module Dockerizer
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.describe Dockerizer do
2
+ it "has a version number" do
3
+ expect(Dockerizer::VERSION).not_to be nil
4
+ end
5
+
6
+ it "does something useful" do
7
+ expect(false).to eq(true)
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "dockerizer"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
metadata ADDED
@@ -0,0 +1,125 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dockerizer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Anton Bozhinov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: thor
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
+ description: Generates a docker-compose file with app and given database
70
+ email:
71
+ - anton.bozhinov@gmail.com
72
+ executables:
73
+ - dockerizer
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - ".gitignore"
78
+ - ".rspec"
79
+ - ".travis.yml"
80
+ - CODE_OF_CONDUCT.md
81
+ - Gemfile
82
+ - Gemfile.lock
83
+ - LICENSE.txt
84
+ - README.md
85
+ - Rakefile
86
+ - bin/console
87
+ - bin/setup
88
+ - dockerizer.gemspec
89
+ - exe/dockerizer
90
+ - lib/dockerizer.rb
91
+ - lib/dockerizer/cli.rb
92
+ - lib/dockerizer/config/database.yml.erb
93
+ - lib/dockerizer/rails.rb
94
+ - lib/dockerizer/template/rails/common/Dockerfile
95
+ - lib/dockerizer/template/rails/common/Gemfile
96
+ - lib/dockerizer/template/rails/common/Gemfile.lock
97
+ - lib/dockerizer/template/rails/postgresql/docker-compose.yml.erb
98
+ - lib/dockerizer/version.rb
99
+ - spec/docko_spec.rb
100
+ - spec/spec_helper.rb
101
+ homepage: https://github.com/AntonBozhinov/dockerizer
102
+ licenses:
103
+ - MIT
104
+ metadata: {}
105
+ post_install_message:
106
+ rdoc_options: []
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ requirements: []
120
+ rubyforge_project:
121
+ rubygems_version: 2.7.7
122
+ signing_key:
123
+ specification_version: 4
124
+ summary: Create dockerized apps
125
+ test_files: []