rsmart_toolbox 0.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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +14 -0
- data/Gemfile +20 -0
- data/LICENSE.txt +663 -0
- data/README.md +31 -0
- data/Rakefile +26 -0
- data/lib/rsmart_toolbox.rb +23 -0
- data/lib/rsmart_toolbox/etl.rb +240 -0
- data/lib/rsmart_toolbox/etl/grm.rb +190 -0
- data/lib/rsmart_toolbox/version.rb +19 -0
- data/rsmart_toolbox.gemspec +43 -0
- data/spec/rsmart_toolbox/etl/grm_spec.rb +620 -0
- data/spec/rsmart_toolbox/etl_spec.rb +447 -0
- data/spec/rsmart_toolbox_spec.rb +27 -0
- data/spec/spec_helper.rb +39 -0
- metadata +142 -0
- metadata.gz.sig +2 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# rSmart client library and command-line tool to help interact with rSmart's cloud APIs.
|
2
|
+
# Copyright (C) 2014 The rSmart Group, Inc.
|
3
|
+
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU Affero General Public License as published by
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU Affero General Public License for more details.
|
13
|
+
|
14
|
+
# You should have received a copy of the GNU Affero General Public License
|
15
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
|
17
|
+
require 'simplecov'
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# capture original references for later
|
21
|
+
original_stderr = $stderr
|
22
|
+
original_stdout = $stdout
|
23
|
+
|
24
|
+
config.before(:all) do
|
25
|
+
# Redirect stderr and stdout to /dev/null
|
26
|
+
$stderr = File.new '/dev/null', 'w'
|
27
|
+
$stdout = File.new '/dev/null', 'w'
|
28
|
+
end
|
29
|
+
|
30
|
+
config.after(:all) do
|
31
|
+
# restore original references
|
32
|
+
$stderr = original_stderr
|
33
|
+
$stdout = original_stdout
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
SimpleCov.start do
|
38
|
+
add_filter "/spec"
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rsmart_toolbox
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.1'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lance Speelmon
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRIwEAYDVQQDDAlsc3Bl
|
14
|
+
ZWxtb24xFjAUBgoJkiaJk/IsZAEZFgZyc21hcnQxEzARBgoJkiaJk/IsZAEZFgNj
|
15
|
+
b20wHhcNMTQwNzMwMjMxNTAyWhcNMTUwNzMwMjMxNTAyWjBBMRIwEAYDVQQDDAls
|
16
|
+
c3BlZWxtb24xFjAUBgoJkiaJk/IsZAEZFgZyc21hcnQxEzARBgoJkiaJk/IsZAEZ
|
17
|
+
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+btXzrpXRGcVZ
|
18
|
+
upRi1WxZFg0acLsvBl8pUxJ6COnCkL9ORXqXGcbvRFg5EMnfT5cCNj5hr3rqXEps
|
19
|
+
d+B6U2EQracPANln45BY5Ucpu0lmIDc6+jcbeAHc7sBbFDPiKv36q5xwEs9h7Q0e
|
20
|
+
8rMzyZSZfUZ3teGKNBqc7NfpcD8KDt6rwxwhlzns5Dwzqvpyw7nw93dyWEF14dk+
|
21
|
+
S9kZStGbyyAeC/3xEj8109gg1Yf6zgtYR3V0Gf35QkbWMQ6PRXGWL3ObWHNOlxJ6
|
22
|
+
bUmTHKGXDx7A7+/6zEVxrr/qHDjXGAqwGn7mosAcW3UY7SNGQRcRkdxJRLhC/Q6X
|
23
|
+
jFrzb5G1AgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
+
BBQtNMCcce/PKUn5IidjIkMBUkWvnDAfBgNVHREEGDAWgRRsc3BlZWxtb25AcnNt
|
25
|
+
YXJ0LmNvbTAfBgNVHRIEGDAWgRRsc3BlZWxtb25AcnNtYXJ0LmNvbTANBgkqhkiG
|
26
|
+
9w0BAQUFAAOCAQEAcYLOvLG1ss74meFl+7q3JyhePv62j1n2ox96d+ZgJ3JQJfJu
|
27
|
+
YwSAmBJ9tIEdVZQO9s4x2Un2DmMd/fxs7xPIkfyac0yBaGSH0Bh0lhIXddZGLtdH
|
28
|
+
KUr3ed+IdWFmQjR9CvLYk8ZA+zn6bmDuHlGcM+3NXPIlL4AEFfWelLO5FY5F2mz6
|
29
|
+
lXHM/xhYNLHjXjSh6eiI6UXYGKsJGNCB1R+QLhGtP4ZT5OA1l30U/C1yQ81wDI5c
|
30
|
+
sKRWzEtHFamxQaIspOja5O4oQKiCbWa90fEuIoCtwyy1rQtL9VKoDTs4vZASXNuc
|
31
|
+
F/lEyekXSjN36uTtlt4LkKLn/k7k5gRbt4+C9Q==
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2014-08-03 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: bundler
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.6'
|
42
|
+
type: :development
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.6'
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rake
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '10.0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rspec
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '3.0'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: simplecov
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
type: :development
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
description:
|
92
|
+
email:
|
93
|
+
- lspeelmon@rsmart.com
|
94
|
+
executables: []
|
95
|
+
extensions: []
|
96
|
+
extra_rdoc_files: []
|
97
|
+
files:
|
98
|
+
- ".gitignore"
|
99
|
+
- Gemfile
|
100
|
+
- LICENSE.txt
|
101
|
+
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- lib/rsmart_toolbox.rb
|
104
|
+
- lib/rsmart_toolbox/etl.rb
|
105
|
+
- lib/rsmart_toolbox/etl/grm.rb
|
106
|
+
- lib/rsmart_toolbox/version.rb
|
107
|
+
- rsmart_toolbox.gemspec
|
108
|
+
- spec/rsmart_toolbox/etl/grm_spec.rb
|
109
|
+
- spec/rsmart_toolbox/etl_spec.rb
|
110
|
+
- spec/rsmart_toolbox_spec.rb
|
111
|
+
- spec/spec_helper.rb
|
112
|
+
homepage: https://github.com/rSmart/rsmart_toolbox
|
113
|
+
licenses:
|
114
|
+
- AGPL-3.0
|
115
|
+
metadata:
|
116
|
+
issue_tracker: https://github.com/rSmart/rsmart_toolbox/issues
|
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: '1.9'
|
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.1
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Client library and command-line tool to help interact with rSmart's cloud
|
137
|
+
APIs.
|
138
|
+
test_files:
|
139
|
+
- spec/rsmart_toolbox/etl/grm_spec.rb
|
140
|
+
- spec/rsmart_toolbox/etl_spec.rb
|
141
|
+
- spec/rsmart_toolbox_spec.rb
|
142
|
+
- spec/spec_helper.rb
|
metadata.gz.sig
ADDED