zuora_rest_client 1.2.1.1 → 1.2.2.0

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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +20 -12
  4. data/lib/zuora_rest_client/client.rb +15 -9
  5. data/lib/zuora_rest_client/connection.rb +17 -8
  6. data/lib/zuora_rest_client/version.rb +1 -1
  7. metadata +30 -61
  8. data/.gitignore +0 -54
  9. data/.rspec +0 -2
  10. data/.travis.yml +0 -5
  11. data/Gemfile +0 -4
  12. data/Rakefile +0 -6
  13. data/fixtures/vcr_cassettes/zuora/create_account_object_success.yml +0 -51
  14. data/fixtures/vcr_cassettes/zuora/create_account_success.yml +0 -66
  15. data/fixtures/vcr_cassettes/zuora/delete_account_object_success.yml +0 -191
  16. data/fixtures/vcr_cassettes/zuora/describe_account.yml +0 -588
  17. data/fixtures/vcr_cassettes/zuora/describe_account_related_objects.yml +0 -588
  18. data/fixtures/vcr_cassettes/zuora/describe_all_account_fields.yml +0 -588
  19. data/fixtures/vcr_cassettes/zuora/describe_all_zobjects.yml +0 -171
  20. data/fixtures/vcr_cassettes/zuora/describe_exportable_account_fields.yml +0 -588
  21. data/fixtures/vcr_cassettes/zuora/describe_non_exportable_account_fields.yml +0 -588
  22. data/fixtures/vcr_cassettes/zuora/describe_non_updateable_account_fields.yml +0 -588
  23. data/fixtures/vcr_cassettes/zuora/describe_updateable_account_fields.yml +0 -588
  24. data/fixtures/vcr_cassettes/zuora/get_account_object_success.yml +0 -52
  25. data/fixtures/vcr_cassettes/zuora/get_account_success.yml +0 -152
  26. data/fixtures/vcr_cassettes/zuora/get_account_summary_success.yml +0 -140
  27. data/fixtures/vcr_cassettes/zuora/update_account_object_success.yml +0 -99
  28. data/fixtures/vcr_cassettes/zuora/update_account_success.yml +0 -208
  29. data/zuora_rest_client.gemspec +0 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37c5456dcc91e132f10834e18bc218aae721e43c032211afaec337522e6f85bd
4
- data.tar.gz: 2672b087907b9ba89998441b93852780e32ea5880d65694403f0956ac2df763a
3
+ metadata.gz: 3637cbe1e944055ad2b7303e6e92735b736224dfa77ad00153430c6da7674db4
4
+ data.tar.gz: de9dd2e15c1d52fec7533b6fa04ddeb4b8650f8b025a6b47d07c4d186710832d
5
5
  SHA512:
6
- metadata.gz: df0a43d479054f5d0637d7237beaf506226fae69a5f3563b81052ea40fe63d5abfeb6c15991838a75174838c2c1d737109f308799c7d2b3300d387d38000fa7f
7
- data.tar.gz: 441efb6d4d4c45f851887aa8c0e2dc1ade7f2ebfa471daf7c516618491ea45de2e48418152385597d42a00f004af37fd3fc4f2b72b01620f2e7658bf4b27d6b0
6
+ metadata.gz: 76df5debfb8ec385702e50537e2693f1879fe62832fe683947b46a4159626a1142f705b27c4f8d54c8e6e74de48f8a403a61bb29fb69c8c39a8ac6b2291f88d3
7
+ data.tar.gz: 1aa64f505dbddad21e621037d691f2c2120f4e1979c6df0637781685418624560f08dd607a9ff419246a520f88a0fb840874e3d9d486c7db71a90858179df2bf
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2019 Frontera Consulting, LLC
1
+ Copyright 2021 Frontera Consulting, LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the "Software"),
data/README.md CHANGED
@@ -1,12 +1,11 @@
1
1
  # ZuoraRestClient
2
2
 
3
- This is a simple Zuora client for Ruby. It mainly consists of methods that
4
- wrap the operations described in the Zuora API Reference
3
+ This is a simple Zuora client for Ruby. It mainly consists of methods that wrap the operations described in the Zuora
4
+ API Reference
5
5
  (https://www.zuora.com/developer/api-reference), as well as a few helper methods.
6
6
 
7
- Most of the methods take either the query parameters and/or a hash representing the JSON
8
- request body as arguments. The methods return a `ZuoraRestClient::Result` object which
9
- represents ths JSON response.
7
+ Most of the methods take either the query parameters and/or a hash representing the JSON request body as arguments. The
8
+ methods return a `ZuoraRestClient::Result` object which represents ths JSON response.
10
9
 
11
10
  ## Installation
12
11
 
@@ -27,26 +26,35 @@ Or install it yourself as:
27
26
  ## Usage
28
27
 
29
28
  First, construct a client object:
29
+
30
30
  ```ruby
31
31
  username = 'zuora_username@example.com'
32
32
  password = 'mypassword'
33
- client = ZuoraRestClient::Client.new(username, password) # Create a production client
33
+ client = ZuoraRestClient::Client.new(username, password) # Create a production client
34
34
  ```
35
35
 
36
- For a sandbox tenant, you can specify the following:
36
+ For an API Sandbox tenant, you can specify the following:
37
+
37
38
  ```ruby
38
- client = ZuoraRestClient::Client.new(username, password, :api_sandbox) # Create an api sandbox client
39
+ client = ZuoraRestClient::Client.new(username, password, :api_sandbox) # Create an api sandbox client
39
40
  ```
40
41
 
41
- For a "serivces*NNN*" tenant, where *NNN* is the number that follows "services", you may also need an
42
- API proxy port number to invoke calls to `/action/*` and `/object/*`. Assuming your services tenant is `services000`
42
+ For a Zuora Central Sandbox tenant, you can specify the following:
43
+
44
+ ```ruby
45
+ client = ZuoraRestClient::Client.new(username, password, :test) # Create an zuora central sandbox client
46
+ ```
47
+
48
+ For a "serivces*NNN*" tenant, where *NNN* is the number that follows "services", you may also need an API proxy port
49
+ number to invoke calls to `/action/*` and `/object/*`. Assuming your services tenant is `services000`
43
50
  and your API proxy port number is `1234`, you can specify the following:
44
51
 
45
52
  ```ruby
46
- client = ZuoraRestClient::Client.new(username, password, :services000, api_proxy_port: 1234) # Create an api services000 client
53
+ client = ZuoraRestClient::Client.new(username, password, :services000, api_proxy_port: 1234) # Create an api services000 client
47
54
  ```
48
55
 
49
- Call one of the client methods. For example, to create an account:
56
+ Call one of the client methods. For example, to create an account:
57
+
50
58
  ```ruby
51
59
  account_to_create = {
52
60
  Batch: 'Batch1',
@@ -237,7 +237,7 @@ module ZuoraRestClient
237
237
 
238
238
  def aqua_query(request, options = {})
239
239
  aqua_query_options = {}.merge(DEFAULT_AQUA_QUERY_OPTIONS).merge(options)
240
- result = @connection.app_post('/apps/api/batch-query/', request)
240
+ result = @connection.rest_post('/batch-query/', request)
241
241
  logger.debug "********* AQUA POST QUERY RESULT: #{result.inspect}"
242
242
 
243
243
  raise "Error: #{result.message}" if result.status.downcase == 'error'
@@ -260,11 +260,11 @@ module ZuoraRestClient
260
260
  end
261
261
 
262
262
  def get_aqua_job_result(job_id)
263
- @connection.app_get("/apps/api/batch-query/jobs/#{job_id}")
263
+ @connection.rest_get("/batch-query/jobs/#{job_id}")
264
264
  end
265
265
 
266
266
  def get_last_aqua_job_result(partner, project)
267
- @connection.app_get("/apps/api/batch-query/jobs/partner/#{partner}/project/#{project}")
267
+ @connection.rest_get("/batch-query/jobs/partner/#{partner}/project/#{project}")
268
268
  end
269
269
 
270
270
  ##############################################################################
@@ -797,12 +797,12 @@ module ZuoraRestClient
797
797
  # Check status and if complete, output file to destination IO
798
798
  logger.debug "********* FINAL EXPORT STATUS: #{export_record.Status}"
799
799
  case export_record.Status
800
- when 'Completed'
801
- get_file(export_zobject.FileId, destination_io)
802
- when 'Canceled'
803
- raise "Error downloading file: #{export_record.Status} - #{export_record.StatusReason}"
804
- when 'Failed'
805
- raise "Error downloading file: #{export_record.Status} - #{export_record.StatusReason}"
800
+ when 'Completed'
801
+ get_file(export_zobject.FileId, destination_io)
802
+ when 'Canceled'
803
+ raise "Error downloading file: #{export_record.Status} - #{export_record.StatusReason}"
804
+ when 'Failed'
805
+ raise "Error downloading file: #{export_record.Status} - #{export_record.StatusReason}"
806
806
  end
807
807
 
808
808
  # If requested, delete export from server
@@ -995,6 +995,12 @@ module ZuoraRestClient
995
995
  # #
996
996
  ##############################################################################
997
997
 
998
+ def get_invoice_files(invoice_id, page_size = nil, zuora_version = nil)
999
+ uri = Addressable::URI.parse("/invoices/#{invoice_id}/files")
1000
+ uri.query_values = { pageSize: page_size.to_s } if !page_size.nil?
1001
+ @connection.rest_get(uri.to_s, zuora_version)
1002
+ end
1003
+
998
1004
  def reverse_invoice(invoice_id, zuora_version = nil)
999
1005
  @connection.rest_put("/invoices/#{invoice_id}/reverse", nil, zuora_version)
1000
1006
  end
@@ -32,7 +32,9 @@ module ZuoraRestClient
32
32
  @options = {}.merge(DEFAULT_OPTIONS).merge(options)
33
33
  end
34
34
 
35
+ # @deprecated Since the Client class no longer uses this, it will be removed.
35
36
  def app_get(path)
37
+ warn "[DEPRECATION] `app_get` is deprecated. Please use `rest_get` instead."
36
38
  response = app_connection.get do |request|
37
39
  request.url path
38
40
  request.headers = app_headers
@@ -40,7 +42,9 @@ module ZuoraRestClient
40
42
  process_response(response)
41
43
  end
42
44
 
45
+ # @deprecated Since the Client class no longer uses this, it will be removed.
43
46
  def app_post(path, post_data = nil, is_json = true)
47
+ warn "[DEPRECATION] `app_post` is deprecated. Please use `rest_post` instead."
44
48
  response = app_connection.post do |request|
45
49
  request.url path
46
50
  request.headers = app_headers
@@ -52,7 +56,7 @@ module ZuoraRestClient
52
56
 
53
57
  def rest_get(path, zuora_version = nil)
54
58
  response = rest_connection(use_api_proxy?(path)).get do |request|
55
- request.url [ ZUORA_REST_MAJOR_VERSION, path ].join('')
59
+ request.url [ZUORA_REST_MAJOR_VERSION, path].join('')
56
60
  request.headers = rest_headers(zuora_version)
57
61
  end
58
62
  process_response(response)
@@ -66,7 +70,7 @@ module ZuoraRestClient
66
70
  endpoint_uri = Addressable::URI.parse(zuora_endpoint.rest)
67
71
  Net::HTTP.start(endpoint_uri.normalized_host, endpoint_uri.normalized_port,
68
72
  use_ssl: endpoint_uri.normalized_scheme == 'https') do |http|
69
- request = Net::HTTP::Get.new [ endpoint_uri.normalized_path, '/', ZUORA_REST_MAJOR_VERSION, path ].join('')
73
+ request = Net::HTTP::Get.new [endpoint_uri.normalized_path, '/', ZUORA_REST_MAJOR_VERSION, path].join('')
70
74
  rest_headers(zuora_version).each_pair do |header_key, header_value|
71
75
  request[header_key] = header_value
72
76
  end
@@ -89,7 +93,7 @@ module ZuoraRestClient
89
93
 
90
94
  def rest_post(path, post_data = nil, zuora_version = nil, is_json = true)
91
95
  response = rest_connection(use_api_proxy?(path)).post do |request|
92
- request.url [ ZUORA_REST_MAJOR_VERSION, path ].join('')
96
+ request.url [ZUORA_REST_MAJOR_VERSION, path].join('')
93
97
  request.headers = rest_headers(zuora_version)
94
98
  request.body = MultiJson.dump(post_data) if !post_data.nil? && is_json
95
99
  request.body = post_data if !post_data.nil? && !is_json
@@ -99,7 +103,7 @@ module ZuoraRestClient
99
103
 
100
104
  def rest_put(path, put_data = nil, zuora_version = nil, is_json = true)
101
105
  response = rest_connection(use_api_proxy?(path)).put do |request|
102
- request.url [ ZUORA_REST_MAJOR_VERSION, path ].join('')
106
+ request.url [ZUORA_REST_MAJOR_VERSION, path].join('')
103
107
  request.headers = rest_headers(zuora_version)
104
108
  request.body = MultiJson.dump(put_data) if !put_data.nil? && is_json
105
109
  request.body = put_data if !put_data.nil? && !is_json
@@ -109,7 +113,7 @@ module ZuoraRestClient
109
113
 
110
114
  def rest_delete(path, zuora_version = nil)
111
115
  response = rest_connection(use_api_proxy?(path)).delete do |request|
112
- request.url [ ZUORA_REST_MAJOR_VERSION, path ].join('')
116
+ request.url [ZUORA_REST_MAJOR_VERSION, path].join('')
113
117
  request.headers = rest_headers(zuora_version)
114
118
  end
115
119
  process_response(response)
@@ -125,8 +129,13 @@ module ZuoraRestClient
125
129
  app: 'https://www.zuora.com' },
126
130
  api_sandbox: {
127
131
  rest: 'https://rest.apisandbox.zuora.com',
128
- app: 'https://apisandbox.zuora.com' } }
132
+ app: 'https://apisandbox.zuora.com' },
133
+ test: {
134
+ rest: 'https://rest.test.zuora.com',
135
+ app: 'https://test.zuora.com' }
136
+ }
129
137
 
138
+ # @deprecated Since the Client class no longer uses this, it will be removed.
130
139
  def app_connection
131
140
  Faraday.new(url: zuora_endpoint.app, request: {
132
141
  open_timeout: @options[:request_open_timeout] || 120,
@@ -139,6 +148,7 @@ module ZuoraRestClient
139
148
  end
140
149
  end
141
150
 
151
+ # @deprecated Since the Client class no longer uses this, it will be removed.
142
152
  def app_headers
143
153
  headers = { 'Content-Type' => 'application/json' }
144
154
  headers['entityId'] = @options[:entity_id] if !@options[:entity_id].nil?
@@ -182,7 +192,6 @@ module ZuoraRestClient
182
192
  Faraday.new(url: rest_endpoint_uri.to_s, request: {
183
193
  open_timeout: @options[:request_open_timeout] || 120,
184
194
  timeout: @options[:request_timeout] || 120 }) do |faraday|
185
- faraday.use FaradayMiddleware::FollowRedirects
186
195
  faraday.request :multipart
187
196
  faraday.response :detailed_logger, logger
188
197
  faraday.adapter :httpclient
@@ -217,7 +226,7 @@ module ZuoraRestClient
217
226
  rest_endpoint = "#{@environment[:rest]}"
218
227
  app_endpoint = "#{@environment[:app]}/apps/api"
219
228
  else
220
- raise 'Possible values for environment are: :production, :api_sandbox, :servicesNNN or a hash with base URL values for :rest and :app.'
229
+ raise 'Possible values for environment are: :production, :api_sandbox, :test, :servicesNNN or a hash with base URL values for :rest and :app.'
221
230
  end
222
231
  OpenStruct.new({ rest: rest_endpoint, app: app_endpoint })
223
232
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraRestClient
2
- VERSION = '1.2.1.1'
2
+ VERSION = '1.2.2.0'
3
3
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1.1
4
+ version: 1.2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Massad
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2021-06-05 00:00:00.000000000 Z
12
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.13'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.13'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '10.0'
19
+ version: '13'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '10.0'
26
+ version: '13'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -126,56 +112,68 @@ dependencies:
126
112
  requirements:
127
113
  - - "~>"
128
114
  - !ruby/object:Gem::Version
129
- version: '2.8'
115
+ version: '2'
130
116
  type: :runtime
131
117
  prerelease: false
132
118
  version_requirements: !ruby/object:Gem::Requirement
133
119
  requirements:
134
120
  - - "~>"
135
121
  - !ruby/object:Gem::Version
136
- version: '2.8'
122
+ version: '2'
137
123
  - !ruby/object:Gem::Dependency
138
124
  name: faraday
139
125
  requirement: !ruby/object:Gem::Requirement
140
126
  requirements:
141
- - - "~>"
127
+ - - ">="
142
128
  - !ruby/object:Gem::Version
143
129
  version: '0'
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: '2'
144
133
  type: :runtime
145
134
  prerelease: false
146
135
  version_requirements: !ruby/object:Gem::Requirement
147
136
  requirements:
148
- - - "~>"
137
+ - - ">="
149
138
  - !ruby/object:Gem::Version
150
139
  version: '0'
140
+ - - "<"
141
+ - !ruby/object:Gem::Version
142
+ version: '2'
151
143
  - !ruby/object:Gem::Dependency
152
- name: faraday-detailed_logger
144
+ name: faraday_middleware
153
145
  requirement: !ruby/object:Gem::Requirement
154
146
  requirements:
155
- - - "~>"
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ - - "<"
156
151
  - !ruby/object:Gem::Version
157
152
  version: '2'
158
153
  type: :runtime
159
154
  prerelease: false
160
155
  version_requirements: !ruby/object:Gem::Requirement
161
156
  requirements:
162
- - - "~>"
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ - - "<"
163
161
  - !ruby/object:Gem::Version
164
162
  version: '2'
165
163
  - !ruby/object:Gem::Dependency
166
- name: faraday_middleware
164
+ name: faraday-detailed_logger
167
165
  requirement: !ruby/object:Gem::Requirement
168
166
  requirements:
169
167
  - - "~>"
170
168
  - !ruby/object:Gem::Version
171
- version: '0'
169
+ version: '2'
172
170
  type: :runtime
173
171
  prerelease: false
174
172
  version_requirements: !ruby/object:Gem::Requirement
175
173
  requirements:
176
174
  - - "~>"
177
175
  - !ruby/object:Gem::Version
178
- version: '0'
176
+ version: '2'
179
177
  - !ruby/object:Gem::Dependency
180
178
  name: multipart-post
181
179
  requirement: !ruby/object:Gem::Requirement
@@ -276,9 +274,6 @@ dependencies:
276
274
  name: recursive-open-struct
277
275
  requirement: !ruby/object:Gem::Requirement
278
276
  requirements:
279
- - - "~>"
280
- - !ruby/object:Gem::Version
281
- version: '1'
282
277
  - - ">="
283
278
  - !ruby/object:Gem::Version
284
279
  version: 1.0.4
@@ -286,9 +281,6 @@ dependencies:
286
281
  prerelease: false
287
282
  version_requirements: !ruby/object:Gem::Requirement
288
283
  requirements:
289
- - - "~>"
290
- - !ruby/object:Gem::Version
291
- version: '1'
292
284
  - - ">="
293
285
  - !ruby/object:Gem::Version
294
286
  version: 1.0.4
@@ -313,42 +305,20 @@ executables: []
313
305
  extensions: []
314
306
  extra_rdoc_files: []
315
307
  files:
316
- - ".gitignore"
317
- - ".rspec"
318
- - ".travis.yml"
319
- - Gemfile
320
308
  - LICENSE
321
309
  - README.md
322
- - Rakefile
323
310
  - bin/console
324
311
  - bin/setup
325
- - fixtures/vcr_cassettes/zuora/create_account_object_success.yml
326
- - fixtures/vcr_cassettes/zuora/create_account_success.yml
327
- - fixtures/vcr_cassettes/zuora/delete_account_object_success.yml
328
- - fixtures/vcr_cassettes/zuora/describe_account.yml
329
- - fixtures/vcr_cassettes/zuora/describe_account_related_objects.yml
330
- - fixtures/vcr_cassettes/zuora/describe_all_account_fields.yml
331
- - fixtures/vcr_cassettes/zuora/describe_all_zobjects.yml
332
- - fixtures/vcr_cassettes/zuora/describe_exportable_account_fields.yml
333
- - fixtures/vcr_cassettes/zuora/describe_non_exportable_account_fields.yml
334
- - fixtures/vcr_cassettes/zuora/describe_non_updateable_account_fields.yml
335
- - fixtures/vcr_cassettes/zuora/describe_updateable_account_fields.yml
336
- - fixtures/vcr_cassettes/zuora/get_account_object_success.yml
337
- - fixtures/vcr_cassettes/zuora/get_account_success.yml
338
- - fixtures/vcr_cassettes/zuora/get_account_summary_success.yml
339
- - fixtures/vcr_cassettes/zuora/update_account_object_success.yml
340
- - fixtures/vcr_cassettes/zuora/update_account_success.yml
341
312
  - lib/zuora_rest_client.rb
342
313
  - lib/zuora_rest_client/client.rb
343
314
  - lib/zuora_rest_client/connection.rb
344
315
  - lib/zuora_rest_client/result.rb
345
316
  - lib/zuora_rest_client/version.rb
346
- - zuora_rest_client.gemspec
347
317
  homepage: https://github.com/FronteraConsulting/zuora_rest_client
348
318
  licenses:
349
319
  - MIT
350
320
  metadata: {}
351
- post_install_message:
321
+ post_install_message:
352
322
  rdoc_options: []
353
323
  require_paths:
354
324
  - lib
@@ -363,9 +333,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
333
  - !ruby/object:Gem::Version
364
334
  version: '0'
365
335
  requirements: []
366
- rubyforge_project:
367
- rubygems_version: 2.7.8
368
- signing_key:
336
+ rubygems_version: 3.1.2
337
+ signing_key:
369
338
  specification_version: 4
370
339
  summary: Zuora REST Client
371
340
  test_files: []
data/.gitignore DELETED
@@ -1,54 +0,0 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- .env
15
-
16
- ## Specific to RubyMotion:
17
- .dat*
18
- .repl_history
19
- build/
20
- *.bridgesupport
21
- build-iPhoneOS/
22
- build-iPhoneSimulator/
23
-
24
- ## Specific to RubyMotion (use of CocoaPods):
25
- #
26
- # We recommend against adding the Pods directory to your .gitignore. However
27
- # you should judge for yourself, the pros and cons are mentioned at:
28
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
- #
30
- # vendor/Pods/
31
-
32
- ## Documentation cache and generated files:
33
- /.yardoc/
34
- /_yardoc/
35
- /doc/
36
- /rdoc/
37
-
38
- ## Environment normalization:
39
- /.bundle/
40
- /vendor/bundle
41
- /lib/bundler/man/
42
-
43
- # for a library or gem, you might want to ignore these files since the code is
44
- # intended to run in multiple environments; otherwise, check them in:
45
- Gemfile.lock
46
- .ruby-version
47
- .ruby-gemset
48
-
49
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
- .rvmrc
51
-
52
- .idea
53
- /.env
54
- .env