restforce 3.2.1 → 4.0.0

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: fa2491edb7d7f6b3d48a866be6d9c896e886987a995ee3b1cd6cfd10732cf99b
4
- data.tar.gz: 33ea3530dc17a98ee4b26b93636499c491352d0000fc8ac35ae81bd0f4e0426b
3
+ metadata.gz: 9e4311062c172c1fd0706872045d29fed90d5b36df5f6c2656d88c37ac680fb2
4
+ data.tar.gz: f8b6e07bd7533342229f0bb02ef00a731dda64990927bc2c8d822fbfa46f5a29
5
5
  SHA512:
6
- metadata.gz: 7ff50cc0872b5491f2a183886f857d381c9c854bcd1932ee4e92e2231dab367d16c0a6a28c4c9525a4ce807acea255ffd3d4d9070766379ae29f51117c9cb024
7
- data.tar.gz: 82750aac34ffe679439ea478043da95d4fe9b3847704b65ad241a8aaa4bc65092da5321b69c1443296bd3b6bf682fb3f0c907be1356f95ccf2ad3a460979fedf
6
+ metadata.gz: 33d02a24a1fc9e7efd40a318f75a48992215b759bcb33c8860a0e4e49fbc5a2eac13cce908dac4605164af58fa6e43473b753668926e0875deeba63eac4cc51c
7
+ data.tar.gz: 1a6155b0ec55633ebf061e7e709b7e391fe266563f5476b658040139e977ea00baf356602aacf8c5b2aef313c0b48296bfad984d444fe437249424810b567512
data/.circleci/config.yml CHANGED
@@ -34,23 +34,23 @@ references:
34
34
  destination: test-results
35
35
 
36
36
  jobs:
37
- build-ruby251:
37
+ build-ruby265:
38
38
  docker:
39
- - image: circleci/ruby:2.5.1
39
+ - image: circleci/ruby:2.6.5
40
40
  steps: *steps
41
- build-ruby244:
41
+ build-ruby257:
42
42
  docker:
43
- - image: circleci/ruby:2.4.4
43
+ - image: circleci/ruby:2.5.7
44
44
  steps: *steps
45
- build-ruby237:
45
+ build-ruby249:
46
46
  docker:
47
- - image: circleci/ruby:2.3.7
47
+ - image: circleci/ruby:2.4.9
48
48
  steps: *steps
49
49
 
50
50
  workflows:
51
51
  version: 2
52
52
  tests:
53
53
  jobs:
54
- - build-ruby251
55
- - build-ruby244
56
- - build-ruby237
54
+ - build-ruby265
55
+ - build-ruby257
56
+ - build-ruby249
data/.rubocop.yml CHANGED
@@ -7,7 +7,7 @@ AllCops:
7
7
  Exclude:
8
8
  - .*/**/*
9
9
  - vendor/**/*
10
- TargetRubyVersion: 2.3
10
+ TargetRubyVersion: 2.4
11
11
 
12
12
  # Limit lines to 80 characters.
13
13
  Metrics/LineLength:
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## 3.2.1 (Dec 8, 2021)
1
+ ## 4.0.0 (Oct 9, 2019)
2
2
 
3
- * Update the gemspec to reflect that `faraday` `v1.0.0` is not supported (@timrogers)
3
+ * __Deprecate support for Ruby 2.3__, since [Ruby 2.3 reached its end-of-life](https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/) in March 2019. (This is the only breaking change included in this version.)
4
4
 
5
5
  ## 3.2.0 (Oct 9, 2019)
6
6
 
data/README.md CHANGED
@@ -25,7 +25,7 @@ Features include:
25
25
 
26
26
  Add this line to your application's Gemfile:
27
27
 
28
- gem 'restforce', '~> 3.2.1'
28
+ gem 'restforce', '~> 4.0.0'
29
29
 
30
30
  And then execute:
31
31
 
@@ -35,7 +35,7 @@ Or install it yourself as:
35
35
 
36
36
  $ gem install restforce
37
37
 
38
- __As of [version 3.0.0](https://github.com/restforce/restforce/blob/master/CHANGELOG.md#300-aug-2-2018), this gem is only compatible with Ruby 2.3.0 and later.__ You'll need to use version 2.5.3 or earlier if you're running on Ruby 2.2, 2.1 or 2.0. For Ruby 1.9.3, you'll need to manually specify that you wish to use version 2.4.2.
38
+ __As of [version 4.0.0](https://github.com/restforce/restforce/blob/master/CHANGELOG.md#400-oct-9-2019), this gem is only compatible with Ruby 2.4.0 and later.__ You'll need to use version 3.2.0 or earlier if you're running on Ruby 2.3. If you're running on Ruby 2.2, 2.1 or 2.0, use version 2.5.3 or earlier. For Ruby 1.9.3, you'll need to manually specify that you wish to use version 2.4.2.
39
39
 
40
40
  This gem is versioned using [Semantic Versioning](http://semver.org/), so you can be confident when updating that there will not be breaking changes outside of a major version (following format MAJOR.MINOR.PATCH, so for instance moving from 3.1.0 to 4.0.0 would be allowed to include incompatible API changes). See the [changelog](https://github.com/restforce/restforce/tree/master/CHANGELOG.md) for details on what has changed in each version.
41
41
 
@@ -83,7 +83,7 @@ module Restforce
83
83
  # See http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_des
84
84
  # cribesobjects_describesobjectresult.htm
85
85
  def valid?(picklist_entry)
86
- valid_for = picklist_entry['validFor'].ljust(16, 'A').unpack('m').first.
86
+ valid_for = picklist_entry['validFor'].ljust(16, 'A').unpack1('m').
87
87
  unpack('C*')
88
88
  (valid_for[index >> 3] & (0x80 >> index % 8)).positive?
89
89
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Restforce
4
- VERSION = '3.2.1'
4
+ VERSION = '4.0.0'
5
5
  end
data/restforce.gemspec CHANGED
@@ -22,10 +22,10 @@ Gem::Specification.new do |gem|
22
22
  'changelog_uri' => 'https://github.com/restforce/restforce/blob/master/CHANGELOG.md'
23
23
  }
24
24
 
25
- gem.required_ruby_version = '>= 2.3'
25
+ gem.required_ruby_version = '>= 2.4'
26
26
 
27
27
  gem.add_dependency 'faraday', '<= 1.0', '>= 0.9.0'
28
- gem.add_dependency 'faraday_middleware', ['>= 0.8.8', '< 1.0']
28
+ gem.add_dependency 'faraday_middleware', ['>= 0.8.8', '<= 1.0']
29
29
 
30
30
  gem.add_dependency 'json', '>= 1.7.5'
31
31
 
metadata CHANGED
@@ -1,36 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric J. Holmes
8
8
  - Tim Rogers
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-12-08 00:00:00.000000000 Z
12
+ date: 2019-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "<="
19
- - !ruby/object:Gem::Version
20
- version: '1.0'
21
18
  - - ">="
22
19
  - !ruby/object:Gem::Version
23
20
  version: 0.9.0
21
+ - - "<="
22
+ - !ruby/object:Gem::Version
23
+ version: '1.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - "<="
29
- - !ruby/object:Gem::Version
30
- version: '1.0'
31
28
  - - ">="
32
29
  - !ruby/object:Gem::Version
33
30
  version: 0.9.0
31
+ - - "<="
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: faraday_middleware
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.8.8
41
- - - "<"
41
+ - - "<="
42
42
  - !ruby/object:Gem::Version
43
43
  version: '1.0'
44
44
  type: :runtime
@@ -48,7 +48,7 @@ dependencies:
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
50
  version: 0.8.8
51
- - - "<"
51
+ - - "<="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.0'
54
54
  - !ruby/object:Gem::Dependency
@@ -310,7 +310,7 @@ licenses:
310
310
  metadata:
311
311
  source_code_uri: https://github.com/restforce/restforce
312
312
  changelog_uri: https://github.com/restforce/restforce/blob/master/CHANGELOG.md
313
- post_install_message:
313
+ post_install_message:
314
314
  rdoc_options: []
315
315
  require_paths:
316
316
  - lib
@@ -318,15 +318,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
318
318
  requirements:
319
319
  - - ">="
320
320
  - !ruby/object:Gem::Version
321
- version: '2.3'
321
+ version: '2.4'
322
322
  required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  requirements:
324
324
  - - ">="
325
325
  - !ruby/object:Gem::Version
326
326
  version: '0'
327
327
  requirements: []
328
- rubygems_version: 3.2.22
329
- signing_key:
328
+ rubygems_version: 3.0.3
329
+ signing_key:
330
330
  specification_version: 4
331
331
  summary: A lightweight ruby client for the Salesforce REST API.
332
332
  test_files: