schlepp 0.0.1.pre.alpha.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,22 @@
1
1
  require 'schlepp/sink/filter'
2
- require 'schlepp/sink/table_object/formatter/csv/writer'
2
+ require 'schlepp/sink/filter/formatter/csv/writer'
3
3
 
4
4
  module Schlepp
5
5
  class Sink
6
6
  module Filter
7
- class Csv
8
- include Schlepp::Sink::Filter::Static
9
- def extension
10
- 'csv'
11
- end
7
+ module Formatter
8
+ class Csv
9
+ include Schlepp::Sink::Filter::Static
10
+ def extension
11
+ 'csv'
12
+ end
12
13
 
13
- def writer
14
- Schlepp::Sink::TableObject::Formatter::Csv::Writer
14
+ def writer
15
+ Schlepp::Sink::Filter::Formatter::Csv::Writer
16
+ end
15
17
  end
16
18
  end
17
19
  end
18
20
  end
19
21
  end
20
22
 
21
-
@@ -2,8 +2,8 @@ require 'csv'
2
2
 
3
3
  module Schlepp
4
4
  class Sink
5
- class TableObject
6
- class Formatter
5
+ module Filter
6
+ module Formatter
7
7
  class Csv
8
8
  class Writer
9
9
  def initialize(writer, opts = {})
@@ -14,6 +14,10 @@ module Schlepp
14
14
  @writer.write(rows.to_csv)
15
15
  end
16
16
 
17
+ def rotate?
18
+ false
19
+ end
20
+
17
21
  def finalize
18
22
  @writer.finalize
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module Schlepp
2
- VERSION = "0.0.1-alpha.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schlepp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.alpha.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Carrel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -122,6 +122,9 @@ files:
122
122
  - LICENSE
123
123
  - README.md
124
124
  - Rakefile
125
+ - examples/csv_to_dir/Gemfile
126
+ - examples/csv_to_dir/csv_to_dir.rb
127
+ - examples/csv_to_dir/data.csv
125
128
  - lib/schlepp.rb
126
129
  - lib/schlepp/env.rb
127
130
  - lib/schlepp/sink.rb
@@ -167,12 +170,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
170
  version: '0'
168
171
  required_rubygems_version: !ruby/object:Gem::Requirement
169
172
  requirements:
170
- - - ">"
173
+ - - ">="
171
174
  - !ruby/object:Gem::Version
172
- version: 1.3.1
175
+ version: '0'
173
176
  requirements: []
174
177
  rubyforge_project:
175
- rubygems_version: 2.2.2
178
+ rubygems_version: 2.4.5
176
179
  signing_key:
177
180
  specification_version: 4
178
181
  summary: An extensible chunking file transferer