wcc-jtj-client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wcc/jtj/client/version.rb +1 -1
- data/lib/wcc/jtj/client.rb +7 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99a3724f8da493353cfe004098cd40b84e8b08d909b3580e7f64ae64a3b00191
|
4
|
+
data.tar.gz: 39ed67fd1d655ff5795dc0ca8d7571c08ea8214eee22695275601e080037ed1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba7158e703b27bbc36d3fadbef5c995a6e0cd061fda74bf09098322a9a2145fe47cdc848bb4bfe85dac97f7ceb7a531845a9b1425aeb8b38d2819549341964f
|
7
|
+
data.tar.gz: 061f27f467c4fd2afdf9e846e477d6704c02d8c524c6815be89b072c9291a3a4822f4c83aab43bfa7d803ccba32fb59855cff37cda72b61247122e13f0262720
|
data/lib/wcc/jtj/client.rb
CHANGED
@@ -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.
|
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-
|
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: []
|