jitsu 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/jitsu.gemspec +1 -1
  3. data/lib/jitsu.rb +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/jitsu.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jitsu}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilkka Laukkanen"]
data/lib/jitsu.rb CHANGED
@@ -18,7 +18,7 @@ module Jitsu
18
18
  # @return [String] path to jitsu file or nil if not found.
19
19
  def self.jitsufile
20
20
  dir = '.'
21
- while File.expand_path(dir) != '/' do
21
+ while File.expand_path(File.join(dir, '..')) != File.expand_path(dir) do
22
22
  candidate = Dir[File.join dir, JITSU_FILE_NAME].first
23
23
  if candidate and File.readable? candidate
24
24
  return candidate.gsub /^\.\//, ''
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jitsu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ilkka Laukkanen
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- hash: 800951501
142
+ hash: -941141107
143
143
  segments:
144
144
  - 0
145
145
  version: "0"