proproxy 0.1.0 → 0.1.1

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: e01e4f15866b2b60d8d521d2eb363bd5d74f7df04c92dc44c0830e6e7eb659f5
4
- data.tar.gz: a8343e20379481da8c8a6266091067ecc2090dac92ce001abefeca48e9651513
3
+ metadata.gz: 879b551a7ca5c19ff1482ad7dd8b124bbdf3496fd29df8a82233478d15a5b97e
4
+ data.tar.gz: fe68818bcc2f4c240fbf8b3fb4b510748c4fcca2b5d3d6b296cdce0c860f94f4
5
5
  SHA512:
6
- metadata.gz: 5f445cb856f886c319f34c9aed0b25a72e94201be70aabc11a4ba0a3fb397277467bd8bfdb77ed05bb0bc516c26b7d31fac3992e21186edc5ebb01861021e696
7
- data.tar.gz: 0f18051dd07efb444a98a0526f179344ea2861dcec53a7d46e953082e60e24e1c1fbc0a46e43016c8c6356612f34f1afbc4a07995e58df6254706e35ba8c7e19
6
+ metadata.gz: 454c06438f79d2c24ab53095bd812d2ddfaa4b93fa93c619780b19eb76db5ebaa40ae4aabf3fa0144b271e5ee0e018d87278b690ad54e819d0da0c850da3caf0
7
+ data.tar.gz: f6460b9bcdac0aada43e3ff149f2c2e25b74630dcb7f1dd176233079b900f917c037e1e50823143efb9562e9946d76a4e9b16f1293669eaebc5cf7c4575145a0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- proproxy (0.1.0)
4
+ proproxy (0.1.1)
5
5
  sshkit
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module Proproxy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/proproxy.rb CHANGED
@@ -6,7 +6,7 @@ class InvalidServerNameError < StandardError ; end
6
6
 
7
7
  module Proproxy
8
8
  class Server
9
- # TODO:
9
+ # TODO:
10
10
  # AVAILABLE_OS_NAME = [
11
11
  # :ubuntu,
12
12
  # :centos
@@ -131,10 +131,9 @@ module Proproxy
131
131
  end
132
132
 
133
133
  def copy_template
134
- root = Dir.pwd
135
134
  on @remote_host do
136
- upload! "#{root}/templates/iptables", '/etc/sysconfig/iptables'
137
- upload! "#{root}/templates/squid.conf", '/etc/squid/squid.conf'
135
+ upload! "templates/iptables", '/etc/sysconfig/iptables'
136
+ upload! "templates/squid.conf", '/etc/squid/squid.conf'
138
137
  end
139
138
  end
140
139
  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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - '100010'