rails-zero 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: e1e5f3f9850ed12f2b09b89df96fcab7c4eefa85
4
- data.tar.gz: 15c379cbae6637f74d6a03577d6e7d7f9521678a
3
+ metadata.gz: 39d128d197f48daeed0577e2b82176787f0af4fe
4
+ data.tar.gz: 8a43d0900ec5f6eb4a78a7f5e37e34bbfafcc436
5
5
  SHA512:
6
- metadata.gz: 36e673b2eaad22ee08395cd664410825e5da65902dc94e14996bc29f3c07e3e384545edb0f358febb0a97cd6c7845f552dc051b6a703726cfe2e51f16a419e0d
7
- data.tar.gz: 362daf4242fb2277b7e1c7ee5625b00cf57444e09c49093f9f66536fd1cd5b55b64c437e918b3c33d510b6c5e0a1ab83c9213dd501aebb79d0499e3c80f27d2f
6
+ metadata.gz: 82be9a1e77ce7075b56ec327299f3385351c918808f69ceb82809b29c6097aad9e6b9d71db1b9594d5c21292522092ff5dbf39b306aef3e4c02d7205bfedf055
7
+ data.tar.gz: b68bc9ab7ed2e2c6fc05b8e9592b9b9534a4320784e95ec993966ec15cca01a07cf35c16061803930d42b1a72ed8a2fbc9851dfb2d80257324fc6514157ae262
@@ -11,6 +11,7 @@ module RailsZero
11
11
  FileUtils.mkdir_p(File.dirname(download_destination))
12
12
  command = "curl #{remote_url} > #{download_destination}"
13
13
  stdout_str, stderr_str, status = Open3.capture3(command)
14
+ Rails.logger.error stderr_str
14
15
  end
15
16
  end
16
17
  end
@@ -1,8 +1,6 @@
1
1
  module RailsZero
2
2
  class GitDeployer
3
3
  def run
4
- remove_dir
5
- create_dir
6
4
  extract_package
7
5
  push_package
8
6
  end
@@ -1,3 +1,3 @@
1
1
  module RailsZero
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -5,8 +5,13 @@ namespace :rails_zero do
5
5
  end
6
6
 
7
7
  namespace :deploy do
8
+ desc 'Download'
9
+ task :prepare => :environment do
10
+ RailsZero::PackagesClient.new.get
11
+ end
12
+
8
13
  desc 'Git deployment'
9
- task :git do
14
+ task :git => :prepare do
10
15
  RailsZero::GitDeployer.new.run
11
16
  end
12
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Bissinger