gooddata 0.6.0.pre11 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -1
- data/.yardopts +2 -0
- data/README.md +6 -3
- data/Rakefile +24 -7
- data/gooddata +2 -2
- data/gooddata.gemspec +4 -3
- data/lib/gooddata.rb +17 -12
- data/lib/gooddata/bricks/base_downloader.rb +7 -7
- data/lib/gooddata/bricks/brick.rb +7 -8
- data/lib/gooddata/bricks/bricks.rb +4 -1
- data/lib/gooddata/bricks/middleware/base_middleware.rb +2 -2
- data/lib/gooddata/bricks/middleware/bench_middleware.rb +5 -6
- data/lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb +21 -22
- data/lib/gooddata/bricks/middleware/fs_upload_middleware.rb +3 -4
- data/lib/gooddata/bricks/middleware/gooddata_middleware.rb +14 -14
- data/lib/gooddata/bricks/middleware/logger_middleware.rb +6 -6
- data/lib/gooddata/bricks/middleware/middleware.rb +4 -1
- data/lib/gooddata/bricks/middleware/restforce_middleware.rb +29 -32
- data/lib/gooddata/bricks/middleware/stdout_middleware.rb +5 -5
- data/lib/gooddata/bricks/middleware/twitter_middleware.rb +6 -8
- data/lib/gooddata/bricks/utils.rb +3 -3
- data/lib/gooddata/cli/cli.rb +4 -2
- data/lib/gooddata/cli/commands/api_cmd.rb +6 -4
- data/lib/gooddata/cli/commands/auth_cmd.rb +5 -3
- data/lib/gooddata/cli/commands/console_cmd.rb +1 -1
- data/lib/gooddata/cli/commands/process_cmd.rb +6 -4
- data/lib/gooddata/cli/commands/profile_cmd.rb +5 -3
- data/lib/gooddata/cli/commands/project_cmd.rb +24 -22
- data/lib/gooddata/cli/commands/run_ruby_cmd.rb +12 -10
- data/lib/gooddata/cli/commands/scaffold_cmd.rb +8 -6
- data/lib/gooddata/cli/hooks.rb +4 -2
- data/lib/gooddata/cli/shared.rb +3 -1
- data/lib/gooddata/cli/terminal.rb +16 -0
- data/lib/gooddata/client.rb +28 -22
- data/lib/gooddata/commands/api.rb +43 -26
- data/lib/gooddata/commands/auth.rb +22 -53
- data/lib/gooddata/commands/base.rb +2 -0
- data/lib/gooddata/commands/commands.rb +3 -0
- data/lib/gooddata/commands/datasets.rb +39 -136
- data/lib/gooddata/commands/process.rb +134 -130
- data/lib/gooddata/commands/profile.rb +2 -0
- data/lib/gooddata/commands/projects.rb +91 -129
- data/lib/gooddata/commands/runners.rb +11 -11
- data/lib/gooddata/commands/scaffold.rb +28 -26
- data/lib/gooddata/connection.rb +61 -68
- data/lib/gooddata/core/core.rb +1 -2
- data/lib/gooddata/data/data.rb +7 -0
- data/lib/gooddata/data/guesser.rb +114 -0
- data/lib/gooddata/exceptions/command_failed.rb +7 -0
- data/lib/gooddata/exceptions/exceptions.rb +7 -0
- data/lib/gooddata/{exceptions.rb → exceptions/project_not_found.rb} +2 -2
- data/lib/gooddata/extensions/big_decimal.rb +5 -0
- data/lib/gooddata/extract.rb +2 -0
- data/lib/gooddata/goodzilla/goodzilla.rb +11 -12
- data/lib/gooddata/helpers.rb +49 -35
- data/lib/gooddata/models/attribute.rb +7 -5
- data/lib/gooddata/models/dashboard.rb +44 -45
- data/lib/gooddata/models/data_result.rb +10 -13
- data/lib/gooddata/models/data_set.rb +6 -6
- data/lib/gooddata/models/display_form.rb +4 -4
- data/lib/gooddata/models/empty_result.rb +4 -3
- data/lib/gooddata/models/fact.rb +5 -5
- data/lib/gooddata/models/links.rb +3 -1
- data/lib/gooddata/models/metadata.rb +34 -32
- data/lib/gooddata/models/metric.rb +33 -34
- data/lib/gooddata/models/model.rb +165 -173
- data/lib/gooddata/models/models.rb +3 -0
- data/lib/gooddata/models/process.rb +18 -17
- data/lib/gooddata/models/profile.rb +3 -1
- data/lib/gooddata/models/project.rb +107 -35
- data/lib/gooddata/models/project_metadata.rb +12 -12
- data/lib/gooddata/models/report.rb +31 -30
- data/lib/gooddata/models/report_data_result.rb +22 -19
- data/lib/gooddata/models/report_definition.rb +101 -80
- data/lib/gooddata/version.rb +5 -3
- data/lib/templates/bricks/brick.rb.erb +3 -3
- data/lib/templates/bricks/main.rb.erb +3 -2
- data/lib/templates/project/Goodfile.erb +2 -2
- data/lib/templates/project/model/model.rb.erb +19 -19
- data/spec/data/.gooddata +4 -0
- data/spec/helpers/blueprint_helper.rb +2 -2
- data/spec/helpers/cli_helper.rb +28 -0
- data/spec/helpers/connection_helper.rb +2 -2
- data/spec/integration/command_projects_spec.rb +1 -1
- data/spec/integration/create_from_template_spec.rb +12 -0
- data/spec/integration/full_project_spec.rb +2 -2
- data/spec/integration/partial_md_export_import_spec.rb +36 -0
- data/spec/logging_in_logging_out_spec.rb +1 -1
- data/spec/spec_helper.rb +29 -2
- data/spec/unit/cli/cli_spec.rb +3 -3
- data/spec/unit/cli/commands/cmd_api_spec.rb +21 -4
- data/spec/unit/cli/commands/cmd_auth_spec.rb +2 -4
- data/spec/unit/cli/commands/cmd_process_spec.rb +20 -4
- data/spec/unit/cli/commands/cmd_profile_spec.rb +9 -4
- data/spec/unit/cli/commands/cmd_project_spec.rb +53 -4
- data/spec/unit/cli/commands/cmd_run_ruby_spec.rb +2 -4
- data/spec/unit/cli/commands/cmd_scaffold_spec.rb +14 -4
- data/spec/unit/commands/command_api_spec.rb +21 -2
- data/spec/unit/commands/command_auth_spec.rb +62 -1
- data/spec/unit/commands/command_dataset_spec.rb +31 -3
- data/spec/unit/commands/command_process_spec.rb +75 -1
- data/spec/unit/commands/command_profile_spec.rb +7 -1
- data/spec/unit/commands/command_projects_spec.rb +1 -1
- data/spec/unit/commands/command_scaffold_spec.rb +46 -1
- data/spec/unit/core/connection_spec.rb +1 -0
- data/spec/unit/data/guesser_spec.rb +54 -0
- data/spec/unit/helpers_spec.rb +47 -0
- data/spec/unit/model/schema_builder_spec.rb +2 -0
- data/spec/unit/model/tools_spec.rb +89 -0
- data/test/test_upload.rb +39 -15
- metadata +98 -75
- data/test/test_commands.rb +0 -85
- data/test/test_guessing.rb +0 -46
- data/test/test_model.rb +0 -81
- data/test/test_rest_api_basic.rb +0 -41
data/test/test_upload.rb
CHANGED
@@ -9,22 +9,46 @@ GoodData.logger = Logger.new(STDOUT)
|
|
9
9
|
|
10
10
|
class TestModel < Test::Unit::TestCase
|
11
11
|
FILE = [
|
12
|
-
|
13
|
-
[
|
14
|
-
[
|
15
|
-
[
|
16
|
-
[
|
12
|
+
%w(cp a1 a2 f1 f2),
|
13
|
+
[1, 'a1.1', 'a2.1', '0', '5'],
|
14
|
+
[2, 'a1.2', 'a2.1', nil, 10],
|
15
|
+
[3, 'a1.2', 'a2.2', 1, nil],
|
16
|
+
[4, 'a1.3', 'a2.2', 0, 0]
|
17
17
|
]
|
18
18
|
COLUMNS = [
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
{
|
20
|
+
'type' => 'CONNECTION_POINT',
|
21
|
+
'name' => 'cp',
|
22
|
+
'title' => 'CP',
|
23
|
+
'folder' => 'test'
|
24
|
+
},
|
25
|
+
{
|
26
|
+
'type' => 'ATTRIBUTE',
|
27
|
+
'name' => 'a1', 'title' => 'A1',
|
28
|
+
'folder' => 'test'
|
29
|
+
},
|
30
|
+
{
|
31
|
+
'type' => 'ATTRIBUTE',
|
32
|
+
'name' => 'a2',
|
33
|
+
'title' => 'A2',
|
34
|
+
'folder' => 'test'
|
35
|
+
},
|
36
|
+
{
|
37
|
+
'type' => 'FACT',
|
38
|
+
'name' => 'f1',
|
39
|
+
'title' => 'F1',
|
40
|
+
'folder' => 'test'
|
41
|
+
},
|
42
|
+
{
|
43
|
+
'type' => 'FACT',
|
44
|
+
'name' => 'f2',
|
45
|
+
'title' => 'F2',
|
46
|
+
'folder' => 'test'
|
47
|
+
},
|
48
|
+
]
|
25
49
|
SCHEMA = GoodData::Model::Schema.new 'title' => 'test', 'columns' => COLUMNS
|
26
50
|
|
27
|
-
context
|
51
|
+
context 'GoodData model tools' do
|
28
52
|
# Initialize a GoodData connection using the credential
|
29
53
|
# stored in ~/.gooddata
|
30
54
|
#
|
@@ -43,11 +67,11 @@ class TestModel < Test::Unit::TestCase
|
|
43
67
|
@project.delete
|
44
68
|
end
|
45
69
|
|
46
|
-
should
|
70
|
+
should 'upload CSV in a full mode' do
|
47
71
|
@project.add_dataset SCHEMA
|
48
72
|
assert_equal 1, @project.datasets.size
|
49
|
-
assert_equal
|
50
|
-
@project.upload @file.path, SCHEMA,
|
73
|
+
assert_equal 'test', @project.datasets.first.title
|
74
|
+
@project.upload @file.path, SCHEMA, 'FULL'
|
51
75
|
end
|
52
76
|
end
|
53
77
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gooddata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kolesnikov
|
@@ -15,308 +15,322 @@ dependencies:
|
|
15
15
|
name: rake
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 10.
|
20
|
+
version: 10.2.2
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 10.
|
27
|
+
version: 10.2.2
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: redcarpet
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 3.1.1
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 3.1.1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 2.14.1
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 2.14.1
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rubocop
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.20.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.20.0
|
56
70
|
- !ruby/object:Gem::Dependency
|
57
71
|
name: simplecov
|
58
72
|
requirement: !ruby/object:Gem::Requirement
|
59
73
|
requirements:
|
60
|
-
- - ~>
|
74
|
+
- - "~>"
|
61
75
|
- !ruby/object:Gem::Version
|
62
76
|
version: 0.8.2
|
63
77
|
type: :development
|
64
78
|
prerelease: false
|
65
79
|
version_requirements: !ruby/object:Gem::Requirement
|
66
80
|
requirements:
|
67
|
-
- - ~>
|
81
|
+
- - "~>"
|
68
82
|
- !ruby/object:Gem::Version
|
69
83
|
version: 0.8.2
|
70
84
|
- !ruby/object:Gem::Dependency
|
71
85
|
name: yard
|
72
86
|
requirement: !ruby/object:Gem::Requirement
|
73
87
|
requirements:
|
74
|
-
- - ~>
|
88
|
+
- - "~>"
|
75
89
|
- !ruby/object:Gem::Version
|
76
90
|
version: 0.8.7.3
|
77
91
|
type: :development
|
78
92
|
prerelease: false
|
79
93
|
version_requirements: !ruby/object:Gem::Requirement
|
80
94
|
requirements:
|
81
|
-
- - ~>
|
95
|
+
- - "~>"
|
82
96
|
- !ruby/object:Gem::Version
|
83
97
|
version: 0.8.7.3
|
84
98
|
- !ruby/object:Gem::Dependency
|
85
99
|
name: yard-rspec
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|
87
101
|
requirements:
|
88
|
-
- - ~>
|
102
|
+
- - "~>"
|
89
103
|
- !ruby/object:Gem::Version
|
90
104
|
version: '0.1'
|
91
105
|
type: :development
|
92
106
|
prerelease: false
|
93
107
|
version_requirements: !ruby/object:Gem::Requirement
|
94
108
|
requirements:
|
95
|
-
- - ~>
|
109
|
+
- - "~>"
|
96
110
|
- !ruby/object:Gem::Version
|
97
111
|
version: '0.1'
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: ZenTest
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
101
115
|
requirements:
|
102
|
-
- - ~>
|
116
|
+
- - "~>"
|
103
117
|
- !ruby/object:Gem::Version
|
104
118
|
version: 4.9.5
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
|
-
- - ~>
|
123
|
+
- - "~>"
|
110
124
|
- !ruby/object:Gem::Version
|
111
125
|
version: 4.9.5
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: coveralls
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.7.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 0.7.0
|
112
140
|
- !ruby/object:Gem::Dependency
|
113
141
|
name: activesupport
|
114
142
|
requirement: !ruby/object:Gem::Requirement
|
115
143
|
requirements:
|
116
|
-
- - ~>
|
144
|
+
- - "~>"
|
117
145
|
- !ruby/object:Gem::Version
|
118
146
|
version: 4.0.3
|
119
147
|
type: :runtime
|
120
148
|
prerelease: false
|
121
149
|
version_requirements: !ruby/object:Gem::Requirement
|
122
150
|
requirements:
|
123
|
-
- - ~>
|
151
|
+
- - "~>"
|
124
152
|
- !ruby/object:Gem::Version
|
125
153
|
version: 4.0.3
|
126
154
|
- !ruby/object:Gem::Dependency
|
127
155
|
name: bundler
|
128
156
|
requirement: !ruby/object:Gem::Requirement
|
129
157
|
requirements:
|
130
|
-
- -
|
158
|
+
- - ">="
|
131
159
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.
|
160
|
+
version: 1.6.1
|
133
161
|
type: :runtime
|
134
162
|
prerelease: false
|
135
163
|
version_requirements: !ruby/object:Gem::Requirement
|
136
164
|
requirements:
|
137
|
-
- -
|
165
|
+
- - ">="
|
138
166
|
- !ruby/object:Gem::Version
|
139
|
-
version: 1.
|
167
|
+
version: 1.6.1
|
140
168
|
- !ruby/object:Gem::Dependency
|
141
169
|
name: erubis
|
142
170
|
requirement: !ruby/object:Gem::Requirement
|
143
171
|
requirements:
|
144
|
-
- - ~>
|
172
|
+
- - "~>"
|
145
173
|
- !ruby/object:Gem::Version
|
146
174
|
version: 2.7.0
|
147
175
|
type: :runtime
|
148
176
|
prerelease: false
|
149
177
|
version_requirements: !ruby/object:Gem::Requirement
|
150
178
|
requirements:
|
151
|
-
- - ~>
|
179
|
+
- - "~>"
|
152
180
|
- !ruby/object:Gem::Version
|
153
181
|
version: 2.7.0
|
154
182
|
- !ruby/object:Gem::Dependency
|
155
183
|
name: gli
|
156
184
|
requirement: !ruby/object:Gem::Requirement
|
157
185
|
requirements:
|
158
|
-
- - ~>
|
186
|
+
- - "~>"
|
159
187
|
- !ruby/object:Gem::Version
|
160
188
|
version: 2.9.0
|
161
189
|
type: :runtime
|
162
190
|
prerelease: false
|
163
191
|
version_requirements: !ruby/object:Gem::Requirement
|
164
192
|
requirements:
|
165
|
-
- - ~>
|
193
|
+
- - "~>"
|
166
194
|
- !ruby/object:Gem::Version
|
167
195
|
version: 2.9.0
|
168
196
|
- !ruby/object:Gem::Dependency
|
169
197
|
name: highline
|
170
198
|
requirement: !ruby/object:Gem::Requirement
|
171
199
|
requirements:
|
172
|
-
- - ~>
|
200
|
+
- - "~>"
|
173
201
|
- !ruby/object:Gem::Version
|
174
202
|
version: 1.6.21
|
175
203
|
type: :runtime
|
176
204
|
prerelease: false
|
177
205
|
version_requirements: !ruby/object:Gem::Requirement
|
178
206
|
requirements:
|
179
|
-
- - ~>
|
207
|
+
- - "~>"
|
180
208
|
- !ruby/object:Gem::Version
|
181
209
|
version: 1.6.21
|
182
210
|
- !ruby/object:Gem::Dependency
|
183
211
|
name: i18n
|
184
212
|
requirement: !ruby/object:Gem::Requirement
|
185
213
|
requirements:
|
186
|
-
- - ~>
|
214
|
+
- - "~>"
|
187
215
|
- !ruby/object:Gem::Version
|
188
216
|
version: 0.6.9
|
189
217
|
type: :runtime
|
190
218
|
prerelease: false
|
191
219
|
version_requirements: !ruby/object:Gem::Requirement
|
192
220
|
requirements:
|
193
|
-
- - ~>
|
221
|
+
- - "~>"
|
194
222
|
- !ruby/object:Gem::Version
|
195
223
|
version: 0.6.9
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: json
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - ~>
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 1.8.1
|
203
|
-
type: :runtime
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ~>
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: 1.8.1
|
210
224
|
- !ruby/object:Gem::Dependency
|
211
225
|
name: json_pure
|
212
226
|
requirement: !ruby/object:Gem::Requirement
|
213
227
|
requirements:
|
214
|
-
- - ~>
|
228
|
+
- - "~>"
|
215
229
|
- !ruby/object:Gem::Version
|
216
230
|
version: 1.8.1
|
217
231
|
type: :runtime
|
218
232
|
prerelease: false
|
219
233
|
version_requirements: !ruby/object:Gem::Requirement
|
220
234
|
requirements:
|
221
|
-
- - ~>
|
235
|
+
- - "~>"
|
222
236
|
- !ruby/object:Gem::Version
|
223
237
|
version: 1.8.1
|
224
238
|
- !ruby/object:Gem::Dependency
|
225
239
|
name: multi_json
|
226
240
|
requirement: !ruby/object:Gem::Requirement
|
227
241
|
requirements:
|
228
|
-
- - ~>
|
242
|
+
- - "~>"
|
229
243
|
- !ruby/object:Gem::Version
|
230
244
|
version: 1.9.0
|
231
245
|
type: :runtime
|
232
246
|
prerelease: false
|
233
247
|
version_requirements: !ruby/object:Gem::Requirement
|
234
248
|
requirements:
|
235
|
-
- - ~>
|
249
|
+
- - "~>"
|
236
250
|
- !ruby/object:Gem::Version
|
237
251
|
version: 1.9.0
|
238
252
|
- !ruby/object:Gem::Dependency
|
239
253
|
name: parseconfig
|
240
254
|
requirement: !ruby/object:Gem::Requirement
|
241
255
|
requirements:
|
242
|
-
- - ~>
|
256
|
+
- - "~>"
|
243
257
|
- !ruby/object:Gem::Version
|
244
258
|
version: 1.0.4
|
245
259
|
type: :runtime
|
246
260
|
prerelease: false
|
247
261
|
version_requirements: !ruby/object:Gem::Requirement
|
248
262
|
requirements:
|
249
|
-
- - ~>
|
263
|
+
- - "~>"
|
250
264
|
- !ruby/object:Gem::Version
|
251
265
|
version: 1.0.4
|
252
266
|
- !ruby/object:Gem::Dependency
|
253
267
|
name: pry
|
254
268
|
requirement: !ruby/object:Gem::Requirement
|
255
269
|
requirements:
|
256
|
-
- - ~>
|
270
|
+
- - "~>"
|
257
271
|
- !ruby/object:Gem::Version
|
258
272
|
version: 0.9.12.6
|
259
273
|
type: :runtime
|
260
274
|
prerelease: false
|
261
275
|
version_requirements: !ruby/object:Gem::Requirement
|
262
276
|
requirements:
|
263
|
-
- - ~>
|
277
|
+
- - "~>"
|
264
278
|
- !ruby/object:Gem::Version
|
265
279
|
version: 0.9.12.6
|
266
280
|
- !ruby/object:Gem::Dependency
|
267
281
|
name: restforce
|
268
282
|
requirement: !ruby/object:Gem::Requirement
|
269
283
|
requirements:
|
270
|
-
- - ~>
|
284
|
+
- - "~>"
|
271
285
|
- !ruby/object:Gem::Version
|
272
286
|
version: 1.4.3
|
273
287
|
type: :runtime
|
274
288
|
prerelease: false
|
275
289
|
version_requirements: !ruby/object:Gem::Requirement
|
276
290
|
requirements:
|
277
|
-
- - ~>
|
291
|
+
- - "~>"
|
278
292
|
- !ruby/object:Gem::Version
|
279
293
|
version: 1.4.3
|
280
294
|
- !ruby/object:Gem::Dependency
|
281
295
|
name: rest-client
|
282
296
|
requirement: !ruby/object:Gem::Requirement
|
283
297
|
requirements:
|
284
|
-
- - ~>
|
298
|
+
- - "~>"
|
285
299
|
- !ruby/object:Gem::Version
|
286
300
|
version: 1.6.7
|
287
301
|
type: :runtime
|
288
302
|
prerelease: false
|
289
303
|
version_requirements: !ruby/object:Gem::Requirement
|
290
304
|
requirements:
|
291
|
-
- - ~>
|
305
|
+
- - "~>"
|
292
306
|
- !ruby/object:Gem::Version
|
293
307
|
version: 1.6.7
|
294
308
|
- !ruby/object:Gem::Dependency
|
295
309
|
name: rubyzip
|
296
310
|
requirement: !ruby/object:Gem::Requirement
|
297
311
|
requirements:
|
298
|
-
- - ~>
|
312
|
+
- - "~>"
|
299
313
|
- !ruby/object:Gem::Version
|
300
314
|
version: 1.1.0
|
301
315
|
type: :runtime
|
302
316
|
prerelease: false
|
303
317
|
version_requirements: !ruby/object:Gem::Requirement
|
304
318
|
requirements:
|
305
|
-
- - ~>
|
319
|
+
- - "~>"
|
306
320
|
- !ruby/object:Gem::Version
|
307
321
|
version: 1.1.0
|
308
322
|
- !ruby/object:Gem::Dependency
|
309
323
|
name: salesforce_bulk
|
310
324
|
requirement: !ruby/object:Gem::Requirement
|
311
325
|
requirements:
|
312
|
-
- - ~>
|
326
|
+
- - "~>"
|
313
327
|
- !ruby/object:Gem::Version
|
314
328
|
version: 1.0.3
|
315
329
|
type: :runtime
|
316
330
|
prerelease: false
|
317
331
|
version_requirements: !ruby/object:Gem::Requirement
|
318
332
|
requirements:
|
319
|
-
- - ~>
|
333
|
+
- - "~>"
|
320
334
|
- !ruby/object:Gem::Version
|
321
335
|
version: 1.0.3
|
322
336
|
description: Use the GoodData::Client class to integrate GoodData into your own application
|
@@ -329,12 +343,12 @@ extra_rdoc_files:
|
|
329
343
|
- LICENSE
|
330
344
|
- README.md
|
331
345
|
files:
|
332
|
-
- .autotest
|
333
|
-
- .document
|
334
|
-
- .gitignore
|
335
|
-
- .rspec
|
336
|
-
- .travis.yml
|
337
|
-
- .yardopts
|
346
|
+
- ".autotest"
|
347
|
+
- ".document"
|
348
|
+
- ".gitignore"
|
349
|
+
- ".rspec"
|
350
|
+
- ".travis.yml"
|
351
|
+
- ".yardopts"
|
338
352
|
- Gemfile
|
339
353
|
- LICENSE
|
340
354
|
- README.md
|
@@ -432,6 +446,7 @@ files:
|
|
432
446
|
- lib/gooddata/cli/commands/scaffold_cmd.rb
|
433
447
|
- lib/gooddata/cli/hooks.rb
|
434
448
|
- lib/gooddata/cli/shared.rb
|
449
|
+
- lib/gooddata/cli/terminal.rb
|
435
450
|
- lib/gooddata/client.rb
|
436
451
|
- lib/gooddata/commands/api.rb
|
437
452
|
- lib/gooddata/commands/auth.rb
|
@@ -445,7 +460,12 @@ files:
|
|
445
460
|
- lib/gooddata/commands/scaffold.rb
|
446
461
|
- lib/gooddata/connection.rb
|
447
462
|
- lib/gooddata/core/core.rb
|
448
|
-
- lib/gooddata/
|
463
|
+
- lib/gooddata/data/data.rb
|
464
|
+
- lib/gooddata/data/guesser.rb
|
465
|
+
- lib/gooddata/exceptions/command_failed.rb
|
466
|
+
- lib/gooddata/exceptions/exceptions.rb
|
467
|
+
- lib/gooddata/exceptions/project_not_found.rb
|
468
|
+
- lib/gooddata/extensions/big_decimal.rb
|
449
469
|
- lib/gooddata/extract.rb
|
450
470
|
- lib/gooddata/goodzilla/goodzilla.rb
|
451
471
|
- lib/gooddata/helpers.rb
|
@@ -477,15 +497,19 @@ files:
|
|
477
497
|
- lib/templates/project/data/repos.csv
|
478
498
|
- lib/templates/project/model/model.rb.erb
|
479
499
|
- spec/bricks/bricks_spec.rb
|
500
|
+
- spec/data/.gooddata
|
480
501
|
- spec/data/additional_dataset_module.json
|
481
502
|
- spec/data/blueprint_invalid.json
|
482
503
|
- spec/data/blueprint_valid.json
|
483
504
|
- spec/data/model_module.json
|
484
505
|
- spec/data/test_project_model_spec.json
|
485
506
|
- spec/helpers/blueprint_helper.rb
|
507
|
+
- spec/helpers/cli_helper.rb
|
486
508
|
- spec/helpers/connection_helper.rb
|
487
509
|
- spec/integration/command_projects_spec.rb
|
510
|
+
- spec/integration/create_from_template_spec.rb
|
488
511
|
- spec/integration/full_project_spec.rb
|
512
|
+
- spec/integration/partial_md_export_import_spec.rb
|
489
513
|
- spec/logging_in_logging_out_spec.rb
|
490
514
|
- spec/spec_helper.rb
|
491
515
|
- spec/unit/bricks/bricks_spec.rb
|
@@ -513,15 +537,14 @@ files:
|
|
513
537
|
- spec/unit/commands/command_scaffold_spec.rb
|
514
538
|
- spec/unit/core/connection_spec.rb
|
515
539
|
- spec/unit/core/core_spec.rb
|
540
|
+
- spec/unit/data/guesser_spec.rb
|
516
541
|
- spec/unit/godzilla/goodzilla_spec.rb
|
542
|
+
- spec/unit/helpers_spec.rb
|
517
543
|
- spec/unit/model/blueprint_spec.rb
|
518
544
|
- spec/unit/model/model_spec.rb
|
519
545
|
- spec/unit/model/project_blueprint_spec.rb
|
520
546
|
- spec/unit/model/schema_builder_spec.rb
|
521
|
-
-
|
522
|
-
- test/test_guessing.rb
|
523
|
-
- test/test_model.rb
|
524
|
-
- test/test_rest_api_basic.rb
|
547
|
+
- spec/unit/model/tools_spec.rb
|
525
548
|
- test/test_upload.rb
|
526
549
|
- yard-server.sh
|
527
550
|
homepage: http://github.com/gooddata/gooddata-ruby
|
@@ -534,17 +557,17 @@ require_paths:
|
|
534
557
|
- lib
|
535
558
|
required_ruby_version: !ruby/object:Gem::Requirement
|
536
559
|
requirements:
|
537
|
-
- -
|
560
|
+
- - ">="
|
538
561
|
- !ruby/object:Gem::Version
|
539
562
|
version: '0'
|
540
563
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
541
564
|
requirements:
|
542
|
-
- -
|
565
|
+
- - ">="
|
543
566
|
- !ruby/object:Gem::Version
|
544
567
|
version: '0'
|
545
568
|
requirements: []
|
546
569
|
rubyforge_project:
|
547
|
-
rubygems_version: 2.2.
|
570
|
+
rubygems_version: 2.2.2
|
548
571
|
signing_key:
|
549
572
|
specification_version: 4
|
550
573
|
summary: A convenient Ruby wrapper around the GoodData RESTful API
|