praxis 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/api_browser/app/js/factories/template_for.js +6 -3
- data/lib/api_browser/app/views/menu.html +5 -2
- data/lib/praxis/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff7fa716d64ecf217102ec4c36cb53c052621ab
|
4
|
+
data.tar.gz: 372c8c5e252e0bff274a3c0d5f105d16deb515cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2c4326ada2a6b7bc8b72ab28ca0cd87ee945a8086f096511accd18585d060f7304bc06649ed9abbff3d970e912960e069f8ec73e4ef0888140ca075fc8568ac
|
7
|
+
data.tar.gz: f59b8ce34535a3294523f947abcda452b6b587c31c31a0a7c02c1cf19bb4a826c1cfbce37cd092cbe137900c0b8fc539761eefd62ca1e679ea0721a842101bf1
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,8 @@ app.provider('templateFor', function() {
|
|
30
30
|
resolvers.unshift(resolver);
|
31
31
|
};
|
32
32
|
|
33
|
-
this.register(
|
33
|
+
this.register(function payloadResolver($family, $requestedTemplate) {
|
34
|
+
'ngInject';
|
34
35
|
if ($requestedTemplate === 'standalone') {
|
35
36
|
switch ($family) {
|
36
37
|
case 'hash':
|
@@ -41,7 +42,8 @@ app.provider('templateFor', function() {
|
|
41
42
|
}
|
42
43
|
});
|
43
44
|
|
44
|
-
this.register(
|
45
|
+
this.register(function typeResolver($family, $type, $requestedTemplate) {
|
46
|
+
'ngInject';
|
45
47
|
if ($requestedTemplate === 'embedded') {
|
46
48
|
if ($type === 'Links') {
|
47
49
|
return 'views/types/embedded/links.html';
|
@@ -55,7 +57,8 @@ app.provider('templateFor', function() {
|
|
55
57
|
}
|
56
58
|
});
|
57
59
|
|
58
|
-
this.register(
|
60
|
+
this.register(function labelResolver($typeDefinition, $requestedTemplate, primitives) {
|
61
|
+
'ngInject';
|
59
62
|
if ($requestedTemplate === 'label') {
|
60
63
|
if (_.contains(primitives, $typeDefinition.name)) {
|
61
64
|
return 'views/types/label/primitive.html';
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<div class="row">
|
3
3
|
<div class="col-sm-12">
|
4
4
|
<p>
|
5
|
-
<div
|
6
|
-
<button type="button" class="btn btn-success dropdown-toggle
|
5
|
+
<div ng-if="versions.length > 1" dropdown auto-close="outsideClick">
|
6
|
+
<button type="button" class="btn btn-success" dropdown-toggle ng-disabled="disabled">
|
7
7
|
{{:: versionLabel}}: {{selectedVersion}} <span class="caret"></span>
|
8
8
|
</button>
|
9
9
|
<ul class="dropdown-menu col-sm-12" role="menu">
|
@@ -12,6 +12,9 @@
|
|
12
12
|
</li>
|
13
13
|
</ul>
|
14
14
|
</div>
|
15
|
+
<div ng-if="versions.length == 1" class="btn btn-success">
|
16
|
+
{{:: versionLabel}}: {{selectedVersion}}
|
17
|
+
</div>
|
15
18
|
</p>
|
16
19
|
</div>
|
17
20
|
</div>
|
data/lib/praxis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: praxis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep M. Blanquer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
@@ -920,7 +920,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
920
920
|
version: '0'
|
921
921
|
requirements: []
|
922
922
|
rubyforge_project:
|
923
|
-
rubygems_version: 2.
|
923
|
+
rubygems_version: 2.2.2
|
924
924
|
signing_key:
|
925
925
|
specification_version: 4
|
926
926
|
summary: Building APIs the way you want it.
|