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.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -1
  3. data/.yardopts +2 -0
  4. data/README.md +6 -3
  5. data/Rakefile +24 -7
  6. data/gooddata +2 -2
  7. data/gooddata.gemspec +4 -3
  8. data/lib/gooddata.rb +17 -12
  9. data/lib/gooddata/bricks/base_downloader.rb +7 -7
  10. data/lib/gooddata/bricks/brick.rb +7 -8
  11. data/lib/gooddata/bricks/bricks.rb +4 -1
  12. data/lib/gooddata/bricks/middleware/base_middleware.rb +2 -2
  13. data/lib/gooddata/bricks/middleware/bench_middleware.rb +5 -6
  14. data/lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb +21 -22
  15. data/lib/gooddata/bricks/middleware/fs_upload_middleware.rb +3 -4
  16. data/lib/gooddata/bricks/middleware/gooddata_middleware.rb +14 -14
  17. data/lib/gooddata/bricks/middleware/logger_middleware.rb +6 -6
  18. data/lib/gooddata/bricks/middleware/middleware.rb +4 -1
  19. data/lib/gooddata/bricks/middleware/restforce_middleware.rb +29 -32
  20. data/lib/gooddata/bricks/middleware/stdout_middleware.rb +5 -5
  21. data/lib/gooddata/bricks/middleware/twitter_middleware.rb +6 -8
  22. data/lib/gooddata/bricks/utils.rb +3 -3
  23. data/lib/gooddata/cli/cli.rb +4 -2
  24. data/lib/gooddata/cli/commands/api_cmd.rb +6 -4
  25. data/lib/gooddata/cli/commands/auth_cmd.rb +5 -3
  26. data/lib/gooddata/cli/commands/console_cmd.rb +1 -1
  27. data/lib/gooddata/cli/commands/process_cmd.rb +6 -4
  28. data/lib/gooddata/cli/commands/profile_cmd.rb +5 -3
  29. data/lib/gooddata/cli/commands/project_cmd.rb +24 -22
  30. data/lib/gooddata/cli/commands/run_ruby_cmd.rb +12 -10
  31. data/lib/gooddata/cli/commands/scaffold_cmd.rb +8 -6
  32. data/lib/gooddata/cli/hooks.rb +4 -2
  33. data/lib/gooddata/cli/shared.rb +3 -1
  34. data/lib/gooddata/cli/terminal.rb +16 -0
  35. data/lib/gooddata/client.rb +28 -22
  36. data/lib/gooddata/commands/api.rb +43 -26
  37. data/lib/gooddata/commands/auth.rb +22 -53
  38. data/lib/gooddata/commands/base.rb +2 -0
  39. data/lib/gooddata/commands/commands.rb +3 -0
  40. data/lib/gooddata/commands/datasets.rb +39 -136
  41. data/lib/gooddata/commands/process.rb +134 -130
  42. data/lib/gooddata/commands/profile.rb +2 -0
  43. data/lib/gooddata/commands/projects.rb +91 -129
  44. data/lib/gooddata/commands/runners.rb +11 -11
  45. data/lib/gooddata/commands/scaffold.rb +28 -26
  46. data/lib/gooddata/connection.rb +61 -68
  47. data/lib/gooddata/core/core.rb +1 -2
  48. data/lib/gooddata/data/data.rb +7 -0
  49. data/lib/gooddata/data/guesser.rb +114 -0
  50. data/lib/gooddata/exceptions/command_failed.rb +7 -0
  51. data/lib/gooddata/exceptions/exceptions.rb +7 -0
  52. data/lib/gooddata/{exceptions.rb → exceptions/project_not_found.rb} +2 -2
  53. data/lib/gooddata/extensions/big_decimal.rb +5 -0
  54. data/lib/gooddata/extract.rb +2 -0
  55. data/lib/gooddata/goodzilla/goodzilla.rb +11 -12
  56. data/lib/gooddata/helpers.rb +49 -35
  57. data/lib/gooddata/models/attribute.rb +7 -5
  58. data/lib/gooddata/models/dashboard.rb +44 -45
  59. data/lib/gooddata/models/data_result.rb +10 -13
  60. data/lib/gooddata/models/data_set.rb +6 -6
  61. data/lib/gooddata/models/display_form.rb +4 -4
  62. data/lib/gooddata/models/empty_result.rb +4 -3
  63. data/lib/gooddata/models/fact.rb +5 -5
  64. data/lib/gooddata/models/links.rb +3 -1
  65. data/lib/gooddata/models/metadata.rb +34 -32
  66. data/lib/gooddata/models/metric.rb +33 -34
  67. data/lib/gooddata/models/model.rb +165 -173
  68. data/lib/gooddata/models/models.rb +3 -0
  69. data/lib/gooddata/models/process.rb +18 -17
  70. data/lib/gooddata/models/profile.rb +3 -1
  71. data/lib/gooddata/models/project.rb +107 -35
  72. data/lib/gooddata/models/project_metadata.rb +12 -12
  73. data/lib/gooddata/models/report.rb +31 -30
  74. data/lib/gooddata/models/report_data_result.rb +22 -19
  75. data/lib/gooddata/models/report_definition.rb +101 -80
  76. data/lib/gooddata/version.rb +5 -3
  77. data/lib/templates/bricks/brick.rb.erb +3 -3
  78. data/lib/templates/bricks/main.rb.erb +3 -2
  79. data/lib/templates/project/Goodfile.erb +2 -2
  80. data/lib/templates/project/model/model.rb.erb +19 -19
  81. data/spec/data/.gooddata +4 -0
  82. data/spec/helpers/blueprint_helper.rb +2 -2
  83. data/spec/helpers/cli_helper.rb +28 -0
  84. data/spec/helpers/connection_helper.rb +2 -2
  85. data/spec/integration/command_projects_spec.rb +1 -1
  86. data/spec/integration/create_from_template_spec.rb +12 -0
  87. data/spec/integration/full_project_spec.rb +2 -2
  88. data/spec/integration/partial_md_export_import_spec.rb +36 -0
  89. data/spec/logging_in_logging_out_spec.rb +1 -1
  90. data/spec/spec_helper.rb +29 -2
  91. data/spec/unit/cli/cli_spec.rb +3 -3
  92. data/spec/unit/cli/commands/cmd_api_spec.rb +21 -4
  93. data/spec/unit/cli/commands/cmd_auth_spec.rb +2 -4
  94. data/spec/unit/cli/commands/cmd_process_spec.rb +20 -4
  95. data/spec/unit/cli/commands/cmd_profile_spec.rb +9 -4
  96. data/spec/unit/cli/commands/cmd_project_spec.rb +53 -4
  97. data/spec/unit/cli/commands/cmd_run_ruby_spec.rb +2 -4
  98. data/spec/unit/cli/commands/cmd_scaffold_spec.rb +14 -4
  99. data/spec/unit/commands/command_api_spec.rb +21 -2
  100. data/spec/unit/commands/command_auth_spec.rb +62 -1
  101. data/spec/unit/commands/command_dataset_spec.rb +31 -3
  102. data/spec/unit/commands/command_process_spec.rb +75 -1
  103. data/spec/unit/commands/command_profile_spec.rb +7 -1
  104. data/spec/unit/commands/command_projects_spec.rb +1 -1
  105. data/spec/unit/commands/command_scaffold_spec.rb +46 -1
  106. data/spec/unit/core/connection_spec.rb +1 -0
  107. data/spec/unit/data/guesser_spec.rb +54 -0
  108. data/spec/unit/helpers_spec.rb +47 -0
  109. data/spec/unit/model/schema_builder_spec.rb +2 -0
  110. data/spec/unit/model/tools_spec.rb +89 -0
  111. data/test/test_upload.rb +39 -15
  112. metadata +98 -75
  113. data/test/test_commands.rb +0 -85
  114. data/test/test_guessing.rb +0 -46
  115. data/test/test_model.rb +0 -81
  116. 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
- [ "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 ]
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
- { 'type' => 'CONNECTION_POINT', 'name' => 'cp', 'title' => 'CP', 'folder' => 'test' },
20
- { 'type' => 'ATTRIBUTE', 'name' => 'a1', 'title' => 'A1', 'folder' => 'test' },
21
- { 'type' => 'ATTRIBUTE', 'name' => 'a2', 'title' => 'A2', 'folder' => 'test' },
22
- { 'type' => 'FACT', 'name' => 'f1', 'title' => 'F1', 'folder' => 'test' },
23
- { 'type' => 'FACT', 'name' => 'f2', 'title' => 'F2', 'folder' => 'test' },
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 "GoodData model tools" do
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 "upload CSV in a full mode" do
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 "test", @project.datasets.first.title
50
- @project.upload @file.path, SCHEMA, "FULL"
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.pre11
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.1.1
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.1.1
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.5.3
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.5.3
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/exceptions.rb
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
- - test/test_commands.rb
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.0
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