minimum-term 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -2
- data/lib/minimum-term/consume_contract.rb +8 -0
- data/lib/minimum-term/publish_contract.rb +1 -1
- data/lib/minimum-term/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: bd99082e8bf637a89f103afa0d127ea4041bbccd
|
4
|
+
data.tar.gz: 7b64bef3c97149111aedbbf8a7f8fdb148c490e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf9603e5b45344d5f69c635ce0dcf00036965a8c753d7e8a72b6c665ba1d6629726a99aac983e7e9f5543ac4c61c9b41dc90e1f8e1fc044f8dc354ce7005ba7b
|
7
|
+
data.tar.gz: ba5b5ca716bfbd8013afb287723de872fb39c743f7f1a446ac11d7582e2879a9dbfba66ea0fe751a9e70a477cbeb82df5a85e44c35f0f7134e27a5cfdcca3ffe
|
data/CHANGELOG.markdown
CHANGED
@@ -5,5 +5,13 @@ module MinimumTerm
|
|
5
5
|
def object_description_class
|
6
6
|
MinimumTerm::ConsumedObject
|
7
7
|
end
|
8
|
+
|
9
|
+
def scoped_schema(service)
|
10
|
+
filtered_schema = schema.clone
|
11
|
+
schema['definitions'].select! do |k|
|
12
|
+
k.underscore.start_with?(service.name.underscore+MinimumTerm::SCOPE_SEPARATOR)
|
13
|
+
end
|
14
|
+
filtered_schema
|
15
|
+
end
|
8
16
|
end
|
9
17
|
end
|
data/lib/minimum-term/version.rb
CHANGED