rubx 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 800f71eaef00fb093f85f78c6f7752fb21216f98
4
+ data.tar.gz: afa6a18be4ef06a9ccdebc1c565ad09df2da2a3f
5
+ SHA512:
6
+ metadata.gz: 1c27dc71a3f1a443f1953d8622702131e4bdeeaf911e48c6d2f64dd4ce2249fcb8bc632c63aa911e6f9a4e346e70c0a6fb8bfeb33fa92cc4147326603be721f6
7
+ data.tar.gz: 25284ce9ad8a1b05980829959e8acaa5bc4db5430c195ddfc2a96dd31799c193a01883f91dfe8ea5874f0f69a3eafd159460ed830298ced0740edeebd7c65b9f
data/Gemfile CHANGED
@@ -1,10 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
- # rubx.gemspec defines the runtime dependencies
3
+ # Specify your gem's dependencies in the gemspec
4
4
  gemspec
5
-
6
- # Test and development dependencies are defined here
7
- # so CI can include just test dependencies
8
- group :test do
9
- gem 'rake'
10
- end
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 JohnnyT
1
+ Copyright (c) 2014 Creditera Inc.
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,44 +1,29 @@
1
1
  # Rubx
2
2
 
3
- Rubx is a [Online Analytical Processing][wiki_olap] ( **OLAP** ) library written in Ruby
4
- and provides the ability to:
3
+ Multi-dimensional analytics in MagLev
5
4
 
6
- * define a [OLAP][wiki_olap] schema
7
- * execute [MultiDimensional eXpressions][wiki_mdx] ( **MDX** ) queries
5
+ ## Installation
8
6
 
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.
7
+ Add this line to your application's Gemfile:
15
8
 
16
9
  gem 'rubx'
17
10
 
11
+ And then execute:
18
12
 
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
-
13
+ $ bundle
27
14
 
28
- ### Contributing
15
+ Or install it yourself as:
29
16
 
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)
17
+ $ gem install rubx
32
18
 
19
+ ## Usage
33
20
 
34
- ### Development
21
+ TODO: Write usage instructions here
35
22
 
36
- To see what has changed in recent versions, see the [CHANGELOG.md](CHANGELOG.md).
23
+ ## Contributing
37
24
 
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
25
+ 1. Fork it ( https://github.com/johnnyt/rubx/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create a new Pull Request
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new do |t|
5
+ t.libs << 'test'
6
+ end
7
+
8
+ desc 'Run tests'
9
+ task :default => :test
@@ -1,4 +1,5 @@
1
- require 'rubx/version'
1
+ require "rubx/version"
2
2
 
3
- module ::Rubx
3
+ module Rubx
4
+ # Your code goes here...
4
5
  end
@@ -1,3 +1,3 @@
1
1
  module Rubx
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -1,24 +1,23 @@
1
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'rubx/version'
5
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'
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rubx"
8
+ spec.version = Rubx::VERSION
9
+ spec.authors = ["JohnnyT"]
10
+ spec.email = ["ubergeek3141@gmail.com"]
11
+ spec.summary = %q{Multi-dimensional analytics in MagLev}
12
+ spec.description = spec.summary
13
+ spec.homepage = "https://github.com/johnnyt/rubx"
14
+ spec.license = "MIT"
15
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']
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
20
 
21
- # Check the Gemfile for test and development dependencies
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake"
22
23
  end
23
-
24
- # vim: syntax=ruby
@@ -0,0 +1,2 @@
1
+ require 'minitest/autorun'
2
+ require 'rubx'
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestVersion < Minitest::Test
4
+ def test_version
5
+ assert Rubx::VERSION
6
+ end
7
+ end
metadata CHANGED
@@ -1,58 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - JohnnyT
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-12 00:00:00.000000000 Z
13
- dependencies: []
14
- description: A pure Ruby OLAP application
11
+ date: 2014-10-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Multi-dimensional analytics in MagLev
15
42
  email:
16
43
  - ubergeek3141@gmail.com
17
44
  executables: []
18
45
  extensions: []
19
46
  extra_rdoc_files: []
20
47
  files:
21
- - .gitignore
22
- - CHANGELOG.md
23
- - CONTRIBUTING.md
48
+ - ".gitignore"
24
49
  - Gemfile
25
- - Gemfile.lock
26
- - LICENSE.md
50
+ - LICENSE.txt
27
51
  - README.md
28
52
  - Rakefile
29
53
  - lib/rubx.rb
30
54
  - lib/rubx/version.rb
31
55
  - rubx.gemspec
56
+ - test/helper.rb
57
+ - test/test_version.rb
32
58
  homepage: https://github.com/johnnyt/rubx
33
59
  licenses:
34
60
  - MIT
61
+ metadata: {}
35
62
  post_install_message:
36
63
  rdoc_options: []
37
64
  require_paths:
38
65
  - lib
39
66
  required_ruby_version: !ruby/object:Gem::Requirement
40
- none: false
41
67
  requirements:
42
- - - ! '>='
68
+ - - ">="
43
69
  - !ruby/object:Gem::Version
44
70
  version: '0'
45
71
  required_rubygems_version: !ruby/object:Gem::Requirement
46
- none: false
47
72
  requirements:
48
- - - ! '>='
73
+ - - ">="
49
74
  - !ruby/object:Gem::Version
50
75
  version: '0'
51
76
  requirements: []
52
77
  rubyforge_project:
53
- rubygems_version: 1.8.23
78
+ rubygems_version: 2.4.0
54
79
  signing_key:
55
- specification_version: 3
56
- summary: A pure Ruby OLAP application
57
- test_files: []
80
+ specification_version: 4
81
+ summary: Multi-dimensional analytics in MagLev
82
+ test_files:
83
+ - test/helper.rb
84
+ - test/test_version.rb
58
85
  has_rdoc:
@@ -1,5 +0,0 @@
1
- ### 0.1.0 / 2013-12-12
2
-
3
- * 1 major enhancement
4
-
5
- * Birthday!
@@ -1,46 +0,0 @@
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/
@@ -1,16 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rubx (0.1.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- rake (10.1.0)
10
-
11
- PLATFORMS
12
- ruby
13
-
14
- DEPENDENCIES
15
- rake
16
- rubx!