xlsx_writer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ --- {}
2
+
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ *~
2
+ .\#*
3
+ .*.swp
4
+ TAGS
5
+ tmtags
6
+ tmp
7
+ *.patch
8
+ *.diff
9
+ *.xmlx
10
+ notes.txt
11
+ *.\#*
12
+ *.rbc
13
+ pkg
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :rubygems
2
+
3
+ gemspec :path => '.'
data/lib/xlsx_writer.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require 'active_support/core_ext'
2
2
 
3
+ require 'xlsx_writer/version'
4
+
3
5
  module XlsxWriter
4
6
  def self.gem_dir
5
7
  ::File.join ::File.dirname(__FILE__), 'xlsx_writer'
Binary file
@@ -12,7 +12,7 @@ module XlsxWriter
12
12
  # zip -r -q #{filename} .
13
13
  def self.zip(src_dir)
14
14
  out_path = tmp_path('zip', 'zip')
15
- child = ::POSIX::Spawn::Child.new 'zip', '--recurse-paths', out_path, '.', :chdir => src_dir
15
+ child = ::POSIX::Spawn::Child.new 'zip', '-rq', out_path, '.', :chdir => src_dir
16
16
  if child.success?
17
17
  out_path
18
18
  else
@@ -0,0 +1,3 @@
1
+ module XlsxWriter
2
+ VERSION = '0.1.1'
3
+ end
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
+ require 'xlsx_writer/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "xlsx_writer"
7
+ s.version = XlsxWriter::VERSION
8
+ s.authors = ["Dee Zsombor", "Justin Beck", "Seamus Abshere"]
9
+ s.email = ["seamus@abshere.net"]
10
+ s.homepage = "https://github.com/seamusabshere/xlsx_writer"
11
+ s.summary = %{Writes XLSX files. Minimal XML and style. Supports autofilters and headers/footers with images and page numbers.}
12
+ s.description = %{Writes XLSX files. Minimal XML and style. Supports autofilters and headers/footers with images and page numbers.}
13
+
14
+ s.add_runtime_dependency 'activesupport'
15
+ s.add_runtime_dependency 'fast_xs'
16
+ s.add_runtime_dependency 'posix-spawn'
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- {test,features}/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
+ s.require_paths = ["lib"]
22
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsx_writer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-12-06 00:00:00.000000000Z
14
+ date: 2011-12-09 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
18
- requirement: &2166102660 !ruby/object:Gem::Requirement
18
+ requirement: &2160880880 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,21 +23,21 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2166102660
26
+ version_requirements: *2160880880
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fast_xs
29
- requirement: &2166101620 !ruby/object:Gem::Requirement
29
+ requirement: &2160880320 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.7.3
34
+ version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2166101620
37
+ version_requirements: *2160880320
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: posix-spawn
40
- requirement: &2166100780 !ruby/object:Gem::Requirement
40
+ requirement: &2160879900 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,7 +45,7 @@ dependencies:
45
45
  version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2166100780
48
+ version_requirements: *2160879900
49
49
  description: Writes XLSX files. Minimal XML and style. Supports autofilters and headers/footers
50
50
  with images and page numbers.
51
51
  email:
@@ -54,6 +54,14 @@ executables: []
54
54
  extensions: []
55
55
  extra_rdoc_files: []
56
56
  files:
57
+ - .bundle/config
58
+ - .gitignore
59
+ - Gemfile
60
+ - LICENSE
61
+ - README.markdown
62
+ - Rakefile
63
+ - lib/xlsx_writer.rb
64
+ - lib/xlsx_writer/.DS_Store
57
65
  - lib/xlsx_writer/autofilter.rb
58
66
  - lib/xlsx_writer/cell.rb
59
67
  - lib/xlsx_writer/document.rb
@@ -83,12 +91,10 @@ files:
83
91
  - lib/xlsx_writer/page_setup.rb
84
92
  - lib/xlsx_writer/row.rb
85
93
  - lib/xlsx_writer/utils.rb
94
+ - lib/xlsx_writer/version.rb
86
95
  - lib/xlsx_writer/xml.rb
87
- - lib/xlsx_writer.rb
88
- - LICENSE
89
- - README.markdown
90
- - Rakefile
91
- homepage: http://github.com/seamusabshere/xlsx_writer
96
+ - xlsx_writer.gemspec
97
+ homepage: https://github.com/seamusabshere/xlsx_writer
92
98
  licenses: []
93
99
  post_install_message:
94
100
  rdoc_options: []