heroku-bartender 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -39,3 +39,8 @@ You can specify a command to run before deployment.
39
39
  4. Styling view
40
40
  5. Async build
41
41
  6. Integration with CI servers
42
+
43
+ # Special Thanks go out to:
44
+ * [Art.sy](http://art.sy/) for let me use 'office' hours to work in this project
45
+ * [@abuiles](https://github.com/abuiles) for the super-cool-name
46
+
@@ -20,13 +20,13 @@ module Heroku
20
20
 
21
21
  def self.move_to release, predeploy, heroku_remote
22
22
  @@last_error = nil
23
- if ! predeploy.nil?
23
+ if predeploy && ! predeploy.strip.empty?
24
24
  rc = system(predeploy)
25
25
  if rc.nil? || ! rc
26
- raise "Error executing '#{predeploy}': #{$?}"
26
+ raise "Error executing pre-deploy command '#{predeploy}': #{$?}"
27
27
  end
28
28
  end
29
- repo = Grit::Repo.new('.')
29
+ repo = Grit::Repo.new('.')
30
30
  if ! repo.remote_list.include?(heroku_remote)
31
31
  raise "No such remote `#{heroku_remote}`"
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Heroku
2
2
  module Bartender
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,70 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: heroku-bartender
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.4
4
5
  prerelease:
5
- version: 0.3.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Sebastian Arcila-Valenzuela
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-11 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-06 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rspec
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2156324020 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
24
22
  type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: grit
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2156324020
25
+ - !ruby/object:Gem::Dependency
26
+ name: grit
27
+ requirement: &2156322620 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
34
32
  version: 2.4.1
35
33
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: sinatra
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2156322620
36
+ - !ruby/object:Gem::Dependency
37
+ name: sinatra
38
+ requirement: &2156321740 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
45
43
  version: 1.2.0
46
44
  type: :runtime
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: choice
50
45
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2156321740
47
+ - !ruby/object:Gem::Dependency
48
+ name: choice
49
+ requirement: &2156321180 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
56
54
  version: 0.1.4
57
55
  type: :runtime
58
- version_requirements: *id004
56
+ prerelease: false
57
+ version_requirements: *2156321180
59
58
  description: Ruby gem to handle releases in heroku.
60
59
  email: sebastianarcila@gmail.com
61
- executables:
60
+ executables:
62
61
  - heroku-bartender
63
62
  extensions: []
64
-
65
63
  extra_rdoc_files: []
66
-
67
- files:
64
+ files:
68
65
  - README.markdown
69
66
  - Rakefile
70
67
  - LICENSE
@@ -80,31 +77,26 @@ files:
80
77
  - bin/heroku-bartender
81
78
  homepage: http://github.com/sarcilav/heroku-bartender
82
79
  licenses: []
83
-
84
80
  post_install_message:
85
81
  rdoc_options: []
86
-
87
- require_paths:
82
+ require_paths:
88
83
  - lib
89
- required_ruby_version: !ruby/object:Gem::Requirement
84
+ required_ruby_version: !ruby/object:Gem::Requirement
90
85
  none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- version: "0"
95
- required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
91
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: "0"
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
101
96
  requirements: []
102
-
103
97
  rubyforge_project:
104
- rubygems_version: 1.7.2
98
+ rubygems_version: 1.8.5
105
99
  signing_key:
106
100
  specification_version: 3
107
- summary: "See example: https://github.com/sarcilav/heroku-bartender/blob/master/README.markdown"
101
+ summary: ! 'See example: https://github.com/sarcilav/heroku-bartender/blob/master/README.markdown'
108
102
  test_files: []
109
-
110
- has_rdoc: false