sparrowhawk 0.9.2 → 0.9.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.9.3 (29 December 2010)
2
+
3
+ * Bugs
4
+
5
+ * GEM_HOME is not always set by bundler. (https://www.pivotaltracker.com/story/show/8028577)
6
+
1
7
  ## 0.9.2 (29 December 2010)
2
8
 
3
9
  * Features
@@ -45,7 +45,7 @@ module Sparrowhawk
45
45
  end
46
46
 
47
47
  def cached_bundler_gem_path
48
- File.join ENV['GEM_HOME'], "cache", "bundler-#{::Bundler::VERSION}.gem"
48
+ File.join ENV['GEM_HOME'] || ::Bundler.bundle_path.to_s, "cache", "bundler-#{::Bundler::VERSION}.gem"
49
49
  end
50
50
 
51
51
  def gem_from_file_by_path path
data/lib/sparrowhawk.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'bundler'
2
2
 
3
3
  module Sparrowhawk
4
- VERSION = "0.9.2"
4
+ VERSION = "0.9.3"
5
5
 
6
6
  autoload :War ,'sparrowhawk/war'
7
7
  autoload :Configuration ,'sparrowhawk/configuration'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparrowhawk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 2
10
- version: 0.9.2
9
+ - 3
10
+ version: 0.9.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan L. Bell