enlight 0.1.0 → 0.1.2

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: 0c9bbc7d761384b5dbe2e51b3d42732bb8371125
4
- data.tar.gz: 7bed107610c66cc5c5169117da715d7d28c8a8d0
2
+ SHA256:
3
+ metadata.gz: 38f92758c09f48bc660ac11f0c578a72ddea303100a7f8c391ac302b1bd4d365
4
+ data.tar.gz: 702e726724b8f42bf14182b4f5c9a8e383dd1580b5391e74827b9cf58c802e91
5
5
  SHA512:
6
- metadata.gz: 8b668303412e1d195685cc01eae2a2e7466c04e794053b6d9443d48862f4b00257b0faec38042f2bd6807b597c3847b712e63ed7681da708142f3d38bd6a1f41
7
- data.tar.gz: fbadc7eadf89fa0ee253d3a69a19267eb91eb7a38ce565814135d5ccddca2e1154dc857de475359084f36c237e5ffb726dd291a3e3b1728c407ce8bd3a4e1a0a
6
+ metadata.gz: 216b13dbd1a2ad1f8b490b346c2968bd8f9912d910be32f4ad96671fb30e67e9de8ab45f594525d096114e8b6879f5601afd6b478adc6242fa4a3e605078ddd7
7
+ data.tar.gz: cbc06c5518c5c9aaa69fbe7e2f060d5387bb3d13bffa44e5028d94a463e849f822b09d3b80b55fa8150dcc495aa27acce1d7454b4959714fa55d07ec385b1d7b
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enlight (0.1.0)
5
- activesupport (~> 5.1)
4
+ enlight (0.1.1)
5
+ activesupport (~> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.1.4)
10
+ activesupport (5.2.1)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (~> 0.7)
12
+ i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
15
  coderay (1.1.2)
16
- concurrent-ruby (1.0.5)
16
+ concurrent-ruby (1.1.3)
17
17
  ffi (1.9.18)
18
18
  formatador (0.2.5)
19
19
  guard (2.14.1)
@@ -29,7 +29,7 @@ GEM
29
29
  guard-minitest (2.4.6)
30
30
  guard-compat (~> 1.2)
31
31
  minitest (>= 3.0)
32
- i18n (0.9.1)
32
+ i18n (1.1.1)
33
33
  concurrent-ruby (~> 1.0)
34
34
  listen (3.0.8)
35
35
  rb-fsevent (~> 0.9, >= 0.9.4)
@@ -53,7 +53,7 @@ GEM
53
53
  slop (3.6.0)
54
54
  thor (0.20.0)
55
55
  thread_safe (0.3.6)
56
- tzinfo (1.2.4)
56
+ tzinfo (1.2.5)
57
57
  thread_safe (~> 0.1)
58
58
 
59
59
  PLATFORMS
@@ -68,4 +68,4 @@ DEPENDENCIES
68
68
  rake (~> 10.0)
69
69
 
70
70
  BUNDLED WITH
71
- 1.16.0
71
+ 1.16.3
@@ -2,6 +2,7 @@ module Enlight
2
2
  module Models
3
3
  class Course < Enlight::Models::Model
4
4
  attr_accessor :external_id
5
+ attr_accessor :course_name
5
6
  attr_accessor :name
6
7
  attr_accessor :available_instructor_led
7
8
  attr_accessor :available_self_paced
@@ -9,9 +10,14 @@ module Enlight
9
10
  attr_accessor :organization_name
10
11
  attr_accessor :content_provider_id
11
12
  attr_accessor :content_provider_name
13
+ attr_accessor :description
12
14
  attr_accessor :activites
13
15
  attr_accessor :tags
14
16
  attr_accessor :custom_fields
17
+ attr_accessor :profile_image_url
18
+ attr_accessor :completed
19
+ attr_accessor :started
20
+ attr_accessor :expires
15
21
 
16
22
  alias_method :activities, :activites
17
23
 
@@ -32,6 +38,16 @@ module Enlight
32
38
  @custom_fields = nil
33
39
  end
34
40
  end
41
+
42
+ def course_name=(value)
43
+ @course_name = value
44
+ @name = value
45
+ end
46
+
47
+ def name=(value)
48
+ @course_name = value
49
+ @name = value
50
+ end
35
51
  end
36
52
  end
37
53
  end
@@ -16,10 +16,7 @@ module Enlight
16
16
  attr_accessor :availability_type_id
17
17
  attr_accessor :expected_duration_seconds
18
18
  attr_accessor :is_exam
19
- attr_accessor :activites
20
-
21
- # alias method required due to spelling error in Enlight API
22
- alias_method :activities, :activites
19
+ attr_accessor :activities
23
20
  end
24
21
  end
25
22
  end
@@ -21,6 +21,19 @@ module Enlight
21
21
  attr_accessor :complete
22
22
  attr_accessor :created
23
23
  attr_accessor :club_id
24
+ attr_accessor :name
25
+ attr_accessor :available_instructor_led
26
+ attr_accessor :available_self_paced
27
+ attr_accessor :organization_name
28
+ attr_accessor :content_provider_id
29
+ attr_accessor :content_provider_name
30
+ attr_accessor :description
31
+ attr_accessor :activites
32
+ attr_accessor :tags
33
+ attr_accessor :custom_fields
34
+ attr_accessor :profile_image_url
35
+
36
+ alias_method :activities, :activites
24
37
  end
25
38
  end
26
39
  end
@@ -1,3 +1,3 @@
1
1
  module Enlight
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Orahood
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -102,9 +102,6 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
- - ".idea/enlight.iml"
106
- - ".idea/misc.xml"
107
- - ".idea/modules.xml"
108
105
  - ".travis.yml"
109
106
  - Gemfile
110
107
  - Gemfile.lock
@@ -114,7 +111,6 @@ files:
114
111
  - bin/console
115
112
  - bin/setup
116
113
  - enlight.gemspec
117
- - get_club_membership_pool.rb
118
114
  - lib/enlight.rb
119
115
  - lib/enlight/models.rb
120
116
  - lib/enlight/models/activity_type.rb
@@ -173,6 +169,7 @@ files:
173
169
  - lib/enlight/requests/get_class_enrollment_by_external_id.rb
174
170
  - lib/enlight/requests/get_club_membership.rb
175
171
  - lib/enlight/requests/get_club_membership_by_external_id.rb
172
+ - lib/enlight/requests/get_club_membership_pool.rb
176
173
  - lib/enlight/requests/get_company.rb
177
174
  - lib/enlight/requests/get_course.rb
178
175
  - lib/enlight/requests/get_course_assignment.rb
@@ -305,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
302
  version: '0'
306
303
  requirements: []
307
304
  rubyforge_project:
308
- rubygems_version: 2.6.14
305
+ rubygems_version: 2.7.8
309
306
  signing_key:
310
307
  specification_version: 4
311
308
  summary: Ruby wrapper for Enlight API