roqua-rom-api 0.0.7 → 0.0.8
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 +4 -4
- data/ChangeLog.md +4 -0
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/Rakefile +8 -0
- data/lib/roqua/rom_api/sessions/basic_auth_session.rb +3 -3
- data/lib/roqua/rom_api/version.rb +1 -1
- data/roqua_rom_api.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91d667b8631aa54589b366efad47bfeddef143d7
|
|
4
|
+
data.tar.gz: a795fc9d8ea7c2184b4ab58f378618c736457f76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cff1500644d1f5c89885b46055bd0283633d306cae2cf138904a0a5b1f23aa84c8c8dc40c89f42d0adee87a404dd43285af53f744f91890acacb12f00d424f7c
|
|
7
|
+
data.tar.gz: dd08a2bb94242e2945f6c1417e4c29568bdbcd1b8622abcbb57d2f4b5d10f3295641098cf3eff41da0c02489b56fa2aa2abc227c8336cc832e9e8054a29af5e7
|
data/ChangeLog.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Make sure the following environment variables are defined:
|
|
4
4
|
|
|
5
|
-
ENV['
|
|
6
|
-
ENV['
|
|
7
|
-
ENV['
|
|
5
|
+
ENV['ROM_HOST'] # uri of the RoQua application whose API you are targeting
|
|
6
|
+
ENV['ROM_KEY'] # username used for HTTP basic authentication on the RoQua API
|
|
7
|
+
ENV['ROM_SECRET'] # password used for HTTP basic authentication on the RoQua API
|
|
8
8
|
|
|
9
9
|
An HTTP basic auth username password combination can be generated in the RoQua admin interface integration tab
|
|
10
10
|
|
data/Rakefile
CHANGED
|
@@ -22,6 +22,14 @@ require 'rake'
|
|
|
22
22
|
task test: :spec
|
|
23
23
|
task default: :spec
|
|
24
24
|
|
|
25
|
+
task :release do
|
|
26
|
+
# run bundle in parent dir to update Gemfile.lock
|
|
27
|
+
`cd ../ && bundle`
|
|
28
|
+
`git add ../Gemfile.lock && git commit -m 'update roqua-core-api in Gemfile.lock'`
|
|
29
|
+
# fetch tags first to prevent errors when releasing gem
|
|
30
|
+
`git fetch --tags`
|
|
31
|
+
end
|
|
32
|
+
|
|
25
33
|
require "bundler/gem_tasks"
|
|
26
34
|
|
|
27
35
|
require 'yard'
|
|
@@ -6,9 +6,9 @@ module Roqua
|
|
|
6
6
|
attr_reader :username
|
|
7
7
|
attr_reader :password
|
|
8
8
|
|
|
9
|
-
def initialize(rom_host: ENV['
|
|
10
|
-
username: ENV['
|
|
11
|
-
password: ENV['
|
|
9
|
+
def initialize(rom_host: ENV['ROM_SITE'],
|
|
10
|
+
username: ENV['ROM_BASICAUTH_ID'],
|
|
11
|
+
password: ENV['ROM_BASICAUTH_SECRET'])
|
|
12
12
|
@rom_host = rom_host
|
|
13
13
|
@username = username
|
|
14
14
|
@password = password
|
data/roqua_rom_api.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
|
17
17
|
gem.require_paths = ['lib']
|
|
18
18
|
|
|
19
19
|
gem.add_dependency 'httparty', '~> 0.12.0'
|
|
20
|
-
gem.add_dependency 'active_interaction', '~> 1.
|
|
20
|
+
gem.add_dependency 'active_interaction', '~> 1.1'
|
|
21
21
|
|
|
22
22
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
|
23
23
|
gem.add_development_dependency 'rake', '~> 10.1'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roqua-rom-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Esposito
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '1.
|
|
33
|
+
version: '1.1'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '1.
|
|
40
|
+
version: '1.1'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|