ipcad2squid 1.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.
data/bin/ipcad2squid CHANGED
@@ -24,5 +24,5 @@ end
24
24
  optparse.parse!
25
25
 
26
26
  ipcad2squid = Ipcad2squid.new(options)
27
- ipcad2squid.clear
27
+ ipcad2squid.clear_accounting
28
28
  ipcad2squid.write_to_file
data/ipcad2squid.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ipcad2squid'
3
- s.version = '1.0'
3
+ s.version = '1.1'
4
4
  s.date = '2013-01-03'
5
5
  s.summary = "Convert ipcad logs to squid logs"
6
6
  s.description = "Simple gem for converting and appending output from ipcad to squid logs formats"
data/lib/ipcad2squid.rb CHANGED
@@ -22,7 +22,7 @@ class Ipcad2squid
22
22
  end.join("\n")
23
23
  end
24
24
 
25
- def clear
25
+ def clear_accounting
26
26
  # move statistics to checkpoint and clear
27
27
  `netkit-rsh localhost clear ip accounting` rescue puts "Couldn't clear ip accounting"
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipcad2squid
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: