artifact 0.2.2 → 0.2.3
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 +4 -4
- data/lib/artifact.rb +2 -2
- data/lib/artifact/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d9a22097a5e96b8a7532307cd4a96ac39c5e8d8
|
|
4
|
+
data.tar.gz: 1294c41c82ffb31a3565ce6c3f8b65879e9300a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/artifact/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|