oxen_account 0.2.9 → 0.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfbe2c62b66079cc9d4a9d037be74aa17d7e2251
|
4
|
+
data.tar.gz: fc00b920a302c1eee18a561a32c136d9cbedf9cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bae364ac4291f7ada1855c0a5918470a3b78a89e5e28e58227da630b72a80ec41484f790ca045e1c27e6c37783dc330a12ce700c7e8f7c1ec93e3fed0d38c098
|
7
|
+
data.tar.gz: f1cec3b1ce1f0b23d949b9074a332873ee17365f58e899e0840ddae969649137b3924b2c79fd7075a6c8895bfcaf68d5b0ab4854af07f00882f2a604e50bf4e6
|
@@ -9,5 +9,16 @@ module Oxen
|
|
9
9
|
link_to arr[0], arr[1]
|
10
10
|
end
|
11
11
|
|
12
|
+
def show_print_servers resource
|
13
|
+
unless resource.print_server_addresses.blank?
|
14
|
+
resource.print_server_addresses.split(",").collect do |n|
|
15
|
+
m=n.match /(.*): (.*)/
|
16
|
+
link_to( m[1], 'http://10.0.0.142:631', target: '_blank') if m.size==3
|
17
|
+
end.join( "<br />").html_safe
|
18
|
+
else
|
19
|
+
link_to t('.cups_adm'), 'http://10.0.0.142:631', target: '_blank'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
12
23
|
end
|
13
24
|
end
|
data/lib/oxen_account/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxen_account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walther H Diechmann
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|