wcc-jtj-client 0.1.12 → 0.1.14

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: 4cfd4d2b9ebc649615031a04a68c930ef94e22f7b4523386113983c1f74aa46a
4
- data.tar.gz: 7a4cff01fdd43b9f351d8e3a65e496f2aa58149bb4d2feb9501e57506a594dde
3
+ metadata.gz: 9801ecd21097bde1f6b5283f74391a4aa2fc729f6cbd8613425ed553dcc6b479
4
+ data.tar.gz: d22394c99394bdd29660820216ddd709b3de274cbe2d540bca22fdea7fcc6fb6
5
5
  SHA512:
6
- metadata.gz: 6eb5644e62108ebf3efbc7b4e239ce468d493e6eb3ed58220d937f4ee0001124adf1e16c6bc5e3ba0021df6446c5c12b4a31e5aa35943a61c997e132a0397d4c
7
- data.tar.gz: 5e12c08388d4d82ffa9421c89b234a1cf06fc8fd155672feb945ab7c5cbb01cd2d9da45da18ec0571a143680c8855d9e5defdd06bc9043a57360f05c7653dca4
6
+ metadata.gz: 30da85b61ef9db905ce1606990003f89230a7335573360b9b32d5876d9532f977cd59445dd2b992d64a0f6929429f640973bde8c08bb8dd5cae55337bf12a76b
7
+ data.tar.gz: 4a16815ba56317b163095ed5b0d227f172425741956c1bc3070e735434037f611eb32e45e056519f380062e575611f8a34bb048f0941a9c43e485f0568e82677
@@ -11,16 +11,6 @@ module WCC::JTJ::Client::Responses
11
11
  end
12
12
  end
13
13
 
14
- def current_week
15
- @current_week ||=
16
- raw['current_week']&.map do |entry|
17
- WCC::JTJ::Client::Schemas::Entry.new(
18
- entry, client: @client
19
- )
20
- end
21
- end
22
- alias_method :currentWeek, :current_week
23
-
24
14
  define_camelcase_alias(
25
15
  'links'
26
16
  ) do |camelcase|
@@ -13,16 +13,6 @@ module WCC::JTJ::Client::Responses
13
13
  end
14
14
  alias_method :latestEntry, :latest_entry
15
15
 
16
- def current_week
17
- @current_week ||=
18
- raw['current_week']&.map do |summary|
19
- WCC::JTJ::Client::Schemas::EntrySummary.new(
20
- summary, client: @client
21
- )
22
- end
23
- end
24
- alias_method :currentWeek, :current_week
25
-
26
16
  define_camelcase_alias(
27
17
  'settings',
28
18
  'links'
@@ -28,6 +28,15 @@ module WCC::JTJ::Client::Schemas
28
28
  end
29
29
  end
30
30
 
31
+ def profiles
32
+ @profiles ||=
33
+ raw['profiles']&.map do |profile|
34
+ WCC::JTJ::Client::Schemas::EsvResource.new(
35
+ profile, client: @client
36
+ )
37
+ end
38
+ end
39
+
31
40
  def charts
32
41
  @charts ||=
33
42
  raw['charts']&.map do |chart|
@@ -54,5 +63,14 @@ module WCC::JTJ::Client::Schemas
54
63
  )
55
64
  end
56
65
  end
66
+
67
+ def illustrations
68
+ @illustrations ||=
69
+ raw['illustrations']&.map do |illustration|
70
+ WCC::JTJ::Client::Schemas::EsvResource.new(
71
+ illustration, client: @client
72
+ )
73
+ end
74
+ end
57
75
  end
58
76
  end
@@ -3,7 +3,7 @@
3
3
  module WCC
4
4
  module JTJ
5
5
  class Client
6
- VERSION = '0.1.12'
6
+ VERSION = '0.1.14'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-jtj-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -63,12 +63,12 @@ files:
63
63
  - lib/wcc/jtj/client/utils.rb
64
64
  - lib/wcc/jtj/client/version.rb
65
65
  - wcc-jtj-client.gemspec
66
- homepage:
66
+ homepage:
67
67
  licenses:
68
68
  - Not licensed for external use
69
69
  metadata:
70
70
  rubygems_mfa_required: 'true'
71
- post_install_message:
71
+ post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
74
74
  - lib
@@ -83,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.1.6
87
- signing_key:
86
+ rubygems_version: 3.4.11
87
+ signing_key:
88
88
  specification_version: 4
89
89
  summary: Internal Watermark.org gem, not licensed for external use.
90
90
  test_files: []