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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b0b0ef00becfafd5985cca205bc28dc4b40e03d
4
- data.tar.gz: b9ca759b19c08d11b3cff9b0ef57266b8dcdd79d
3
+ metadata.gz: bff7fa716d64ecf217102ec4c36cb53c052621ab
4
+ data.tar.gz: 372c8c5e252e0bff274a3c0d5f105d16deb515cc
5
5
  SHA512:
6
- metadata.gz: 5be12fcd7c6953e2efe8ad8e43c6fdb89042e0888dcd4f58d4c9d4c27e254e2a55cb0ec208dcd1ecb299cb3573cae74673e2c605428a68a1e5b7f88e6c937bfd
7
- data.tar.gz: ac3a95e8de02cff3e6d8fc0a0f6c2384d1b56e0011ad516db8264056fd144df6d49b6693cd7dae3e3d247fc1262da915f190d107b6b8c034b34471117b4602ba
6
+ metadata.gz: d2c4326ada2a6b7bc8b72ab28ca0cd87ee945a8086f096511accd18585d060f7304bc06649ed9abbff3d970e912960e069f8ec73e4ef0888140ca075fc8568ac
7
+ data.tar.gz: f59b8ce34535a3294523f947abcda452b6b587c31c31a0a7c02c1cf19bb4a826c1cfbce37cd092cbe137900c0b8fc539761eefd62ca1e679ea0721a842101bf1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## next
4
4
 
5
+ ## 0.17.1
6
+
7
+ * Fixes an issue that would make exported documentation broken.
8
+ * Fixes an issue that would make the version selector broken.
5
9
 
6
10
  ## 0.17.0
7
11
 
@@ -30,7 +30,8 @@ app.provider('templateFor', function() {
30
30
  resolvers.unshift(resolver);
31
31
  };
32
32
 
33
- this.register(/*ngInject*/function payloadResolver($family, $requestedTemplate) {
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(/*ngInject*/function typeResolver($family, $type, $requestedTemplate) {
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(/*ngInject*/function labelResolver($typeDefinition, $requestedTemplate, primitives) {
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 class="btn-group" dropdown is-open="status.isopen">
6
- <button type="button" class="btn btn-success dropdown-toggle" ng-disabled="disabled">
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>
@@ -1,3 +1,3 @@
1
1
  module Praxis
2
- VERSION = '0.17.0'
2
+ VERSION = '0.17.1'
3
3
  end
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.0
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-07-24 00:00:00.000000000 Z
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.4.5
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.