mines 0.0.1.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/mines +17 -0
- data/lib/generators/application.rb +25 -0
- metadata +66 -0
data/bin/mines
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# coding: utf-8
|
3
|
+
|
4
|
+
require 'thor'
|
5
|
+
require_relative '../lib/generators/application'
|
6
|
+
module Mines
|
7
|
+
class Cli < Thor
|
8
|
+
desc "new APP_NAME", "Create Application APP_NAME"
|
9
|
+
def new(name)
|
10
|
+
puts "Create App #{name}"
|
11
|
+
ARGV.shift
|
12
|
+
Generator::Application.start ARGV
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
Mines::Cli.start ARGV
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
require 'thor'
|
4
|
+
module Generator
|
5
|
+
class Application < Thor::Group
|
6
|
+
include Thor::Actions
|
7
|
+
|
8
|
+
desc "new APP_NAME"
|
9
|
+
|
10
|
+
# Define arguments and options
|
11
|
+
argument :name
|
12
|
+
|
13
|
+
def self.source_root
|
14
|
+
File.dirname(__FILE__)
|
15
|
+
puts File.dirname(__FILE__)
|
16
|
+
end
|
17
|
+
|
18
|
+
def create_directory_structure
|
19
|
+
empty_directory name
|
20
|
+
empty_directory name + "/miners"
|
21
|
+
empty_directory name + "/lib"
|
22
|
+
empty_directory name + "/log"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mines
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.alpha
|
5
|
+
prerelease: 6
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Panayiotis Vlantis
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: Ruby in Mines is a framework for creating data mining application prototypes
|
31
|
+
that focus on processing near real-time human generated content.
|
32
|
+
email: p.vlantis@di.uoa.gr
|
33
|
+
executables:
|
34
|
+
- mines
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- lib/generators/application.rb
|
39
|
+
- bin/mines
|
40
|
+
homepage:
|
41
|
+
licenses:
|
42
|
+
- MIT
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>'
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.3.1
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 1.8.25
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: Data mining application framework.
|
66
|
+
test_files: []
|