leap_salesforce 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4be38bd8ce1f453e3bc8f3df55d5a1f40f865418c4adf644dab67201eb514fd3
4
- data.tar.gz: ac32404fee3b6164b5ddf7abee76a55676a875076c794b6835d161bdefaf391e
3
+ metadata.gz: 524899b1fcc374750dcb570db5de67ad6aaea98e8d9fd1381ed5c68cec0ea34a
4
+ data.tar.gz: d950d41267bbfde2fa9e7765b1f89a7b72cf61c47589567adef70b0a62e0566c
5
5
  SHA512:
6
- metadata.gz: f559edafcf8316958d80af27bf161e59bf334c205d02981ec5ca420e59c190a7addda14fd5367f05ffe67b8fc955148898c247afcff264666b70a326a98a75ef
7
- data.tar.gz: 3ddc1fd2fd1fdb552978ae238bde821963c243f064e32f36e54b61382176506ae2bce3c26b746b6c3403c6de1a6bc546d9bf687a849ca5aa3169650e4f13504f
6
+ metadata.gz: 5717e4bc877a62fa921abe70c0a2ee12d4a29e46941d6e0283f8665dc49d76d9a78be697ba4be609f6567d545b29e2d8cf6a7c965a4924e328feff71b090b891
7
+ data.tar.gz: 37adfa1837d29609c6aee8f2195ca0e41c134b94d5ced4be994064e4720eb12fe7930276fb296a9794a452a9ce21633c913fa507dfce24a88a51504b6cdecf95
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 1.0.4
2
+ * Enhancement
3
+ * Strip out ':' from user key for when it is accidentally added
4
+
1
5
  Version 1.0.3
2
6
  * Enhancement
3
7
  * Allow templates to be sourced from external gems for generator
data/README.md CHANGED
@@ -260,7 +260,19 @@ The value of request body can be interrogated with `entity.request_parameters.bo
260
260
 
261
261
  ##### Logging
262
262
 
263
- By default, API traffic will be logged in a log file in a `logs` folder.
263
+ By default, API traffic will be logged in a log file in a `logs` folder. The gem `soaspec` is
264
+ used to log this traffic.
265
+
266
+ Following is an example of changing some of the default logging.
267
+
268
+ ```ruby
269
+ # Turn this true if you need debug authentication
270
+ Soaspec::OAuth2.debug_oauth = true
271
+ # Turn this to true if you want to see API traffic on the terminal
272
+ Soaspec::SpecLogger.output_to_terminal = true
273
+ ```
274
+
275
+ See more configuration parameters in the [Soaspec repo](https://gitlab.com/samuel-garratt/soaspec#logging)
264
276
 
265
277
  ### CRUD of data
266
278
 
@@ -50,7 +50,7 @@ module LeapSalesforce
50
50
  ' leap_salesforce testing repo'.colorize(:green)
51
51
  verify_environment
52
52
  verify_oauth
53
- @user_key = options[:user_key] || input_for('Enter a key to refer to this user (This will be stored as a Symbol)')
53
+ @user_key = options[:user_key] || input_for('Enter a key to refer to this user (This will be stored as a Symbol)').delete(':')
54
54
  end
55
55
  end
56
56
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leap_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - IQA
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-02-02 00:00:00.000000000 Z
12
+ date: 2021-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler