proproxy 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fefee7007f1058cb1f1909ba3c81fe94435b45f500324a8d507b6da74470732d
4
- data.tar.gz: 91633e3498ed0aff5043f9874f1db63f6a530b26ee2a69d4a2442e7a91bb0ee4
3
+ metadata.gz: 59cd36a2da229b5e63d7015ff5a80b5710c7f568121ba0eff11a640aa96decf4
4
+ data.tar.gz: a1ecddd3544f0d2ee3b9404444080bb5a9adeef73ffeb8b8c4d5475f123d8270
5
5
  SHA512:
6
- metadata.gz: 6682ca15f188680d0b2befd7be815fd8d775b065ee95366acf0a35f5211458df1c69aa1ff7f5027800d296ab8d1e4c8a44b30f89391e2935b4c76b77f7dea70c
7
- data.tar.gz: 192e2ac372890ddab6605aa51e72c96d5597d7ff8d8e60ed8c0922c94575b1bdb7c4ba9c71806d9d5341530855aa816c8dd0773610175aa4006c9b57bcfeeb2d
6
+ metadata.gz: c5c9908c6497b719b98c5c10b75f557e1996956b3db2a2904f307cd4ff1022fb42751182b6e7adafea747fdf587d5b7f2c24e3cc3feafba9fd6edc6bdbb60075
7
+ data.tar.gz: dcdb0ac1f97d5f572c932806b657001f683527e82238990e15568001926c2a4bf2e4c183c22c90b9597271f2f0f8a4d24ef7c539cabab38c0d355a05645fb696
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- proproxy (0.1.2)
4
+ proproxy (0.1.3)
5
5
  sshkit
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module Proproxy
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/proproxy.rb CHANGED
@@ -131,9 +131,10 @@ module Proproxy
131
131
  end
132
132
 
133
133
  def copy_template
134
+ current_dir = File.expand_path('.')
134
135
  on @remote_host do
135
- upload! File.expand_path('templates', 'iptables'), '/etc/sysconfig/iptables'
136
- upload! File.expand_path('templates', 'squid.conf'), '/etc/squid/squid.conf'
136
+ upload! "#{current_dir}/templates/iptables"), '/etc/sysconfig/iptables'
137
+ upload! "#{current_dir}/templates/squid.conf"), '/etc/squid/squid.conf'
137
138
  end
138
139
  end
139
140
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - '100010'