blazing 0.0.10 → 0.0.12

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blazing (0.0.10)
4
+ blazing (0.0.12)
5
5
  activesupport (>= 3.0.5)
6
6
  grit
7
7
  i18n
data/bin/blazing CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ require 'bundler'
3
4
  Bundler.setup
4
5
 
5
6
  require 'thor'
data/blazing.gemspec CHANGED
@@ -13,7 +13,8 @@ Gem::Specification.new do |s|
13
13
  s.description = %q{git push deployent utility, ready to be extended by your own recipes}
14
14
  s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
+ # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.executables = ["blazing"]
17
18
  s.require_paths = ["lib"]
18
19
 
19
20
  # TODO: better to use ~ ?
@@ -1,10 +1,12 @@
1
1
  #!/bin/bash
2
2
 
3
3
  cd ..
4
- rvm=$(blazing rvm)
4
+ unset GIT_DIR
5
+
6
+ rvm=$(bundle exec blazing rvm)
5
7
 
6
8
  if [ $rvm != 'false' ]; then
7
9
  rvm use $rvm
8
10
  fi
9
11
 
10
- blazing post_receive
12
+ bundle exec blazing post_receive
@@ -23,7 +23,7 @@ module Blazing
23
23
  end
24
24
 
25
25
  def set_git_dir
26
- Dir.chdir('.git')
26
+ ENV['GIT_DIR'] = '.git'
27
27
  end
28
28
 
29
29
  def reset_head!
@@ -1,3 +1,3 @@
1
1
  module Blazing
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: blazing
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.10
5
+ version: 0.0.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Felipe Kaufmann
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-15 00:00:00 Z
13
+ date: 2011-07-18 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- hash: 1710367293229875195
126
+ hash: 777711064405027808
127
127
  segments:
128
128
  - 0
129
129
  version: "0"
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
133
  - - ">="
134
134
  - !ruby/object:Gem::Version
135
- hash: 1710367293229875195
135
+ hash: 777711064405027808
136
136
  segments:
137
137
  - 0
138
138
  version: "0"