yuyi 1.0.7 → 1.0.8
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/.new +1 -1
- data/lib/yuyi/roll.rb +2 -2
- 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: 203ad92f0e745cf89b54573f527c394a60439303
|
|
4
|
+
data.tar.gz: 299ebb8945ca5f5bacba612a53cdbc4299a80918
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 644e40acfc72c7e9086272477d422f2553faedcec7d7032d8aadb82fca68a3f92f12b01829601c7a1b51f20fdffa5eeb55e8573b6f752ddeecbaca74d2d17590
|
|
7
|
+
data.tar.gz: 2cceb2a79be1ddde99527e70c50eda2c18f295770a5945e9e682c7b3cd7004e2d4b6be7d595406c0f046acf50c4ec8165c77c70df8843095ca15c422d7b4ea06
|
data/.new
CHANGED
data/lib/yuyi/roll.rb
CHANGED
|
@@ -173,7 +173,7 @@ private
|
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
def pre_install
|
|
176
|
-
return
|
|
176
|
+
return if self.class.installed? || !self.class.pre_install
|
|
177
177
|
say title, :type => :success
|
|
178
178
|
instance_eval(&self.class.pre_install)
|
|
179
179
|
end
|
|
@@ -188,7 +188,7 @@ private
|
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
def post_install
|
|
191
|
-
return
|
|
191
|
+
return if self.class.installed? || !self.class.post_install
|
|
192
192
|
say title, :type => :success
|
|
193
193
|
instance_eval(&self.class.post_install)
|
|
194
194
|
end
|