domoscio_rails 0.4.5 → 0.4.6

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
2
  SHA256:
3
- metadata.gz: 12f7caee1406f22da61753a940e728fb23ab5b72881be2b9ebb870cad8b378f7
4
- data.tar.gz: 1871d210f8a2626cf8910cdfbae4dcff912f6120ab14a7f52c19b01fb3421b4d
3
+ metadata.gz: 154d7d867e08c73e376f69ce18743c51cb67ef9b77670996b4905c41ba386be9
4
+ data.tar.gz: cd794f1d6b7745883ce34ebf0107da4a1ca1809bfc845f791108815eacb5c164
5
5
  SHA512:
6
- metadata.gz: 917fad865ac84b56dc507399726f74f57fb791acac5f9d376616a69e51bc9af357f5d515180657c349f6f521c8c1b4391c2e353c4e5e6c5fdf1242fdd8e3ad1e
7
- data.tar.gz: 81da6575de8e6798791d27b848de00e51f287650189e49f18fcb543e2f04f91bdb9f2ca884588358194466c6aba302201a2202250d086a9f308834698a3230d8
6
+ metadata.gz: 07af1245f733e97ff325029682899dd0833406b9b635800ecb542ad76decd07c04c4dd8bdc2af6fa33ba434c4717ce46f1f2644d32204fab2e54a27d5a789f8e
7
+ data.tar.gz: 99f01fa87b10843eb354ccb5c336cf1540727be4d4c52ca45c9965457e8cedaacc3b8dbf4fdc8c9577ef12a57a63228559a8eb88408fab024e10af9a4e95a3c0
@@ -0,0 +1,8 @@
1
+ module DomoscioRails
2
+ class KnowledgeGraphScale < Resource
3
+ include DomoscioRails::HTTPCalls::Create
4
+ include DomoscioRails::HTTPCalls::Fetch
5
+ include DomoscioRails::HTTPCalls::Destroy
6
+ include DomoscioRails::HTTPCalls::Update
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module DomoscioRails
2
+ class Scale < Resource
3
+ include DomoscioRails::HTTPCalls::Create
4
+ include DomoscioRails::HTTPCalls::Fetch
5
+ include DomoscioRails::HTTPCalls::Destroy
6
+ include DomoscioRails::HTTPCalls::Update
7
+ end
8
+ end
@@ -4,6 +4,5 @@ module DomoscioRails
4
4
  include DomoscioRails::HTTPCalls::Fetch
5
5
  include DomoscioRails::HTTPCalls::Destroy
6
6
  include DomoscioRails::HTTPCalls::Update
7
- include DomoscioRails::HTTPCalls::Util
8
7
  end
9
8
  end
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = '0.4.5'.freeze
2
+ VERSION = '0.4.6'.freeze
3
3
  end
@@ -18,6 +18,8 @@ require 'domoscio_rails/data/student'
18
18
  require 'domoscio_rails/data/student_group'
19
19
  require 'domoscio_rails/knowledge/knowledge_edge'
20
20
  require 'domoscio_rails/knowledge/knowledge_graph'
21
+ require 'domoscio_rails/knowledge/scale'
22
+ require 'domoscio_rails/knowledge/knowledge_graph_scale'
21
23
  require 'domoscio_rails/knowledge/knowledge_node_content'
22
24
  require 'domoscio_rails/knowledge/knowledge_node_student'
23
25
  require 'domoscio_rails/knowledge/knowledge_node'
@@ -75,7 +77,8 @@ module DomoscioRails
75
77
  # Raises DomoscioRails::ResponseError on Adaptive Error Status
76
78
  # Raises DomoscioRails::ProcessingError on Internal Error
77
79
  #
78
- def self.request(method, url, params={})
80
+ def self.request(method, url, params = {})
81
+ params ||= {}
79
82
  store_tokens, headers = request_headers
80
83
  params.merge!({ 'per_page': 1000 }) unless params[:per_page]
81
84
  uri = api_uri(url)
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.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Praly
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-30 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -63,9 +63,11 @@ files:
63
63
  - lib/domoscio_rails/json.rb
64
64
  - lib/domoscio_rails/knowledge/knowledge_edge.rb
65
65
  - lib/domoscio_rails/knowledge/knowledge_graph.rb
66
+ - lib/domoscio_rails/knowledge/knowledge_graph_scale.rb
66
67
  - lib/domoscio_rails/knowledge/knowledge_node.rb
67
68
  - lib/domoscio_rails/knowledge/knowledge_node_content.rb
68
69
  - lib/domoscio_rails/knowledge/knowledge_node_student.rb
70
+ - lib/domoscio_rails/knowledge/scale.rb
69
71
  - lib/domoscio_rails/objective/learning_program.rb
70
72
  - lib/domoscio_rails/objective/learning_program_student.rb
71
73
  - lib/domoscio_rails/objective/objective.rb
@@ -88,7 +90,7 @@ homepage: http://www.domoscio.com
88
90
  licenses:
89
91
  - MIT
90
92
  metadata: {}
91
- post_install_message:
93
+ post_install_message:
92
94
  rdoc_options: []
93
95
  require_paths:
94
96
  - lib
@@ -103,8 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
105
  - !ruby/object:Gem::Version
104
106
  version: '0'
105
107
  requirements: []
106
- rubygems_version: 3.1.4
107
- signing_key:
108
+ rubygems_version: 3.2.22
109
+ signing_key:
108
110
  specification_version: 4
109
111
  summary: Summary of DomoscioRailspec.
110
112
  test_files: []