carbide 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carbide/task.rb +17 -0
- data/lib/carbide/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133d7a0f39bf2fe0b0f683ceb24d5bc05d4d0e03
|
4
|
+
data.tar.gz: c712d2c22b14c25a2dbf883ff556fb6e23e61669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64a9cabc798f83a6acfdc861c7bdff3c887ab215f8ad79e883c168d469540e7ca0a5e58ef3461718762de9f0eb1de7dca7e06c7e2109994399d902a34dca298f
|
7
|
+
data.tar.gz: 4619ce4b6905120500735b2e52ff37b24e40f71a6a3618c3fd2af66dc18f8057f6f311364e381cac24293459ad0aa4d52d780f2caf020cbbda88254ba61ea79f
|
data/lib/carbide/task.rb
CHANGED
@@ -66,5 +66,22 @@ module Carbide
|
|
66
66
|
actions.clear
|
67
67
|
self
|
68
68
|
end
|
69
|
+
|
70
|
+
def clear_pre_tasks
|
71
|
+
pre_tasks.clear
|
72
|
+
self
|
73
|
+
end
|
74
|
+
|
75
|
+
def clear_post_tasks
|
76
|
+
post_tasks.clear
|
77
|
+
self
|
78
|
+
end
|
79
|
+
|
80
|
+
def clear
|
81
|
+
clear_actions
|
82
|
+
clear_pre_tasks
|
83
|
+
clear_post_tasks
|
84
|
+
self
|
85
|
+
end
|
69
86
|
end
|
70
87
|
end
|
data/lib/carbide/version.rb
CHANGED