rubx 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +34 -0
- data/CHANGELOG.md +5 -0
- data/CONTRIBUTING.md +46 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +16 -0
- data/LICENSE.md +22 -0
- data/README.md +44 -0
- data/Rakefile +2 -0
- data/lib/rubx/version.rb +3 -0
- data/lib/rubx.rb +4 -0
- data/rubx.gemspec +24 -0
- metadata +58 -0
data/.gitignore
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
## TEXTMATE
|
2
|
+
*.tmproj
|
3
|
+
tmtags
|
4
|
+
|
5
|
+
## EMACS
|
6
|
+
*~
|
7
|
+
\#*
|
8
|
+
.\#*
|
9
|
+
|
10
|
+
## VIM
|
11
|
+
*.swp
|
12
|
+
|
13
|
+
## PROJECT::GENERAL
|
14
|
+
.yardoc
|
15
|
+
coverage
|
16
|
+
doc
|
17
|
+
log
|
18
|
+
pkg
|
19
|
+
rdoc
|
20
|
+
|
21
|
+
## BUNDLER
|
22
|
+
*.gem
|
23
|
+
.bundle
|
24
|
+
pkg
|
25
|
+
|
26
|
+
## RBENV
|
27
|
+
.ruby-version
|
28
|
+
.rbenv*
|
29
|
+
|
30
|
+
## RCOV
|
31
|
+
coverage.data
|
32
|
+
|
33
|
+
## RUBINIUS
|
34
|
+
*.rbc
|
data/CHANGELOG.md
ADDED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
## Contributing
|
2
|
+
In the spirit of [free software][free-sw], **everyone** is encouraged to help
|
3
|
+
improve this project.
|
4
|
+
|
5
|
+
[free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
|
6
|
+
|
7
|
+
Here are some ways *you* can contribute:
|
8
|
+
|
9
|
+
* by using alpha, beta, and prerelease versions
|
10
|
+
* by reporting bugs
|
11
|
+
* by suggesting new features
|
12
|
+
* by writing or editing documentation
|
13
|
+
* by writing specifications
|
14
|
+
* by writing code ( **no patch is too small**: fix typos, add comments, clean up
|
15
|
+
inconsistent whitespace)
|
16
|
+
* by refactoring code
|
17
|
+
* by closing [issues][]
|
18
|
+
* by reviewing patches
|
19
|
+
|
20
|
+
[issues]: https://github.com/johnnyt/rubx/issues
|
21
|
+
|
22
|
+
## Submitting an Issue
|
23
|
+
We use the [GitHub issue tracker][issues] to track bugs and features. Before
|
24
|
+
submitting a bug report or feature request, check to make sure it hasn't
|
25
|
+
already been submitted. When submitting a bug report, please include a [Gist][]
|
26
|
+
that includes a stack trace and any details that may be necessary to reproduce
|
27
|
+
the bug, including your gem version, Ruby version, and operating system.
|
28
|
+
Ideally, a bug report should include a pull request with failing specs.
|
29
|
+
|
30
|
+
[gist]: https://gist.github.com/
|
31
|
+
|
32
|
+
## Submitting a Pull Request
|
33
|
+
1. [Fork the repository.][fork]
|
34
|
+
2. [Create a topic branch.][branch]
|
35
|
+
3. Add specs for your unimplemented feature or bug fix.
|
36
|
+
4. Run `bundle exec rake spec`. If your specs pass, return to step 3.
|
37
|
+
5. Implement your feature or bug fix.
|
38
|
+
6. Run `bundle exec rake spec`. If your specs fail, return to step 5.
|
39
|
+
7. Run `open coverage/index.html`. If your changes are not completely covered
|
40
|
+
by your tests, return to step 3.
|
41
|
+
8. Add, commit, and push your changes.
|
42
|
+
9. [Submit a pull request.][pr]
|
43
|
+
|
44
|
+
[fork]: http://help.github.com/fork-a-repo/
|
45
|
+
[branch]: http://learn.github.com/p/branching.html
|
46
|
+
[pr]: http://help.github.com/send-pull-requests/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/LICENSE.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 JohnnyT
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Rubx
|
2
|
+
|
3
|
+
Rubx is a [Online Analytical Processing][wiki_olap] ( **OLAP** ) library written in Ruby
|
4
|
+
and provides the ability to:
|
5
|
+
|
6
|
+
* define a [OLAP][wiki_olap] schema
|
7
|
+
* execute [MultiDimensional eXpressions][wiki_mdx] ( **MDX** ) queries
|
8
|
+
|
9
|
+
|
10
|
+
### Installation
|
11
|
+
|
12
|
+
Run `gem install rubx` to install the gem on its own.
|
13
|
+
|
14
|
+
Or you can add the following to your Gemfile and run the `bundle` command to install it.
|
15
|
+
|
16
|
+
gem 'rubx'
|
17
|
+
|
18
|
+
|
19
|
+
### Similar projects
|
20
|
+
|
21
|
+
Check out these projects (which have been super helpful in working on Rubx):
|
22
|
+
|
23
|
+
* [Mondrian (git)](https://github.com/pentaho/mondrian) - source code for Mondrian on GitHub
|
24
|
+
* [mondrian-olap](https://github.com/rsim/mondrian-olap) - a RubyGem wrapping Mondrian
|
25
|
+
* [Saiku](http://analytical-labs.com) ([Saiku on GitHub](https://github.com/OSBI/saiku)) - a modular open-source analysis suite offering lightweight OLAP which remains easily embeddable, extendable and configurable.
|
26
|
+
|
27
|
+
|
28
|
+
### Contributing
|
29
|
+
|
30
|
+
If you'd like to contribute to Rubx, that's awesome, and we <3 you. There's a guide to contributing
|
31
|
+
(both code and general help) over in [CONTRIBUTING.md](CONTRIBUTING.md)
|
32
|
+
|
33
|
+
|
34
|
+
### Development
|
35
|
+
|
36
|
+
To see what has changed in recent versions, see the [CHANGELOG.md](CHANGELOG.md).
|
37
|
+
|
38
|
+
[wiki_cube]: http://en.wikipedia.org/wiki/OLAP_cube
|
39
|
+
[wiki_olap]: http://en.wikipedia.org/wiki/Online_analytical_processing
|
40
|
+
[wiki_mdx]: http://en.wikipedia.org/wiki/MultiDimensional_eXpressions
|
41
|
+
[wiki_open_source]: http://en.wikipedia.org/wiki/Open-source_software
|
42
|
+
[wiki_data_warehouse]: http://en.wikipedia.org/wiki/Data_warehouse
|
43
|
+
[wiki_star_schema]: http://en.wikipedia.org/wiki/Star_schema
|
44
|
+
[wiki_dimensional_modeling]: http://en.wikipedia.org/wiki/Dimensional_modeling
|
data/Rakefile
ADDED
data/lib/rubx/version.rb
ADDED
data/lib/rubx.rb
ADDED
data/rubx.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rubx/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = 'rubx'
|
8
|
+
s.version = Rubx::VERSION
|
9
|
+
s.authors = ['JohnnyT']
|
10
|
+
s.email = ['ubergeek3141@gmail.com']
|
11
|
+
s.homepage = 'https://github.com/johnnyt/rubx'
|
12
|
+
s.summary = %q{A pure Ruby OLAP application}
|
13
|
+
s.description = %q{A pure Ruby OLAP application}
|
14
|
+
s.license = 'MIT'
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split($/)
|
17
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
19
|
+
s.require_paths = ['lib']
|
20
|
+
|
21
|
+
# Check the Gemfile for test and development dependencies
|
22
|
+
end
|
23
|
+
|
24
|
+
# vim: syntax=ruby
|
metadata
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubx
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- JohnnyT
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-12-12 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: A pure Ruby OLAP application
|
15
|
+
email:
|
16
|
+
- ubergeek3141@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- CHANGELOG.md
|
23
|
+
- CONTRIBUTING.md
|
24
|
+
- Gemfile
|
25
|
+
- Gemfile.lock
|
26
|
+
- LICENSE.md
|
27
|
+
- README.md
|
28
|
+
- Rakefile
|
29
|
+
- lib/rubx.rb
|
30
|
+
- lib/rubx/version.rb
|
31
|
+
- rubx.gemspec
|
32
|
+
homepage: https://github.com/johnnyt/rubx
|
33
|
+
licenses:
|
34
|
+
- MIT
|
35
|
+
post_install_message:
|
36
|
+
rdoc_options: []
|
37
|
+
require_paths:
|
38
|
+
- lib
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
none: false
|
47
|
+
requirements:
|
48
|
+
- - ! '>='
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0'
|
51
|
+
requirements: []
|
52
|
+
rubyforge_project:
|
53
|
+
rubygems_version: 1.8.23
|
54
|
+
signing_key:
|
55
|
+
specification_version: 3
|
56
|
+
summary: A pure Ruby OLAP application
|
57
|
+
test_files: []
|
58
|
+
has_rdoc:
|