pipekit 0.2.0
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 +7 -0
- data/.gitignore +10 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/pipekit/configurable.rb +46 -0
- data/lib/pipekit/deal.rb +9 -0
- data/lib/pipekit/note.rb +5 -0
- data/lib/pipekit/person.rb +13 -0
- data/lib/pipekit/person_field.rb +15 -0
- data/lib/pipekit/repository.rb +102 -0
- data/lib/pipekit/request.rb +69 -0
- data/lib/pipekit/version.rb +3 -0
- data/lib/pipekit.rb +33 -0
- data/pipekit.gemspec +38 -0
- metadata +167 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a0ff8c19ce8cb4d0ec668801e0f97bc981a627cc
|
4
|
+
data.tar.gz: 4b6c505ab661d40acbb16b7c1cd48e082e02e1d8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a49869edcdfc81a14fd578778040276cbacf1a7d3e5c6286f05f6623b34f00f7cb9d794dad8e7d89ea550e17af5ef507613ce385330bb23d547ed95e57e6e18
|
7
|
+
data.tar.gz: 195663112064866b3027928bccf9ebacc8a6bed8e7e7017cfa59a24f0fcf37306ecc2c6d0a65d2d08c1fb1771c3d93895d9ad69be38d31c5862c553e6acf76ee
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at howeveririna@gmail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 jafrog
|
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,41 @@
|
|
1
|
+
# Pipekit
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pipekit`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'pipekit'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install pipekit
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pipekit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "pipekit"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
require "yaml"
|
2
|
+
require "active_support/inflector"
|
3
|
+
require "active_support/core_ext/hash/indifferent_access"
|
4
|
+
|
5
|
+
module Configurable
|
6
|
+
def config
|
7
|
+
self.class.config
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.included(base)
|
11
|
+
base.send :extend, ClassMethods
|
12
|
+
end
|
13
|
+
|
14
|
+
module ClassMethods
|
15
|
+
def config_file_path
|
16
|
+
"./config/#{name.underscore}.yml"
|
17
|
+
end
|
18
|
+
|
19
|
+
def config
|
20
|
+
@config ||= load_config.with_indifferent_access
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def load_config
|
26
|
+
config_hash = load_from_yaml
|
27
|
+
|
28
|
+
config_hash.default_proc = proc do |hash, key|
|
29
|
+
raise Configurable::KeyNotFoundError.new(key)
|
30
|
+
end
|
31
|
+
|
32
|
+
config_hash
|
33
|
+
end
|
34
|
+
|
35
|
+
def load_from_yaml
|
36
|
+
yaml = ERB.new(File.read(config_file_path)).result
|
37
|
+
YAML.load(yaml)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
class KeyNotFoundError < StandardError
|
42
|
+
def initialize(key)
|
43
|
+
super("The key #{key} was not found in the configuration file")
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/pipekit/deal.rb
ADDED
data/lib/pipekit/note.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Pipekit
|
2
|
+
class PersonField
|
3
|
+
include Repository
|
4
|
+
|
5
|
+
def get_by_id(id)
|
6
|
+
request.get("/#{uri}").select { |element| element["id"] == id }
|
7
|
+
end
|
8
|
+
|
9
|
+
def get_by_key(key)
|
10
|
+
custom_field_key = request.config["people_fields"][key] rescue nil
|
11
|
+
key = custom_field_key || key
|
12
|
+
request.get("/#{uri}").select { |element| element["key"] == key }
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
class ConfigNotSetError < Exception; end
|
2
|
+
module Pipekit
|
3
|
+
module Repository
|
4
|
+
|
5
|
+
def initialize(request = Pipekit::Request.new)
|
6
|
+
@request = request
|
7
|
+
end
|
8
|
+
|
9
|
+
def all
|
10
|
+
request.get("/#{uri}")
|
11
|
+
end
|
12
|
+
|
13
|
+
# Public: Get all records from Pipedrive by **one** of the record's fields.
|
14
|
+
#
|
15
|
+
# options - A Hash with one key-value pair. Key is a field name and values is a field value.
|
16
|
+
#
|
17
|
+
# Examples
|
18
|
+
#
|
19
|
+
# where(name: "John Doe")
|
20
|
+
# where(github_username: "pipedriver")
|
21
|
+
# where(id: 123)
|
22
|
+
#
|
23
|
+
# Returns array of Hashes.
|
24
|
+
def where(options)
|
25
|
+
send("get_by_#{options.keys.first}", options.values.first)
|
26
|
+
end
|
27
|
+
|
28
|
+
# Public: Get the first record by **one** field from Pipedrive.
|
29
|
+
#
|
30
|
+
# options - A Hash with one key-value pair. Key is a field name and values is a field value.
|
31
|
+
#
|
32
|
+
# Examples
|
33
|
+
#
|
34
|
+
# find_by(name: "John Doe")
|
35
|
+
# find_by(github_username: "pipedriver")
|
36
|
+
# find_by(id: 123)
|
37
|
+
#
|
38
|
+
# Returns a Hash or nil if none found.
|
39
|
+
def find_by(options)
|
40
|
+
where(options).first
|
41
|
+
end
|
42
|
+
|
43
|
+
# Public: Create a record on Pipedrive.
|
44
|
+
#
|
45
|
+
# fields - fields for the record.
|
46
|
+
#
|
47
|
+
# Examples
|
48
|
+
#
|
49
|
+
# create({name: "John Doe", deal_id: 123})
|
50
|
+
#
|
51
|
+
# Returns nothing.
|
52
|
+
def create(fields)
|
53
|
+
request.post("/#{uri}", fields)
|
54
|
+
end
|
55
|
+
|
56
|
+
# Public: Updates a record on Pipedrive.
|
57
|
+
#
|
58
|
+
# fields - fields for the record.
|
59
|
+
#
|
60
|
+
# Examples
|
61
|
+
#
|
62
|
+
# update(123, {name: "Jane Doe"})
|
63
|
+
#
|
64
|
+
# Returns nothing.
|
65
|
+
def update(id, fields)
|
66
|
+
request.put("/#{uri}/#{id}", fields)
|
67
|
+
end
|
68
|
+
|
69
|
+
def self.included(base)
|
70
|
+
base.send :extend, ClassMethods
|
71
|
+
end
|
72
|
+
|
73
|
+
module ClassMethods
|
74
|
+
attr_accessor :uri
|
75
|
+
end
|
76
|
+
|
77
|
+
private
|
78
|
+
|
79
|
+
attr_reader :request
|
80
|
+
|
81
|
+
def method_missing(method_name, *args)
|
82
|
+
super unless method_name =~ /^get_by/
|
83
|
+
|
84
|
+
field = method_name.to_s.gsub("get_by_", "")
|
85
|
+
get_by_field(field: field, value: args[0])
|
86
|
+
end
|
87
|
+
|
88
|
+
def get_by_id(id)
|
89
|
+
[request.get("/#{uri}/#{id}")]
|
90
|
+
end
|
91
|
+
|
92
|
+
def get_by_field(field:, value:)
|
93
|
+
result = request.search_by_field(type: uri, field: field, value: value)
|
94
|
+
result.map { |item| get_by_id(item["id"]) }.flatten
|
95
|
+
end
|
96
|
+
|
97
|
+
def uri
|
98
|
+
class_name = self.class.to_s.split("::").last
|
99
|
+
"#{class_name.downcase}s"
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
require "httparty"
|
2
|
+
|
3
|
+
module Pipekit
|
4
|
+
class Request
|
5
|
+
include HTTParty
|
6
|
+
|
7
|
+
PIPEDRIVE_URL = "https://api.pipedrive.com/v1"
|
8
|
+
|
9
|
+
base_uri PIPEDRIVE_URL
|
10
|
+
format :json
|
11
|
+
|
12
|
+
# Public: Pipedrive /searchField API call.
|
13
|
+
#
|
14
|
+
# type - Type of the field:
|
15
|
+
# :person - person fields
|
16
|
+
# :deal - deal fields
|
17
|
+
# field - The name of the field.
|
18
|
+
# If it's the custom field the id of the field should be stored in `config/pipedrive.yml`.
|
19
|
+
# value - The value of the field.
|
20
|
+
#
|
21
|
+
# Examples
|
22
|
+
#
|
23
|
+
# search_by_field(type: :person, field: :cohort, value: 119)
|
24
|
+
# search_by_field(type: :person, field: :github_username, value: "octocat")
|
25
|
+
#
|
26
|
+
# Returns an array of Hashes or nil.
|
27
|
+
def search_by_field(type:, field:, value:)
|
28
|
+
options = {field_type: "#{type}Field",
|
29
|
+
field_key: config["#{type.to_s.pluralize}_fields"][field],
|
30
|
+
return_item_ids: true}
|
31
|
+
|
32
|
+
get("/searchResults/field", options.merge(term: value))
|
33
|
+
end
|
34
|
+
|
35
|
+
def get(uri, query = {})
|
36
|
+
result_from self.class.get(uri, options(query: query))
|
37
|
+
end
|
38
|
+
|
39
|
+
def put(uri, body)
|
40
|
+
result_from self.class.put(uri, options(body: body))
|
41
|
+
end
|
42
|
+
|
43
|
+
def post(uri, body)
|
44
|
+
result_from self.class.post(uri, options(body: body))
|
45
|
+
end
|
46
|
+
|
47
|
+
private
|
48
|
+
|
49
|
+
def config
|
50
|
+
Pipekit.config
|
51
|
+
end
|
52
|
+
|
53
|
+
def result_from(response)
|
54
|
+
return nil unless success?(response)
|
55
|
+
response.parsed_response["data"]
|
56
|
+
end
|
57
|
+
|
58
|
+
def success?(response)
|
59
|
+
response.parsed_response["success"]
|
60
|
+
end
|
61
|
+
|
62
|
+
def options(query: {}, body: {})
|
63
|
+
{
|
64
|
+
query: {api_token: config[:api_token] }.merge(query),
|
65
|
+
body: body
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
data/lib/pipekit.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
require "pipekit/configurable"
|
2
|
+
require "httparty"
|
3
|
+
require "pipekit/version"
|
4
|
+
require "pipekit/request"
|
5
|
+
require "pipekit/repository"
|
6
|
+
require "pipekit/person"
|
7
|
+
require "pipekit/deal"
|
8
|
+
require "pipekit/person_field"
|
9
|
+
require "pipekit/note"
|
10
|
+
|
11
|
+
module Pipekit
|
12
|
+
include Configurable
|
13
|
+
|
14
|
+
# Define a path to Pipedrive config file
|
15
|
+
#
|
16
|
+
# Example:
|
17
|
+
#
|
18
|
+
# Pipekit.config_file_path = File.join("config", "pipedrive.yml")
|
19
|
+
class << self
|
20
|
+
attr_writer :config_file_path
|
21
|
+
|
22
|
+
def config_file_path
|
23
|
+
@config_file_path || raise_config_error
|
24
|
+
end
|
25
|
+
|
26
|
+
def raise_config_error
|
27
|
+
raise ConfigNotSetError, "You need to create a yaml file with your Pipedrive config and set the path to the file using `Pipedrive.config_file_path = 'path/to/file.yml'`"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
ConfigNotSetError = Class.new(Exception)
|
32
|
+
end
|
33
|
+
|
data/pipekit.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'pipekit/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "pipekit"
|
8
|
+
spec.version = Pipekit::VERSION
|
9
|
+
spec.authors = ["jafrog", "pitchinvasion", "spike01"]
|
10
|
+
spec.email = ["irina@makersacademy.com", "leo@makersacademy.com", "spike@makersacademy.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Pipedrive API client for Ruby.}
|
13
|
+
spec.description = %q{Pipedrive API client for Ruby.}
|
14
|
+
spec.homepage = "https://github.com/makersacademy/pipekit"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency "httparty"
|
31
|
+
spec.add_dependency "activesupport"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
spec.add_development_dependency "webmock"
|
37
|
+
spec.add_development_dependency "pry"
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pipekit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- jafrog
|
8
|
+
- pitchinvasion
|
9
|
+
- spike01
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2016-07-29 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: httparty
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: activesupport
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: bundler
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.12'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.12'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rake
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '10.0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '10.0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '3.0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '3.0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: webmock
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: pry
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
description: Pipedrive API client for Ruby.
|
114
|
+
email:
|
115
|
+
- irina@makersacademy.com
|
116
|
+
- leo@makersacademy.com
|
117
|
+
- spike@makersacademy.com
|
118
|
+
executables: []
|
119
|
+
extensions: []
|
120
|
+
extra_rdoc_files: []
|
121
|
+
files:
|
122
|
+
- ".gitignore"
|
123
|
+
- ".rspec"
|
124
|
+
- ".travis.yml"
|
125
|
+
- CODE_OF_CONDUCT.md
|
126
|
+
- Gemfile
|
127
|
+
- LICENSE.txt
|
128
|
+
- README.md
|
129
|
+
- Rakefile
|
130
|
+
- bin/console
|
131
|
+
- bin/setup
|
132
|
+
- lib/pipekit.rb
|
133
|
+
- lib/pipekit/configurable.rb
|
134
|
+
- lib/pipekit/deal.rb
|
135
|
+
- lib/pipekit/note.rb
|
136
|
+
- lib/pipekit/person.rb
|
137
|
+
- lib/pipekit/person_field.rb
|
138
|
+
- lib/pipekit/repository.rb
|
139
|
+
- lib/pipekit/request.rb
|
140
|
+
- lib/pipekit/version.rb
|
141
|
+
- pipekit.gemspec
|
142
|
+
homepage: https://github.com/makersacademy/pipekit
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata:
|
146
|
+
allowed_push_host: https://rubygems.org
|
147
|
+
post_install_message:
|
148
|
+
rdoc_options: []
|
149
|
+
require_paths:
|
150
|
+
- lib
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
requirements: []
|
162
|
+
rubyforge_project:
|
163
|
+
rubygems_version: 2.6.4
|
164
|
+
signing_key:
|
165
|
+
specification_version: 4
|
166
|
+
summary: Pipedrive API client for Ruby.
|
167
|
+
test_files: []
|