mushin 0.36.0 → 0.38.0
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/exe/generator.rb +3 -1
- data/lib/mushin/ext.rb +9 -7
- data/lib/mushin/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: 573eda23321efec6f16f6fcbe5a3909c2a200760
|
4
|
+
data.tar.gz: f65d54ee36ec939da1998e82e308a8f6d534ce99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 809bd85a5ed9df1d7832bdb4ebeefb1111c40c9618f57f9ca078ef32c9d73d31d136bdd2286eefb882c67adbb684304e85041ca5507a8c7bb411fcdb42d09f71
|
7
|
+
data.tar.gz: 6933c29e08c135609e0874793ad42884ef00feca96df8f8639ba899e412be4fa8fb0d79b64fa9e5c867fcd3ac67fd05189ab6536b931e44314112f3733ae4b42
|
data/exe/generator.rb
CHANGED
data/lib/mushin/ext.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
module Mushin
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
module Ext
|
3
|
+
refine Class do
|
4
|
+
def initialize app
|
5
|
+
raise NotImplementedError, "Mushin Extenstions implement :initialize that takes an app"
|
6
|
+
end
|
7
|
+
def call env
|
8
|
+
raise NotImplementedError, "Mushin Extenstions implement :call that takes an env"
|
9
|
+
end
|
10
|
+
end
|
9
11
|
end
|
10
12
|
end
|
data/lib/mushin/version.rb
CHANGED