ios_config 1.3.5 → 1.3.6

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- M2Y5MmRlZDUwYjNkNGY4NjUwMWU1ZDQyMTFkM2E1MDAxNWJhN2JlNA==
5
- data.tar.gz: !binary |-
6
- NDFjYWI2ZTA2OGFkYThkMjI4NjU2NDJjNjNmNTc4YWNkMWFjZmE3NQ==
2
+ SHA1:
3
+ metadata.gz: b232e3979a863d196155aa0dce2227f40cb30ab6
4
+ data.tar.gz: 330a0f0b9cb51d49cbae87d24284b748eafb00e9
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MGQ3NjY1YTM5N2NjYmUyNzg4OWFhMThkMTgzNTAxN2U2Y2E1MTMwZjk4OGQx
10
- MThjM2VjZTVkZDlmZTIxYzAyMzQyNmVmMTRjNmQwYjgzNzUzNDE5M2Y0NTE3
11
- MjllMGZkN2EyYjM4YzZkMDIzMzAyM2QwZjUyMDg5ZTZjM2QyYWI=
12
- data.tar.gz: !binary |-
13
- YjExYWQ1NGFhNmY4NWI0ZDc1YjlhNTJhNzE4ZDRhYmNmM2MzMjhlOWVhODVj
14
- NjhlMGZiMzMzMTVjYzc0YmY1NWE3NjdmYjgxMWFmZTZlYjM4MDlhMmUyNDAz
15
- MDg5N2NkMGY1MTI1OTA5MzVjYjc0ZDMyZGRkZmE0M2IxN2UxNTA=
6
+ metadata.gz: cbe3f7752037d0d8e0930b5d2f531183ac0914b0431456a3b78e1143bf69a797121d8030572315649b91d5e58bfefaf659fa78dec9190cf985dca7adbdddd024
7
+ data.tar.gz: 9ee27501497de95acc01565b8d434aff12b2690df8eebb1e71b5aa58a5900fc08e4acf8409db934b9e0faad6b8069538ecc745cd4f22c8e36e2204bfe2178a87
data/.travis.yml CHANGED
@@ -2,8 +2,6 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 1.9.3
5
- - jruby-19mode
6
5
  - ruby-head
7
- - jruby-head
8
6
 
9
7
  script: bundle exec rspec
@@ -35,6 +35,10 @@ module IOSConfig
35
35
  p = { 'UserDefinedName' => @connection_name,
36
36
  'IPv4' => { 'OverridePrimary' => 1 } }
37
37
 
38
+ # Send All Traffic
39
+
40
+ p['OverridePrimary'] = 1 if @send_all_traffic == true
41
+
38
42
  # Connection Type Specifics
39
43
 
40
44
  case @connection_type
@@ -112,14 +116,14 @@ module IOSConfig
112
116
  when :netmotion_mobility
113
117
  p['VPNType'] = 'VPN'
114
118
  p['VPNSubType'] = 'com.netmotionwireless.Mobility.vpnplugin'
115
- p['VendorConfig'] = { 'validateServer' => false }
119
+ p['VendorConfig'] = { 'validateServer' => 'false' }
116
120
  p['VPN'] = generate_vpn_config
117
121
 
118
- end
122
+ # fixups
123
+ p['IPv4']['OverridePrimary'] = 0
124
+ p.delete('OverridePrimary')
119
125
 
120
- # Send All Traffic
121
-
122
- p['OverridePrimary'] = 1 if @send_all_traffic == true
126
+ end
123
127
 
124
128
  # Proxy
125
129
 
@@ -1,3 +1,3 @@
1
1
  module IOSConfig
2
- VERSION = "1.3.5"
2
+ VERSION = "1.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Boyko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-21 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
@@ -119,17 +119,17 @@ require_paths:
119
119
  - lib
120
120
  required_ruby_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - ! '>='
127
+ - - '>='
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.1.11
132
+ rubygems_version: 2.0.14
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: This gen provides an easy way to generate profiles and configuration payloads