devup 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a73dd3dfc833e3fd92c4960b1ad1655a96ffd26db828fda47a9a7cea89c16742
4
- data.tar.gz: 36682d3cb1e60d6f0d4a830c4c1f0f49f0d0f1db0a902e5c431eeb958a1ddc74
3
+ metadata.gz: cad20921807b07f89d5f023a3c1cdb67f99c4b0768f6dca9a92403159cc179c7
4
+ data.tar.gz: 91a2e16e6d0d8dd48e2eac8e02c30bd4005b09a3a63933b71dc8f5aa1e75d66f
5
5
  SHA512:
6
- metadata.gz: e9058dbbe0cab9580659df18b1d4b306efca5cdeadb2d8d6436539db8aecc474917f9b8db83da9c7375468e72d82b6810aae854c16aeb305546f033887ae10a6
7
- data.tar.gz: 9003d6bf8c3b6b2ec2a59d087b9943738763138d6917f20bf9449e5b152db9045ddcf259d1f745e5ebd2b5cd6b1296d6a4833f302bca4451e430ad6d03aae679
6
+ metadata.gz: dee679549ee12b6b27c6673e5f69df48cf410ad1d5690f6e8e238cef4b8eb6f76b32d4a7b1db28ecb43c23ad188dd449d9b0b237cbb6abc9d7866b4b694d05f0
7
+ data.tar.gz: 64080623291135a341af34c102b2b8223c80cafbe9eef40425851cf20bea71bb04e8a68cc7bbad567d55a883f03841f1cee53f656bc898943aa4a3646e397be5
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+
6
+ ## 0.6.1
7
+
8
+ * require "devup/env" to prevent boot on every load
9
+
5
10
  ## 0.6.0
6
11
  * Docker Compose v2.x support added
7
12
  * refactoring
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devup (0.6.0)
4
+ devup (0.6.1)
5
5
  dotenv
6
6
  dry-cli
7
7
 
data/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # DevUp! [![Travis (.com) branch](https://img.shields.io/travis/com/sergio-fry/devup/master)](https://travis-ci.com/github/sergio-fry/devup) [![Gem](https://img.shields.io/gem/v/devup)](https://rubygems.org/gems/devup) [![Code Climate coverage](https://img.shields.io/codeclimate/coverage/sergio-fry/devup)](https://codeclimate.com/github/sergio-fry/devup) [![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/sergio-fry/devup)](https://codeclimate.com/github/sergio-fry/devup) [![Gem](https://img.shields.io/gem/dt/devup)](https://rubygems.org/gems/devup) [![Hits-of-Code](https://hitsofcode.com/github/sergio-fry/devup)](https://hitsofcode.com/view/github/sergio-fry/devup)
2
2
 
3
- Describe development dependencies with docker-compose. It is not required to remember any fancy command to start docker. Just start developing your app. Rails is a first-class citizen, but could be used without ruby.
3
+
4
+ Instead of installing and configuring local PostgreSQL, Redis and other external services, describe development dependencies with docker-compose. It is not required to remember any fancy command to start docker. Just start developing your app. Rails is a first-class citizen, but could be used without ruby.
5
+
6
+ 1. `bundle add aasm --group=development,test`
7
+ 2. Describe external services inside docker-compose.devup.yml
8
+ 3. `devup up`
9
+ 4. Confugure app to use ENV
4
10
 
5
11
 
6
12
  ## Requirements
@@ -28,6 +34,9 @@ Add **DevUp!** to your Gemfile
28
34
 
29
35
  ```ruby
30
36
  gem "devup", group: [:development, :test]
37
+
38
+ # To prevent devup boot every time, you can require "devup/env" only:
39
+ # gem "devup", group: [:development, :test], require: "devup/env"
31
40
  ```
32
41
 
33
42
  and
data/lib/devup/env.rb ADDED
@@ -0,0 +1,10 @@
1
+ require "devup/version"
2
+ require "devup/environment"
3
+ require "devup/application"
4
+
5
+ module Devup
6
+ class Error < StandardError; end
7
+ end
8
+
9
+ app = Devup::Application.new
10
+ app.load_env
data/lib/devup/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Devup
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei O. Udalov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -77,6 +77,7 @@ files:
77
77
  - lib/devup/compose/v2/compose.rb
78
78
  - lib/devup/compose/v2/processes.rb
79
79
  - lib/devup/dotenv_load_list.rb
80
+ - lib/devup/env.rb
80
81
  - lib/devup/environment.rb
81
82
  - lib/devup/logger.rb
82
83
  - lib/devup/port_checker.rb