thecore_print_commons 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/thecore_print_commons/engine.rb +1 -1
- data/lib/thecore_print_commons/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72dad4cd8421cac97cfae64fbb718cc18552f125afa333e984da246000c2a2da
|
4
|
+
data.tar.gz: d5592d65d6188fd170c5358dd9f6e0c174770f2f56ca5e880315eeb05c3e5cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f59172e9ce0c63fb51d65e96d08547661d6de4a7343fb89a4ab43e9a3e810f90cbf57d7ec8ff04c1bbe4cbb548a68e4b1d65a6ab54cfdf333d680e8132c5d7b
|
7
|
+
data.tar.gz: 46d79c6d158de82b8c94c0d9758f86b839aab75995ffa012aff327f90c6eb60e38ce5bb55f38910a7a75a5863eefe8bbc055f6cd566f6c49c24db9999db49b5b
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ echo "Printer ip or netbios address:";read SHARE_IP_ADDRESS_OR_NETBIOS_NAME;
|
|
27
27
|
echo "Printer share name:";read SHARENAME;
|
28
28
|
echo "Printer share username:"; read USERNAME;
|
29
29
|
echo "Printer share password:"; read PASSWORD;
|
30
|
-
lpadmin -p "$PRINTERLABEL" -E -v "smb://$(urlencode $USERNAME):$(urlencode $PASSWORD)@$(urlencode $WORKGROUP)/$(urlencode $SHARE_IP_ADDRESS_OR_NETBIOS_NAME)/$(urlencode $SHARENAME)" -m everywhere
|
30
|
+
lpadmin -p "$PRINTERLABEL" -E -v "beh://1/1/1/smb://$(urlencode $USERNAME):$(urlencode $PASSWORD)@$(urlencode $WORKGROUP)/$(urlencode $SHARE_IP_ADDRESS_OR_NETBIOS_NAME)/$(urlencode $SHARENAME)" -m everywhere
|
31
31
|
```
|
32
32
|
|
33
33
|
To list shares on that remote machine:
|
@@ -2,7 +2,7 @@ module ThecorePrintCommons
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
|
4
4
|
initializer 'thecore_print_commons.add_to_migrations' do |app|
|
5
|
-
unless app.root.to_s
|
5
|
+
unless app.root.to_s.match root.to_s
|
6
6
|
# APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
|
7
7
|
config.paths['db/migrate'].expanded.each do |expanded_path|
|
8
8
|
app.config.paths['db/migrate'] << expanded_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_print_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore
|
@@ -99,8 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
|
103
|
-
rubygems_version: 2.7.7
|
102
|
+
rubygems_version: 3.0.1
|
104
103
|
signing_key:
|
105
104
|
specification_version: 4
|
106
105
|
summary: Thecorized thecore_print_commons
|