bastion 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjQxZjc5ZTdiMjlhZTQyYWI4M2VlZmI0ZDU3MDJlZjE2ZjA2ODJjMA==
4
+ NDgyM2Y4M2Y0YWMyMjA1OGRlNTZlNmRhNWQzYTA3MzZmYmViMGE1ZA==
5
5
  data.tar.gz: !binary |-
6
- NzE1Zjc1MWU1M2Q3Y2Q5ZDZlZjA3ZTRhYzMyOTVkNGVmNjU2NzJiYw==
6
+ ZTQ4MDdmOGUyMTRkZmNjOTVlNTNlMWZiNTI5OTU5NDBhNWU4Y2I0MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmU4ODI0ZWNkZTIyMGZkZWRiMDNmMjg1ZjFhOGRkY2JjNGRlNmI3M2E4ODA2
10
- NDNjMjk1ZmMxNjczZDUwZjZlMjEyN2UzYjk5NGIzZWY3NDdhODZlZWMyMDA1
11
- YmE3ODE1YjQ3NDU1YWNiMmVhMmFhOWYzMzc5YmU3OTAxYTM3ODQ=
9
+ N2Y1MGVmN2NmZDdlMTAxZDM3Y2RjNWFhMTZjNjQ1NzhjOTUzMzBjZjU4NmM3
10
+ YTlhYjVmMWRkYmUxNzE3OTU3MGRiYzhiOGI4Y2MxN2Q3Mjg2NjFkNDA5YTE5
11
+ MmY2MzUyOGVmZmNjOGI3YjUwNWQxOTlhNDQ0ZmVhYzExNjA5NmU=
12
12
  data.tar.gz: !binary |-
13
- OGY3ZjU3ZjY4NWNhNjk0ZjE5OTY4MDAzNGIzYzM3MzIyZjQ1NGU4YmMxNjhi
14
- NWYyYTU2N2Y1OTZhMGJiYTVhNTMxYzg0ZTAxZjdlMjJmOGExODhmNzMzNWM2
15
- Yjg2ZTYyYWY5OTYxZjFjNDI3MmZhNWVlZDM5MjU1NjIzOWNlZWI=
13
+ YTcyMDc4YWU3NzE1MjE1MDE1OTQzZTkwMGM5YzFiZmZlODRkYjAwZjg1ODY4
14
+ MjU3NmI1OTQzMWJmYTViYzQ3OWQ5NTEyMTkyZWE4YzkzMWU5YmYwYzU2OTg5
15
+ ZTlhZDg5NDQ5OGFlYzYxYjgwZjc1MTRmYzdlZmI4ZjZjMGEwMTk=
@@ -353,6 +353,11 @@ angular.module('Bastion.components').factory('Nutupane',
353
353
  self.table.rows = [];
354
354
  self.query();
355
355
  };
356
+
357
+ self.setSearchKey = function (newKey) {
358
+ self.searchKey = newKey;
359
+ self.table.searchTerm = $location.search()[self.searchKey];
360
+ };
356
361
  };
357
362
  return Nutupane;
358
363
  }]
@@ -1,3 +1,8 @@
1
+
2
+ .modal-dialog {
3
+ word-wrap: break-word;
4
+ }
5
+
1
6
  // Third-party Libraries
2
7
  //
3
8
  // Temporary namespace to prevent Boostrap3/RCUE from
@@ -52,6 +52,10 @@ td.row-select {
52
52
  tr.focus td, tr.focus td a {
53
53
  background-color: @listhover_color;
54
54
  color: #FFF;
55
+
56
+ button {
57
+ color: #000;
58
+ }
55
59
  }
56
60
 
57
61
  tr.active, tbody tr:hover, tr.selected-row td {
@@ -29,3 +29,7 @@ pre {
29
29
  border-radius: 3px;
30
30
  margin: 15px 5px;
31
31
  }
32
+
33
+ .alert {
34
+ word-wrap: break-word;
35
+ }
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
@@ -233,6 +233,11 @@ describe('Factory: Nutupane', function() {
233
233
  expect(translated[2]).toBe(data[1]);
234
234
  });
235
235
 
236
+ it("provides a way to change the searchKey", function() {
237
+ nutupane.setSearchKey("keyFoo");
238
+ expect(nutupane.searchKey).toBe("keyFoo");
239
+ });
240
+
236
241
  it("autocompletes using the original resource if possible", function() {
237
242
  var data;
238
243
  Resource.autocomplete = function() {return ["foo"]};
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bastion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D Helms
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-15 00:00:00.000000000 Z
12
+ date: 2015-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: angular-rails-templates