popcap 0.9.1 → 0.9.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f501af71b14eab9cff56922ad86d1fee90ec7708
4
- data.tar.gz: 97f10f4e8c30933e78d4922ff21232d8e6466a4d
3
+ metadata.gz: 3b5015395f59243962df0c16cdf70a6e9c9de3d6
4
+ data.tar.gz: 7b0608fa5fc3f5fc7e69a8d8e03cb6fb37706cf7
5
5
  SHA512:
6
- metadata.gz: 75e71de1d63cf22702446139ea76813f09630663ef56d51c13f924a06521fa70f473536ed1517e1b9d413eec12abc1e80ab3a0758bce56e0b450c553625f5263
7
- data.tar.gz: e50eeafcb45b0f6d545a883def105c6507215eb43fa0300aed436aa633cb160678c104c18ec3b7a09a954b029c6333df99730219c7db9b35bf618491998b85cf
6
+ metadata.gz: cccf719a0f07c5c48ccca22fa2a8b5c13486dac590d987af767beabe402712bd4073b94c7312c39ad54ee6cbfddc11a5dc122f1f0d30cfff147954aac0c51d52
7
+ data.tar.gz: 0cdd2167a5b1e03ed808a944754ed2ca1d5908e07889c63523f073ea1c96def37dc1f25aefdfba2e0f52133845a9fb2d7dbbb31f0605ed9d0c9b685e1b2d3b47
@@ -169,6 +169,7 @@ module PopCap
169
169
  def update(updates={})
170
170
  TagWriter.write(filepath, updates)
171
171
  self.reload!
172
+ self.tags
172
173
  end
173
174
  end
174
175
  end
@@ -1,3 +1,3 @@
1
1
  module PopCap
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
@@ -102,6 +102,11 @@ module PopCap
102
102
  audio_file.update(updates)
103
103
  expect(audio_file.tags.artist).to eq 'New Artist'
104
104
  end
105
+
106
+ it 'returns updated hash' do
107
+ updates = {artist: 'New Artist'}
108
+ expect(audio_file.update(updates)).to eq audio_file.tags
109
+ end
105
110
  end
106
111
 
107
112
  describe '#convert' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popcap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Culley Smith