datacraft 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/datacraft.gemspec +31 -0
- data/exe/dcraft +6 -0
- data/inst.rb +54 -0
- data/lib/datacraft.rb +10 -0
- data/lib/datacraft/cli.rb +17 -0
- data/lib/datacraft/context.rb +23 -0
- data/lib/datacraft/exceptions.rb +3 -0
- data/lib/datacraft/instruction.rb +48 -0
- data/lib/datacraft/registry.rb +73 -0
- data/lib/datacraft/runner.rb +36 -0
- data/lib/datacraft/version.rb +3 -0
- metadata +137 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dcf078a0a72cdec3ec5a91b960b7fda170b7a5d5
|
4
|
+
data.tar.gz: 0a56de5697fc086c38b9570091400599590056e9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fabbff6bb6ab5e68ba24694496229094c163d11a2230113bb52e58a87d1e22511cf328d8eef8125795727a234ab50fde510b89e55dc7e48162e369314b32fa83
|
7
|
+
data.tar.gz: e7400f95ee9b21b6f4b25809ab5abc47ffedc47583260ec53329bc6c55f5ec90edc7a2e45bf7dbe7ccffd97c9048bdff8ba91bff1457f5c4ae260ec40c9de9a4
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 xiaoxing
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Datacraft
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/datacraft`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'datacraft'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install datacraft
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/datacraft. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'datacraft'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
require 'pry'
|
11
|
+
Pry.start
|
12
|
+
|
13
|
+
# require 'irb'
|
14
|
+
# IRB.start
|
data/bin/setup
ADDED
data/datacraft.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'datacraft/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'datacraft'
|
8
|
+
spec.version = Datacraft::VERSION
|
9
|
+
spec.authors = ['Xiaoxing Hu']
|
10
|
+
spec.email = ['dawnstar.hu@gmail.com']
|
11
|
+
|
12
|
+
spec.summary = 'Minecraft for data.'
|
13
|
+
spec.description = 'Datacraft works like Minecraft but for data. '\
|
14
|
+
'The workflow: Get data from source -> process them -> build the products '\
|
15
|
+
'or parts that is used in another end product. '\
|
16
|
+
'And you get to desgin the instructions with a comprehensive DSL.'
|
17
|
+
spec.homepage = 'https://github.com/xiaoxinghu/datacraft'
|
18
|
+
spec.license = 'MIT'
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
|
25
|
+
spec.add_dependency 'thor', '~> 0'
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
28
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
29
|
+
spec.add_development_dependency 'minitest'
|
30
|
+
spec.add_development_dependency 'pry'
|
31
|
+
end
|
data/exe/dcraft
ADDED
data/inst.rb
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'csv'
|
2
|
+
|
3
|
+
class CsvSource
|
4
|
+
def initialize(filename)
|
5
|
+
@csv = CSV.open(filename, headers: true, header_converters: :symbol)
|
6
|
+
end
|
7
|
+
|
8
|
+
def each
|
9
|
+
@csv.each do |row|
|
10
|
+
yield(row.to_hash)
|
11
|
+
end
|
12
|
+
@csv.close
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
class Builder
|
17
|
+
def initialize
|
18
|
+
@total = 0
|
19
|
+
@total_age = 0
|
20
|
+
end
|
21
|
+
def <<(row)
|
22
|
+
@total += 1
|
23
|
+
@total_age += row[:age].to_i
|
24
|
+
end
|
25
|
+
|
26
|
+
def build
|
27
|
+
open('report.txt', 'w') do |f|
|
28
|
+
f.puts "total persion: #{@total}"
|
29
|
+
f.puts "average age: #{@total_age.to_f / @total}"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def close
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
pre_build do
|
39
|
+
puts 'Building ...'
|
40
|
+
end
|
41
|
+
|
42
|
+
post_build do
|
43
|
+
puts 'Construction complete.'
|
44
|
+
end
|
45
|
+
|
46
|
+
from CsvSource, 'data.csv'
|
47
|
+
|
48
|
+
tweak do |row|
|
49
|
+
# puts row
|
50
|
+
row[:email] = 'N/A' unless row[:email]
|
51
|
+
row
|
52
|
+
end
|
53
|
+
|
54
|
+
to Builder
|
data/lib/datacraft.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'datacraft'
|
2
|
+
|
3
|
+
module Datacraft
|
4
|
+
# command line interface
|
5
|
+
class Cli < Thor
|
6
|
+
desc 'build [INSTRUCTION_FILE]', 'build the data by instruction'
|
7
|
+
def build(filename)
|
8
|
+
instruction = Instruction.from_file filename
|
9
|
+
Datacraft.run instruction
|
10
|
+
end
|
11
|
+
|
12
|
+
desc 'check [INSTRUCTION_FILE]', 'evaluate the instruction without running it'
|
13
|
+
def check(filename)
|
14
|
+
puts Instruction.check filename
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Datacraft
|
2
|
+
class Context
|
3
|
+
def providers
|
4
|
+
@providers ||= ProviderRegistry.new
|
5
|
+
end
|
6
|
+
|
7
|
+
def consumers
|
8
|
+
@consumers ||= ConsumerRegistry.new
|
9
|
+
end
|
10
|
+
|
11
|
+
def tweakers
|
12
|
+
@tweakers ||= TweakerRegistry.new
|
13
|
+
end
|
14
|
+
|
15
|
+
def pre_hooks
|
16
|
+
@pre_hooks ||= HookRegistry.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def post_hooks
|
20
|
+
@post_hooks ||= HookRegistry.new
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Datacraft
|
2
|
+
# Building Instruction
|
3
|
+
class Instruction
|
4
|
+
attr_reader :context
|
5
|
+
|
6
|
+
def initialize(context = Context.new)
|
7
|
+
@context = context
|
8
|
+
end
|
9
|
+
|
10
|
+
def pre_build(&block)
|
11
|
+
@context.pre_hooks << { block: block }
|
12
|
+
end
|
13
|
+
|
14
|
+
def from(klass, *initialization_params)
|
15
|
+
@context.providers << { klass: klass, args: initialization_params }
|
16
|
+
end
|
17
|
+
|
18
|
+
def tweak(klass = nil, *initialization_params, &block)
|
19
|
+
@context.tweakers << { klass: klass, args: initialization_params, block: block }
|
20
|
+
end
|
21
|
+
|
22
|
+
def to(klass, *initialization_params)
|
23
|
+
@context.consumers << { klass: klass, args: initialization_params }
|
24
|
+
end
|
25
|
+
|
26
|
+
def post_build(&block)
|
27
|
+
@context.post_hooks << { block: block }
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.from_file(filename)
|
31
|
+
script_content = IO.read(filename)
|
32
|
+
instruction = Instruction.new
|
33
|
+
instruction.instance_eval(script_content)
|
34
|
+
instruction
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.check(filename)
|
38
|
+
begin
|
39
|
+
script_content = IO.read(filename)
|
40
|
+
instruction = Instruction.new
|
41
|
+
instruction.instance_eval(script_content)
|
42
|
+
'Looks good.'
|
43
|
+
rescue InvalidInstruction => e
|
44
|
+
e.message
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
module Datacraft
|
2
|
+
# for normalizing blocks
|
3
|
+
class CompatiableProc < Proc
|
4
|
+
alias_method :run, :call
|
5
|
+
alias_method :process, :call
|
6
|
+
alias_method :tweak, :call
|
7
|
+
end
|
8
|
+
|
9
|
+
# common registry
|
10
|
+
class Registry
|
11
|
+
def initialize
|
12
|
+
@items = []
|
13
|
+
end
|
14
|
+
|
15
|
+
attr_accessor :mandatory_methods
|
16
|
+
|
17
|
+
def <<(val)
|
18
|
+
klass = val[:klass]
|
19
|
+
block = val[:block]
|
20
|
+
if klass
|
21
|
+
fail InvalidInstruction, "#{klass.name} needs to implement methods: "\
|
22
|
+
"#{mandatory_methods}" unless valid? klass
|
23
|
+
elsif block
|
24
|
+
else
|
25
|
+
fail 'registry error'
|
26
|
+
end
|
27
|
+
@items << val
|
28
|
+
end
|
29
|
+
|
30
|
+
def valid?(klass)
|
31
|
+
mandatory_methods.all? do |m|
|
32
|
+
klass.method_defined? m
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def each
|
37
|
+
@instances ||= @items.map do |i|
|
38
|
+
if i[:klass]
|
39
|
+
i[:klass].new(*i[:args])
|
40
|
+
elsif i[:block]
|
41
|
+
CompatiableProc.new(&i[:block])
|
42
|
+
end
|
43
|
+
end
|
44
|
+
@instances.each do |instance|
|
45
|
+
yield instance
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
class ProviderRegistry < Registry
|
51
|
+
def mandatory_methods
|
52
|
+
[:each]
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class ConsumerRegistry < Registry
|
57
|
+
def mandatory_methods
|
58
|
+
[:<<]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
class TweakerRegistry < Registry
|
63
|
+
def mandatory_methods
|
64
|
+
[:tweak]
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class HookRegistry < Registry
|
69
|
+
def mandatory_methods
|
70
|
+
[:run]
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Datacraft
|
2
|
+
# The runner for the whole process
|
3
|
+
module Runner
|
4
|
+
def run(instruction)
|
5
|
+
context = instruction.context
|
6
|
+
context.pre_hooks.each(&:call)
|
7
|
+
process_rows(
|
8
|
+
context.providers,
|
9
|
+
context.tweakers,
|
10
|
+
context.consumers
|
11
|
+
)
|
12
|
+
context.post_hooks.each(&:call)
|
13
|
+
end
|
14
|
+
|
15
|
+
def process_rows(providers, tweakers, consumers)
|
16
|
+
providers.each do |provider|
|
17
|
+
provider.each do |row|
|
18
|
+
tweakers.each do |tweaker|
|
19
|
+
row = tweaker.tweak row
|
20
|
+
break unless row
|
21
|
+
end
|
22
|
+
# nil means to dismiss the row
|
23
|
+
next unless row
|
24
|
+
consumers.each do |consumer|
|
25
|
+
consumer << row
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
consumers.each do |consumer|
|
30
|
+
consumer.build if consumer.respond_to? :build
|
31
|
+
consumer.close if consumer.respond_to? :close
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: datacraft
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Xiaoxing Hu
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
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: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: 'Datacraft works like Minecraft but for data. The workflow: Get data
|
84
|
+
from source -> process them -> build the products or parts that is used in another
|
85
|
+
end product. And you get to desgin the instructions with a comprehensive DSL.'
|
86
|
+
email:
|
87
|
+
- dawnstar.hu@gmail.com
|
88
|
+
executables:
|
89
|
+
- dcraft
|
90
|
+
extensions: []
|
91
|
+
extra_rdoc_files: []
|
92
|
+
files:
|
93
|
+
- ".gitignore"
|
94
|
+
- ".travis.yml"
|
95
|
+
- CODE_OF_CONDUCT.md
|
96
|
+
- Gemfile
|
97
|
+
- LICENSE.txt
|
98
|
+
- README.md
|
99
|
+
- Rakefile
|
100
|
+
- bin/console
|
101
|
+
- bin/setup
|
102
|
+
- datacraft.gemspec
|
103
|
+
- exe/dcraft
|
104
|
+
- inst.rb
|
105
|
+
- lib/datacraft.rb
|
106
|
+
- lib/datacraft/cli.rb
|
107
|
+
- lib/datacraft/context.rb
|
108
|
+
- lib/datacraft/exceptions.rb
|
109
|
+
- lib/datacraft/instruction.rb
|
110
|
+
- lib/datacraft/registry.rb
|
111
|
+
- lib/datacraft/runner.rb
|
112
|
+
- lib/datacraft/version.rb
|
113
|
+
homepage: https://github.com/xiaoxinghu/datacraft
|
114
|
+
licenses:
|
115
|
+
- MIT
|
116
|
+
metadata: {}
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 2.4.8
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Minecraft for data.
|
137
|
+
test_files: []
|