biosphere 0.1.2 → 0.1.3

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: 045992d0dc9ffbcdd966f6ff94110d9d9e8b5378
4
- data.tar.gz: 9002f10cb4b3dccbf4b0fd9d22400c81e0053afe
3
+ metadata.gz: 5a09baa3168d24024485d8d1fc336955a07da78d
4
+ data.tar.gz: a0af1f880748879ab3fe3125d2afa34bd2a723ac
5
5
  SHA512:
6
- metadata.gz: f4f2c56774a1236da21a63956b7487b7f7e04b9f1d6524ed1b03666cd21c58fc6cea82835f6a7ceb31e091904ddb4256e1c76cbc6129ed812f21a2371419e2f6
7
- data.tar.gz: 80026305f5df130666ad2e3e1d4706560a84392c1d32eb8197a42df6a435d47c7d104b54e63b2c0fbe0e1dfbeb1a9a15c1c5abf78e8f83848bb9b8c4ccd6feda
6
+ metadata.gz: 5806114e4339ff79572505bcc5eead9d3e1baace226030f3e32b5e949d039094f9cf2e1ee290aa443c1f486cd5f8429a34ce5d8d4b90f6e0200572cb65404da0
7
+ data.tar.gz: b6dd28e0a8a22036f87ca13f6b95491227daffa6f408644f32372ce6d5a0fb505e5a10141f56788c257da695d8a4fb7aa6f06e9521571c3afd7c1c810a5754e3
@@ -81,7 +81,8 @@ class Biosphere
81
81
 
82
82
  # Finds files from relative path
83
83
  def find_files(p)
84
- entries = Dir[($current_biosphere_path_stack + "/" + p)] - [".", ".."]
84
+ relative_path = $current_biosphere_path_stack + "/" + p
85
+ entries = Dir[(relative_path)] - [".", ".."]
85
86
  return entries
86
87
  end
87
88
 
@@ -157,6 +157,7 @@ class Biosphere
157
157
 
158
158
  # Restore it as we are unwinding the call stack
159
159
  @src_path.pop
160
+ $current_biosphere_path_stack = @src_path.last
160
161
  end
161
162
 
162
163
  include Biosphere::Mixing::FromFile
@@ -1,3 +1,3 @@
1
1
  class Biosphere
2
- Version = "0.1.2"
2
+ Version = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biosphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juho Mäkinen