flame_deploy_toys 0.5.0 → 0.6.0

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: 2a66c0be3329d43459a502ee9371ffd78a27f81d42a2b86d59389946ae35a0cb
4
- data.tar.gz: c856caef03ddd2b28b1cfc3d3cb18592d4c4290882ccb2e1b57791de3f36b7ae
3
+ metadata.gz: 5309341b8fb0da8c3cf38e6b68173b6dcf6bc93da835b35e7ec06e84186ae5e9
4
+ data.tar.gz: aaae1a9d370eef87e24b3c4012a3614866d97a79bf4bf9599580af41479c29f5
5
5
  SHA512:
6
- metadata.gz: 9e7c39ce65ef0348d62cc48c697e72eb51ad7b1a9a9ecd94e1f5e4ee6d1394c4f3ca184f257936be364fbcafc2cf0310f159c02868fd973f23b5e750d6e11cef
7
- data.tar.gz: ef813a369cb79ec41d6bd4f1146ca79ce6f55a48ef8bf2854522708d55d135c6d6383022ec60afe86eeac7a39d45b9ed8d367579a144c14d9f2013890966ba72
6
+ metadata.gz: de78c190f044951cddc0c2d51f6020f7fff1b8ee4fd365481c846c840a708132f83fd23f929574ec006c1621e4bc251ec8bf757b5d86213bf335efff10e89adb
7
+ data.tar.gz: 82ace4d66f7d4e133198356d6d2c5f189e2232bcf21b6cf6af47e3af1c83a6050cd16c54ffd2a6cfcd0845ad398e7c60101aaefc9815d0c563df772ecbdc2f6a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.6.0 (2022-09-21)
6
+
7
+ * Remove default value for updating branch.
8
+ It can be `master`, `main`, `trunc`, etc.
9
+ Use current on server.
10
+ * Enable interactive shell for updating.
11
+ 1. Load `.bashrc`.
12
+ 2. It seems intuitive for possibilities like editing changed config files.
13
+ * Update development dependencies.
14
+
5
15
  ## 0.5.0 (2022-03-03)
6
16
 
7
17
  * Drop Ruby 2.5 support.
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Flame Deploy Toys
2
2
 
3
3
  [![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame_deploy_toys?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/flame_deploy_toys)
4
- [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame_deploy_toys/master.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/flame_deploy_toys)
4
+ [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame_deploy_toys/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/flame_deploy_toys)
5
5
  [![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame_deploy_toys)
6
6
  [![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/flame_deploy_toys)
7
- [![Inline docs](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys.svg?branch=master)](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys)
8
- [![license](https://img.shields.io/github/license/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://github.com/AlexWayfer/flame_deploy_toys/blob/master/LICENSE.txt)
7
+ [![Inline docs](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys)
8
+ [![license](https://img.shields.io/github/license/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://github.com/AlexWayfer/flame_deploy_toys/blob/main/LICENSE.txt)
9
9
  [![Gem](https://img.shields.io/gem/v/flame_deploy_toys.svg?style=flat-square)](https://rubygems.org/gems/flame_deploy_toys)
10
10
 
11
11
  Toys template for deploying [Flame](https://github.com/AlexWayfer/flame)
@@ -21,13 +21,13 @@ module FlameDeployToys
21
21
  Command for deploy code from git to servers
22
22
 
23
23
  Example:
24
- Update from git master branch
24
+ Update from default git branch
25
25
  toys deploy
26
- Update from git development branch
26
+ Update from specific git branch
27
27
  toys deploy development
28
28
  DESC
29
29
 
30
- optional_arg :branch, default: :master
30
+ optional_arg :branch, default: nil
31
31
 
32
32
  include :exec, exit_on_nonzero_status: true, log_level: Logger::UNKNOWN
33
33
 
@@ -40,7 +40,7 @@ module FlameDeployToys
40
40
 
41
41
  servers.each do |server|
42
42
  update_command = "cd #{server[:path]} && exe/update.sh #{branch}"
43
- sh "ssh -t #{server[:ssh]} 'bash --login -c \"#{update_command}\"'"
43
+ sh "ssh -t #{server[:ssh]} 'bash --login -i -c \"#{update_command}\"'"
44
44
  end
45
45
  end
46
46
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FlameDeployToys
4
- VERSION = '0.5.0'
4
+ VERSION = '0.6.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flame_deploy_toys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-03 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toys-core
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.25.1
131
+ version: 1.36.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.25.1
138
+ version: 1.36.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop-performance
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -184,8 +184,8 @@ licenses:
184
184
  - MIT
185
185
  metadata:
186
186
  bug_tracker_uri: https://github.com/Wayfer/flame_deploy_toys/issues
187
- changelog_uri: https://github.com/Wayfer/flame_deploy_toys/blob/v0.5.0/CHANGELOG.md
188
- documentation_uri: http://www.rubydoc.info/gems/flame_deploy_toys/0.5.0
187
+ changelog_uri: https://github.com/Wayfer/flame_deploy_toys/blob/v0.6.0/CHANGELOG.md
188
+ documentation_uri: http://www.rubydoc.info/gems/flame_deploy_toys/0.6.0
189
189
  homepage_uri: https://github.com/Wayfer/flame_deploy_toys
190
190
  rubygems_mfa_required: 'true'
191
191
  source_code_uri: https://github.com/Wayfer/flame_deploy_toys