roqua-core-api 0.0.35 → 0.0.36

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: 701130ae6447552bed7bee8edbcd3d48ba391b6a
4
- data.tar.gz: 83ad356c5bca77d648987dea22375e28488ea079
3
+ metadata.gz: 8e95cfda01ffdeae42526802a4d7d815e26f1ee6
4
+ data.tar.gz: b523ba91f08679812d8dac23d39b5088994dc082
5
5
  SHA512:
6
- metadata.gz: 8defee938b1216b71a59e0df9c14aff435c8514726d74b884e53a7ef200603e21489186eea51ee993718d8dc0b82196de78c05a885a28c059facdd167c005129
7
- data.tar.gz: a87210e3565bbadac2853a9ba247777ea7a0a2cc5bb3ab04a6f15c039d8f10cfb644b913cd31ed329a1063a01ae22e4a8df460e400eeb03a826b02c05e6df064
6
+ metadata.gz: 04ccf107a9d5a32b3e3e35e82f93b78c0d6c821de86e7278dfaa46e127f7e3f646f94e8a7629a2a96405449ff3b86059afa8fa6da2f0c80c14d297bada3fa0c9
7
+ data.tar.gz: 897547050541caa7cfcf9b7a4785a9eba203916f600684ff362bb78557f7f73c8584fb4aa227e2aeb34530b419661e46a2ebe8a421851e3996e5b0530b5e7451
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.0.36
2
+
3
+ * Allow basic auth to be used as well for all actions.
4
+
1
5
  ### 0.0.35 / 20114-09-15
2
6
 
3
7
  * CreateProfessional accepts new parameters: email_subject and email_body.
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ group :development do
11
11
  end
12
12
 
13
13
  group :test do
14
- gem 'guard', '~> 2.6.0'
15
- gem 'guard-rspec', '~> 4.2.6'
16
- gem 'fuubar', '~> 1.3.2'
14
+ gem 'guard', '~> 2.6'
15
+ gem 'guard-rspec', '~> 4.2'
16
+ gem 'fuubar', '~> 2.0'
17
17
  end
data/core_api.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
25
25
  gem.add_development_dependency 'bundler', '~> 1.0'
26
26
  gem.add_development_dependency 'rake', '~> 10.0'
27
27
  gem.add_development_dependency 'yard', '~> 0.8'
28
- gem.add_development_dependency 'rspec', '~> 3.0.0.beta1'
28
+ gem.add_development_dependency 'rspec', '~> 3.0'
29
29
  gem.add_development_dependency 'fabrication', '~> 2.9'
30
30
  gem.add_development_dependency 'webmock', '~> 1.17'
31
31
  gem.add_development_dependency 'dotenv', '~> 0.10'
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class CreateDossier < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_group_id
7
7
  hash :attributes, strip: false
8
8
 
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class CreateDossierGroup < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :organization_id
7
7
  hash :attributes, strip: false
8
8
 
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class CreateProfessional < Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_group_id
7
7
  model :person, class: Models::Person
8
8
  string :email_subject, default: nil
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class DeleteDossierGroupRight < Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_group_id
7
7
  string :right_id
8
8
 
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class DossierGroups < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
 
7
7
  def execute
8
8
  response = session.get "/dossier_groups"
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class Dossiers < Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_group_id, default: nil
7
7
  string :with_name, default: nil
8
8
  string :with_external_identifier, default: nil
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class ListDossierGroupRights < Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_group_id
7
7
 
8
8
  def execute
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class People < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_id
7
7
 
8
8
  def execute
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class Person < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :person_id
7
7
 
8
8
  def execute
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class SendInviteEmail < ActiveInteraction::Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  string :dossier_id
7
7
  string :email_subject, default: nil
8
8
  string :email_body, default: nil
@@ -2,7 +2,7 @@ module Roqua
2
2
  module CoreApi
3
3
  # @api private
4
4
  class UpdatePerson < Base
5
- model :session, class: Sessions::OAuthSession
5
+ model :session, class: Sessions::AuthSession
6
6
  model :person, class: Models::Person
7
7
 
8
8
  # Saves the person attributes to server.
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module CoreApi
3
- VERSION = '0.0.35'
3
+ VERSION = '0.0.36'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-core-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-15 00:00:00.000000000 Z
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 3.0.0.beta1
117
+ version: '3.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 3.0.0.beta1
124
+ version: '3.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: fabrication
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  requirements: []
247
247
  rubyforge_project:
248
- rubygems_version: 2.3.0
248
+ rubygems_version: 2.2.2
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: API wrapper gem around Core's API