osheet 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/osheet/format/numeric.rb +5 -1
- data/lib/osheet/version.rb +1 -1
- data/test/cell_test.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
1
3
|
require 'enumeration'
|
2
4
|
|
3
5
|
module Osheet::Format
|
@@ -99,7 +101,9 @@ module Osheet::Format
|
|
99
101
|
case @symbol
|
100
102
|
when :dollar
|
101
103
|
"\"$\"#{symbol_suffix}"
|
102
|
-
when :
|
104
|
+
when :euro
|
105
|
+
"\"€\"#{symbol_suffix}"
|
106
|
+
else
|
103
107
|
''
|
104
108
|
end
|
105
109
|
end
|
data/lib/osheet/version.rb
CHANGED
data/test/cell_test.rb
CHANGED
@@ -21,7 +21,7 @@ module Osheet
|
|
21
21
|
assert_equal 1, subject.send(:get_ivar, "rowspan")
|
22
22
|
assert_equal nil, subject.send(:get_ivar, "href")
|
23
23
|
assert_equal nil, subject.send(:get_ivar, "index")
|
24
|
-
assert_equal nil, subject.send(:get_ivar, "
|
24
|
+
assert_equal nil, subject.send(:get_ivar, "formula")
|
25
25
|
end
|
26
26
|
|
27
27
|
should "type cast data strings/symbols" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 2
|
10
|
+
version: 0.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :development
|