albacore 2.3.7 → 2.3.8

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: 6bc15d7c32f051866b973d2e66c39a3548a98d23
4
- data.tar.gz: 4a222f833a8e5d952e760a266d5427510332d89a
3
+ metadata.gz: a78cede1e5816508460fa6f3e7a2817ae80b2e06
4
+ data.tar.gz: a5bdeddc75f7217862ae4636223fa0ebebe2844f
5
5
  SHA512:
6
- metadata.gz: b1da42489a9ce91d28938b74345cc2c72ee3c83d95670e8bba9d0537de9b27ff5eeee77e6cb045bfc295790abf36434cad6e4b4effb22f0d49b74c79cae28dd1
7
- data.tar.gz: 672d2aa7f7c909b198c7eeb51e0cd63fdb034cc1d7983c632deb51433a3f2070900810c0d555ee081cc61bb232ede4afe04520debb978ad15856bbbbd7bf1692
6
+ metadata.gz: 5fb916ee2b72ca1c63ff64175132ce1b210a851e6e9b492a732bc8faa9bb4b696a1665aec207ab394574fc74f75be2e560c3dc78a91d7a018f06c79221ac60c3
7
+ data.tar.gz: 5ff100dac4c11ede4e9f4ce60f7ee56535ecb151c714e78ce81dbf9ea0e58939994f03849e198ea228880ac8b1f4ecb46323aa4c262d22caa20d73e1ad52d470
@@ -44,11 +44,11 @@ end})
44
44
  %{def #{sym}= val
45
45
  @#{sym} = ::Albacore::Paths.normalise_slashes val
46
46
  __on_#{sym} @#{sym}
47
- end})
47
+ end})
48
48
  self.class_eval(
49
49
  %{def #{sym}
50
50
  @#{sym}
51
- end})
51
+ end})
52
52
  end
53
53
  end
54
54
  end
@@ -55,7 +55,7 @@ module Albacore
55
55
  attr_path_accessor :file_path
56
56
 
57
57
  # the namespace to output into the version file
58
- attr_writer :namespace
58
+ attr_accessor :namespace
59
59
 
60
60
  # (optional) output stream
61
61
  attr_writer :out
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.3.7"
2
+ VERSION = "2.3.8"
3
3
  end
@@ -31,7 +31,12 @@ describe ::Albacore::Asmver::Config, 'when setting attributes and out' do
31
31
  it 'should allow changing attributes' do
32
32
  expect(subject).to respond_to :change_attributes
33
33
  end
34
-
34
+ it 'should allow reading namespace' do
35
+ expect(subject.namespace).to eq 'Hello.World'
36
+ end
37
+ it 'should allow reading file_path' do
38
+ expect(subject.file_path).to eq 'Version.fs'
39
+ end
35
40
  it 'should allow getting and setting attributes' do
36
41
  subject.change_attributes do |as|
37
42
  as[:a_key] = '123'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.7
4
+ version: 2.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Feldt