phys-units 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/lib/phys/units/Makefile +2 -2
- data/lib/phys/units/parse.rb +2 -445
- data/lib/phys/units/version.rb +1 -1
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0d4db14c6955d4c5b11ed750a90b390dea5d6ba
|
4
|
+
data.tar.gz: 43ab661eb6fa0b80bc062c3ab2b5fc45eb44dde2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a8004b56bed9d25026e132dc949880044d3b78d9aee5cc11c31dceab2baa14c0952df50089f862d97ee743bc0781a7533c596238ebdccfdf5be22481eacab48
|
7
|
+
data.tar.gz: 20b543dbd49cdbbbb66207a03af084e22170ec8b9e9cfaa1654b4c53e844be6d8867553b40ba5f176da73236d673cddf30b7c72a3d98714a638a99210a7c003e
|
data/README.md
CHANGED
@@ -133,9 +133,7 @@ Note that this usage involves global changes on a build-in class and will cause
|
|
133
133
|
|
134
134
|
## Platforms tested
|
135
135
|
|
136
|
-
* ruby 2.
|
137
|
-
* ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
|
138
|
-
* ruby 1.8.7 (2012-10-12 patchlevel 371) [x86_64-linux]
|
136
|
+
* ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
|
139
137
|
|
140
138
|
## Copying License
|
141
139
|
|
data/lib/phys/units/Makefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
SHELL = /bin/sh
|
2
2
|
RUBY = ruby
|
3
3
|
RACC = racc
|
4
|
-
RACCFLAGS =
|
4
|
+
RACCFLAGS =
|
5
5
|
INSTALL = $(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)'
|
6
6
|
MKDIR = $(RUBY) -r ftools -e 'File::makedirs(*ARGV)'
|
7
7
|
RM = $(RUBY) -r ftools -e 'File::rm_f(*Dir[ARGV.join(" ")])'
|
@@ -11,7 +11,7 @@ sitedir = $(DESTDIR)
|
|
11
11
|
parse = parse.rb
|
12
12
|
dump = lib/quanty/units.dump
|
13
13
|
|
14
|
-
all: $(parse)
|
14
|
+
all: $(parse)
|
15
15
|
|
16
16
|
$(parse): parse.y
|
17
17
|
$(RACC) $(RACCFLAGS) -o $(parse) parse.y
|
data/lib/phys/units/parse.rb
CHANGED
@@ -1,453 +1,10 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.4.
|
3
|
+
# This file is automatically generated by Racc 1.4.11
|
4
4
|
# from Racc grammer file "".
|
5
5
|
#
|
6
6
|
|
7
|
-
|
8
|
-
unless $".index 'racc/parser.rb'
|
9
|
-
$".push 'racc/parser.rb'
|
10
|
-
self.class.module_eval(<<'...end racc/parser.rb/module_eval...', 'racc/parser.rb', 1)
|
11
|
-
#
|
12
|
-
# $Id: ad1fffef443194fdfa1052d2eee6850552f94313 $
|
13
|
-
#
|
14
|
-
# Copyright (c) 1999-2006 Minero Aoki
|
15
|
-
#
|
16
|
-
# This program is free software.
|
17
|
-
# You can distribute/modify this program under the same terms of ruby.
|
18
|
-
#
|
19
|
-
# As a special exception, when this code is copied by Racc
|
20
|
-
# into a Racc output file, you may use that output file
|
21
|
-
# without restriction.
|
22
|
-
#
|
23
|
-
|
24
|
-
unless defined?(NotImplementedError)
|
25
|
-
NotImplementedError = NotImplementError
|
26
|
-
end
|
27
|
-
|
28
|
-
module Racc
|
29
|
-
class ParseError < StandardError; end
|
30
|
-
end
|
31
|
-
unless defined?(::ParseError)
|
32
|
-
ParseError = Racc::ParseError
|
33
|
-
end
|
34
|
-
|
35
|
-
module Racc
|
36
|
-
|
37
|
-
unless defined?(Racc_No_Extentions)
|
38
|
-
Racc_No_Extentions = false
|
39
|
-
end
|
40
|
-
|
41
|
-
class Parser
|
42
|
-
|
43
|
-
Racc_Runtime_Version = '1.4.6'
|
44
|
-
Racc_Runtime_Revision = '$Id: ad1fffef443194fdfa1052d2eee6850552f94313 $'
|
45
|
-
|
46
|
-
Racc_Runtime_Core_Version_R = '1.4.6'
|
47
|
-
Racc_Runtime_Core_Revision_R = '$Id: ad1fffef443194fdfa1052d2eee6850552f94313 $'.split[1]
|
48
|
-
begin
|
49
|
-
require 'racc/cparse'
|
50
|
-
# Racc_Runtime_Core_Version_C = (defined in extention)
|
51
|
-
Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
|
52
|
-
unless new.respond_to?(:_racc_do_parse_c, true)
|
53
|
-
raise LoadError, 'old cparse.so'
|
54
|
-
end
|
55
|
-
if Racc_No_Extentions
|
56
|
-
raise LoadError, 'selecting ruby version of racc runtime core'
|
57
|
-
end
|
58
|
-
|
59
|
-
Racc_Main_Parsing_Routine = :_racc_do_parse_c
|
60
|
-
Racc_YY_Parse_Method = :_racc_yyparse_c
|
61
|
-
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C
|
62
|
-
Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_C
|
63
|
-
Racc_Runtime_Type = 'c'
|
64
|
-
rescue LoadError
|
65
|
-
Racc_Main_Parsing_Routine = :_racc_do_parse_rb
|
66
|
-
Racc_YY_Parse_Method = :_racc_yyparse_rb
|
67
|
-
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_R
|
68
|
-
Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_R
|
69
|
-
Racc_Runtime_Type = 'ruby'
|
70
|
-
end
|
71
|
-
|
72
|
-
def Parser.racc_runtime_type
|
73
|
-
Racc_Runtime_Type
|
74
|
-
end
|
75
|
-
|
76
|
-
private
|
77
|
-
|
78
|
-
def _racc_setup
|
79
|
-
@yydebug = false unless self.class::Racc_debug_parser
|
80
|
-
@yydebug = false unless defined?(@yydebug)
|
81
|
-
if @yydebug
|
82
|
-
@racc_debug_out = $stderr unless defined?(@racc_debug_out)
|
83
|
-
@racc_debug_out ||= $stderr
|
84
|
-
end
|
85
|
-
arg = self.class::Racc_arg
|
86
|
-
arg[13] = true if arg.size < 14
|
87
|
-
arg
|
88
|
-
end
|
89
|
-
|
90
|
-
def _racc_init_sysvars
|
91
|
-
@racc_state = [0]
|
92
|
-
@racc_tstack = []
|
93
|
-
@racc_vstack = []
|
94
|
-
|
95
|
-
@racc_t = nil
|
96
|
-
@racc_val = nil
|
97
|
-
|
98
|
-
@racc_read_next = true
|
99
|
-
|
100
|
-
@racc_user_yyerror = false
|
101
|
-
@racc_error_status = 0
|
102
|
-
end
|
103
|
-
|
104
|
-
###
|
105
|
-
### do_parse
|
106
|
-
###
|
107
|
-
|
108
|
-
def do_parse
|
109
|
-
__send__(Racc_Main_Parsing_Routine, _racc_setup(), false)
|
110
|
-
end
|
111
|
-
|
112
|
-
def next_token
|
113
|
-
raise NotImplementedError, "#{self.class}\#next_token is not defined"
|
114
|
-
end
|
115
|
-
|
116
|
-
def _racc_do_parse_rb(arg, in_debug)
|
117
|
-
action_table, action_check, action_default, action_pointer,
|
118
|
-
_, _, _, _,
|
119
|
-
_, _, token_table, * = arg
|
120
|
-
|
121
|
-
_racc_init_sysvars
|
122
|
-
tok = act = i = nil
|
123
|
-
|
124
|
-
catch(:racc_end_parse) {
|
125
|
-
while true
|
126
|
-
if i = action_pointer[@racc_state[-1]]
|
127
|
-
if @racc_read_next
|
128
|
-
if @racc_t != 0 # not EOF
|
129
|
-
tok, @racc_val = next_token()
|
130
|
-
unless tok # EOF
|
131
|
-
@racc_t = 0
|
132
|
-
else
|
133
|
-
@racc_t = (token_table[tok] or 1) # error token
|
134
|
-
end
|
135
|
-
racc_read_token(@racc_t, tok, @racc_val) if @yydebug
|
136
|
-
@racc_read_next = false
|
137
|
-
end
|
138
|
-
end
|
139
|
-
i += @racc_t
|
140
|
-
unless i >= 0 and
|
141
|
-
act = action_table[i] and
|
142
|
-
action_check[i] == @racc_state[-1]
|
143
|
-
act = action_default[@racc_state[-1]]
|
144
|
-
end
|
145
|
-
else
|
146
|
-
act = action_default[@racc_state[-1]]
|
147
|
-
end
|
148
|
-
while act = _racc_evalact(act, arg)
|
149
|
-
;
|
150
|
-
end
|
151
|
-
end
|
152
|
-
}
|
153
|
-
end
|
154
|
-
|
155
|
-
###
|
156
|
-
### yyparse
|
157
|
-
###
|
158
|
-
|
159
|
-
def yyparse(recv, mid)
|
160
|
-
__send__(Racc_YY_Parse_Method, recv, mid, _racc_setup(), true)
|
161
|
-
end
|
162
|
-
|
163
|
-
def _racc_yyparse_rb(recv, mid, arg, c_debug)
|
164
|
-
action_table, action_check, action_default, action_pointer,
|
165
|
-
_, _, _, _,
|
166
|
-
_, _, token_table, * = arg
|
167
|
-
|
168
|
-
_racc_init_sysvars
|
169
|
-
|
170
|
-
catch(:racc_end_parse) {
|
171
|
-
until i = action_pointer[@racc_state[-1]]
|
172
|
-
while act = _racc_evalact(action_default[@racc_state[-1]], arg)
|
173
|
-
;
|
174
|
-
end
|
175
|
-
end
|
176
|
-
recv.__send__(mid) do |tok, val|
|
177
|
-
unless tok
|
178
|
-
@racc_t = 0
|
179
|
-
else
|
180
|
-
@racc_t = (token_table[tok] or 1) # error token
|
181
|
-
end
|
182
|
-
@racc_val = val
|
183
|
-
@racc_read_next = false
|
184
|
-
|
185
|
-
i += @racc_t
|
186
|
-
unless i >= 0 and
|
187
|
-
act = action_table[i] and
|
188
|
-
action_check[i] == @racc_state[-1]
|
189
|
-
act = action_default[@racc_state[-1]]
|
190
|
-
end
|
191
|
-
while act = _racc_evalact(act, arg)
|
192
|
-
;
|
193
|
-
end
|
194
|
-
|
195
|
-
while !(i = action_pointer[@racc_state[-1]]) ||
|
196
|
-
! @racc_read_next ||
|
197
|
-
@racc_t == 0 # $
|
198
|
-
unless i and i += @racc_t and
|
199
|
-
i >= 0 and
|
200
|
-
act = action_table[i] and
|
201
|
-
action_check[i] == @racc_state[-1]
|
202
|
-
act = action_default[@racc_state[-1]]
|
203
|
-
end
|
204
|
-
while act = _racc_evalact(act, arg)
|
205
|
-
;
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
209
|
-
}
|
210
|
-
end
|
211
|
-
|
212
|
-
###
|
213
|
-
### common
|
214
|
-
###
|
215
|
-
|
216
|
-
def _racc_evalact(act, arg)
|
217
|
-
action_table, action_check, _, action_pointer,
|
218
|
-
_, _, _, _,
|
219
|
-
_, _, _, shift_n,
|
220
|
-
reduce_n, * = arg
|
221
|
-
nerr = 0 # tmp
|
222
|
-
|
223
|
-
if act > 0 and act < shift_n
|
224
|
-
#
|
225
|
-
# shift
|
226
|
-
#
|
227
|
-
if @racc_error_status > 0
|
228
|
-
@racc_error_status -= 1 unless @racc_t == 1 # error token
|
229
|
-
end
|
230
|
-
@racc_vstack.push @racc_val
|
231
|
-
@racc_state.push act
|
232
|
-
@racc_read_next = true
|
233
|
-
if @yydebug
|
234
|
-
@racc_tstack.push @racc_t
|
235
|
-
racc_shift @racc_t, @racc_tstack, @racc_vstack
|
236
|
-
end
|
237
|
-
|
238
|
-
elsif act < 0 and act > -reduce_n
|
239
|
-
#
|
240
|
-
# reduce
|
241
|
-
#
|
242
|
-
code = catch(:racc_jump) {
|
243
|
-
@racc_state.push _racc_do_reduce(arg, act)
|
244
|
-
false
|
245
|
-
}
|
246
|
-
if code
|
247
|
-
case code
|
248
|
-
when 1 # yyerror
|
249
|
-
@racc_user_yyerror = true # user_yyerror
|
250
|
-
return -reduce_n
|
251
|
-
when 2 # yyaccept
|
252
|
-
return shift_n
|
253
|
-
else
|
254
|
-
raise '[Racc Bug] unknown jump code'
|
255
|
-
end
|
256
|
-
end
|
257
|
-
|
258
|
-
elsif act == shift_n
|
259
|
-
#
|
260
|
-
# accept
|
261
|
-
#
|
262
|
-
racc_accept if @yydebug
|
263
|
-
throw :racc_end_parse, @racc_vstack[0]
|
264
|
-
|
265
|
-
elsif act == -reduce_n
|
266
|
-
#
|
267
|
-
# error
|
268
|
-
#
|
269
|
-
case @racc_error_status
|
270
|
-
when 0
|
271
|
-
unless arg[21] # user_yyerror
|
272
|
-
nerr += 1
|
273
|
-
on_error @racc_t, @racc_val, @racc_vstack
|
274
|
-
end
|
275
|
-
when 3
|
276
|
-
if @racc_t == 0 # is $
|
277
|
-
throw :racc_end_parse, nil
|
278
|
-
end
|
279
|
-
@racc_read_next = true
|
280
|
-
end
|
281
|
-
@racc_user_yyerror = false
|
282
|
-
@racc_error_status = 3
|
283
|
-
while true
|
284
|
-
if i = action_pointer[@racc_state[-1]]
|
285
|
-
i += 1 # error token
|
286
|
-
if i >= 0 and
|
287
|
-
(act = action_table[i]) and
|
288
|
-
action_check[i] == @racc_state[-1]
|
289
|
-
break
|
290
|
-
end
|
291
|
-
end
|
292
|
-
throw :racc_end_parse, nil if @racc_state.size <= 1
|
293
|
-
@racc_state.pop
|
294
|
-
@racc_vstack.pop
|
295
|
-
if @yydebug
|
296
|
-
@racc_tstack.pop
|
297
|
-
racc_e_pop @racc_state, @racc_tstack, @racc_vstack
|
298
|
-
end
|
299
|
-
end
|
300
|
-
return act
|
301
|
-
|
302
|
-
else
|
303
|
-
raise "[Racc Bug] unknown action #{act.inspect}"
|
304
|
-
end
|
305
|
-
|
306
|
-
racc_next_state(@racc_state[-1], @racc_state) if @yydebug
|
307
|
-
|
308
|
-
nil
|
309
|
-
end
|
310
|
-
|
311
|
-
def _racc_do_reduce(arg, act)
|
312
|
-
_, _, _, _,
|
313
|
-
goto_table, goto_check, goto_default, goto_pointer,
|
314
|
-
nt_base, reduce_table, _, _,
|
315
|
-
_, use_result, * = arg
|
316
|
-
|
317
|
-
state = @racc_state
|
318
|
-
vstack = @racc_vstack
|
319
|
-
tstack = @racc_tstack
|
320
|
-
|
321
|
-
i = act * -3
|
322
|
-
len = reduce_table[i]
|
323
|
-
reduce_to = reduce_table[i+1]
|
324
|
-
method_id = reduce_table[i+2]
|
325
|
-
void_array = []
|
326
|
-
|
327
|
-
tmp_t = tstack[-len, len] if @yydebug
|
328
|
-
tmp_v = vstack[-len, len]
|
329
|
-
tstack[-len, len] = void_array if @yydebug
|
330
|
-
vstack[-len, len] = void_array
|
331
|
-
state[-len, len] = void_array
|
332
|
-
|
333
|
-
# tstack must be updated AFTER method call
|
334
|
-
if use_result
|
335
|
-
vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
|
336
|
-
else
|
337
|
-
vstack.push __send__(method_id, tmp_v, vstack)
|
338
|
-
end
|
339
|
-
tstack.push reduce_to
|
340
|
-
|
341
|
-
racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
|
342
|
-
|
343
|
-
k1 = reduce_to - nt_base
|
344
|
-
if i = goto_pointer[k1]
|
345
|
-
i += state[-1]
|
346
|
-
if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
|
347
|
-
return curstate
|
348
|
-
end
|
349
|
-
end
|
350
|
-
goto_default[k1]
|
351
|
-
end
|
352
|
-
|
353
|
-
def on_error(t, val, vstack)
|
354
|
-
raise ParseError, sprintf("\nparse error on value %s (%s)",
|
355
|
-
val.inspect, token_to_str(t) || '?')
|
356
|
-
end
|
357
|
-
|
358
|
-
def yyerror
|
359
|
-
throw :racc_jump, 1
|
360
|
-
end
|
361
|
-
|
362
|
-
def yyaccept
|
363
|
-
throw :racc_jump, 2
|
364
|
-
end
|
365
|
-
|
366
|
-
def yyerrok
|
367
|
-
@racc_error_status = 0
|
368
|
-
end
|
369
|
-
|
370
|
-
#
|
371
|
-
# for debugging output
|
372
|
-
#
|
373
|
-
|
374
|
-
def racc_read_token(t, tok, val)
|
375
|
-
@racc_debug_out.print 'read '
|
376
|
-
@racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
|
377
|
-
@racc_debug_out.puts val.inspect
|
378
|
-
@racc_debug_out.puts
|
379
|
-
end
|
380
|
-
|
381
|
-
def racc_shift(tok, tstack, vstack)
|
382
|
-
@racc_debug_out.puts "shift #{racc_token2str tok}"
|
383
|
-
racc_print_stacks tstack, vstack
|
384
|
-
@racc_debug_out.puts
|
385
|
-
end
|
386
|
-
|
387
|
-
def racc_reduce(toks, sim, tstack, vstack)
|
388
|
-
out = @racc_debug_out
|
389
|
-
out.print 'reduce '
|
390
|
-
if toks.empty?
|
391
|
-
out.print ' <none>'
|
392
|
-
else
|
393
|
-
toks.each {|t| out.print ' ', racc_token2str(t) }
|
394
|
-
end
|
395
|
-
out.puts " --> #{racc_token2str(sim)}"
|
396
|
-
|
397
|
-
racc_print_stacks tstack, vstack
|
398
|
-
@racc_debug_out.puts
|
399
|
-
end
|
400
|
-
|
401
|
-
def racc_accept
|
402
|
-
@racc_debug_out.puts 'accept'
|
403
|
-
@racc_debug_out.puts
|
404
|
-
end
|
405
|
-
|
406
|
-
def racc_e_pop(state, tstack, vstack)
|
407
|
-
@racc_debug_out.puts 'error recovering mode: pop token'
|
408
|
-
racc_print_states state
|
409
|
-
racc_print_stacks tstack, vstack
|
410
|
-
@racc_debug_out.puts
|
411
|
-
end
|
412
|
-
|
413
|
-
def racc_next_state(curstate, state)
|
414
|
-
@racc_debug_out.puts "goto #{curstate}"
|
415
|
-
racc_print_states state
|
416
|
-
@racc_debug_out.puts
|
417
|
-
end
|
418
|
-
|
419
|
-
def racc_print_stacks(t, v)
|
420
|
-
out = @racc_debug_out
|
421
|
-
out.print ' ['
|
422
|
-
t.each_index do |i|
|
423
|
-
out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
|
424
|
-
end
|
425
|
-
out.puts ' ]'
|
426
|
-
end
|
427
|
-
|
428
|
-
def racc_print_states(s)
|
429
|
-
out = @racc_debug_out
|
430
|
-
out.print ' ['
|
431
|
-
s.each {|st| out.print ' ', st }
|
432
|
-
out.puts ' ]'
|
433
|
-
end
|
434
|
-
|
435
|
-
def racc_token2str(tok)
|
436
|
-
self.class::Racc_token_to_s_table[tok] or
|
437
|
-
raise "[Racc Bug] can't convert token #{tok} to string"
|
438
|
-
end
|
439
|
-
|
440
|
-
def token_to_str(t)
|
441
|
-
self.class::Racc_token_to_s_table[t]
|
442
|
-
end
|
443
|
-
|
444
|
-
end
|
445
|
-
|
446
|
-
end
|
447
|
-
|
448
|
-
...end racc/parser.rb/module_eval...
|
449
|
-
end
|
450
|
-
###### racc/parser.rb end
|
7
|
+
require 'racc/parser.rb'
|
451
8
|
|
452
9
|
|
453
10
|
# parse.y, parse.rb
|
data/lib/phys/units/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phys-units
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro TANAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: 'Library for Unit conversion of Physical Quantities. Features: (1) It
|
@@ -47,7 +47,7 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
-
- .gitignore
|
50
|
+
- ".gitignore"
|
51
51
|
- COPYING
|
52
52
|
- Gemfile
|
53
53
|
- README.md
|
@@ -89,17 +89,17 @@ require_paths:
|
|
89
89
|
- lib
|
90
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- -
|
92
|
+
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- -
|
97
|
+
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
102
|
+
rubygems_version: 2.2.0
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Library for Unit conversion of Physical Quantities using GNU Units data.
|
@@ -111,4 +111,3 @@ test_files:
|
|
111
111
|
- spec/quantity_spec.rb
|
112
112
|
- spec/unit_spec.rb
|
113
113
|
- spec/utils_spec.rb
|
114
|
-
has_rdoc:
|