jara 2.3.0 → 2.4.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
  SHA1:
3
- metadata.gz: 7da9b3dd096331e19b52a5b94b9d2269d1ab45d1
4
- data.tar.gz: b2d0ff5892ab0fa367b2e386256b93e4932f0f52
3
+ metadata.gz: ab0767584d121624132f11fa8a3affdc1057b78f
4
+ data.tar.gz: 1493b20afdd05c47401c6e985e5d2d8df2c48f4b
5
5
  SHA512:
6
- metadata.gz: 671127e4d12ab8ca9d231afe9a299426807fc4b324b3fc01ae2fb2666eda7d93d91ee46fb0c06c5b207ba1def8bde50256838158ce9e5b8cc40e725f8ed2c4f4
7
- data.tar.gz: 51f0c7f5e55c27cab9f06ae38f9e41f3b471b8ce39034d41bce8d57046c29e4e9639d1f31bc929b75be8343236b3f10bba74f534d487fbe6b362f8450caaf002
6
+ metadata.gz: 88f6769fe19f6203923aaf5493c3cce4893ab56c7bf3b3e35ff3a8a2648f1943f4589bfbfee414146a983f289eb7979ba038b7e47b01160da7c2326983872979
7
+ data.tar.gz: 780dedcbfffd0c65a2e91a8480bb182e3a16f1dfd9f9f140b227dc655eeced625aa79128080302d8e47d19121c6be0f788738696ed0414e8914a9a6f8e5491eb
data/lib/jara/releaser.rb CHANGED
@@ -4,9 +4,12 @@ require 'tmpdir'
4
4
  require 'fileutils'
5
5
  require 'pathname'
6
6
  require 'digest/md5'
7
- require 'aws-sdk-core'
8
7
  require 'socket'
9
-
8
+ begin
9
+ require 'aws-sdk-s3'
10
+ rescue LoadError
11
+ require 'aws-sdk-core'
12
+ end
10
13
 
11
14
  module Jara
12
15
  ExecError = Class.new(JaraError)
@@ -215,7 +218,7 @@ module Jara
215
218
  def exec(command)
216
219
  output = %x(#{command})
217
220
  unless $?.success?
218
- raise ExecError, %(Command `#{command}` failed with output: #{output})
221
+ raise ExecError, %(Command `#{command}` failed with output: #{output.inspect})
219
222
  end
220
223
  output
221
224
  rescue Errno::ENOENT => e
data/lib/jara/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Jara
4
- VERSION = '2.3.0'.freeze
4
+ VERSION = '2.4.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jara
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burt Platform Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aws-sdk-core
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">="
16
+ - - '>='
18
17
  - !ruby/object:Gem::Version
19
18
  version: '0'
20
- type: :runtime
19
+ name: aws-sdk-core
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: |-
@@ -47,24 +47,24 @@ homepage: http://github.com/burtcorp/jara
47
47
  licenses:
48
48
  - BSD-3-Clause
49
49
  metadata: {}
50
- post_install_message:
50
+ post_install_message:
51
51
  rdoc_options: []
52
52
  require_paths:
53
53
  - lib
54
54
  required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ">="
56
+ - - '>='
57
57
  - !ruby/object:Gem::Version
58
58
  version: 1.9.3
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - '>='
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubyforge_project:
66
- rubygems_version: 2.4.8
67
- signing_key:
65
+ rubyforge_project:
66
+ rubygems_version: 2.4.5
67
+ signing_key:
68
68
  specification_version: 4
69
69
  summary: Builds and publishes project artifacts
70
70
  test_files: []