omf_common 6.1.2.pre.7 → 6.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/bin/omf_cert.rb CHANGED
@@ -63,6 +63,9 @@ op.on '--domain C:ST:O:OU', "Domain to us (components are ':' separated) [#{DEF_
63
63
  c, st, o, ou = p
64
64
  Certificate.default_domain(c, st, o, ou)
65
65
  end
66
+ op.on '--geni_uri URI:urn:publicid:IDN+domain+user+username', "Geni URI that dedscribes the user/resource." do |uri|
67
+ OPTS[:geni_uri] = uri
68
+ end
66
69
 
67
70
  op.on_tail('-v', "--verbose", "Print summary of created cert (Surpressed when writing cert to stdout)") do
68
71
  OPTS[:verbose] = true
@@ -176,7 +176,7 @@ module OmfCommon::Auth
176
176
  cert.subject = subject
177
177
  cert.public_key = key.public_key
178
178
  cert.not_before = not_before
179
- cert.not_after = not_before + duration
179
+ cert.not_after = not_before + duration.to_i
180
180
  #extensions << ["subjectAltName", "URI:http://foo.com/users/dc766130, URI:frcp:dc766130-c822-11e0-901e-000c29f89f7b@foo.com", false]
181
181
 
182
182
  issuer_cert = issuer ? issuer.to_x509 : cert
metadata CHANGED
@@ -1,32 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2.pre.7
4
+ version: 6.1.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - NICTA
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
12
+ date: 2014-06-25 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: minitest
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: evented-spec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,104 +46,119 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: simplecov
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: pry
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: mocha
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: eventmachine
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - '>='
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - '>='
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: blather
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: logging
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :runtime
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: hashie
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - '>='
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
149
  version: '0'
132
150
  type: :runtime
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - '>='
155
+ - - ! '>='
137
156
  - !ruby/object:Gem::Version
138
157
  version: '0'
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: oml4r
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
163
  - - ~>
144
164
  - !ruby/object:Gem::Version
@@ -146,6 +166,7 @@ dependencies:
146
166
  type: :runtime
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
171
  - - ~>
151
172
  - !ruby/object:Gem::Version
@@ -153,57 +174,65 @@ dependencies:
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: json
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - '>='
179
+ - - ! '>='
158
180
  - !ruby/object:Gem::Version
159
181
  version: '0'
160
182
  type: :runtime
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - '>='
187
+ - - ! '>='
165
188
  - !ruby/object:Gem::Version
166
189
  version: '0'
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: json-jwt
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
- - - '>='
195
+ - - ! '>='
172
196
  - !ruby/object:Gem::Version
173
197
  version: '0'
174
198
  type: :runtime
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
- - - '>='
203
+ - - ! '>='
179
204
  - !ruby/object:Gem::Version
180
205
  version: '0'
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: amqp
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - '>='
211
+ - - ! '>='
186
212
  - !ruby/object:Gem::Version
187
213
  version: '0'
188
214
  type: :runtime
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - '>='
219
+ - - ! '>='
193
220
  - !ruby/object:Gem::Version
194
221
  version: '0'
195
222
  - !ruby/object:Gem::Dependency
196
223
  name: uuidtools
197
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
198
226
  requirements:
199
- - - '>='
227
+ - - ! '>='
200
228
  - !ruby/object:Gem::Version
201
229
  version: '0'
202
230
  type: :runtime
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
205
234
  requirements:
206
- - - '>='
235
+ - - ! '>='
207
236
  - !ruby/object:Gem::Version
208
237
  version: '0'
209
238
  description: Common library of OMF, a generic framework for controlling and managing
@@ -304,49 +333,29 @@ files:
304
333
  homepage: http://omf.mytestbed.net
305
334
  licenses:
306
335
  - MIT
307
- metadata: {}
308
336
  post_install_message:
309
337
  rdoc_options: []
310
338
  require_paths:
311
339
  - lib
312
340
  required_ruby_version: !ruby/object:Gem::Requirement
341
+ none: false
313
342
  requirements:
314
- - - '>='
343
+ - - ! '>='
315
344
  - !ruby/object:Gem::Version
316
345
  version: 1.9.3
317
346
  required_rubygems_version: !ruby/object:Gem::Requirement
347
+ none: false
318
348
  requirements:
319
- - - '>'
349
+ - - ! '>='
320
350
  - !ruby/object:Gem::Version
321
- version: 1.3.1
351
+ version: '0'
352
+ segments:
353
+ - 0
354
+ hash: 2193462712645432448
322
355
  requirements: []
323
356
  rubyforge_project: omf_common
324
- rubygems_version: 2.1.11
357
+ rubygems_version: 1.8.23
325
358
  signing_key:
326
- specification_version: 4
359
+ specification_version: 3
327
360
  summary: Common library of OMF
328
- test_files:
329
- - test/fixture/1st_level.pem
330
- - test/fixture/2nd_level.pem
331
- - test/fixture/alice-cert.pem
332
- - test/fixture/alice-key.pem
333
- - test/fixture/omf_test.cert.pem
334
- - test/fixture/omf_test.pem
335
- - test/fixture/omf_test.pub
336
- - test/fixture/omf_test.pub.pem
337
- - test/fixture/pubsub.rb
338
- - test/fixture/rc.pem
339
- - test/fixture/root.pem
340
- - test/omf_common/auth/certificate_spec.rb
341
- - test/omf_common/auth/certificate_store_spec.rb
342
- - test/omf_common/auth/ssh_pub_key_convert_spec.rb
343
- - test/omf_common/comm/amqp/communicator_spec.rb
344
- - test/omf_common/comm/topic_spec.rb
345
- - test/omf_common/comm/xmpp/communicator_spec.rb
346
- - test/omf_common/comm/xmpp/topic_spec.rb
347
- - test/omf_common/comm_spec.rb
348
- - test/omf_common/command_spec.rb
349
- - test/omf_common/core_ext/string_spec.rb
350
- - test/omf_common/message/xml/message_spec.rb
351
- - test/omf_common/message_spec.rb
352
- - test/test_helper.rb
361
+ test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: c113600fe5067b6379373d595b66dd0a9ee44441
4
- data.tar.gz: e01387c409530cb22255aa394217f07eb936a10e
5
- SHA512:
6
- metadata.gz: 198fb4fa41c56de10a2f23f154f70842d19d8f2c833f988efe0406de2d720ad7a2b89e0b735cca66aac5d09de3994fd508998e6643d4846941646f14f9fb641d
7
- data.tar.gz: a5796058504237bb1069179277dd7398954c30525ac1b459ad8429eafd508824f5d19fb0d6502619a7eb80cbee08c77301a1841a71454eff3ffe02beb0bbce8c