artifact 0.2.2 → 0.2.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: 719a51f999e705cae119974c8879e60e7dd64180
4
- data.tar.gz: c32be0291f542afec30c81ebb0320641f25ed17e
3
+ metadata.gz: 8d9a22097a5e96b8a7532307cd4a96ac39c5e8d8
4
+ data.tar.gz: 1294c41c82ffb31a3565ce6c3f8b65879e9300a5
5
5
  SHA512:
6
- metadata.gz: 61041a7abe7fa3ed30a903dc0cbc1710a162a3a47854ba1cd2e8c49c6af4844e17e77d6f2fc659a6b43896b68203e987e72144121c896931aa020da991b28f25
7
- data.tar.gz: eaed891f54a4fff5befd17177d979109e128d9d38b9e6c25c15db95f2fcfcb591d0ee6d76e070e4e1c7d184ab11076178dfbea4f751505571b717828864f3c3d
6
+ metadata.gz: f1434a6fadc81e53a4bb2b56984d8d13c47283706c6b298e6d4359f5c57552f778781a0278ed67c6fded7c78bdaf348fe9463c824a94e92a73d5bdd9eccf0e5a
7
+ data.tar.gz: 8d89f6662399ce94422df176e46d8ec6f8af2c68001fbed0a3ad49b69e3dd01052e23e7065fa1226658ff2a0c1c720100a0236f3ed488fd04b25165a363e5474
data/lib/artifact.rb CHANGED
@@ -291,9 +291,9 @@ module Artifact
291
291
  return puts "No changes. No need to write changes to disk."
292
292
  end
293
293
 
294
- Artifact.run_hook :before_update, new_content
294
+ Artifact.run_hook :before_update, new_content, @full_path
295
295
  save(new_content)
296
- Artifact.run_hook :after_update, new_content
296
+ Artifact.run_hook :after_update, new_content, @full_path
297
297
  end
298
298
 
299
299
  def delete
@@ -1,3 +1,3 @@
1
1
  module Artifact
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artifact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-08 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler