dbf 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2006-2010 Keith Morrison <keithm@infused.org>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -4,7 +4,6 @@ $: << File.join(PROJECT_ROOT, 'lib')
4
4
  require 'rubygems'
5
5
  require 'jeweler'
6
6
  require 'spec/rake/spectask'
7
- require 'metric_fu'
8
7
 
9
8
  Jeweler::Tasks.new do |s|
10
9
  s.name = 'dbf'
@@ -1,5 +1,5 @@
1
1
  ---
2
+ :patch: 7
2
3
  :major: 1
3
- :minor: 2
4
- :patch: 6
5
4
  :build:
5
+ :minor: 2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dbf}
8
- s.version = "1.2.6"
8
+ s.version = "1.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Keith Morrison"]
12
- s.date = %q{2010-05-17}
12
+ s.date = %q{2010-07-03}
13
13
  s.default_executable = %q{dbf}
14
14
  s.description = %q{A small fast library for reading dBase, xBase, Clipper and FoxPro database files.}
15
15
  s.email = %q{keithm@infused.org}
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  ".autotest",
22
22
  ".gitignore",
23
23
  "History.txt",
24
+ "MIT-LICENSE",
24
25
  "README.markdown",
25
26
  "Rakefile",
26
27
  "VERSION.yml",
@@ -2,7 +2,6 @@ module DBF
2
2
  DBF_HEADER_SIZE = 32
3
3
  FPT_HEADER_SIZE = 512
4
4
  BLOCK_HEADER_SIZE = 8
5
- DATE_REGEXP = /([\d]{4})([\d]{2})([\d]{2})/
6
5
  VERSION_DESCRIPTIONS = {
7
6
  "02" => "FoxBase",
8
7
  "03" => "dBase III without memo file",
@@ -18,10 +17,6 @@ module DBF
18
17
  "fb" => "FoxPro without memo file"
19
18
  }
20
19
 
21
- MS_PER_SECOND = 1000
22
- MS_PER_MINUTE = MS_PER_SECOND * 60
23
- MS_PER_HOUR = MS_PER_MINUTE * 60
24
-
25
- class DBFError < StandardError; end
26
-
20
+ class DBFError < StandardError
21
+ end
27
22
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbf
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 2
8
- - 6
9
- version: 1.2.6
9
+ - 7
10
+ version: 1.2.7
10
11
  platform: ruby
11
12
  authors:
12
13
  - Keith Morrison
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-17 00:00:00 -07:00
18
+ date: 2010-07-03 00:00:00 -07:00
18
19
  default_executable: dbf
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 9
28
30
  segments:
29
31
  - 2
30
32
  - 3
@@ -40,6 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
45
+ hash: 7
43
46
  segments:
44
47
  - 1
45
48
  - 4
@@ -59,6 +62,7 @@ files:
59
62
  - .autotest
60
63
  - .gitignore
61
64
  - History.txt
65
+ - MIT-LICENSE
62
66
  - README.markdown
63
67
  - Rakefile
64
68
  - VERSION.yml
@@ -106,6 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
110
  requirements:
107
111
  - - ">="
108
112
  - !ruby/object:Gem::Version
113
+ hash: 3
109
114
  segments:
110
115
  - 0
111
116
  version: "0"
@@ -114,6 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
119
  requirements:
115
120
  - - ">="
116
121
  - !ruby/object:Gem::Version
122
+ hash: 3
117
123
  segments:
118
124
  - 0
119
125
  version: "0"