processmaker 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -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 +31 -0
- data/Rakefile +6 -0
- data/VERSION +1 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/processmaker.rb +27 -0
- data/lib/processmaker/client.rb +49 -0
- data/lib/processmaker/mappings/activity_mapping.rb +14 -0
- data/lib/processmaker/mappings/case_mapping.rb +18 -0
- data/lib/processmaker/mappings/project_mapping.rb +18 -0
- data/lib/processmaker/mappings/user_mapping.rb +38 -0
- data/lib/processmaker/models/activity.rb +6 -0
- data/lib/processmaker/models/base_model.rb +13 -0
- data/lib/processmaker/models/case.rb +10 -0
- data/lib/processmaker/models/project.rb +10 -0
- data/lib/processmaker/models/user.rb +30 -0
- data/lib/processmaker/resources/case_resource.rb +34 -0
- data/lib/processmaker/resources/project_resource.rb +26 -0
- data/lib/processmaker/resources/user_resource.rb +18 -0
- data/lib/processmaker/version.rb +5 -0
- data/processmaker.gemspec +39 -0
- metadata +184 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c0806dca8aa57f0804ff5cd941e26b2c3fc3126c
|
4
|
+
data.tar.gz: 48d4901da2be7771f9890562e32259e565337114
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: aa96bd6b71d647d97aa0f1495bb591117409ae33cd4d8e9ef9e464e0ad0f9a080670db14b3ed7f9fc8bb95a87bcd06d7e40e10f8c46edfc38f53a21cdad355aa
|
7
|
+
data.tar.gz: f113bb68e6bdb7ac38dc61e55e128fe5b74783efea00605fd9e16c121ea8dbd098a7f890cf7a8d28acbb887eebc6bd214b124c4045b9afe83b81979d99006207
|
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 contact@pierre-deville.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) 2017 Pierre Deville
|
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,31 @@
|
|
1
|
+
# Processmaker Client Ruby
|
2
|
+
|
3
|
+
REST API Ruby Client for [ProcessMaker](http://www.processmaker.com/).
|
4
|
+
|
5
|
+
** /!\ This gem is still a work in progress and is not ready for production use ! /!\ **
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
```
|
10
|
+
gem install processmaker
|
11
|
+
```
|
12
|
+
|
13
|
+
Or in your `Gemfile`
|
14
|
+
|
15
|
+
```
|
16
|
+
gem 'processmaker'
|
17
|
+
```
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
Before using the client you first need to generate an access token from the Processmaker admin interface (check their [wiki](http://wiki.processmaker.com/3.1/OAuth_2.0#Registering_an_external_application_to_use_REST))
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
client = Processmaker::Client.new(access_token: 'YOUR_TOKEN')
|
25
|
+
|
26
|
+
client.cases
|
27
|
+
# => [Processmaker::CaseResource]
|
28
|
+
|
29
|
+
client.cases.all
|
30
|
+
# => [Processmaker::Case(app_uid: '123', app_name: 'my_case', ....), ...]
|
31
|
+
```
|
data/Rakefile
ADDED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.2
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "processmaker/client"
|
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
data/lib/processmaker.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'active_support/all'
|
2
|
+
require 'resource_kit'
|
3
|
+
require 'kartograph'
|
4
|
+
|
5
|
+
module Processmaker
|
6
|
+
autoload :Client, 'processmaker/client'
|
7
|
+
|
8
|
+
# Models
|
9
|
+
autoload :BaseModel, 'processmaker/models/base_model'
|
10
|
+
autoload :Case, 'processmaker/models/case'
|
11
|
+
autoload :Project, 'processmaker/models/project'
|
12
|
+
autoload :Activity, 'processmaker/models/activity'
|
13
|
+
autoload :User, 'processmaker/models/user'
|
14
|
+
|
15
|
+
# Resources
|
16
|
+
autoload :CaseResource, 'processmaker/resources/case_resource'
|
17
|
+
autoload :ProjectResource, 'processmaker/resources/project_resource'
|
18
|
+
autoload :UserResource, 'processmaker/resources/user_resource'
|
19
|
+
|
20
|
+
# JSON Maps
|
21
|
+
autoload :CaseMapping, 'processmaker/mappings/case_mapping'
|
22
|
+
autoload :ProjectMapping, 'processmaker/mappings/project_mapping'
|
23
|
+
autoload :ActivityMapping, 'processmaker/mappings/activity_mapping'
|
24
|
+
autoload :UserMapping, 'processmaker/mappings/user_mapping'
|
25
|
+
|
26
|
+
# Errors
|
27
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'faraday'
|
2
|
+
|
3
|
+
module Processmaker
|
4
|
+
class Client
|
5
|
+
|
6
|
+
attr_reader :access_token
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def resources
|
10
|
+
{
|
11
|
+
cases: CaseResource,
|
12
|
+
projects: ProjectResource,
|
13
|
+
users: UserResource,
|
14
|
+
}
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
self.resources.each do |k, v|
|
19
|
+
define_method(k) { v.new(connection: connection) }
|
20
|
+
end
|
21
|
+
|
22
|
+
def initialize(options = {})
|
23
|
+
@access_token = options.with_indifferent_access[:access_token]
|
24
|
+
@url = options.with_indifferent_access[:url]
|
25
|
+
end
|
26
|
+
|
27
|
+
def connection
|
28
|
+
@faraday ||= Faraday.new connection_options do |req|
|
29
|
+
req.adapter :net_http
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def resources
|
34
|
+
@resources ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def connection_options
|
40
|
+
{
|
41
|
+
url: @url,
|
42
|
+
headers: {
|
43
|
+
content_type: 'application/json',
|
44
|
+
authorization: "Bearer #{access_token}"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class CaseMapping
|
3
|
+
include Kartograph::DSL
|
4
|
+
|
5
|
+
kartograph do
|
6
|
+
mapping Case
|
7
|
+
|
8
|
+
property :pro_uid, scopes: [:create]
|
9
|
+
property :usr_uid, scopes: [:create]
|
10
|
+
property :tas_uid, scopes: [:create]
|
11
|
+
property :variables, scopes: [:create]
|
12
|
+
property :del_index, scopes:[:create]
|
13
|
+
|
14
|
+
property :app_uid, scopes: [:read]
|
15
|
+
property :app_number, scopes: [:read]
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class ProjectMapping
|
3
|
+
include Kartograph::DSL
|
4
|
+
|
5
|
+
kartograph do
|
6
|
+
mapping Project
|
7
|
+
|
8
|
+
scoped :read do
|
9
|
+
property :prj_uid
|
10
|
+
property :prj_name
|
11
|
+
property :prj_description
|
12
|
+
property :prj_category
|
13
|
+
property :prj_create_date
|
14
|
+
property :prj_update_date
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class UserMapping
|
3
|
+
include Kartograph::DSL
|
4
|
+
|
5
|
+
kartograph do
|
6
|
+
mapping User
|
7
|
+
|
8
|
+
scoped :read do
|
9
|
+
property :usr_uid
|
10
|
+
property :usr_username
|
11
|
+
property :usr_password
|
12
|
+
property :usr_firstname
|
13
|
+
property :usr_lastname
|
14
|
+
property :usr_email
|
15
|
+
property :usr_due_date
|
16
|
+
property :usr_create_date
|
17
|
+
property :usr_update_date
|
18
|
+
property :usr_status
|
19
|
+
property :usr_country
|
20
|
+
property :usr_city
|
21
|
+
property :usr_location
|
22
|
+
property :usr_address
|
23
|
+
property :usr_phone
|
24
|
+
property :usr_fax
|
25
|
+
property :usr_cellular
|
26
|
+
property :usr_zip_code
|
27
|
+
property :dep_uid
|
28
|
+
property :usr_position
|
29
|
+
property :usr_resume
|
30
|
+
property :usr_birthday
|
31
|
+
property :usr_role
|
32
|
+
property :usr_reports_to
|
33
|
+
property :usr_replaced_by
|
34
|
+
property :usr_ux
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'virtus'
|
2
|
+
|
3
|
+
module Processmaker
|
4
|
+
class BaseModel
|
5
|
+
include Virtus.model
|
6
|
+
include Virtus::Equalizer.new(name || inspect)
|
7
|
+
|
8
|
+
def inspect
|
9
|
+
values = Hash[instance_variables.map { |name| [name, instance_variable_get(name)] } ]
|
10
|
+
"<#{self.class.name} #{values}>"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class User < BaseModel
|
3
|
+
attribute :usr_uid
|
4
|
+
attribute :usr_username
|
5
|
+
attribute :usr_password
|
6
|
+
attribute :usr_firstname
|
7
|
+
attribute :usr_lastname
|
8
|
+
attribute :usr_email
|
9
|
+
attribute :usr_due_date
|
10
|
+
attribute :usr_create_date
|
11
|
+
attribute :usr_update_date
|
12
|
+
attribute :usr_status
|
13
|
+
attribute :usr_country
|
14
|
+
attribute :usr_city
|
15
|
+
attribute :usr_location
|
16
|
+
attribute :usr_address
|
17
|
+
attribute :usr_phone
|
18
|
+
attribute :usr_fax
|
19
|
+
attribute :usr_cellular
|
20
|
+
attribute :usr_zip_code
|
21
|
+
attribute :dep_uid
|
22
|
+
attribute :usr_position
|
23
|
+
attribute :usr_resume
|
24
|
+
attribute :usr_birthday
|
25
|
+
attribute :usr_role
|
26
|
+
attribute :usr_reports_to
|
27
|
+
attribute :usr_replaced_by
|
28
|
+
attribute :usr_ux
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class CaseResource < ResourceKit::Resource
|
3
|
+
|
4
|
+
resources do
|
5
|
+
|
6
|
+
default_handler { |response| response }
|
7
|
+
|
8
|
+
# http://wiki.processmaker.com/3.1/REST_API_Cases#Get_To_Do_Cases:_GET_.2Fcases
|
9
|
+
action :all, 'GET /cases' do
|
10
|
+
path '/api/1.0/workflow/cases'
|
11
|
+
verb :get
|
12
|
+
body { |object| object }
|
13
|
+
end
|
14
|
+
|
15
|
+
# http://wiki.processmaker.com/3.1/REST_API_Cases#New_Case:_POST_.2Fcases
|
16
|
+
action :create, 'POST /cases/impersonate' do
|
17
|
+
path '/api/1.0/workflow/cases/impersonate'
|
18
|
+
verb :post
|
19
|
+
body { |object| CaseMapping.representation_for(:create, object) }
|
20
|
+
handler(:ok) { |response, object| CaseMapping.extract_into_object(object, response.body, :read)}
|
21
|
+
end
|
22
|
+
|
23
|
+
# http://wiki.processmaker.com/3.1/REST_API_Cases#Route_Case:_PUT_.2Fcases.2F.7Bapp_uid.7D.2Froute-case
|
24
|
+
action :route do
|
25
|
+
path '/api/1.0/workflow/cases/:app_uid/route-case'
|
26
|
+
verb :put
|
27
|
+
body { |request| request.to_json }
|
28
|
+
handler(:ok) { |response, object| CaseMapping.extract_into_object(object, response.body, :read)}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class ProjectResource < ResourceKit::Resource
|
3
|
+
|
4
|
+
resources do
|
5
|
+
|
6
|
+
default_handler { |response| response }
|
7
|
+
|
8
|
+
# http://wiki.processmaker.com/3.1/REST_API_Cases#Get_To_Do_Cases:_GET_.2Fcases
|
9
|
+
# @return [Array<Processmaker::Project>] a collection of of projects
|
10
|
+
action :all, 'GET /projects' do
|
11
|
+
path '/api/1.0/workflow/projects'
|
12
|
+
verb :get
|
13
|
+
handler(:ok) { |response| ProjectMapping.extract_collection(response.body, :read)}
|
14
|
+
end
|
15
|
+
|
16
|
+
# http://wiki.processmaker.com/3.0/REST_API_Designer#Get_starting_tasks
|
17
|
+
# @param prj_uid [String] the project unique identifier
|
18
|
+
# @return [Array<Processmaker::Activity>] A collection of activities
|
19
|
+
action :starting_tasks, 'GET /project/:prj_uid/starting-tasks' do
|
20
|
+
path '/api/1.0/workflow/project/:prj_uid/starting-tasks'
|
21
|
+
verb :get
|
22
|
+
handler(:ok) { |response| ActivityMapping.extract_collection(response.body, :read)}
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Processmaker
|
2
|
+
class UserResource < ResourceKit::Resource
|
3
|
+
|
4
|
+
resources do
|
5
|
+
|
6
|
+
default_handler { |response| response }
|
7
|
+
|
8
|
+
# http://wiki.processmaker.com/3.1/REST_API_Administration#Get_Users_List:_GET_.2Fusers
|
9
|
+
# @return [Array<Processmaker::User>] a collection of of projects
|
10
|
+
action :all, 'GET /users' do
|
11
|
+
path '/api/1.0/workflow/users'
|
12
|
+
query_keys :filter, :start, :limit
|
13
|
+
verb :get
|
14
|
+
handler(:ok) { |response| UserMapping.extract_collection(response.body, :read) }
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "processmaker"
|
7
|
+
spec.version = File.read('VERSION')
|
8
|
+
spec.authors = ["Pierre Deville"]
|
9
|
+
spec.email = ["contact@pierre-deville.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Unofficial ProcessMaker API client in Ruby}
|
12
|
+
spec.description = %q{Unofficial ProcessMaker API client in Ruby}
|
13
|
+
spec.homepage = "https://github.com/Effilab/processmaker"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
20
|
+
else
|
21
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
spec.bindir = "bin"
|
26
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency 'activesupport', '> 3.0', '< 5.1'
|
31
|
+
spec.add_dependency 'resource_kit', '~> 0.1.6'
|
32
|
+
spec.add_dependency 'kartograph', '~> 0.2.4'
|
33
|
+
spec.add_dependency 'virtus', '~> 1.0', '>= 1.0.5'
|
34
|
+
|
35
|
+
spec.add_development_dependency 'bundler', '~> 1.12'
|
36
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
37
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
+
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,184 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: processmaker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pierre Deville
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.1'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.1'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: resource_kit
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.1.6
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.1.6
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: kartograph
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.2.4
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.2.4
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: virtus
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.0'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.0.5
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.0'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.0.5
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: bundler
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '1.12'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1.12'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rake
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '10.0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '10.0'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: rspec
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '3.0'
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '3.0'
|
123
|
+
description: Unofficial ProcessMaker API client in Ruby
|
124
|
+
email:
|
125
|
+
- contact@pierre-deville.com
|
126
|
+
executables:
|
127
|
+
- console
|
128
|
+
- setup
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".travis.yml"
|
135
|
+
- CODE_OF_CONDUCT.md
|
136
|
+
- Gemfile
|
137
|
+
- LICENSE.txt
|
138
|
+
- README.md
|
139
|
+
- Rakefile
|
140
|
+
- VERSION
|
141
|
+
- bin/console
|
142
|
+
- bin/setup
|
143
|
+
- lib/processmaker.rb
|
144
|
+
- lib/processmaker/client.rb
|
145
|
+
- lib/processmaker/mappings/activity_mapping.rb
|
146
|
+
- lib/processmaker/mappings/case_mapping.rb
|
147
|
+
- lib/processmaker/mappings/project_mapping.rb
|
148
|
+
- lib/processmaker/mappings/user_mapping.rb
|
149
|
+
- lib/processmaker/models/activity.rb
|
150
|
+
- lib/processmaker/models/base_model.rb
|
151
|
+
- lib/processmaker/models/case.rb
|
152
|
+
- lib/processmaker/models/project.rb
|
153
|
+
- lib/processmaker/models/user.rb
|
154
|
+
- lib/processmaker/resources/case_resource.rb
|
155
|
+
- lib/processmaker/resources/project_resource.rb
|
156
|
+
- lib/processmaker/resources/user_resource.rb
|
157
|
+
- lib/processmaker/version.rb
|
158
|
+
- processmaker.gemspec
|
159
|
+
homepage: https://github.com/Effilab/processmaker
|
160
|
+
licenses:
|
161
|
+
- MIT
|
162
|
+
metadata:
|
163
|
+
allowed_push_host: https://rubygems.org
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 2.5.1
|
181
|
+
signing_key:
|
182
|
+
specification_version: 4
|
183
|
+
summary: Unofficial ProcessMaker API client in Ruby
|
184
|
+
test_files: []
|