domoscio_rails 0.2.16.9 → 0.2.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: add91f521b4696d8f1b28a6bf6dcc1dd72503176
4
- data.tar.gz: e574faa0b6825861ce4003d727c89132b954df62
2
+ SHA256:
3
+ metadata.gz: 578898574b898785e24a17847ba0d5ca5bab9f4d16cfde0d07beb248bab22576
4
+ data.tar.gz: 8684d33aa002c0cc03126f930c72d9294e4b4f4020530b4c0d9677adc99c3382
5
5
  SHA512:
6
- metadata.gz: 5448dbccc4872fdc44a40e41bc38de1320c8e4877950191047104d6e3058f6416ebf4b10e86e63bb40df4845568267f49c1310b73e1d38522aa1653ab6fd163b
7
- data.tar.gz: 344c000e34b3f35778e387fd850a5e927a31366518a877d19fa27dabf484663d51bd418ec0912ed0760c430154a66d8fa35f89d29cd093c8fb67c53daf1c19f5
6
+ metadata.gz: b56d9e5cfaacca82e7de548374c4f6961c67fba2747a64a4c26d2025ce99207320a743a8a670d777429b28890b178ec0ceab8236a580bcf8422045d8fa3c214f
7
+ data.tar.gz: 20ca7f496caa70bb5b69454fb95b6eda21e0d77903062e4260e58f8878fbe2d03c9ccf62e7d5a6c79b5a4250d35418fe1a920c3793577a66c0c110d06965794b
@@ -44,7 +44,7 @@ require 'domoscio_rails/metadata/delta_object'
44
44
  module DomoscioRails
45
45
 
46
46
  class Configuration
47
- attr_accessor :preproduction, :test, :root_url,
47
+ attr_accessor :preproduction, :test, :dev, :root_url,
48
48
  :client_id, :client_passphrase,
49
49
  :temp_dir, :disabled, :version
50
50
 
@@ -60,6 +60,10 @@ module DomoscioRails
60
60
  @test || false
61
61
  end
62
62
 
63
+ def dev
64
+ @dev || false
65
+ end
66
+
63
67
  def version
64
68
  @version || 1
65
69
  end
@@ -68,6 +72,8 @@ module DomoscioRails
68
72
  if @preproduction == true
69
73
  if @test == true
70
74
  @root_url || "https://domoscio-adaptive-engine-staging.azurewebsites.net"
75
+ elsif @dev == true
76
+ @root_url || "https://domoscio-adaptive-engine-preprod.azurewebsites.net"
71
77
  else
72
78
  @root_url || "https://domoscio-adaptive-engine.azurewebsites.net"
73
79
  end
@@ -2,5 +2,6 @@ module DomoscioRails
2
2
  # An objective knowledge node student.
3
3
  class ObjectiveKnowledgeNodeStudent < Resource
4
4
  include DomoscioRails::HTTPCalls::Fetch
5
+ include DomoscioRails::HTTPCalls::Update
5
6
  end
6
7
  end
@@ -5,5 +5,6 @@ module DomoscioRails
5
5
  include DomoscioRails::HTTPCalls::Fetch
6
6
  include DomoscioRails::HTTPCalls::Update
7
7
  include DomoscioRails::HTTPCalls::Destroy
8
+ include DomoscioRails::HTTPCalls::Util
8
9
  end
9
- end
10
+ end
@@ -1,6 +1,6 @@
1
1
  module DomoscioRails
2
2
  module HTTPCalls
3
-
3
+
4
4
  module Create
5
5
  module ClassMethods
6
6
  def create(*id, params)
@@ -25,7 +25,7 @@ module DomoscioRails
25
25
  base.extend(ClassMethods)
26
26
  end
27
27
  end
28
-
28
+
29
29
  module UpdateSelf
30
30
  module ClassMethods
31
31
  def update_self(params = {})
@@ -54,7 +54,7 @@ module DomoscioRails
54
54
  id_or_filters.is_a?(Hash) ? [nil, id_or_filters] : [id_or_filters, {}]
55
55
  end
56
56
  end
57
-
57
+
58
58
  module Destroy
59
59
  module ClassMethods
60
60
  def destroy(id = nil, params = {})
@@ -64,9 +64,9 @@ module DomoscioRails
64
64
 
65
65
  def self.included(base)
66
66
  base.extend(ClassMethods)
67
- end
67
+ end
68
68
  end
69
-
69
+
70
70
  module Util
71
71
  module ClassMethods
72
72
  def util(id = nil, util_name = nil, params = {})
@@ -79,9 +79,9 @@ module DomoscioRails
79
79
 
80
80
  def self.included(base)
81
81
  base.extend(ClassMethods)
82
- end
82
+ end
83
83
  end
84
-
85
-
84
+
85
+
86
86
  end
87
- end
87
+ end
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = "0.2.16.9"
2
+ VERSION = "0.2.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domoscio_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.16.9
4
+ version: 0.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Praly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-05 00:00:00.000000000 Z
11
+ date: 2019-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -92,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubyforge_project:
96
- rubygems_version: 2.6.14
95
+ rubygems_version: 3.0.2
97
96
  signing_key:
98
97
  specification_version: 4
99
98
  summary: Summary of DomoscioRails.