iosparse 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +5 -4
  2. data/iosparse.gemspec +1 -1
  3. data/lib/iosparse.rb +1 -5
  4. metadata +1 -1
data/README.md CHANGED
@@ -22,7 +22,8 @@ All objects returned are arrays that can be further manipulated and parsed. "Hu
22
22
  All '\n' are injected as delimiters to show where children lines separate from the parent and inteded to be used for easy String#gsub to parse and print in other formats. Feel free to look at the documentation link on the <a href="http://rubygems.org/gems/iosparse">rubygems</a> site.
23
23
 
24
24
  Current methods:
25
-
26
- `find_all` used to find all specific rules, interface, object-group, route, name, etc.
27
- `has` used to find any rule that includes a specific string.
28
- `group_has_ip` returns group(s) that include a specific IP.
25
+ ````
26
+ find_all() is used to find all specific rules, interface, object-group, route, name, etc.
27
+ has() is used to find any rule that includes a specific string like an IP or a group name.
28
+ group_has_ip() returns group(s) that include a specific IP (doesn't sanitize input).
29
+ ````
data/iosparse.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "iosparse"
5
- s.version = "0.0.8"
5
+ s.version = "0.0.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ari Mizrahi"]
data/lib/iosparse.rb CHANGED
@@ -100,8 +100,4 @@ class IOSParse
100
100
  end
101
101
  end
102
102
  end
103
- end
104
-
105
- config = IOSParse.new('../spec/etc/cisco_asa.config')
106
-
107
- puts config.group_has_ip('10.10.15.100').class
103
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iosparse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: