wcc-media-client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wcc/media/active_record_shim.rb +4 -4
- data/lib/wcc/media/version.rb +1 -1
- data/wcc-media-client.gemspec +0 -2
- metadata +3 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bf391b20a47ce48f1f44e333a729e5e1506308ac00a7d279fcf9455e0421ac6
|
4
|
+
data.tar.gz: aad2f2468c5e20ea03ffab9a42a536851c082e47afbe271b773456ccec75cca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c97fb5cbe5b9bf6fbb5506fd3e7caeb04e861c22cc25517a3bac0d1f39853069a938c86097b559657d7a2012db3d3ca2ab347f020bb40fe5b3e5533e8fe24c9d
|
7
|
+
data.tar.gz: 4ea43262c80f9c083bf219652c1ce94f9d48de27dbd68deefe1d11d8439e8b21f31a75c90c71bd0b7b27e82cc08402251c235ef3dd58753e2a08391a85bb79dc
|
@@ -45,7 +45,7 @@ module WCC::Media::ActiveRecordShim
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def model_name
|
48
|
-
name
|
48
|
+
ActiveModel::Name.new(self, nil, name)
|
49
49
|
end
|
50
50
|
|
51
51
|
def table_name
|
@@ -80,9 +80,9 @@ module WCC::Media::ActiveRecordShim
|
|
80
80
|
endpoint = @endpoint || klass.name.split('::').last.downcase
|
81
81
|
key = @key || klass.name.split('::').last.downcase
|
82
82
|
klass.instance_eval do
|
83
|
-
define_singleton_method(
|
84
|
-
define_singleton_method(
|
85
|
-
define_singleton_method(
|
83
|
+
define_singleton_method(:filters) { filters }
|
84
|
+
define_singleton_method(:endpoint) { endpoint }
|
85
|
+
define_singleton_method(:key) { key }
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
data/lib/wcc/media/version.rb
CHANGED
data/wcc-media-client.gemspec
CHANGED
@@ -25,7 +25,5 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
27
|
spec.add_runtime_dependency 'wcc-api', '>= 0.3.1'
|
28
|
-
spec.add_runtime_dependency 'wcc-auth'
|
29
|
-
spec.add_runtime_dependency 'wcc-base', '~> 0.3.1'
|
30
28
|
spec.add_runtime_dependency 'wcc-data', '~> 0.3.3'
|
31
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-media-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: wcc-api
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.3.1
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: wcc-auth
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: wcc-base
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.3.1
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.3.1
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: wcc-data
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
85
|
- !ruby/object:Gem::Version
|
114
86
|
version: '0'
|
115
87
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.1.6
|
117
89
|
signing_key:
|
118
90
|
specification_version: 4
|
119
91
|
summary: ''
|