datafile 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/HISTORY.md +4 -0
- data/Manifest.txt +6 -0
- data/README.md +20 -0
- data/Rakefile +31 -0
- data/lib/datafile.rb +27 -0
- data/lib/datafile/version.rb +7 -0
- metadata +96 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0f6e0ba472e5a12abe56392ae435edbcbe0a441c
|
4
|
+
data.tar.gz: 25e4d1ec36da8cdfe22a5080dc80d5e59c9b85b2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ba313a8f52adac23f223fb46e797fb7bcb8a30ee20a4e802f165a8a41baa5812fd856e1b14d745147a5791e6e7e512d98706759b40955adc7e37c3c8d884a0fc
|
7
|
+
data.tar.gz: 8fff0d4e06ea2c7017b2288fcc8af541295c35bfcc21f092a43c285ebd5bec56c381080a82bac4ca3a3be3589f1ce1de25a202dd45cf3a91e224d8cd6d36d1a5
|
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# datafile
|
2
|
+
|
3
|
+
datafile gem - builder for downloading n reading datasets
|
4
|
+
|
5
|
+
* home :: [github.com/rubylibs/datafile](https://github.com/rubylibs/datafile)
|
6
|
+
* bugs :: [github.com/rubylibs/datafile/issues](https://github.com/rubylibs/datafile/issues)
|
7
|
+
* gem :: [rubygems.org/gems/datafile](https://rubygems.org/gems/datafile)
|
8
|
+
* rdoc :: [rubydoc.info/gems/datafile](http://rubydoc.info/gems/datafile)
|
9
|
+
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
To be done
|
14
|
+
|
15
|
+
|
16
|
+
## License
|
17
|
+
|
18
|
+
The `datafile` scripts are dedicated to the public domain.
|
19
|
+
Use it as you please with no restrictions whatsoever.
|
20
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/datafile/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'datafile' do
|
5
|
+
|
6
|
+
self.version = Datafile::VERSION
|
7
|
+
|
8
|
+
self.summary = 'datafile - builder for downloading n reading datasets'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/rubylibs/datafile']
|
12
|
+
|
13
|
+
self.author = 'Gerald Bauer'
|
14
|
+
self.email = 'opensport@googlegroups.com'
|
15
|
+
|
16
|
+
# switch extension to .markdown for gihub formatting
|
17
|
+
self.readme_file = 'README.md'
|
18
|
+
self.history_file = 'HISTORY.md'
|
19
|
+
|
20
|
+
self.extra_deps = [
|
21
|
+
['logutils' ]
|
22
|
+
]
|
23
|
+
|
24
|
+
self.licenses = ['Public Domain']
|
25
|
+
|
26
|
+
self.spec_extras = {
|
27
|
+
:required_ruby_version => '>= 1.9.2'
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
end
|
data/lib/datafile.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
require 'logutils'
|
4
|
+
|
5
|
+
|
6
|
+
# our own code
|
7
|
+
|
8
|
+
require 'datafile/version' # let it always go first
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
module Datafile
|
13
|
+
|
14
|
+
def self.banner
|
15
|
+
"datafile/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.root
|
19
|
+
"#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
|
20
|
+
end
|
21
|
+
|
22
|
+
end # module Datafile
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
puts Datafile.banner # say hello
|
27
|
+
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: datafile
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gerald Bauer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: logutils
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: hoe
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.13'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.13'
|
55
|
+
description: datafile - builder for downloading n reading datasets
|
56
|
+
email: opensport@googlegroups.com
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files:
|
60
|
+
- HISTORY.md
|
61
|
+
- Manifest.txt
|
62
|
+
- README.md
|
63
|
+
files:
|
64
|
+
- HISTORY.md
|
65
|
+
- Manifest.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- lib/datafile.rb
|
69
|
+
- lib/datafile/version.rb
|
70
|
+
homepage: https://github.com/rubylibs/datafile
|
71
|
+
licenses:
|
72
|
+
- Public Domain
|
73
|
+
metadata: {}
|
74
|
+
post_install_message:
|
75
|
+
rdoc_options:
|
76
|
+
- "--main"
|
77
|
+
- README.md
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.9.2
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubyforge_project:
|
92
|
+
rubygems_version: 2.4.2
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: datafile - builder for downloading n reading datasets
|
96
|
+
test_files: []
|