camunda 0.1.2 → 0.1.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
  SHA1:
3
- metadata.gz: db9c080e4a707b9f0f500bf9647eeb8e65bbb33e
4
- data.tar.gz: 39d28a14f72606955e0f3ed1f6ee6561bba938b1
3
+ metadata.gz: 61ae7c39d7b8ec087cc0d7ebfd44797c5cfc90b2
4
+ data.tar.gz: 5225acb773569a479e92893dfe87a02d21c7bc68
5
5
  SHA512:
6
- metadata.gz: 71fc763494f12538f4562ee0e10cf6780a69cffcdedb60e896b51e310881dc64d66448cf9c5fa5be9fb1928050e5d4df8a707c14ae71977b7f2a7a5edd297a8b
7
- data.tar.gz: bf36a7cf8836ffc30b7422ac682718702b963a82762288863229f3741126ff6d138fa22ec35a0ea8355ffa4ca630593a9691b8c78f084d44f4109422db7a14e5
6
+ metadata.gz: 969c7fc6277aa4ae4443df0da4e9d44d1b895f01e1a24457a63d852ee5bc1ddb336324b784e4ee0d82efb7ae8374b05dc7f30b007b8b1bc20ec6efd4357b54e6
7
+ data.tar.gz: f8004b30153b71b5e34fa23bb0013347a1bb30d00bb0bb05a02ef24d079773b252a2cdb8cda61bb60e6fa255555f486c9d5e2520398071e2e2a32ddd6d112b87
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Camunda
2
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/camunda`. 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
3
+ This is a wrapper for the Camunda gem. See https://docs.camunda.org/manual/7.5/reference/rest/ for reference.
4
+ It currently works for localhost:8080, you can overwrite camunda/api.rb with your own url.
6
5
 
7
6
  ## Installation
8
7
 
@@ -34,13 +33,11 @@ Camunda::Task.get(:count)
34
33
 
35
34
  ## Development
36
35
 
37
- 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.
38
-
39
- 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).
36
+ No specs, sorry.
40
37
 
41
38
  ## Contributing
42
39
 
43
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/camunda. 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.
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/lafeber/camunda. 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.
44
41
 
45
42
  ## License
46
43
 
@@ -48,4 +45,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
48
45
 
49
46
  ## Code of Conduct
50
47
 
51
- Everyone interacting in the Camunda project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/camunda/blob/master/CODE_OF_CONDUCT.md).
48
+ Everyone interacting in the Camunda project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/lafeber/camunda/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,5 @@
1
+ class Camunda::Authorization < Camunda::Api
2
+ def self.collection_name
3
+ 'authorization'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Batch < Camunda::Api
2
+ def self.collection_name
3
+ 'batch'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::DecisionDefinition < Camunda::Api
2
+ def self.collection_name
3
+ 'decision-definition'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Deployment < Camunda::Api
2
+ def self.collection_name
3
+ 'deployment'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Engine < Camunda::Api
2
+ def self.collection_name
3
+ 'engine'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Group < Camunda::Api
2
+ def self.collection_name
3
+ 'group'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::History < Camunda::Api
2
+ def self.collection_name
3
+ 'history'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Incident < Camunda::Api
2
+ def self.collection_name
3
+ 'incident'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::JobDefinition < Camunda::Api
2
+ def self.collection_name
3
+ 'job-definition'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Message < Camunda::Api
2
+ def self.collection_name
3
+ 'message'
4
+ end
5
+ end
@@ -0,0 +1,2 @@
1
+ class Camunda::Metric < Camunda::Api
2
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Migration < Camunda::Api
2
+ def self.collection_name
3
+ 'migration'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::ProcessDefinition < Camunda::Api
2
+ def self.collection_name
3
+ 'process-definition'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::Tenant < Camunda::Api
2
+ def self.collection_name
3
+ 'tenant'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::User < Camunda::Api
2
+ def self.collection_name
3
+ 'user'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Camunda::VariableInstance < Camunda::Api
2
+ def self.collection_name
3
+ 'variable-instance'
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Camunda
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/camunda.rb CHANGED
@@ -1,13 +1,5 @@
1
- require File.expand_path('../camunda/api', __FILE__)
2
- require File.expand_path('../camunda/case_definition', __FILE__)
3
- require File.expand_path('../camunda/case_execution', __FILE__)
4
- require File.expand_path('../camunda/execution', __FILE__)
5
- require File.expand_path('../camunda/external_task', __FILE__)
6
- require File.expand_path('../camunda/filter', __FILE__)
7
- require File.expand_path('../camunda/job', __FILE__)
8
- require File.expand_path('../camunda/process_instance', __FILE__)
9
- require File.expand_path('../camunda/task', __FILE__)
10
-
11
1
  module Camunda
12
-
13
2
  end
3
+
4
+ require File.expand_path('../camunda/api', __FILE__)
5
+ Gem.find_files("camunda/**/*.rb").each { |path| require path }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camunda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martijn Lafeber
@@ -86,14 +86,30 @@ files:
86
86
  - camunda.gemspec
87
87
  - lib/camunda.rb
88
88
  - lib/camunda/api.rb
89
+ - lib/camunda/authorization.rb
90
+ - lib/camunda/batch.rb
89
91
  - lib/camunda/case_definition.rb
90
92
  - lib/camunda/case_execution.rb
93
+ - lib/camunda/decision_definition.rb
94
+ - lib/camunda/deployment.rb
95
+ - lib/camunda/engine.rb
91
96
  - lib/camunda/execution.rb
92
97
  - lib/camunda/external_task.rb
93
98
  - lib/camunda/filter.rb
99
+ - lib/camunda/group.rb
100
+ - lib/camunda/history.rb
101
+ - lib/camunda/incident.rb
94
102
  - lib/camunda/job.rb
103
+ - lib/camunda/job_definition.rb
104
+ - lib/camunda/message.rb
105
+ - lib/camunda/metric.rb
106
+ - lib/camunda/migration.rb
107
+ - lib/camunda/process_definition.rb
95
108
  - lib/camunda/process_instance.rb
96
109
  - lib/camunda/task.rb
110
+ - lib/camunda/tenant.rb
111
+ - lib/camunda/user.rb
112
+ - lib/camunda/variable_instance.rb
97
113
  - lib/camunda/version.rb
98
114
  homepage: http://rubygems.org/gems/camunda
99
115
  licenses: