ruby-pardot 1.4.2 → 1.4.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dbc9628cd309b1ef6a874706ec305376c0c06a69be5ee50fac72eeef491af11
4
- data.tar.gz: 324d251e4c43e81843a36fc8ffbf7f8c2adbec985a7aceccf6757fe1cf388b31
3
+ metadata.gz: 81b43157273b98eebb45a2e695caa5e1a0ebdda43362411fa92bb508309d3bed
4
+ data.tar.gz: 915412f4c01e765564bb61b0ff8ab45911c8c2d2a67ed355a3740eac1eae5359
5
5
  SHA512:
6
- metadata.gz: 8a1cf01b619034922e3132da5c2c2d3bac02fdb581b24d6d9dfbc80510768efe7a8eea778b72f8cbc14c11096d0e6daf8ec9e0719bd69766fd1f331bb30cc460
7
- data.tar.gz: 433854ac3dabe503c6fceb5d3c706735a5a7947df330071dbf8f03a52c3cb10e7fcfd3e8cd04ef6d5119f35388c3e035304def20997879005cd17be468c4d355
6
+ metadata.gz: f5a8926a71dd243305c58b8eba2efe76c8b0879ccd19e7a1f6c2700bc481a2b24ad12aeb9f68e0c724383d2c7727c84f920801e087bf7f662fdb98abfb4fcd97
7
+ data.tar.gz: a0ec37ffaa901a6f254fb839869bd8514d93d6112fc017c76591974e775fabbd32990c3db3c07aed88684936059550693ae29d2f0bdbb92e513ec74961365959
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg/*
3
3
  .bundle
4
4
  .vscode
5
5
  bin
6
+ .idea
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.8
data/CODEOWNERS ADDED
@@ -0,0 +1,3 @@
1
+ # Comment line immediately above ownership line is reserved for related other information. Please be careful while editing.
2
+ #ECCN:Open Source
3
+ #GUSINFO:Open Source,Open Source Workflow
@@ -0,0 +1,105 @@
1
+ # Salesforce Open Source Community Code of Conduct
2
+
3
+ ## About the Code of Conduct
4
+
5
+ Equality is a core value at Salesforce. We believe a diverse and inclusive
6
+ community fosters innovation and creativity, and are committed to building a
7
+ culture where everyone feels included.
8
+
9
+ Salesforce open-source projects are committed to providing a friendly, safe, and
10
+ welcoming environment for all, regardless of gender identity and expression,
11
+ sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12
+ race, age, religion, level of experience, education, socioeconomic status, or
13
+ other similar personal characteristics.
14
+
15
+ The goal of this code of conduct is to specify a baseline standard of behavior so
16
+ that people with different social values and communication styles can work
17
+ together effectively, productively, and respectfully in our open source community.
18
+ It also establishes a mechanism for reporting issues and resolving conflicts.
19
+
20
+ All questions and reports of abusive, harassing, or otherwise unacceptable behavior
21
+ in a Salesforce open-source project may be reported by contacting the Salesforce
22
+ Open Source Conduct Committee at ossconduct@salesforce.com.
23
+
24
+ ## Our Pledge
25
+
26
+ In the interest of fostering an open and welcoming environment, we as
27
+ contributors and maintainers pledge to making participation in our project and
28
+ our community a harassment-free experience for everyone, regardless of gender
29
+ identity and expression, sexual orientation, disability, physical appearance,
30
+ body size, ethnicity, nationality, race, age, religion, level of experience, education,
31
+ socioeconomic status, or other similar personal characteristics.
32
+
33
+ ## Our Standards
34
+
35
+ Examples of behavior that contributes to creating a positive environment
36
+ include:
37
+
38
+ * Using welcoming and inclusive language
39
+ * Being respectful of differing viewpoints and experiences
40
+ * Gracefully accepting constructive criticism
41
+ * Focusing on what is best for the community
42
+ * Showing empathy toward other community members
43
+
44
+ Examples of unacceptable behavior by participants include:
45
+
46
+ * The use of sexualized language or imagery and unwelcome sexual attention or
47
+ advances
48
+ * Personal attacks, insulting/derogatory comments, or trolling
49
+ * Public or private harassment
50
+ * Publishing, or threatening to publish, others' private information—such as
51
+ a physical or electronic address—without explicit permission
52
+ * Other conduct which could reasonably be considered inappropriate in a
53
+ professional setting
54
+ * Advocating for or encouraging any of the above behaviors
55
+
56
+ ## Our Responsibilities
57
+
58
+ Project maintainers are responsible for clarifying the standards of acceptable
59
+ behavior and are expected to take appropriate and fair corrective action in
60
+ response to any instances of unacceptable behavior.
61
+
62
+ Project maintainers have the right and responsibility to remove, edit, or
63
+ reject comments, commits, code, wiki edits, issues, and other contributions
64
+ that are not aligned with this Code of Conduct, or to ban temporarily or
65
+ permanently any contributor for other behaviors that they deem inappropriate,
66
+ threatening, offensive, or harmful.
67
+
68
+ ## Scope
69
+
70
+ This Code of Conduct applies both within project spaces and in public spaces
71
+ when an individual is representing the project or its community. Examples of
72
+ representing a project or community include using an official project email
73
+ address, posting via an official social media account, or acting as an appointed
74
+ representative at an online or offline event. Representation of a project may be
75
+ further defined and clarified by project maintainers.
76
+
77
+ ## Enforcement
78
+
79
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
80
+ reported by contacting the Salesforce Open Source Conduct Committee
81
+ at ossconduct@salesforce.com. All complaints will be reviewed and investigated
82
+ and will result in a response that is deemed necessary and appropriate to the
83
+ circumstances. The committee is obligated to maintain confidentiality with
84
+ regard to the reporter of an incident. Further details of specific enforcement
85
+ policies may be posted separately.
86
+
87
+ Project maintainers who do not follow or enforce the Code of Conduct in good
88
+ faith may face temporary or permanent repercussions as determined by other
89
+ members of the project's leadership and the Salesforce Open Source Conduct
90
+ Committee.
91
+
92
+ ## Attribution
93
+
94
+ This Code of Conduct is adapted from the [Contributor Covenant][contributor-covenant-home],
95
+ version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96
+ It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
97
+ [CNCF Code of Conduct][cncf-coc], and [Microsoft Open Source Code of Conduct][microsoft-coc].
98
+
99
+ This Code of Conduct is licensed under the [Creative Commons Attribution 3.0 License][cc-by-3-us].
100
+
101
+ [contributor-covenant-home]: https://www.contributor-covenant.org (https://www.contributor-covenant.org/)
102
+ [golang-coc]: https://golang.org/conduct
103
+ [cncf-coc]: https://github.com/cncf/foundation/blob/master/code-of-conduct.md
104
+ [microsoft-coc]: https://opensource.microsoft.com/codeofconduct/
105
+ [cc-by-3-us]: https://creativecommons.org/licenses/by/3.0/us/
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,78 @@
1
+ # Contributing Guide
2
+
3
+ This page lists the operational governance model of this project, as well as the recommendations and requirements for how to best contribute to it. We strive to obey these as best as possible. As always, thanks for contributing – we hope these guidelines make it easier and shed some light on our approach and processes.
4
+
5
+ # Governance Model
6
+
7
+ ## Published but not supported
8
+
9
+ The intent and goal of open sourcing this project is because it may contain useful or interesting code/concepts that we wish to share with the larger open source community. Although occasional work may be done on it, we will not be looking for or soliciting contributions.
10
+
11
+ # Getting started
12
+
13
+ Please join the community. Also please make sure to take a look at the project [roadmap](ROADMAP.md), if it exists, to see where are headed.
14
+
15
+ # Issues, requests & ideas
16
+
17
+ Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.
18
+
19
+ ### Bug Reports and Fixes
20
+ - If you find a bug, please search for it in the Issues, and if it isn't already tracked,
21
+ create a new issue. Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
22
+ be reviewed.
23
+ - Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
24
+ - If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
25
+ - Include tests that isolate the bug and verifies that it was fixed.
26
+
27
+ ### New Features
28
+ - If you'd like to add new functionality to this project, describe the problem you want to solve in a new Issue.
29
+ - Issues that have been identified as a feature request will be labelled `enhancement`.
30
+ - If you'd like to implement the new feature, please wait for feedback from the project
31
+ maintainers before spending too much time writing the code. In some cases, `enhancement`s may
32
+ not align well with the project objectives at the time.
33
+
34
+ ### Tests, Documentation, Miscellaneous
35
+ - If you'd like to improve the tests, you want to make the documentation clearer, you have an
36
+ alternative implementation of something that may have advantages over the way its currently
37
+ done, or you have any other change, we would be happy to hear about it!
38
+ - If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
39
+ - If not, open an Issue to discuss the idea first.
40
+
41
+ If you're new to our project and looking for some way to make your first contribution, look for
42
+ Issues labelled `good first contribution`.
43
+
44
+ # Contribution Checklist
45
+
46
+ - [x] Clean, simple, well styled code
47
+ - [x] Commits should be atomic and messages must be descriptive. Related issues should be mentioned by Issue number.
48
+ - [x] Comments
49
+ - Module-level & function-level comments.
50
+ - Comments on complex blocks of code or algorithms (include references to sources).
51
+ - [x] Tests
52
+ - The test suite, if provided, must be complete and pass
53
+ - Increase code coverage, not versa.
54
+ - Use any of our testkits that contains a bunch of testing facilities you would need. For example: `import com.salesforce.op.test._` and borrow inspiration from existing tests.
55
+ - [x] Dependencies
56
+ - Minimize number of dependencies.
57
+ - Prefer Apache 2.0, BSD3, MIT, ISC and MPL licenses.
58
+ - [x] Reviews
59
+ - Changes must be approved via peer code review
60
+
61
+ # Creating a Pull Request
62
+
63
+ 1. **Ensure the bug/feature was not already reported** by searching on GitHub under Issues. If none exists, create a new issue so that other contributors can keep track of what you are trying to add/fix and offer suggestions (or let you know if there is already an effort in progress).
64
+ 3. **Clone** the forked repo to your machine.
65
+ 4. **Create** a new branch to contain your work (e.g. `git br fix-issue-11`)
66
+ 4. **Commit** changes to your own branch.
67
+ 5. **Push** your work back up to your fork. (e.g. `git push fix-issue-11`)
68
+ 6. **Submit** a Pull Request against the `main` branch and refer to the issue(s) you are fixing. Try not to pollute your pull request with unintended changes. Keep it simple and small.
69
+ 7. **Sign** the Salesforce CLA (you will be prompted to do so when submitting the Pull Request)
70
+
71
+ > **NOTE**: Be sure to [sync your fork](https://help.github.com/articles/syncing-a-fork/) before making a pull request.
72
+
73
+
74
+ # Code of Conduct
75
+ Please follow our [Code of Conduct](CODE_OF_CONDUCT.md).
76
+
77
+ # License
78
+ By contributing your code, you agree to license your contribution under the terms of our project [LICENSE](LICENSE.txt) and to sign the [Salesforce CLA](https://cla.salesforce.com/sign-cla)
data/Gemfile.lock CHANGED
@@ -1,25 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-pardot (1.4.2)
4
+ ruby-pardot (1.4.4)
5
5
  crack (= 0.4.5)
6
- httparty (= 0.18.1)
6
+ httparty (~> 0.24.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  crack (0.4.5)
12
12
  rexml
13
+ csv (3.3.5)
13
14
  diff-lcs (1.5.0)
14
15
  fakeweb (1.3.0)
15
- httparty (0.18.1)
16
- mime-types (~> 3.0)
16
+ httparty (0.24.0)
17
+ csv
18
+ mini_mime (>= 1.0.0)
17
19
  multi_xml (>= 0.5.2)
18
- mime-types (3.4.1)
19
- mime-types-data (~> 3.2015)
20
- mime-types-data (3.2023.0218.1)
20
+ mini_mime (1.1.5)
21
21
  multi_xml (0.6.0)
22
- rexml (3.2.5)
22
+ rake (13.3.1)
23
+ rexml (3.4.4)
23
24
  rspec (3.5.0)
24
25
  rspec-core (~> 3.5.0)
25
26
  rspec-expectations (~> 3.5.0)
@@ -40,6 +41,7 @@ PLATFORMS
40
41
  DEPENDENCIES
41
42
  bundler (>= 1.10)
42
43
  fakeweb (= 1.3.0)
44
+ rake (~> 13.0)
43
45
  rspec (= 3.5.0)
44
46
  ruby-pardot!
45
47
 
data/SECURITY.md ADDED
@@ -0,0 +1,7 @@
1
+ ## Security
2
+
3
+ Please report any security issue to [security@salesforce.com](mailto:security@salesforce.com)
4
+ as soon as it is discovered. This library limits its runtime dependencies in
5
+ order to reduce the total cost of ownership as much as can be, but all consumers
6
+ should remain vigilant and have their security stakeholders review all third-party
7
+ products (3PP) like this one and their dependencies.
@@ -1,3 +1,3 @@
1
1
  module Pardot
2
- VERSION = '1.4.2'
2
+ VERSION = '1.4.4'
3
3
  end
data/ruby-pardot.gemspec CHANGED
@@ -12,16 +12,17 @@ Gem::Specification.new do |s|
12
12
  s.summary = 'Library for interacting with the Pardot API'
13
13
  s.description = 'Library for interacting with the Pardot API'
14
14
 
15
- s.required_ruby_version = '>= 2.6'
15
+ s.required_ruby_version = '>= 2.7'
16
16
  s.required_rubygems_version = ">= 1.3.6"
17
17
  s.rubyforge_project = "ruby-pardot"
18
18
 
19
19
  s.add_dependency 'crack', '0.4.5'
20
- s.add_dependency 'httparty', '0.18.1'
20
+ s.add_dependency 'httparty', '~> 0.24.0'
21
21
 
22
22
  s.add_development_dependency "bundler", ">= 1.10"
23
23
  s.add_development_dependency "rspec", "3.5.0"
24
24
  s.add_development_dependency "fakeweb", "1.3.0"
25
+ s.add_development_dependency "rake", "~> 13.0"
25
26
 
26
27
  s.files = `git ls-files`.split("\n")
27
28
  s.executables = `git ls-files`.split("\n").map { |f| f =~ %r{^bin/(.*)} ? Regexp.last_match(1) : nil }.compact
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-pardot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Cunning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-06 00:00:00.000000000 Z
11
+ date: 2026-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crack
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: httparty
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.18.1
33
+ version: 0.24.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.18.1
40
+ version: 0.24.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.3.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '13.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '13.0'
83
97
  description: Library for interacting with the Pardot API
84
98
  email:
85
99
  - support@pardot.com
@@ -90,10 +104,15 @@ files:
90
104
  - ".gitignore"
91
105
  - ".rspec"
92
106
  - ".rubocop.yml"
107
+ - ".ruby-version"
108
+ - CODEOWNERS
109
+ - CODE_OF_CONDUCT.md
110
+ - CONTRIBUTING.md
93
111
  - Gemfile
94
112
  - Gemfile.lock
95
113
  - README.rdoc
96
114
  - Rakefile
115
+ - SECURITY.md
97
116
  - lib/pardot/authentication.rb
98
117
  - lib/pardot/client.rb
99
118
  - lib/pardot/error.rb
@@ -140,14 +159,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
159
  requirements:
141
160
  - - ">="
142
161
  - !ruby/object:Gem::Version
143
- version: '2.6'
162
+ version: '2.7'
144
163
  required_rubygems_version: !ruby/object:Gem::Requirement
145
164
  requirements:
146
165
  - - ">="
147
166
  - !ruby/object:Gem::Version
148
167
  version: 1.3.6
149
168
  requirements: []
150
- rubygems_version: 3.4.6
169
+ rubygems_version: 3.1.6
151
170
  signing_key:
152
171
  specification_version: 4
153
172
  summary: Library for interacting with the Pardot API