oxen_account 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/oxen/accounts_helper.rb +11 -9
- data/lib/oxen_account/version.rb +1 -1
- metadata +1 -3
- data/bin/console +0 -14
- data/bin/setup +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f315ac7c9df23170186df96e626f389757a1e7
|
4
|
+
data.tar.gz: c0b37baad3cad127926431fcda2a9548967e20c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c2e752fc4cda85db52d4a6afa0703b5b012512e69ba2b82b02999bfad46e924e8ad4d781ebad73b6d450add0a222c8bd2c051feb44fec8a7be1f679ff7a5aa4
|
7
|
+
data.tar.gz: 1ca2fa04fd89948dd68cf46d96cd575f7566c7233765b4dfd1cf80930bd6521b382072c97693b603cc387500ca61fc80a5fc732c55cdcddcab893aba1bbeec83
|
@@ -9,15 +9,17 @@ module Oxen
|
|
9
9
|
link_to arr[0], arr[1]
|
10
10
|
end
|
11
11
|
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
end
|
12
|
+
def show_printservers account
|
13
|
+
links = account.printservers.collect do |printserver|
|
14
|
+
port = printserver.port.to_i+2000
|
15
|
+
port = "631"
|
16
|
+
printgateway = "http://10.0.0.142"
|
17
|
+
link_to "#{printgateway}:#{port}", data_action: "new_get_window", target: "_blank", alt: "#{printserver.lokation}" do
|
18
|
+
content_tag :i, 'print', class: 'material-icons small pink-text lighten-4', title: "#{printserver.lokation}", alt: "#{printserver.lokation}"
|
19
|
+
end
|
20
|
+
end.join( " ").html_safe
|
21
|
+
rescue
|
22
|
+
" "
|
21
23
|
end
|
22
24
|
|
23
25
|
end
|
data/lib/oxen_account/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxen_account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walther H Diechmann
|
@@ -336,8 +336,6 @@ files:
|
|
336
336
|
- app/views/users/invitations/_new.html.haml
|
337
337
|
- app/views/users/invitations/create.html.haml
|
338
338
|
- app/views/users/invitations/edit.html.haml
|
339
|
-
- bin/console
|
340
|
-
- bin/setup
|
341
339
|
- config/initializers/devise.rb
|
342
340
|
- config/initializers/devise_permitted_parameters.rb
|
343
341
|
- config/locales/devise.da.yml
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "account"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|