rodf 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.3.2. Fixes broken styles.xml
1
2
  v0.3.1. Adds support for conditional formatting
2
3
  v0.3. Allow parameterless blocks
3
4
  v0.2.2. Reintroduce compatibility with Ruby 1.8
data/Manifest CHANGED
@@ -19,7 +19,7 @@ lib/odf/property.rb
19
19
  lib/odf/row.rb
20
20
  lib/odf/skeleton.rb
21
21
  lib/odf/skeleton/manifest.xml.erb
22
- lib/odf/skeleton/styles.xml
22
+ lib/odf/skeleton/styles.pxml
23
23
  lib/odf/span.rb
24
24
  lib/odf/spreadsheet.rb
25
25
  lib/odf/style.rb
@@ -25,5 +25,3 @@
25
25
  <number:text>-</number:text>
26
26
  <number:day number:style="long"/>
27
27
  </number:date-style>
28
- </office:styles>
29
- </office:document-styles>
data/lib/odf/skeleton.rb CHANGED
@@ -24,7 +24,7 @@ module ODF
24
24
  end
25
25
 
26
26
  def styles
27
- template('styles.xml')
27
+ template('styles.pxml')
28
28
  end
29
29
  private
30
30
  def template(fname)
data/rodf.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rodf"
5
- s.version = "0.3.1"
5
+ s.version = "0.3.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Thiago Arrais, Foivos Zakkak"]
9
- s.date = "2012-10-25"
9
+ s.date = "2012-11-08"
10
10
  s.description = "ODF generation library for Ruby"
11
11
  s.email = "thiago.arrais@gmail.com"
12
- s.extra_rdoc_files = ["CHANGELOG", "LICENSE.LGPL", "README.rdoc", "lib/odf/cell.rb", "lib/odf/column.rb", "lib/odf/compatibility.rb", "lib/odf/container.rb", "lib/odf/data_style.rb", "lib/odf/document.rb", "lib/odf/hyperlink.rb", "lib/odf/master_page.rb", "lib/odf/page_layout.rb", "lib/odf/paragraph.rb", "lib/odf/paragraph_container.rb", "lib/odf/property.rb", "lib/odf/row.rb", "lib/odf/skeleton.rb", "lib/odf/skeleton/manifest.xml.erb", "lib/odf/skeleton/styles.xml", "lib/odf/span.rb", "lib/odf/spreadsheet.rb", "lib/odf/style.rb", "lib/odf/style_section.rb", "lib/odf/tab.rb", "lib/odf/table.rb", "lib/odf/text.rb"]
13
- s.files = ["CHANGELOG", "Gemfile", "LICENSE.LGPL", "Manifest", "README.rdoc", "Rakefile", "lib/odf/cell.rb", "lib/odf/column.rb", "lib/odf/compatibility.rb", "lib/odf/container.rb", "lib/odf/data_style.rb", "lib/odf/document.rb", "lib/odf/hyperlink.rb", "lib/odf/master_page.rb", "lib/odf/page_layout.rb", "lib/odf/paragraph.rb", "lib/odf/paragraph_container.rb", "lib/odf/property.rb", "lib/odf/row.rb", "lib/odf/skeleton.rb", "lib/odf/skeleton/manifest.xml.erb", "lib/odf/skeleton/styles.xml", "lib/odf/span.rb", "lib/odf/spreadsheet.rb", "lib/odf/style.rb", "lib/odf/style_section.rb", "lib/odf/tab.rb", "lib/odf/table.rb", "lib/odf/text.rb", "rodf.gemspec", "spec/cell_spec.rb", "spec/data_style_spec.rb", "spec/hyperlink_spec.rb", "spec/master_page_spec.rb", "spec/page_layout_spec.rb", "spec/paragraph_spec.rb", "spec/property_spec.rb", "spec/row_spec.rb", "spec/skeleton_spec.rb", "spec/span_spec.rb", "spec/spec_helper.rb", "spec/spreadsheet_spec.rb", "spec/style_section_spec.rb", "spec/style_spec.rb", "spec/tab_spec.rb", "spec/table_spec.rb", "spec/text_spec.rb"]
12
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE.LGPL", "README.rdoc", "lib/odf/cell.rb", "lib/odf/column.rb", "lib/odf/compatibility.rb", "lib/odf/container.rb", "lib/odf/data_style.rb", "lib/odf/document.rb", "lib/odf/hyperlink.rb", "lib/odf/master_page.rb", "lib/odf/page_layout.rb", "lib/odf/paragraph.rb", "lib/odf/paragraph_container.rb", "lib/odf/property.rb", "lib/odf/row.rb", "lib/odf/skeleton.rb", "lib/odf/skeleton/manifest.xml.erb", "lib/odf/skeleton/styles.pxml", "lib/odf/span.rb", "lib/odf/spreadsheet.rb", "lib/odf/style.rb", "lib/odf/style_section.rb", "lib/odf/tab.rb", "lib/odf/table.rb", "lib/odf/text.rb"]
13
+ s.files = ["CHANGELOG", "Gemfile", "LICENSE.LGPL", "Manifest", "README.rdoc", "Rakefile", "lib/odf/cell.rb", "lib/odf/column.rb", "lib/odf/compatibility.rb", "lib/odf/container.rb", "lib/odf/data_style.rb", "lib/odf/document.rb", "lib/odf/hyperlink.rb", "lib/odf/master_page.rb", "lib/odf/page_layout.rb", "lib/odf/paragraph.rb", "lib/odf/paragraph_container.rb", "lib/odf/property.rb", "lib/odf/row.rb", "lib/odf/skeleton.rb", "lib/odf/skeleton/manifest.xml.erb", "lib/odf/skeleton/styles.pxml", "lib/odf/span.rb", "lib/odf/spreadsheet.rb", "lib/odf/style.rb", "lib/odf/style_section.rb", "lib/odf/tab.rb", "lib/odf/table.rb", "lib/odf/text.rb", "rodf.gemspec", "spec/cell_spec.rb", "spec/data_style_spec.rb", "spec/hyperlink_spec.rb", "spec/master_page_spec.rb", "spec/page_layout_spec.rb", "spec/paragraph_spec.rb", "spec/property_spec.rb", "spec/row_spec.rb", "spec/skeleton_spec.rb", "spec/span_spec.rb", "spec/spec_helper.rb", "spec/spreadsheet_spec.rb", "spec/style_section_spec.rb", "spec/style_spec.rb", "spec/tab_spec.rb", "spec/table_spec.rb", "spec/text_spec.rb"]
14
14
  s.homepage = "http://github.com/thiagoarrais/rodf/tree"
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rodf", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-25 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
16
- requirement: &85321850 !ruby/object:Gem::Requirement
16
+ requirement: &83228770 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *85321850
24
+ version_requirements: *83228770
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rubyzip
27
- requirement: &85321640 !ruby/object:Gem::Requirement
27
+ requirement: &83228560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *85321640
35
+ version_requirements: *83228560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: activesupport
38
- requirement: &85321430 !ruby/object:Gem::Requirement
38
+ requirement: &83228350 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *85321430
46
+ version_requirements: *83228350
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &85321220 !ruby/object:Gem::Requirement
49
+ requirement: &83228140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '2.9'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *85321220
57
+ version_requirements: *83228140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec_hpricot_matchers
60
- requirement: &85321010 !ruby/object:Gem::Requirement
60
+ requirement: &83227930 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '1.0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *85321010
68
+ version_requirements: *83227930
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: echoe
71
- requirement: &85320800 !ruby/object:Gem::Requirement
71
+ requirement: &83227720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '4.6'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *85320800
79
+ version_requirements: *83227720
80
80
  description: ODF generation library for Ruby
81
81
  email: thiago.arrais@gmail.com
82
82
  executables: []
@@ -100,7 +100,7 @@ extra_rdoc_files:
100
100
  - lib/odf/row.rb
101
101
  - lib/odf/skeleton.rb
102
102
  - lib/odf/skeleton/manifest.xml.erb
103
- - lib/odf/skeleton/styles.xml
103
+ - lib/odf/skeleton/styles.pxml
104
104
  - lib/odf/span.rb
105
105
  - lib/odf/spreadsheet.rb
106
106
  - lib/odf/style.rb
@@ -130,7 +130,7 @@ files:
130
130
  - lib/odf/row.rb
131
131
  - lib/odf/skeleton.rb
132
132
  - lib/odf/skeleton/manifest.xml.erb
133
- - lib/odf/skeleton/styles.xml
133
+ - lib/odf/skeleton/styles.pxml
134
134
  - lib/odf/span.rb
135
135
  - lib/odf/spreadsheet.rb
136
136
  - lib/odf/style.rb