ript 0.8.9 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Gemfile.lock +1 -1
- data/lib/ript/dsl/primitives/common.rb +6 -0
- data/lib/ript/exceptions.rb +3 -0
- data/lib/ript/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a974cfcd71dc435cba30b0bbd694e8fbc9be9afe
|
4
|
+
data.tar.gz: b201d088c96362fc32649ff97bf93e88fec9cb79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f8d2c1205cdea177aae677e7bade6221c31a4666fb6fa2578d06a67b7df8636e7ac6cc9fe3d7d45f48e031b68e88b3117259213f223b8d6ccef4d20602b0997
|
7
|
+
data.tar.gz: c078ebf0e6a911f48247acabb1501ea473d9be3b2131895278326f36ce339a5e0829f3a798fae6ac034757223064c94f1e3e2d3a4f65f276cb57d08609810ee9
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -18,10 +18,16 @@ module Ript
|
|
18
18
|
if port.class == Range
|
19
19
|
@ports << "#{port.begin}:#{port.end}"
|
20
20
|
else
|
21
|
+
if not port.is_a? Numeric
|
22
|
+
raise PortError, "Port #{port} is not numeric cannot continue"
|
23
|
+
end
|
21
24
|
@ports << port
|
22
25
|
end
|
23
26
|
end
|
24
27
|
else
|
28
|
+
if not args.is_a? Numeric
|
29
|
+
raise PortError, "Port #{args} is not numeric cannot continue"
|
30
|
+
end
|
25
31
|
port = args
|
26
32
|
@ports << port
|
27
33
|
end
|
data/lib/ript/exceptions.rb
CHANGED
data/lib/ript/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bulletproof Group Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: 1.3.6
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project: ript
|
205
|
-
rubygems_version: 2.
|
205
|
+
rubygems_version: 2.2.2
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: DSL for iptables, and tool for incrementally applying firewall rules
|