wcc-jtj-client 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7795d8a1071d3a9d2780377606c9095effec86502f1491e2977a8f2840cbd802
4
- data.tar.gz: 66f74caed7a849519f2a5554e647c31bc38b5e75e5a4230b9ab2967ef11c3654
3
+ metadata.gz: 99a3724f8da493353cfe004098cd40b84e8b08d909b3580e7f64ae64a3b00191
4
+ data.tar.gz: 39ed67fd1d655ff5795dc0ca8d7571c08ea8214eee22695275601e080037ed1a
5
5
  SHA512:
6
- metadata.gz: 4412d2f57f9f20228a4f7c1ba44cdcf02b4a66fa5b63b318aea5f1b001e2d2d53ef84f20ed9f29188cbb076f1e2906ca2c8bff91e486a949558af9fa270ed8ab
7
- data.tar.gz: 8061439aa33429c2d4394448a7af8a8a5226758bf3359bfd99f88b6bcc9e89ada5fa8bd593c908ce21a9e7d82a2337ab9a7bca20dff29846797fcace2a2e51b9
6
+ metadata.gz: fba7158e703b27bbc36d3fadbef5c995a6e0cd061fda74bf09098322a9a2145fe47cdc848bb4bfe85dac97f7ceb7a531845a9b1425aeb8b38d2819549341964f
7
+ data.tar.gz: 061f27f467c4fd2afdf9e846e477d6704c02d8c524c6815be89b072c9291a3a4822f4c83aab43bfa7d803ccba32fb59855cff37cda72b61247122e13f0262720
@@ -3,7 +3,7 @@
3
3
  module WCC
4
4
  module JTJ
5
5
  class Client
6
- VERSION = '0.1.3'
6
+ VERSION = '0.1.4'
7
7
  end
8
8
  end
9
9
  end
@@ -121,6 +121,13 @@ module WCC::JTJ
121
121
  Responses::EntryShowResponse.new(resp, client: self).tap(&:validate!)
122
122
  end
123
123
 
124
+ def get_legacy(id)
125
+ path = File.join(base_path, 'entries', 'legacy', id.to_s)
126
+ resp = get(path).assert_ok!
127
+
128
+ Responses::EntryShowResponse.new(resp, client: self).tap(&:validate!)
129
+ end
130
+
124
131
  def list_memory_verses(link = nil, **query)
125
132
  path =
126
133
  if link && /^https?:\/\// =~ link
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.3
4
+ version: 0.1.4
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: 2022-11-17 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -59,11 +59,11 @@ files:
59
59
  - lib/wcc/jtj/client/utils.rb
60
60
  - lib/wcc/jtj/client/version.rb
61
61
  - wcc-jtj-client.gemspec
62
- homepage:
62
+ homepage:
63
63
  licenses:
64
64
  - Not licensed for external use
65
65
  metadata: {}
66
- post_install_message:
66
+ post_install_message:
67
67
  rdoc_options: []
68
68
  require_paths:
69
69
  - lib
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubygems_version: 3.1.6
82
- signing_key:
82
+ signing_key:
83
83
  specification_version: 4
84
84
  summary: Internal Watermark.org gem, not licensed for external use.
85
85
  test_files: []