aerosol 1.5.1 → 1.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
  SHA1:
3
- metadata.gz: e44c2af5b56fc29327f30ec3f2c7c79bdbbde1a6
4
- data.tar.gz: cdaa27889a78ca44b8dd90bb07ab07b590227fa7
3
+ metadata.gz: 5a96e75a7639dbf9316f223618691dd84549339a
4
+ data.tar.gz: 477c9f72cb6475f12f7122983f9f78925cced019
5
5
  SHA512:
6
- metadata.gz: a92b079896a367f90f0fd26d76fcba367fa0287e5b9a2e755cc44ecb8705f273e20dffd078aeecc8e7687d0a7e06c4de926ac89fa9934c65fd84a5f4ddcd9455
7
- data.tar.gz: 8d7da73ca62a28df467a723f578ae0c1ecfe38deb42c2753fc4b36b13b021e02a3c07bedd466d09c862071c97e6cba77644c7ee2ddabb7ce6e6cb40822e82d4b
6
+ metadata.gz: 86a6bdc81fee94cc1a8288afee120d949483ea541affb17c72818d662e73f5097b8c20155be380166a9cea66c4a16bd7ed90c020fa2d06c36b44bc1d24bc53ed
7
+ data.tar.gz: 92ddc9ebeca1dc6119be18aa898f7d0771b32f4dd77380b85af04e5bad9c6e2953be11d10a7b34a5958f930fe58925a26527812f35aa4b8c04b16da43d4a5ef5
data/aerosol.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.add_dependency 'clamp', '~> 0.6'
20
20
  gem.add_dependency 'excon'
21
21
  gem.add_dependency 'aws-sdk', '~> 2.0'
22
- gem.add_dependency 'grit'
22
+ gem.add_dependency 'minigit', '~> 0.0.4'
23
23
  gem.add_dependency 'net-ssh'
24
24
  gem.add_dependency 'net-ssh-gateway'
25
25
  gem.add_dependency 'dockly-util', '~> 0.1.0'
@@ -1,6 +1,5 @@
1
1
  require 'socket'
2
2
  require 'active_record'
3
- require 'grit'
4
3
  require 'timeout'
5
4
 
6
5
  class Aerosol::Runner
data/lib/aerosol/util.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'grit'
1
+ require 'minigit'
2
2
 
3
3
  module Aerosol::Util
4
4
  extend self
@@ -32,10 +32,10 @@ module Aerosol::Util
32
32
  end
33
33
 
34
34
  def git_repo
35
- @git_repo ||= Grit::Repo.new('.')
35
+ @git_repo ||= MiniGit.new('.')
36
36
  end
37
37
 
38
38
  def git_sha
39
- @git_sha ||= git_repo.git.show.lines.first.chomp.match(/^commit ([a-f0-9]+)$/)[1][0..6] rescue 'unknown'
39
+ @git_sha ||= git_repo.capturing.rev_parse('HEAD').chomp[0..6] rescue 'unknown'
40
40
  end
41
41
  end
@@ -1,5 +1,5 @@
1
1
  # Copyright Swipely, Inc. All rights reserved.
2
2
 
3
3
  module Aerosol
4
- VERSION = '1.5.1'
4
+ VERSION = '1.6.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aerosol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -67,19 +67,19 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: grit
70
+ name: minigit
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.0.4
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.0.4
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: net-ssh
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -293,3 +293,4 @@ test_files:
293
293
  - spec/aerosol_spec.rb
294
294
  - spec/spec_helper.rb
295
295
  - spec/support/vcr.rb
296
+ has_rdoc: