use_the_force 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 76ae8abdd50837d73abd45fd60d7a06e62684b34105b4127287d5d338cd90032
4
+ data.tar.gz: bc39e9978157e5f0796a2979cda4974bb495634a072dba9f503892b4fb84efd1
5
+ SHA512:
6
+ metadata.gz: 4f9fbc73e7a2ad78c9a46a7bbc56b246788b0b6152b9473911c5e4988f4233d5a8eb697bc9744baebd9ee63acd3c3d3b5133767da8af9d3e89485febbc16a3a4
7
+ data.tar.gz: 35d65afc793d6c2d905442fd73002d41ecfd0e4a58f67ef1c5c63572e59ea29ffccdf30fd23daa28c5f5478c64fb0db2d96fd7220417854bcb761f9e634a6ab0
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 3.2.1
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-02-19
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ivansch05@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in use_the_force.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.2"
11
+
12
+ gem "standard", "~> 1.3"
13
+
14
+ gem "restforce", "~> 7.3.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,107 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ use_the_force (0.1.0)
5
+ rake (~> 13.0)
6
+ restforce (~> 7.3.0)
7
+ rspec (~> 3.2)
8
+ standard (~> 1.3)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ ast (2.4.2)
14
+ base64 (0.2.0)
15
+ diff-lcs (1.5.1)
16
+ faraday (2.9.0)
17
+ faraday-net_http (>= 2.0, < 3.2)
18
+ faraday-follow_redirects (0.3.0)
19
+ faraday (>= 1, < 3)
20
+ faraday-multipart (1.0.4)
21
+ multipart-post (~> 2)
22
+ faraday-net_http (3.1.0)
23
+ net-http
24
+ hashie (5.0.0)
25
+ json (2.7.1)
26
+ jwt (2.8.1)
27
+ base64
28
+ language_server-protocol (3.17.0.3)
29
+ lint_roller (1.1.0)
30
+ multipart-post (2.4.0)
31
+ net-http (0.4.1)
32
+ uri
33
+ parallel (1.24.0)
34
+ parser (3.3.0.5)
35
+ ast (~> 2.4.1)
36
+ racc
37
+ racc (1.7.3)
38
+ rainbow (3.1.1)
39
+ rake (13.2.0)
40
+ regexp_parser (2.9.0)
41
+ restforce (7.3.1)
42
+ faraday (>= 1.1.0, < 2.10.0)
43
+ faraday-follow_redirects (<= 0.3.0, < 1.0.0)
44
+ faraday-multipart (>= 1.0.0, < 2.0.0)
45
+ faraday-net_http (< 4.0.0)
46
+ hashie (>= 1.2.0, < 6.0)
47
+ jwt (>= 1.5.6)
48
+ rexml (3.2.6)
49
+ rspec (3.13.0)
50
+ rspec-core (~> 3.13.0)
51
+ rspec-expectations (~> 3.13.0)
52
+ rspec-mocks (~> 3.13.0)
53
+ rspec-core (3.13.0)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-expectations (3.13.0)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.13.0)
58
+ rspec-mocks (3.13.0)
59
+ diff-lcs (>= 1.2.0, < 2.0)
60
+ rspec-support (~> 3.13.0)
61
+ rspec-support (3.13.1)
62
+ rubocop (1.62.1)
63
+ json (~> 2.3)
64
+ language_server-protocol (>= 3.17.0)
65
+ parallel (~> 1.10)
66
+ parser (>= 3.3.0.2)
67
+ rainbow (>= 2.2.2, < 4.0)
68
+ regexp_parser (>= 1.8, < 3.0)
69
+ rexml (>= 3.2.5, < 4.0)
70
+ rubocop-ast (>= 1.31.1, < 2.0)
71
+ ruby-progressbar (~> 1.7)
72
+ unicode-display_width (>= 2.4.0, < 3.0)
73
+ rubocop-ast (1.31.2)
74
+ parser (>= 3.3.0.4)
75
+ rubocop-performance (1.20.2)
76
+ rubocop (>= 1.48.1, < 2.0)
77
+ rubocop-ast (>= 1.30.0, < 2.0)
78
+ ruby-progressbar (1.13.0)
79
+ standard (1.35.1)
80
+ language_server-protocol (~> 3.17.0.2)
81
+ lint_roller (~> 1.0)
82
+ rubocop (~> 1.62.0)
83
+ standard-custom (~> 1.0.0)
84
+ standard-performance (~> 1.3)
85
+ standard-custom (1.0.2)
86
+ lint_roller (~> 1.0)
87
+ rubocop (~> 1.50)
88
+ standard-performance (1.3.1)
89
+ lint_roller (~> 1.1)
90
+ rubocop-performance (~> 1.20.2)
91
+ unicode-display_width (2.5.0)
92
+ uri (0.13.0)
93
+
94
+ PLATFORMS
95
+ arm64-darwin-21
96
+ arm64-darwin-23
97
+ x86_64-linux
98
+
99
+ DEPENDENCIES
100
+ rake (~> 13.0)
101
+ restforce (~> 7.3.0)
102
+ rspec (~> 3.2)
103
+ standard (~> 1.3)
104
+ use_the_force!
105
+
106
+ BUNDLED WITH
107
+ 2.4.7
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 rstammer, IvanSchlagheck
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # UseTheForce
2
+ Ruby wrapper to mimick parts of ActiveRecord query interface to obtain
3
+ data conveniently (and human friendly 😅) from Salesforce RESTful API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'use_the_force'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install use_the_force
20
+
21
+ ## Usage
22
+
23
+ Put your authentication credentials in an initializer:
24
+ ```ruby
25
+ UseTheForce.configuration do |config|
26
+ config.username = ENV["SALESFORCE_USERNAME"]
27
+ config.pw = ENV["SALESFORCE_PW"]
28
+ config.api_version = ENV["SALESFORCE_API_VERSION"]
29
+ config.client_id = ENV["SALESFORCE_CLIENT_ID"]
30
+ config.client_secret = ENV["SALESFORCE_CLIENT_SECRET"]
31
+ config.security_token = ENV["SALESFORCE_SECURITY_TOKEN"]
32
+ config.instance_url = ENV["SALESFORCE_INSTANCE_URL"]
33
+ end
34
+ ```
35
+
36
+ Define your Salesforce models:
37
+ ```ruby
38
+ class Salesforce::User < UseTheForce::Base
39
+ fields :Email, :Name, :IsPirate__c
40
+ table_name :User__c
41
+ end
42
+ ```
43
+
44
+ Lookup records in a similar fashion like `ActiveRecord`, for example,
45
+ you can use `find_by`:
46
+
47
+ ```ruby
48
+ user = Salesforce::User.find_by(Email: "guybrush.threepwood@trendence.de")
49
+ user.Name # Guybrush Threepwood
50
+ ```
51
+
52
+ … or `where` for filering:
53
+
54
+ ```ruby
55
+ pirates = Salesforce::Pirate.where(Flag__c: "black").where(HasWoodenLeg: false).all
56
+ pirates.count # 42
57
+ ```
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
@@ -0,0 +1,151 @@
1
+ class UseTheForce::Base
2
+ class Relation
3
+ def initialize(client, target:)
4
+ @client = client
5
+ @filters = {}
6
+ @target = target
7
+ @soql = ""
8
+ end
9
+
10
+ def to_restforce_collection
11
+ collection
12
+ end
13
+
14
+ def create(**attributes)
15
+ @client.create(@target.read_table_name, **attributes)
16
+ end
17
+
18
+ def update(id, **attributes)
19
+ @client.update(@target.read_table_name, Id: id, **attributes)
20
+ end
21
+
22
+ def destroy(id)
23
+ @client.destroy(@target.read_table_name, id)
24
+ end
25
+
26
+ def where(**other_filters)
27
+ @filters.merge!(other_filters) unless other_filters.empty?
28
+
29
+ conditions =
30
+ @filters.map do |attr, value|
31
+ if value.is_a?(String)
32
+ "#{attr} = '#{value}'"
33
+ elsif value.is_a?(Float)
34
+ "#{attr} = #{value}"
35
+ elsif [true, false].include?(value)
36
+ "#{attr} = #{value}"
37
+ else
38
+ "#{attr} = '#{value}'"
39
+ end
40
+ end.join(" AND ")
41
+
42
+ where_clause =
43
+ if conditions.empty?
44
+ ""
45
+ else
46
+ conditions.prepend(" WHERE ")
47
+ end
48
+
49
+ @collection = nil
50
+ @soql = "SELECT #{@target.read_fields.join(", ")} FROM #{@target.read_table_name} #{where_clause}"
51
+ collection # Right before "self" at the end of the `where` method
52
+ self
53
+ end
54
+
55
+ def find(id)
56
+ @client.find(@target.read_table_name, id)
57
+ end
58
+
59
+ def collection
60
+ @collection ||= @client.query(@soql)
61
+ end
62
+
63
+ def method_missing(meth, *, &)
64
+ collection.send(meth, *, &)
65
+ end
66
+
67
+ def respond_to_missing?(method_name, include_private = false)
68
+ collection.respond_to?(method_name, include_private)
69
+ end
70
+ end
71
+
72
+ class << self
73
+ def create(**attributes)
74
+ Relation.new(client, target: self).create(**attributes)
75
+ end
76
+
77
+ def update(id, **attributes)
78
+ Relation.new(client, target: self).update(id, **attributes)
79
+ end
80
+
81
+ def destroy(id)
82
+ Relation.new(client, target: self).destroy(id)
83
+ end
84
+
85
+ def all
86
+ Relation.new(client, target: self).where
87
+ end
88
+
89
+ def where(**)
90
+ Relation.new(client, target: self).where(**)
91
+ end
92
+
93
+ def find(id)
94
+ Relation.new(client, target: self).find(id)
95
+ end
96
+
97
+ def find!(id)
98
+ unless (record = find(id))
99
+ raise UseTheForce::RecordNotFound
100
+ end
101
+ record
102
+ end
103
+
104
+ def find_by(**)
105
+ where(**)&.first
106
+ end
107
+
108
+ def find_by!(**)
109
+ unless (record = where(**)&.first)
110
+ raise UseTheForce::RecordNotFound
111
+ end
112
+ record
113
+ end
114
+
115
+ def fields(*list)
116
+ @@fields = list
117
+ end
118
+
119
+ def table_name(name)
120
+ @@table_name = name.to_s
121
+ end
122
+
123
+ def read_fields
124
+ @@fields
125
+ end
126
+
127
+ def read_table_name
128
+ @@table_name
129
+ end
130
+
131
+ def configuration
132
+ {
133
+ username: UseTheForce.username,
134
+ password: UseTheForce.pw,
135
+ api_version: UseTheForce.api_version,
136
+ client_id: UseTheForce.client_id,
137
+ client_secret: UseTheForce.client_secret,
138
+ security_token: UseTheForce.security_token,
139
+ instance_url: UseTheForce.instance_url
140
+ }
141
+ end
142
+
143
+ def client
144
+ @@client ||= Restforce.new(**configuration)
145
+ end
146
+ end
147
+
148
+ def initialize
149
+ raise NotImplementedError
150
+ end
151
+ end
@@ -0,0 +1,27 @@
1
+ module Configuration
2
+ def configuration
3
+ yield self
4
+ end
5
+
6
+ def define_configurables(*names, default: nil)
7
+ names.each do |name|
8
+ class_variable_set(:"@@#{name}", default)
9
+
10
+ define_class_method "#{name}=" do |value|
11
+ class_variable_set(:"@@#{name}", value)
12
+ end
13
+
14
+ define_class_method name do
15
+ class_variable_get(:"@@#{name}")
16
+ end
17
+ end
18
+ end
19
+
20
+ private
21
+
22
+ def define_class_method(name, &block)
23
+ (class << self; self; end).instance_eval do
24
+ define_method name, &block
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module UseTheForce
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,21 @@
1
+ require "use_the_force/version"
2
+ require "use_the_force/base"
3
+ require "use_the_force/configuration"
4
+ require "restforce"
5
+
6
+ module UseTheForce
7
+ extend Configuration
8
+
9
+ class RecordNotFound < StandardError
10
+ end
11
+
12
+ define_configurables :username, :pw, :api_version, :client_id, :client_secret, :security_token, :instance_url
13
+
14
+ @@username = ENV["SALESFORCE_USERNAME"]
15
+ @@pw = ENV["SALESFORCE_PW"]
16
+ @@api_version = ENV["SALESFORCE_API_VERSION"]
17
+ @@client_id = ENV["SALESFORCE_CLIENT_ID"]
18
+ @@client_secret = ENV["SALESFORCE_CLIENT_SECRET"]
19
+ @@security_token = ENV["SALESFORCE_SECURITY_TOKEN"]
20
+ @@instance_url = ENV["SALESFORCE_INSTANCE_URL"]
21
+ end
@@ -0,0 +1,4 @@
1
+ module UseTheForce
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/use_the_force/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "use_the_force"
7
+ spec.version = UseTheForce::VERSION
8
+ spec.authors = ["IvanSchlagheck", "rstammer"]
9
+ spec.email = ["ivansch05@gmail.com", "robin.stammer@trendence.com"]
10
+
11
+ spec.summary = "Ruby wrapper to mimick parts of ActiveRecord query interface to obtain data conveniently (and human friendly 😅) from Salesforce RESTful API."
12
+ spec.homepage = "https://github.com/trendence/use_the_force"
13
+ spec.license = "MIT"
14
+ spec.required_ruby_version = ">= 2.6.0"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/trendence/use_the_force"
18
+ spec.metadata["changelog_uri"] = "https://github.com/trendence/use_the_force/blob/main/CHANGELOG.md"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(__dir__) do
23
+ `git ls-files -z`.split("\x0").reject do |f|
24
+ (File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
25
+ end
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ # Development dependencies
32
+ spec.add_development_dependency "rspec", "~> 3.2"
33
+
34
+ # Gem dependencies
35
+ spec.add_dependency "rake", "~> 13.0"
36
+ spec.add_dependency "rspec", "~> 3.2"
37
+ spec.add_dependency "standard", "~> 1.3"
38
+ spec.add_dependency "restforce", "~> 7.3.0"
39
+ end
metadata ADDED
@@ -0,0 +1,134 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: use_the_force
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - IvanSchlagheck
8
+ - rstammer
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2024-09-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.2'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.2'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '13.0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '13.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.2'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.2'
56
+ - !ruby/object:Gem::Dependency
57
+ name: standard
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.3'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: restforce
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 7.3.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 7.3.0
84
+ description:
85
+ email:
86
+ - ivansch05@gmail.com
87
+ - robin.stammer@trendence.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".rspec"
93
+ - ".standard.yml"
94
+ - CHANGELOG.md
95
+ - CODE_OF_CONDUCT.md
96
+ - Gemfile
97
+ - Gemfile.lock
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - lib/use_the_force.rb
102
+ - lib/use_the_force/base.rb
103
+ - lib/use_the_force/configuration.rb
104
+ - lib/use_the_force/version.rb
105
+ - sig/use_the_force.rbs
106
+ - use_the_force.gemspec
107
+ homepage: https://github.com/trendence/use_the_force
108
+ licenses:
109
+ - MIT
110
+ metadata:
111
+ homepage_uri: https://github.com/trendence/use_the_force
112
+ source_code_uri: https://github.com/trendence/use_the_force
113
+ changelog_uri: https://github.com/trendence/use_the_force/blob/main/CHANGELOG.md
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 2.6.0
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.5.17
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: "Ruby wrapper to mimick parts of ActiveRecord query interface to obtain data
133
+ conveniently (and human friendly \U0001F605) from Salesforce RESTful API."
134
+ test_files: []