contentful-scheduler-custom 1.6.7.5343 → 1.6.7.5344

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: 655c7fae272ff48af9101f8b136b0193533d5e95b58bd9e2a5c24597cedddb7a
4
- data.tar.gz: 517fc2439089311a707256fcffc6c66f03402cadee1056d9af4a982533a7f857
3
+ metadata.gz: 5755b881442e366cf036a354dec12628739c7e6bcbf65eac3d7febd098c96259
4
+ data.tar.gz: 9ab99e2cb09060381ae3bd6c3018ba9f09699df979c4f5ff65b05d3dd69a67fb
5
5
  SHA512:
6
- metadata.gz: eb8afec98716ab2681a83cd95ee5fb9ccc1986a15f03d38de88944e1f55fecbd2724f26b294666dfaae92255e69a6248ef76dadbd839b5f5f0e1ac390e8ea238
7
- data.tar.gz: d22ed9549c26cfa2694fc14b58516e312c1598ee008c5db64b612d50587e0a91a8aa8f424ba89604f93b524c093b472ff2d8c7e66cead640fa845486aa2f0a75
6
+ metadata.gz: e29db5161234ceea0465a608949e2592bd9a5ededf3132c266b15de50fcde4996df4bfbcaae5a77166f79a883aab64660135eb579445f1efb1a02b7dfeb70dec
7
+ data.tar.gz: a65fcffad393be59bd035ddea6b39f8961bc0fd1b27127ce6485b025a42eeda21fceb434a5e61cfee8ed13d75475ad1dee186c0868a50775c16db3374424f6f2
data/12.txt ADDED
@@ -0,0 +1,84 @@
1
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"1Owgw9UmeGVWvrsONWtWal", "type"=>"Entry", "createdAt"=>"2019-03-20T14:02:03.505Z", "updatedAt"=>"2019-03-26T15:26:35.695Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbDescription"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"asdasdasd zxcas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3iUCCaX2GuNHAIkrPAYuik"}}]}}
2
+ get_each_element input keyis id and item is {"id"=>"asdasdasd zxcas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3iUCCaX2GuNHAIkrPAYuik"}}]}
3
+ get_each_element ids are []
4
+ get_each_element input keyis items and item is {"id"=>"asdasdasd zxcas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3iUCCaX2GuNHAIkrPAYuik"}}]}
5
+ get_each_element ids are ["3iUCCaX2GuNHAIkrPAYuik"]
6
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"1YYukTOwMXDu7DHZvZ41TT", "type"=>"Entry", "createdAt"=>"2019-03-20T14:02:02.514Z", "updatedAt"=>"2019-03-26T15:26:32.146Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbArticle"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"zxcxz zxczxsaaszxzx", "articles"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"xGeX8uzpd7TjgBZg9nt1m"}}]}}
7
+ get_each_element input keyis id and item is {"id"=>"zxcxz zxczxsaaszxzx", "articles"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"xGeX8uzpd7TjgBZg9nt1m"}}]}
8
+ get_each_element ids are []
9
+ get_each_element input keyis articles and item is {"id"=>"zxcxz zxczxsaaszxzx", "articles"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"xGeX8uzpd7TjgBZg9nt1m"}}]}
10
+ get_each_element ids are ["xGeX8uzpd7TjgBZg9nt1m"]
11
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"2NNqFOKpYxL2NR2LtKOhg3", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:59.072Z", "updatedAt"=>"2019-03-26T15:26:24.921Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbCardGrid"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"card grid zxc zxcxzc", "cards"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4fsDssIXf3hKl41zCA3Kqq"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3Mva0XVfL36aIko6XoQmMO"}}]}}
12
+ get_each_element input keyis id and item is {"id"=>"card grid zxc zxcxzc", "cards"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4fsDssIXf3hKl41zCA3Kqq"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3Mva0XVfL36aIko6XoQmMO"}}]}
13
+ get_each_element ids are []
14
+ get_each_element input keyis cards and item is {"id"=>"card grid zxc zxcxzc", "cards"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4fsDssIXf3hKl41zCA3Kqq"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3Mva0XVfL36aIko6XoQmMO"}}]}
15
+ get_each_element ids are ["4fsDssIXf3hKl41zCA3Kqq", "3Mva0XVfL36aIko6XoQmMO"]
16
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"2d5d3ekoU4EqG2YyGWIqgW", "type"=>"Entry", "createdAt"=>"2018-10-11T08:01:05.167Z", "updatedAt"=>"2019-03-26T15:25:50.483Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>26, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbForm"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Test Form 134 asdasdasdas", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6DBwwtHQ7EqYnCds7K7Tez"}}]}}
17
+ get_each_element input keyis id and item is {"id"=>"Test Form 134 asdasdasdas", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6DBwwtHQ7EqYnCds7K7Tez"}}]}
18
+ get_each_element ids are []
19
+ get_each_element input keyis title and item is {"id"=>"Test Form 134 asdasdasdas", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6DBwwtHQ7EqYnCds7K7Tez"}}]}
20
+ get_each_element ids are []
21
+ get_each_element input keyis button and item is {"id"=>"Test Form 134 asdasdasdas", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6DBwwtHQ7EqYnCds7K7Tez"}}]}
22
+ get_each_element ids are ["3RGJc25XBSsSMGkYGuA224"]
23
+ get_each_element input keyis fields and item is {"id"=>"Test Form 134 asdasdasdas", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6DBwwtHQ7EqYnCds7K7Tez"}}]}
24
+ get_each_element ids are ["5LWmHVo5MWUQAyCo0IYAKe", "4ZDGs4Zv7Gyko0om8csUKI", "6DBwwtHQ7EqYnCds7K7Tez"]
25
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"3VQI7LKFi0d9vb9TqJAu4K", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:52.736Z", "updatedAt"=>"2019-03-26T15:26:04.290Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>7, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbVisualMarketingBlock"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}}
26
+ get_each_element input keyis id and item is {"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}
27
+ get_each_element ids are []
28
+ get_each_element input keyis title and item is {"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}
29
+ get_each_element ids are []
30
+ get_each_element input keyis inverse and item is {"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}
31
+ get_each_element ids are []
32
+ get_each_element input keyis square and item is {"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}
33
+ get_each_element ids are []
34
+ get_each_element input keyis buttons and item is {"id"=>"Visual marketing blockasdasasasasas", "title"=>"Title", "inverse"=>true, "square"=>true, "buttons"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}]}
35
+ get_each_element ids are ["26sBafCtlG1DwIdGUDgKma"]
36
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"3cwgQTOoFARFZyTmjBe2hb", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:55.147Z", "updatedAt"=>"2019-03-26T15:26:11.348Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbNetworkWizard"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"network editorzxsa"}}
37
+ get_each_element input keyis id and item is {"id"=>"network editorzxsa"}
38
+ get_each_element ids are []
39
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"4v36SzxkakNhBozRdaH1Bl", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:58.067Z", "updatedAt"=>"2019-03-26T15:26:21.020Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbNewsGrid"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"News Gridscxzzxas", "insideFluidSnapper"=>true, "background"=>"coal-grey", "newsitems"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6nN9Sw3O2unUTGL4g5aSjI"}}]}}
40
+ get_each_element input keyis id and item is {"id"=>"News Gridscxzzxas", "insideFluidSnapper"=>true, "background"=>"coal-grey", "newsitems"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6nN9Sw3O2unUTGL4g5aSjI"}}]}
41
+ get_each_element ids are []
42
+ get_each_element input keyis insideFluidSnapper and item is {"id"=>"News Gridscxzzxas", "insideFluidSnapper"=>true, "background"=>"coal-grey", "newsitems"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6nN9Sw3O2unUTGL4g5aSjI"}}]}
43
+ get_each_element ids are []
44
+ get_each_element input keyis background and item is {"id"=>"News Gridscxzzxas", "insideFluidSnapper"=>true, "background"=>"coal-grey", "newsitems"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6nN9Sw3O2unUTGL4g5aSjI"}}]}
45
+ get_each_element ids are []
46
+ get_each_element input keyis newsitems and item is {"id"=>"News Gridscxzzxas", "insideFluidSnapper"=>true, "background"=>"coal-grey", "newsitems"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"6nN9Sw3O2unUTGL4g5aSjI"}}]}
47
+ get_each_element ids are ["6nN9Sw3O2unUTGL4g5aSjI"]
48
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"5Pul1SC8Qw3awarTLUtnRN", "type"=>"Entry", "createdAt"=>"2019-03-07T13:21:05.311Z", "updatedAt"=>"2019-03-26T15:25:56.571Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>24, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbMarketingSquares"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Marketing Squares Abhilash testasasasdasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3vGzmRtzx3YLQvTdl1cA2r"}}]}}
49
+ get_each_element input keyis id and item is {"id"=>"Marketing Squares Abhilash testasasasdasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3vGzmRtzx3YLQvTdl1cA2r"}}]}
50
+ get_each_element ids are []
51
+ get_each_element input keyis marketingSquares and item is {"id"=>"Marketing Squares Abhilash testasasasdasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3vGzmRtzx3YLQvTdl1cA2r"}}]}
52
+ get_each_element ids are ["3vGzmRtzx3YLQvTdl1cA2r"]
53
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"5ySzHkTjBcNQLnC1JC0mcv", "type"=>"Entry", "createdAt"=>"2019-03-07T12:31:04.377Z", "updatedAt"=>"2019-03-26T15:25:47.145Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>24, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbAccordion"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"testcvxc678678asdasdasdasda", "title"=>"test", "accordionElements"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"7Jvuq8Wpi92pgEYGAza2U0"}}]}}
54
+ get_each_element input keyis id and item is {"id"=>"testcvxc678678asdasdasdasda", "title"=>"test", "accordionElements"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"7Jvuq8Wpi92pgEYGAza2U0"}}]}
55
+ get_each_element ids are []
56
+ get_each_element input keyis title and item is {"id"=>"testcvxc678678asdasdasdasda", "title"=>"test", "accordionElements"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"7Jvuq8Wpi92pgEYGAza2U0"}}]}
57
+ get_each_element ids are []
58
+ get_each_element input keyis accordionElements and item is {"id"=>"testcvxc678678asdasdasdasda", "title"=>"test", "accordionElements"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"7Jvuq8Wpi92pgEYGAza2U0"}}]}
59
+ get_each_element ids are ["7Jvuq8Wpi92pgEYGAza2U0"]
60
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"677nxK1q9TsShcjo59rReW", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:51.675Z", "updatedAt"=>"2019-03-26T15:26:00.730Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbMarketingSquares"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Marketing Squareasasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2LtRtj4VZm1f2Bk2n070t7"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"21HhXerMofDpTOEyQWyeUP"}}]}}
61
+ get_each_element input keyis id and item is {"id"=>"Marketing Squareasasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2LtRtj4VZm1f2Bk2n070t7"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"21HhXerMofDpTOEyQWyeUP"}}]}
62
+ get_each_element ids are []
63
+ get_each_element input keyis marketingSquares and item is {"id"=>"Marketing Squareasasdasasas", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2LtRtj4VZm1f2Bk2n070t7"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"21HhXerMofDpTOEyQWyeUP"}}]}
64
+ get_each_element ids are ["2LtRtj4VZm1f2Bk2n070t7", "21HhXerMofDpTOEyQWyeUP"]
65
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"69ajqfdJkiriihE85uIOV0", "type"=>"Entry", "createdAt"=>"2019-03-20T14:02:01.332Z", "updatedAt"=>"2019-03-26T15:26:28.649Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbFluidGrid"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"fgrid item zxc xzcsaas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5O9P5cJUCDdfmQPRiESi7Y"}}]}}
66
+ get_each_element input keyis id and item is {"id"=>"fgrid item zxc xzcsaas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5O9P5cJUCDdfmQPRiESi7Y"}}]}
67
+ get_each_element ids are []
68
+ get_each_element input keyis items and item is {"id"=>"fgrid item zxc xzcsaas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5O9P5cJUCDdfmQPRiESi7Y"}}]}
69
+ get_each_element ids are ["5O9P5cJUCDdfmQPRiESi7Y"]
70
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"7iFp6EA4kHN4UP0bVAei4x", "type"=>"Entry", "createdAt"=>"2019-03-26T10:36:06.004Z", "updatedAt"=>"2019-03-26T15:26:46.138Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>7, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbArticle"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"xzcxzzxczxcasd"}}
71
+ get_each_element input keyis id and item is {"id"=>"xzcxzzxczxcasd"}
72
+ get_each_element ids are []
73
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"9zvOF3z0Os22LoaWRyWD5", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:56.230Z", "updatedAt"=>"2019-03-26T15:26:42.184Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>16, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbForm"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"zxcForrm2assa", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"Vja3okEgt4rYxA87MsXrN"}}]}}
74
+ get_each_element input keyis id and item is {"id"=>"zxcForrm2assa", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"Vja3okEgt4rYxA87MsXrN"}}]}
75
+ get_each_element ids are []
76
+ get_each_element input keyis button and item is {"id"=>"zxcForrm2assa", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"Vja3okEgt4rYxA87MsXrN"}}]}
77
+ get_each_element ids are ["26sBafCtlG1DwIdGUDgKma"]
78
+ get_each_element input keyis fields and item is {"id"=>"zxcForrm2assa", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"26sBafCtlG1DwIdGUDgKma"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"Vja3okEgt4rYxA87MsXrN"}}]}
79
+ get_each_element ids are ["Vja3okEgt4rYxA87MsXrN"]
80
+ get_each_field input is {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"bNDWbVYcm73OZjvDL1wWO", "type"=>"Entry", "createdAt"=>"2019-03-20T14:01:53.913Z", "updatedAt"=>"2019-03-26T15:26:07.625Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>8, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbOfferCards"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Offercardszxczxcasasasas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}]}}
81
+ get_each_element input keyis id and item is {"id"=>"Offercardszxczxcasasasas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}]}
82
+ get_each_element ids are []
83
+ get_each_element input keyis items and item is {"id"=>"Offercardszxczxcasasasas", "items"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"2UjZOJlR5isMMSDKFbQn5n"}}]}
84
+ get_each_element ids are ["2UjZOJlR5isMMSDKFbQn5n", "2UjZOJlR5isMMSDKFbQn5n"]
@@ -62,9 +62,9 @@ module Contentful
62
62
  logger = Logger.new(STDOUT)
63
63
  logger.info("get_each_element input key is #{key} and item is #{item}")
64
64
  ids = []
65
- if item[key].is_a?(Array)
65
+ if item[key].kind_of?(Array)
66
66
  item[key].each {|i| (!(i["sys"]["linkType"].nil?) && i["sys"]["linkType"] == "Entry") ? ids.push(i["sys"]["id"]) : nil}
67
- elsif item[key].is_a?(Hash)
67
+ elsif item[key].kind_of?(Hash)
68
68
  (!( item[key]["sys"]["linkType"].nil? ) && item[key]["sys"]["linkType"] == "Entry") ? ids.push(item[key]["sys"]["id"]) : nil
69
69
  end
70
70
  logger.info "get_each_element ids are ==> #{ids}"
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.7.5343"
3
+ VERSION = "1.6.7.5344"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-scheduler-custom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7.5343
4
+ version: 1.6.7.5344
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0
@@ -202,7 +202,7 @@ files:
202
202
  - ".gitignore"
203
203
  - ".rspec"
204
204
  - ".travis.yml"
205
- - 12.json
205
+ - 12.txt
206
206
  - 3.json
207
207
  - CHANGELOG.md
208
208
  - CODE_OF_CONDUCT.md
data/12.json DELETED
@@ -1 +0,0 @@
1
- {"Entry"=>[{"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"2d5d3ekoU4EqG2YyGWIqgW", "type"=>"Entry", "createdAt"=>"2018-10-11T08:01:05.167Z", "updatedAt"=>"2019-03-13T16:34:47.794Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>6, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbForm"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Test Form 134 asd", "title"=>"Test Form 2", "button"=>{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3RGJc25XBSsSMGkYGuA224"}}, "fields"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"5LWmHVo5MWUQAyCo0IYAKe"}}, {"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"4ZDGs4Zv7Gyko0om8csUKI"}}]}}, {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"5Pul1SC8Qw3awarTLUtnRN", "type"=>"Entry", "createdAt"=>"2019-03-07T13:21:05.311Z", "updatedAt"=>"2019-03-13T16:34:49.609Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>4, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbMarketingSquares"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"Marketing Squares Abhilash testasasasd", "marketingSquares"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"3vGzmRtzx3YLQvTdl1cA2r"}}]}}, {"sys"=>{"space"=>{"sys"=>{"type"=>"Link", "linkType"=>"Space", "id"=>"qbra4qai2ti2"}}, "id"=>"5ySzHkTjBcNQLnC1JC0mcv", "type"=>"Entry", "createdAt"=>"2019-03-07T12:31:04.377Z", "updatedAt"=>"2019-03-13T16:34:46.334Z", "environment"=>{"sys"=>{"id"=>"master", "type"=>"Link", "linkType"=>"Environment"}}, "revision"=>4, "contentType"=>{"sys"=>{"type"=>"Link", "linkType"=>"ContentType", "id"=>"cbAccordion"}}, "locale"=>"fi-FI"}, "fields"=>{"id"=>"testcvxc678678asd", "title"=>"test", "accordionElements"=>[{"sys"=>{"type"=>"Link", "linkType"=>"Entry", "id"=>"7Jvuq8Wpi92pgEYGAza2U0"}}]}}]}