dip 8.2.5 → 8.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43ca40663a00675570ed4dcd668987e7845c6a3d9682b999889c9af37368cfea
4
- data.tar.gz: c9eb17ad1d6f9615868f04024afb434a821a758bffa48daac1516a1cd99b10e7
3
+ metadata.gz: b2024ed1872b11b03b134cef94a5e15bd0525f93ab6e61de7bf6cfe971b43ebd
4
+ data.tar.gz: 13100418400bb01c4a1843559b7349aae4468a802ed9ea0ba2536840f11a9eb8
5
5
  SHA512:
6
- metadata.gz: 4fc103b4c4e0f22c58d4b87e9d1b48a61f95bd948b9b00e7afbaaf453c0d11ef5720d698e11376837f032e35639058f9e47cd74716a2f7274da00c868589110a
7
- data.tar.gz: 13a8525d318c4e312287d136005b0bf6c751f11f85f984de5266c2222aa432deb44eb0173172305739022fe654770290dea07b712b1a1b029015782a2582d38d
6
+ metadata.gz: d018d6a84f98cd8778a9672f6764ca80ffdd590738b4f3649c1176f586f2dcf8679cb365576211fb094d008410a69ff9160642354de396973392761498d694ba
7
+ data.tar.gz: f2eb077654301b798ef2ff43a93b610c3ddea668e437cc016c22944b8acb3a546fe259f42cd1f3366cca114c799e8c939cd670f140f8163e578c535413f5c064
data/README.md CHANGED
@@ -12,7 +12,7 @@ The dip is a CLI dev–tool that provides native-like interaction with a Dockeri
12
12
  ## Presentations and examples
13
13
 
14
14
  - [Local development with Docker containers](https://slides.com/bibendi/dip)
15
- - [Dockerized Ruby on Rails application](https://SberMarket-Tech/outbox-example-apps)
15
+ - [Dockerized Ruby on Rails application](https://github.com/Kuper-Tech/outbox-example-apps)
16
16
  - Dockerized Node.js application: [one](https://github.com/bibendi/twinkle.js), [two](https://github.com/bibendi/yt-graphql-react-event-booking-api)
17
17
  - [Dockerized Ruby gem](https://github.com/bibendi/schked)
18
18
  - [Dockerizing Ruby and Rails development](https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development)
@@ -66,12 +66,12 @@ dip SUBCOMMAND --help
66
66
 
67
67
  ### dip.yml
68
68
 
69
- The configuration is loaded from `dip.yml` file. It may be located in a working directory, or it will be found in the nearest parent directory up to the file system root. If nearby places `dip.override.yml` file, it will be merged into the main config.
69
+ The configuration is loaded from `dip.yml` file. It may be located in a working directory, or it will be found in the nearest parent directory up to the file system root. If a `dip.override.yml` file exists nearby, it will be merged into the main config.
70
70
 
71
71
  Also, in some cases, you may want to change the default config path by providing an environment variable `DIP_FILE`.
72
72
 
73
73
  Below is an example of a real config.
74
- Config file reference will be written soon.
74
+ The schema is defined in `schema.json` and can be validated with `dip validate`.
75
75
  Also, you can check out examples at the top.
76
76
 
77
77
  ```yml
@@ -184,7 +184,7 @@ provision:
184
184
 
185
185
  #### $DIP_OS
186
186
 
187
- Current OS architecture (e.g. `linux`, `darwin`, `freebsd`, and so on). Sometime it may be useful to have one common `docker-compose.yml` and OS-dependent Compose configs.
187
+ Current OS name (e.g. `linux`, `darwin`, `freebsd`, and so on). Sometimes it may be useful to have one common `docker-compose.yml` and OS-dependent Compose configs.
188
188
 
189
189
  #### $DIP_WORK_DIR_REL_PATH
190
190
 
@@ -240,7 +240,7 @@ The container will run using the same user ID as your host machine.
240
240
 
241
241
  ### Modules
242
242
 
243
- Modules are defined as array in `modules` section of dip.yml, modules are stored in `.dip` subdirectory of dip.yml directory.
243
+ Modules are defined as an array in the `modules` section of dip.yml. Module files are stored in the `.dip` subdirectory next to dip.yml.
244
244
 
245
245
  The main purpose of modules is to improve maintainability for a group of projects.
246
246
  Imagine having multiple gems which are managed with dip, each of them has the same commands, so to change one command in dip you need to update all gems individualy.
@@ -328,7 +328,7 @@ Nested modules are not supported.
328
328
 
329
329
  Run commands defined within the `interaction` section of dip.yml
330
330
 
331
- A command will be executed by specified runner. Dip has three types of them:
331
+ A command will be executed by the specified runner. You can set the runner explicitly via the `runner` key (e.g. `runner: docker_compose`). Otherwise dip picks the runner automatically:
332
332
 
333
333
  - `docker compose` runner — used when the `service` option is defined.
334
334
  - `kubectl` runner — used when the `pod` option is defined.
@@ -436,7 +436,7 @@ STAGE=some dip ktl get pods
436
436
 
437
437
  Runs ssh-agent container based on https://github.com/whilp/ssh-agent with your ~/.ssh/id_rsa.
438
438
  It creates a named volume `ssh_data` with ssh socket.
439
- An application's docker-compose.yml should contains environment variable `SSH_AUTH_SOCK=/ssh/auth/sock` and connects to external volume `ssh_data`.
439
+ An application's docker-compose.yml should contain the environment variable `SSH_AUTH_SOCK=/ssh/auth/sock` and connect the external volume `ssh_data`.
440
440
 
441
441
  ```sh
442
442
  dip ssh up
@@ -495,4 +495,4 @@ Add `# yaml-language-server: $schema=https://raw.githubusercontent.com/bibendi/d
495
495
 
496
496
  ## Changelog
497
497
 
498
- https://github.com/bibendi/dip/releases
498
+ See [CHANGELOG.md](CHANGELOG.md).
@@ -12,7 +12,7 @@ module Dip
12
12
  longest_name = tree.keys.map(&:size).max
13
13
 
14
14
  tree.each do |name, command|
15
- puts "#{name.ljust(longest_name)} ##{command[:description] ? " #{command[:description]}" : ""}"
15
+ puts "#{name.ljust(longest_name)} ##{" #{command[:description]}" if command[:description]}"
16
16
  end
17
17
  end
18
18
  end
data/lib/dip/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dip
4
- VERSION = "8.2.5"
4
+ VERSION = "8.2.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dip
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.5
4
+ version: 8.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bibendi
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: thor
@@ -154,14 +153,14 @@ dependencies:
154
153
  requirements:
155
154
  - - "~>"
156
155
  - !ruby/object:Gem::Version
157
- version: '2.2'
156
+ version: '3.0'
158
157
  type: :development
159
158
  prerelease: false
160
159
  version_requirements: !ruby/object:Gem::Requirement
161
160
  requirements:
162
161
  - - "~>"
163
162
  - !ruby/object:Gem::Version
164
- version: '2.2'
163
+ version: '3.0'
165
164
  - !ruby/object:Gem::Dependency
166
165
  name: simplecov
167
166
  requirement: !ruby/object:Gem::Requirement
@@ -252,7 +251,6 @@ licenses:
252
251
  - MIT
253
252
  metadata:
254
253
  allowed_push_host: https://rubygems.org/
255
- post_install_message:
256
254
  rdoc_options: []
257
255
  require_paths:
258
256
  - lib
@@ -267,8 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
265
  - !ruby/object:Gem::Version
268
266
  version: '0'
269
267
  requirements: []
270
- rubygems_version: 3.5.21
271
- signing_key:
268
+ rubygems_version: 3.6.9
272
269
  specification_version: 4
273
270
  summary: Ruby gem CLI tool for better interacting Docker Compose files.
274
271
  test_files: []