flat 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba9c2c820dfbb6f95015b50eb4d64ea957fc9ba4
4
- data.tar.gz: 283cfca9ab988ae636d3d494ef0fad7dc4fb4a20
3
+ metadata.gz: be700e7320f4e0c2d35a1650f4d08895f04da130
4
+ data.tar.gz: b6c43776d503c1b5d926e7121f271d5aaa0605a1
5
5
  SHA512:
6
- metadata.gz: 148837045c6baa0812f6ba33df1736677357efa347c4c17c30f6c979774cbaa4c83fc92e6aabe14ee7a2c363e577a74d7d9570e4c4162dcb3d7a80f2b2bdbfbb
7
- data.tar.gz: 09f18cfd8de97a106785fa52ad806e8e0d9578df0201fcd516ada10e6e5dfcaa4e97ed6c2dd70a6797808bbc026c9eaf1662e2b8e21be412ef7fef50ed3c58b3
6
+ metadata.gz: ca937d39bc3cc607ef0b6d066a0d4b15ac347b3383055efee7c89192318a3d4aa105ff416f2c05d82db0aa7858b293e17cc7992926f30852a77710070fe664dc
7
+ data.tar.gz: 46e3147cc64f7ddaa666a4c96e953d12c61ad348c2da8357aa2d78943fffdcb0c4aa67efcb33668e84ebc4c0d104bf8fb3f2cff75949128682b3c257f5d1c3cb
data/README.md CHANGED
@@ -58,12 +58,11 @@ people might look like this:
58
58
  puts person.to_s
59
59
  end
60
60
 
61
- Consult the [RDocs](http://rubydoc.info/github/juicyparts/flat) for additional examples, and information on Filters and
62
- Formatters.
61
+ Consult the [RDocs](http://rubydoc.info/github/juicyparts/flat/Flat/File) for additional examples, and information on Filters and Formatters.
63
62
 
64
63
  ## Contributing
65
64
 
66
- 1. Fork it ( https://github.com/juicyparts/flat/fork )
65
+ 1. [Fork it!](https://github.com/juicyparts/flat/fork)
67
66
  2. Create your feature branch (`git checkout -b my-new-feature`)
68
67
  3. Commit your changes (`git commit -am 'Add some feature'`)
69
68
  4. Push to the branch (`git push origin my-new-feature`)
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["mriffe@gmail.com"]
11
11
  spec.summary = %q{Library to make processing Flat Flies as easy as CSV files.}
12
12
  spec.description = %q{Easily process flat files with Flat. Specify the format in a subclass of Flat::File and read and write until the cows come home.}
13
- spec.homepage = "https://github.com/juicyparts/flat"
13
+ spec.homepage = "http://juicyparts.com/flat/"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |name| name.match(/^\.|^G.*|^Rakefile$|^spec.*/) }
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.add_development_dependency "bundler", ">= 1.6.2" # was "~> 1.7"
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
- spec.add_development_dependency "rdoc", "~> 4.1.0"
35
+ spec.add_development_dependency "rdoc", ">= 3.12" # was "~> 4.1.0"
36
36
 
37
37
  spec.add_development_dependency "rspec", "~> 3.1.0"
38
38
  spec.add_development_dependency "rspec-nc", "~> 0.2.0"
@@ -37,8 +37,7 @@ module Field
37
37
  yield field_def if block_given?
38
38
 
39
39
  pack_format << "A#{field_def.width}"
40
- flat_file_data[:width] += field_def.width
41
- # width += field_def.width # doesn't work for some reason
40
+ self.width += field_def.width
42
41
 
43
42
  # TODO: Add a check here to ensure the Field has a name specified; it can be a String or Symbol
44
43
  return field_def
@@ -1,3 +1,3 @@
1
1
  module Flat #:nodoc:
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mel Riffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-26 00:00:00.000000000 Z
11
+ date: 2014-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: extlib
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rdoc
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 4.1.0
61
+ version: '3.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 4.1.0
68
+ version: '3.12'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -198,7 +198,7 @@ files:
198
198
  - lib/flat/read_operations.rb
199
199
  - lib/flat/record.rb
200
200
  - lib/flat/version.rb
201
- homepage: https://github.com/juicyparts/flat
201
+ homepage: http://juicyparts.com/flat/
202
202
  licenses:
203
203
  - MIT
204
204
  metadata: