rat_deployer 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: 6fe2ca3076952e1d8dcf4a08491fce111526a0aa
4
- data.tar.gz: 085115922ea3cb5a05c63f9f015f7c4331dcbaec
3
+ metadata.gz: 6fc1115312147c9e70bfaa521f4022d4bf27fa5b
4
+ data.tar.gz: 61402f1585e6728af319719b58278261660743cd
5
5
  SHA512:
6
- metadata.gz: 20d8cd20b31d9f13dfbab3aed434085bdda9d68d517d06837c62dca04ee49c0dccd6702018041eb105ed8333f3623c05bd031e1cd680c999d1a4b0aa0b02041a
7
- data.tar.gz: d515e185764e880b42af0293038db361469ea86dfad43ba738071d9d1799e400139a1e3b2d98201cdd1e5eab7718f21fd8b06e95c142cb92464bd917e6522012
6
+ metadata.gz: 96d026a5bbe98dabac1a8f648460a264bb7b3b4ed93efd853b30831b7867eac4d5fafb0e3fea96ad737d112322adbcb8ba791ede8012e983848f9cceb5e1685a
7
+ data.tar.gz: 5f0c83a6e97cb5e8ef998de2abab712d8ef994732ce6a42d322dbbe89212b13a64918ec50640e7edac7776a11064cb47bf67b5532bbbde8f77a9af2a08a15a77
@@ -12,9 +12,9 @@ module RatDeployer
12
12
 
13
13
  desc "deploy", "deploys current environment"
14
14
  def deploy
15
- invoke [RatDeployer::Cli::Images, :update]
16
- invoke :compose, %w[pull]
17
- invoke :compose, ["up -d"]
15
+ RatDeployer::Cli::Images.new.update
16
+ RatDeployer::Cli.new.compose('pull')
17
+ RatDeployer::Cli.new.compose('up -d')
18
18
  end
19
19
 
20
20
  desc "compose ARGS...", "runs docker-compose command with default flags"
@@ -1,3 +1,3 @@
1
1
  module RatDeployer
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
data/lib/rat_deployer.rb CHANGED
@@ -4,19 +4,6 @@ require 'rat_deployer/config'
4
4
  module RatDeployer
5
5
  def self.print_rat
6
6
  return unless RatDeployer::Config.prompt_enabled?
7
-
8
- rat = <<-RAT
9
-
10
- DEPLOY RAT
11
- (\,/) WORKING
12
- oo '''//, _
13
- ,/_;~, \, / '
14
- "' \ ( \ !
15
- ',| \ |__.'
16
- '~ '~----''
17
-
18
- RAT
19
-
20
- puts rat
7
+ puts File.read(File.join(__dir__, '../vendor/rat.txt'))
21
8
  end
22
9
  end
data/vendor/rat.txt ADDED
@@ -0,0 +1,9 @@
1
+
2
+ DEPLOY RAT
3
+ (\,/) WORKING
4
+ oo '''//, _
5
+ ,/_;~, \, / '
6
+ "' \ ( \ !
7
+ ',| \ |__.'
8
+ '~ '~----''
9
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rat_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Oga
@@ -109,6 +109,7 @@ files:
109
109
  - lib/rat_deployer/command.rb
110
110
  - lib/rat_deployer/config.rb
111
111
  - lib/rat_deployer/version.rb
112
+ - vendor/rat.txt
112
113
  homepage: http://github.com/nicooga/rat_deployer
113
114
  licenses:
114
115
  - MIT