spreet 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/lib/spreet.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ require 'pathname'
2
3
 
3
4
  module Spreet
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ require 'fastercsv'
2
3
  require 'csv'
3
4
  require 'iconv'
4
5
 
data/test/helper.rb CHANGED
@@ -1,12 +1,4 @@
1
1
  require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
2
  require 'test/unit'
11
3
 
12
4
  $LOAD_PATH.unshift(File.dirname(__FILE__))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.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: 2011-09-19 00:00:00.000000000Z
12
+ date: 2011-11-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fastercsv
16
- requirement: &11182000 !ruby/object:Gem::Requirement
16
+ requirement: &11047920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11182000
24
+ version_requirements: *11047920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: libxml-ruby
27
- requirement: &11180960 !ruby/object:Gem::Requirement
27
+ requirement: &11047140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *11180960
35
+ version_requirements: *11047140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rubyzip
38
- requirement: &11180240 !ruby/object:Gem::Requirement
38
+ requirement: &11046580 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,27 +43,23 @@ dependencies:
43
43
  version: 0.9.4
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *11180240
46
+ version_requirements: *11046580
47
47
  description: Spr[eadsh]eet handler for CSV(RW), Excel CSV(RW) and ODS(W). The goal
48
48
  is to read and write in many open formats.
49
49
  email: brice.texier@ekylibre.org
50
50
  executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files:
53
- - LICENSE.txt
53
+ - MIT-LICENSE
54
54
  - README.rdoc
55
55
  files:
56
- - .gitignore
57
- - Gemfile
58
- - LICENSE.txt
56
+ - MIT-LICENSE
59
57
  - README.rdoc
60
- - Rakefile
61
58
  - VERSION
62
59
  - lib/spreet.rb
63
60
  - lib/spreet/handlers.rb
64
61
  - lib/spreet/handlers/csv.rb
65
62
  - lib/spreet/handlers/open_document.rb
66
- - spreet.gemspec
67
63
  - test/helper.rb
68
64
  - test/samples/pascal.csv
69
65
  - test/test_spreet.rb
@@ -92,4 +88,5 @@ rubygems_version: 1.8.11
92
88
  signing_key:
93
89
  specification_version: 3
94
90
  summary: Spr[eadsh]eet handler
95
- test_files: []
91
+ test_files:
92
+ - test/test_spreet.rb
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- Gemfile.lock
2
- *~
3
- *.gem
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source :gemcutter
2
-
3
- gemspec
data/Rakefile DELETED
@@ -1,15 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rake/testtask'
4
- Rake::TestTask.new(:test) do |test|
5
- test.libs << 'lib' << 'test'
6
- test.pattern = 'test/**/test_*.rb'
7
- test.verbose = true
8
- end
9
-
10
- task :default => :test
11
-
12
- # Import all rake files
13
- for rakefile in Dir.glob('lib/tasks/*.rake')
14
- import(rakefile)
15
- end
data/spreet.gemspec DELETED
@@ -1,40 +0,0 @@
1
- # encoding: utf-8
2
- Gem::Specification.new do |s|
3
- s.name = "spreet"
4
- File.open("VERSION", "rb") do |f|
5
- s.version = f.read
6
- end
7
-
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.authors = ["Brice Texier"]
10
- s.date = "2011-09-19"
11
- s.summary = "Spr[eadsh]eet handler"
12
- s.description = "Spr[eadsh]eet handler for CSV(RW), Excel CSV(RW) and ODS(W). The goal is to read and write in many open formats."
13
- s.email = "brice.texier@ekylibre.org"
14
- s.extra_rdoc_files = [
15
- "LICENSE.txt",
16
- "README.rdoc"
17
- ]
18
- s.files = `git ls-files`.split("\n")
19
- s.homepage = "http://github.com/burisu/spreet"
20
- s.licenses = ["MIT"]
21
- s.require_paths = ["lib"]
22
-
23
- if s.respond_to? :specification_version then
24
- s.specification_version = 3
25
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
- s.add_runtime_dependency("fastercsv", [">= 0"])
27
- s.add_runtime_dependency("libxml-ruby", [">= 0"])
28
- s.add_runtime_dependency("rubyzip", [">= 0.9.4"])
29
- else
30
- s.add_dependency("fastercsv", [">= 0"])
31
- s.add_dependency("libxml-ruby", [">= 0"])
32
- s.add_dependency("rubyzip", [">= 0.9.4"])
33
- end
34
- else
35
- s.add_dependency("fastercsv", [">= 0"])
36
- s.add_dependency("libxml-ruby", [">= 0"])
37
- s.add_dependency("rubyzip", [">= 0.9.4"])
38
- end
39
- end
40
-