leap_salesforce 0.2.26 → 0.2.27

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: 46ddc1666b0bfa490615de0e71ebfc2c38a038d1979ba11ca316473b9149ee5d
4
- data.tar.gz: fd02406910add5f0476180668503aa8cd84a2b17a8d2d177c7bea04cc92a24ec
3
+ metadata.gz: 6beb8a4e462a31ab61b61f7dd20a56b2a4e005802624060f55c667f13de2e475
4
+ data.tar.gz: 3f5fdf94ce7bea4b7d5d5a22c875478006bceb471250755cce7822c016eadc02
5
5
  SHA512:
6
- metadata.gz: fce2360e07c182e3c2e9c74cd1ba2ab97f383a18d6797ecc84989c67a96f011df0debd4b4ca1f687ee1f757547fb2afc17b54df43dd07bfa92908ee8fa4efe37
7
- data.tar.gz: e19d83a1ec699f4e71239e73b27f293d10d0e62c4d3cf1051aec99590bfb795ade0c94bb318ff7f9598c2ec2e42f421f2d2f5ca8c7c071d0023b5d90c5b79636
6
+ metadata.gz: 121c6750cbeb5296f9827c269d303783aa4870e807d232e56e6319deabe82d6b5f6b3c8c5fa9f9fdd6bc71a94119f297d5faed8050d6593a5373b014924f55e2
7
+ data.tar.gz: 88bfc12cb84587912d26b352fdcb933c6ca4ec6af712fd0f5f2445364db249757560a4156112ec89da2e0e144b99427c666bf13e267ce56e4a5c01269ead0091
data/.rubocop.yml CHANGED
@@ -1,13 +1,17 @@
1
1
  # Modifies RuboCop (Static analysis tool)
2
2
  Layout/LineLength:
3
3
  Max: 160
4
+ Layout/SpaceAroundMethodCallOperator:
5
+ Enabled: true
4
6
  Lint/RaiseException:
5
7
  Enabled: true
6
8
  Lint/StructNewOverride:
7
9
  Enabled: true
10
+ Style/ExponentialNotation:
11
+ Enabled: true
8
12
  Style/HashEachMethods:
9
13
  Enabled: true
10
14
  Style/HashTransformKeys:
11
15
  Enabled: true
12
16
  Style/HashTransformValues:
13
- Enabled: true
17
+ Enabled: true
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.2.27
2
+ * Bug fix
3
+ * Patch to update deprecated `create_enum` method so it allows 1 parameter
4
+
1
5
  Version 0.2.26
2
6
  * Enhancement
3
7
  * Create method to exclude picklists being created based on regexp in .leap_salesforce.yml
@@ -29,7 +29,7 @@ module LeapSalesforce
29
29
  # Object inheriting from SoqlData that has picklists underneath it
30
30
  def create_picklists_for(entity)
31
31
  soql_object = LeapSalesforce.soql_objects.find { |so| so.class_name == entity.to_s }
32
- raise "Could not find soql object for '#{entity.to_s}'" unless soql_object
32
+ raise "Could not find soql object for '#{entity}'" unless soql_object
33
33
 
34
34
  unless soql_object.create_enum != false
35
35
  puts "Skipping picklists for #{entity}"
@@ -15,7 +15,7 @@ module SoqlSettings
15
15
  end
16
16
 
17
17
  # @deprecated Not used, setting in '.leap_salesforce.yml' controls this now
18
- def create_enum
18
+ def create_enum(_set)
19
19
  LeapSalesforce.logger.warn "Method 'create_enum' called when it is deprecated" \
20
20
  " from #{caller_locations[0]}"
21
21
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '0.2.26'
5
+ VERSION = '0.2.27'
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: 0.2.26
4
+ version: 0.2.27
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: 2020-04-16 00:00:00.000000000 Z
12
+ date: 2020-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler