montage_rails 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fd55a37c2081528a0f0025924a866170e248321
|
4
|
+
data.tar.gz: 764c80fed2bdb9d83cde3d11e1d29136daec425c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de0e9db9d5f8037ff70a7670b5d0b058f12389d90c3f29d5b2a27a1800f07e25e121684fe780f3c5f40f89913228dac033b8ee15cc4da3fc2b60262f607f553
|
7
|
+
data.tar.gz: 7eed78cf41da79d0e1349a3a505e3ce6341259207101a340009a127d0a3095b5a77d7bf3ca268fd06c87c76cb69c551814b72028b153d4d50fe379de6fbefc91
|
@@ -0,0 +1,41 @@
|
|
1
|
+
-
|
2
|
+
id: 0730c445-b389-44cd-a05f-601f051321da
|
3
|
+
foo: sunt laudantium libero sapiente perspiciatis amet illum blanditiis voluptatem et
|
4
|
+
bar: 3262512215
|
5
|
+
-
|
6
|
+
id: 850c493c-5545-4cbb-8bb9-fa0470d0e53b
|
7
|
+
foo: modi accusantium sint minima veritatis eum et possimus molestiae excepturi
|
8
|
+
bar: 7105213592
|
9
|
+
-
|
10
|
+
id: 248e29ae-d454-4235-ad9d-1d00002c4152
|
11
|
+
foo: tenetur qui inventore in maiores cumque eum et dolorem quo
|
12
|
+
bar: 6048347537
|
13
|
+
-
|
14
|
+
id: cd39d197-b70b-4c91-8933-715aecb7b99b
|
15
|
+
foo: nostrum et corporis tempora autem similique sapiente eveniet dignissimos omnis
|
16
|
+
bar: 4033793859
|
17
|
+
-
|
18
|
+
id: 89f7dcce-b8f2-41b7-a08e-133c7cf61dba
|
19
|
+
foo: corporis quia voluptatibus ea tempora illo velit nobis aliquid rerum
|
20
|
+
bar: 1986268631
|
21
|
+
-
|
22
|
+
id: 74e2ee6b-bcc2-4b4a-a90d-544dafaeb947
|
23
|
+
foo: dolorem quo repellat aspernatur blanditiis qui delectus sit enim dolorum
|
24
|
+
bar: 4442105458
|
25
|
+
-
|
26
|
+
id: b1b8af3e-d556-45d3-be81-d02d01695a1b
|
27
|
+
foo: soluta omnis odio rerum voluptate similique voluptatem possimus modi recusandae
|
28
|
+
bar: 3634326371
|
29
|
+
-
|
30
|
+
id: c60be01b-e3f8-49bd-8433-ef59021bdda5
|
31
|
+
foo: tempore esse est facere eaque aut eveniet sed et sapiente
|
32
|
+
bar: 8177760611
|
33
|
+
-
|
34
|
+
id: d9680b19-569e-45e3-9d62-e32ec764bd27
|
35
|
+
foo: sit qui facere aut aspernatur deserunt qui quisquam non qui
|
36
|
+
bar: 0127658293
|
37
|
+
-
|
38
|
+
id: 5d7c50e0-cead-4949-a827-6d7edd529ff2
|
39
|
+
foo: adipisci culpa laudantium quia nihil autem et veniam quidem possimus
|
40
|
+
bar: 6188813296
|
41
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class TestModResource < MontageRails::ApplicationResource
|
2
|
+
def self.schema_definition
|
3
|
+
{
|
4
|
+
name: "testmods",
|
5
|
+
fields: [
|
6
|
+
{
|
7
|
+
name: "foo",
|
8
|
+
datatype: "text",
|
9
|
+
},
|
10
|
+
{
|
11
|
+
name: "bar",
|
12
|
+
datatype: "numeric",
|
13
|
+
},
|
14
|
+
],
|
15
|
+
links: {
|
16
|
+
self: "http://testco.dev.montagehot.club/api/v1/schemas/testmods/",
|
17
|
+
query: "http://testco.dev.montagehot.club/api/v1/schemas/testmods/query/",
|
18
|
+
create_document: "http://testco.dev.montagehot.club/api/v1/schemas/testmods/save/"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: montage_rails
|
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
|
- dphaener
|
@@ -375,6 +375,8 @@ files:
|
|
375
375
|
- test/dummy/test/montage_resources/test_data/actor_test_data.yml
|
376
376
|
- test/dummy/test/montage_resources/test_data/movie_test_data.yml
|
377
377
|
- test/dummy/test/montage_resources/test_data/studio_test_data.yml
|
378
|
+
- test/dummy/test/montage_resources/test_data/test_mod_test_data.yml
|
379
|
+
- test/dummy/test/montage_resources/test_mod_resource.rb
|
378
380
|
- test/dummy/test/resources/test_mod_resource.rb
|
379
381
|
- test/dummy/test/resources/test_one_resource.rb
|
380
382
|
- test/dummy/test/test_helper.rb
|
@@ -474,6 +476,8 @@ test_files:
|
|
474
476
|
- test/dummy/test/montage_resources/test_data/actor_test_data.yml
|
475
477
|
- test/dummy/test/montage_resources/test_data/movie_test_data.yml
|
476
478
|
- test/dummy/test/montage_resources/test_data/studio_test_data.yml
|
479
|
+
- test/dummy/test/montage_resources/test_data/test_mod_test_data.yml
|
480
|
+
- test/dummy/test/montage_resources/test_mod_resource.rb
|
477
481
|
- test/dummy/test/resources/test_mod_resource.rb
|
478
482
|
- test/dummy/test/resources/test_one_resource.rb
|
479
483
|
- test/dummy/test/test_helper.rb
|