ehsso 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ehsso.gemspec +1 -1
- data/lib/ehsso/engine.rb +1 -1
- data/{app/models → lib/ehsso}/person.rb +5 -5
- data/lib/ehsso/version.rb +1 -1
- data/lib/ehsso.rb +6 -3
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4896560d07fef66527b707db0dabb37e201f6deb
|
4
|
+
data.tar.gz: 4c397c30d0b7645d5ef2d2f0e1995a905712893f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75b4721a65b4695d7cd3659ae0b15841e04b6623fb0937ad1bc922adf6b8c1666c63d618f810aa02adbca43648e1d069ef5308f6467ddc9f9f59a3ceaad3bb81
|
7
|
+
data.tar.gz: b94b65cd5eae342a090221f77a7d15b25138c59b83497aa29f8d5929f94cd2d5b551500a061669717de4f7540978ea912b83affb7460b2d713f737635f2030ed
|
data/ehsso.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
end
|
21
21
|
spec.bindir = "exe"
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
-
spec.require_paths = ["lib"
|
23
|
+
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.14"
|
26
26
|
spec.add_development_dependency "rake", "~> 12.0"
|
data/lib/ehsso/engine.rb
CHANGED
@@ -77,10 +77,10 @@ module Ehsso
|
|
77
77
|
action: args[:action] || 'people.modules.roles',
|
78
78
|
request: [
|
79
79
|
{
|
80
|
-
reference:
|
81
|
-
first_name:
|
82
|
-
last_name:
|
83
|
-
email:
|
80
|
+
reference: @reference,
|
81
|
+
first_name: @first_name,
|
82
|
+
last_name: @last_name,
|
83
|
+
email: @email,
|
84
84
|
modules: [
|
85
85
|
{
|
86
86
|
reference: args[:module_key] || Ehsso.configuration.module_key
|
@@ -98,7 +98,7 @@ module Ehsso
|
|
98
98
|
# allows to mock class for rspec
|
99
99
|
service_class = args[:service_class] || Typhoeus
|
100
100
|
|
101
|
-
response = service_class.post(url, body: payload(action: args[:action]), userpwd: userpwd)
|
101
|
+
response = service_class.post(url, body: JSON.generate(payload(action: args[:action])), userpwd: userpwd, ssl_verifypeer: false)
|
102
102
|
handle_response(response)
|
103
103
|
end
|
104
104
|
|
data/lib/ehsso/version.rb
CHANGED
data/lib/ehsso.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ehsso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Steiner
|
@@ -92,11 +92,11 @@ files:
|
|
92
92
|
- Gemfile
|
93
93
|
- README.md
|
94
94
|
- Rakefile
|
95
|
-
- app/models/person.rb
|
96
95
|
- ehsso.gemspec
|
97
96
|
- lib/ehsso.rb
|
98
97
|
- lib/ehsso/configuration.rb
|
99
98
|
- lib/ehsso/engine.rb
|
99
|
+
- lib/ehsso/person.rb
|
100
100
|
- lib/ehsso/version.rb
|
101
101
|
homepage: http://github.com/thomis/ehsso
|
102
102
|
licenses:
|
@@ -106,7 +106,6 @@ post_install_message:
|
|
106
106
|
rdoc_options: []
|
107
107
|
require_paths:
|
108
108
|
- lib
|
109
|
-
- app
|
110
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
111
110
|
requirements:
|
112
111
|
- - ">="
|