decode 0.10.0 → 0.10.1

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
  SHA256:
3
- metadata.gz: fd42fdf97af9b39dd08a24eb01bf8e165f5f5b5af934024789d14e68d007d68b
4
- data.tar.gz: dd47038eaacad07b6a00a28cd7942ccf397fbee3f86245277658bbc8988e3189
3
+ metadata.gz: 550e3f090191dd16e7977c43c25124af8f491b723164b140abcda0d9a0cb697c
4
+ data.tar.gz: 662df9a115c165cdf69bd5de2e1dbe2f89af968209a9202955dd37399ecadf3b
5
5
  SHA512:
6
- metadata.gz: 39d1157dab86e1200394f89e19b8996f974ce62fee7843cebe1b9a4f9637cdf68629d91d431f2be7af77697443fefed8ad80b60b9297e284ca4ad65c42355990
7
- data.tar.gz: 1385928ab0ec53208ddaffb9acceb2c2da1bd976ecea650291564e30b0d7191aded0f2d2b6946815a16f48534602f3ac365ed0c143e831bdb052704907bc2eb1
6
+ metadata.gz: cda2284be27c82918e3f9a7bb3e3c597ff5ef2f57c89d8d25eff14d65407ee3d379b7863688942de4186f026aee5ae35134bfb175d0cf0d1da4df80bc06b3355
7
+ data.tar.gz: 28731d765443e79141d0f23b3543f8665ac69a7f52830ae3462540d7e64924cc9764e614fa9b7b25f274c7be9fc38a02024fb756d16bb5c53b095cf283292147
@@ -90,10 +90,10 @@ module Decode
90
90
  @path
91
91
  elsif @parent
92
92
  # Merge with parent:
93
- @path = [*@parent.path, @name]
93
+ @path = [*@parent.path, @name].freeze
94
94
  else
95
95
  # At top:
96
- @path = [@name]
96
+ @path = [@name].freeze
97
97
  end
98
98
  end
99
99
 
data/lib/decode/index.rb CHANGED
@@ -72,7 +72,7 @@ module Decode
72
72
  if reference.absolute? || relative_to.nil?
73
73
  lexical_path = []
74
74
  else
75
- lexical_path = relative_to.path
75
+ lexical_path = relative_to.path.dup
76
76
  end
77
77
 
78
78
  path = reference.path
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Decode
22
- VERSION = "0.10.0"
22
+ VERSION = "0.10.1"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams