utter 1.0.23 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utter.rb +5 -11
- 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: cea8b50ef7ff40e37ac56b5c842a5f68a928268d
|
4
|
+
data.tar.gz: 5339de84fbd42e5a7c856113677fb2a617d0f43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8141787c464f05a48afdbda0dd2e2454bd43451f87f86bd2eb8bb48d9ed65fdf5f04169ee1a290de9400e7ec1dd26a35f69e92dc4c470c41e746e48a1430e9b1
|
7
|
+
data.tar.gz: 80d0be201846e04561dcfb8645cd4337951eeb1619bcbe5dcc3076f8b4ac7646c6c7ceeb62869dbdf586e3f289f31094cd2229e084183684b0806ee5513b6a49
|
data/lib/utter.rb
CHANGED
@@ -16,7 +16,7 @@ module Utter
|
|
16
16
|
# MAJOR version when you make incompatible API changes
|
17
17
|
# MINOR version when you add functionality in a backwards-compatible manner
|
18
18
|
# PATCH version when you make backwards-compatible bug fixes.
|
19
|
-
VERSION = "1.0
|
19
|
+
VERSION = "1.1.0"
|
20
20
|
|
21
21
|
$log = Logger.new(STDOUT)
|
22
22
|
|
@@ -60,22 +60,16 @@ module Utter
|
|
60
60
|
# the right tool for the job. Example SSD for somthing, and Redis for some Caching microservice, etc.
|
61
61
|
end
|
62
62
|
|
63
|
+
# Makes sure that any class that inherits form "< Utter::Ext" must implement :initialize and :call
|
64
|
+
class Ext < Mushin::Ext
|
65
|
+
end
|
66
|
+
|
63
67
|
class Context
|
64
68
|
def initialize &block
|
65
69
|
instance_eval &block if block_given?
|
66
70
|
end
|
67
71
|
end
|
68
72
|
|
69
|
-
# Makes sure that any class that inherits form "< Utter::Ext" must implement :initialize and :call
|
70
|
-
class Ext
|
71
|
-
def initialize
|
72
|
-
raise NotImplementedError, "Utter Extenstions implement :initialize"
|
73
|
-
end
|
74
|
-
def call
|
75
|
-
raise NotImplementedError, "Utter Extenstions implement :call"
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
73
|
class Auth
|
80
74
|
end
|
81
75
|
|