dependabot-linguist 0.0.1 → 0.212.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +25 -3
  3. data/Gemfile +0 -9
  4. data/Gemfile.lock +162 -5
  5. data/LICENSE +674 -1
  6. data/{LICENSE.Nonstandard → LICENSE.dependabot-core} +0 -0
  7. data/Makefile +8 -1
  8. data/README.md +39 -5
  9. data/demo_script.rb +50 -0
  10. data/dependabot-linguist.gemspec +16 -5
  11. data/devlog.md +186 -0
  12. data/exe/dependabot-linguist +145 -0
  13. data/lib/dependabot/linguist/dependabot_file_validator.rb +190 -0
  14. data/lib/dependabot/linguist/dependabot_patch.rb +8 -0
  15. data/lib/dependabot/linguist/file_fetchers/base.rb +48 -0
  16. data/lib/dependabot/linguist/file_fetchers/git_submodules.rb +63 -0
  17. data/lib/dependabot/linguist/file_fetchers/go_modules.rb +41 -0
  18. data/lib/dependabot/linguist/language.rb +62 -0
  19. data/lib/dependabot/linguist/languages_to_ecosystems/contexts.rb +234 -0
  20. data/lib/dependabot/linguist/languages_to_ecosystems/contexts_applied.rb +36 -0
  21. data/lib/dependabot/linguist/languages_to_ecosystems/languages.yaml +7950 -0
  22. data/lib/dependabot/linguist/languages_to_ecosystems/main.rb +55 -0
  23. data/lib/dependabot/linguist/languages_to_ecosystems/manager_ecosystem_maps.rb +154 -0
  24. data/lib/dependabot/linguist/languages_to_patch.txt +37 -0
  25. data/lib/dependabot/linguist/linguist_patch.rb +6 -0
  26. data/lib/dependabot/linguist/repository.rb +232 -0
  27. data/lib/dependabot/linguist/version.rb +1 -1
  28. data/lib/dependabot/linguist.rb +5 -2
  29. data/smoke-test/README.md +58 -0
  30. data/smoke-test/bundler/Gemfile +9 -0
  31. data/smoke-test/bundler/Gemfile.lock +47 -0
  32. data/smoke-test/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  33. data/smoke-test/cargo/Cargo.lock +90 -0
  34. data/smoke-test/cargo/Cargo.toml +8 -0
  35. data/smoke-test/composer/composer.json +5 -0
  36. data/smoke-test/composer/composer.lock +72 -0
  37. data/smoke-test/composer/vendor/autoload.php +7 -0
  38. data/smoke-test/composer/vendor/composer/ClassLoader.php +445 -0
  39. data/smoke-test/composer/vendor/composer/LICENSE +21 -0
  40. data/smoke-test/composer/vendor/composer/autoload_classmap.php +13 -0
  41. data/smoke-test/composer/vendor/composer/autoload_namespaces.php +9 -0
  42. data/smoke-test/composer/vendor/composer/autoload_psr4.php +9 -0
  43. data/smoke-test/composer/vendor/composer/autoload_real.php +55 -0
  44. data/smoke-test/composer/vendor/composer/autoload_static.php +23 -0
  45. data/smoke-test/composer/vendor/composer/installed.json +57 -0
  46. data/smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore +3 -0
  47. data/smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE +504 -0
  48. data/smoke-test/composer/vendor/phpmailer/phpmailer/README.md +112 -0
  49. data/smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md +530 -0
  50. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php +2758 -0
  51. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php +417 -0
  52. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php +1075 -0
  53. data/smoke-test/composer/vendor/phpmailer/phpmailer/composer.json +32 -0
  54. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt +17 -0
  55. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt +55 -0
  56. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt +23 -0
  57. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html +148 -0
  58. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html +67 -0
  59. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh +4 -0
  60. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt +39 -0
  61. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt +44 -0
  62. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html +20 -0
  63. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif +0 -0
  64. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif +0 -0
  65. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html +50 -0
  66. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php +58 -0
  67. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php +30 -0
  68. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php +41 -0
  69. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php +39 -0
  70. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php +49 -0
  71. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php +33 -0
  72. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php +43 -0
  73. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php +42 -0
  74. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php +36 -0
  75. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php +58 -0
  76. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php +53 -0
  77. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php +42 -0
  78. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php +59 -0
  79. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc +489 -0
  80. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php +861 -0
  81. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php +185 -0
  82. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +26 -0
  83. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php +25 -0
  84. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +25 -0
  85. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +25 -0
  86. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php +24 -0
  87. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +24 -0
  88. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php +25 -0
  89. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +25 -0
  90. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +25 -0
  91. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +26 -0
  92. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +26 -0
  93. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +24 -0
  94. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +24 -0
  95. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +26 -0
  96. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +25 -0
  97. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +24 -0
  98. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php +24 -0
  99. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +24 -0
  100. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +26 -0
  101. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +24 -0
  102. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php +25 -0
  103. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +25 -0
  104. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +26 -0
  105. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +25 -0
  106. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +25 -0
  107. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html +10 -0
  108. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php +1084 -0
  109. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png +0 -0
  110. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php +84 -0
  111. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php +48 -0
  112. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt +165 -0
  113. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html +14 -0
  114. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif +0 -0
  115. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif +0 -0
  116. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif +0 -0
  117. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php +427 -0
  118. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf +0 -0
  119. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js +59 -0
  120. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js +64 -0
  121. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js +99 -0
  122. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js +93 -0
  123. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js +57 -0
  124. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js +43 -0
  125. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js +69 -0
  126. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js +51 -0
  127. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js +55 -0
  128. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js +74 -0
  129. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js +91 -0
  130. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js +35 -0
  131. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js +56 -0
  132. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js +57 -0
  133. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js +53 -0
  134. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js +68 -0
  135. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js +58 -0
  136. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js +71 -0
  137. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js +30 -0
  138. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js +30 -0
  139. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js +1949 -0
  140. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js +172 -0
  141. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png +0 -0
  142. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png +0 -0
  143. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png +0 -0
  144. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png +0 -0
  145. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png +0 -0
  146. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css +321 -0
  147. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css +191 -0
  148. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css +193 -0
  149. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css +192 -0
  150. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css +193 -0
  151. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css +192 -0
  152. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css +192 -0
  153. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png +0 -0
  154. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html +46 -0
  155. data/smoke-test/dependabot-file/no-config/.github/TARGET.yaml +14 -0
  156. data/smoke-test/dependabot-file/no-config/bundler/Gemfile +9 -0
  157. data/smoke-test/dependabot-file/no-config/bundler/Gemfile.lock +47 -0
  158. data/smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  159. data/smoke-test/dependabot-file/no-config/cargo/Cargo.lock +90 -0
  160. data/smoke-test/dependabot-file/no-config/cargo/Cargo.toml +8 -0
  161. data/smoke-test/dependabot-file/no-config/composer/composer.json +5 -0
  162. data/smoke-test/dependabot-file/no-config/composer/composer.lock +72 -0
  163. data/smoke-test/dependabot-file/over-config/.github/TARGET.yaml +17 -0
  164. data/smoke-test/dependabot-file/over-config/.github/dependabot.yaml +12 -0
  165. data/smoke-test/dependabot-file/over-config/bundler/Gemfile +9 -0
  166. data/smoke-test/dependabot-file/over-config/bundler/Gemfile.lock +47 -0
  167. data/smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  168. data/smoke-test/dependabot-file/over-config/cargo/Cargo.lock +90 -0
  169. data/smoke-test/dependabot-file/over-config/cargo/Cargo.toml +8 -0
  170. data/smoke-test/dependabot-file/over-config/composer/composer.json +5 -0
  171. data/smoke-test/dependabot-file/over-config/composer/composer.lock +72 -0
  172. data/smoke-test/dependabot-file/overer-config/.github/TARGET.yaml +19 -0
  173. data/smoke-test/dependabot-file/overer-config/.github/dependabot.yaml +12 -0
  174. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile +9 -0
  175. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock +47 -0
  176. data/smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  177. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.lock +90 -0
  178. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.toml +8 -0
  179. data/smoke-test/dependabot-file/overer-config/composer/composer.json +5 -0
  180. data/smoke-test/dependabot-file/overer-config/composer/composer.lock +72 -0
  181. data/smoke-test/dependabot-file/partial-config/.github/TARGET.yaml +17 -0
  182. data/smoke-test/dependabot-file/partial-config/.github/dependabot.yaml +7 -0
  183. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile +9 -0
  184. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock +47 -0
  185. data/smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  186. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.lock +90 -0
  187. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.toml +8 -0
  188. data/smoke-test/dependabot-file/partial-config/composer/composer.json +5 -0
  189. data/smoke-test/dependabot-file/partial-config/composer/composer.lock +72 -0
  190. data/smoke-test/docker/Dockerfile +19 -0
  191. data/smoke-test/elm/elm-package.json +15 -0
  192. data/smoke-test/elm/elm.json +31 -0
  193. data/smoke-test/github-actions/both/.github/workflows/this.yaml +11 -0
  194. data/smoke-test/github-actions/both/yaml/action.yml +13 -0
  195. data/smoke-test/github-actions/invalid/invalid_file.yaml +0 -0
  196. data/smoke-test/github-actions/workflow/.github/workflows/this.yaml +11 -0
  197. data/smoke-test/github-actions/yaml/action.yml +13 -0
  198. data/smoke-test/gitsubmodule/.gitmodules +4 -0
  199. data/smoke-test/gomod/go.mod +16 -0
  200. data/smoke-test/gomod/go.sum +18 -0
  201. data/smoke-test/gomod/gomain.go +14 -0
  202. data/smoke-test/gradle/.gitignore +1 -0
  203. data/smoke-test/gradle/build.gradle +65 -0
  204. data/smoke-test/maven/pom.xml +65 -0
  205. data/smoke-test/mix/mix.exs +24 -0
  206. data/smoke-test/mix/mix.lock +5 -0
  207. data/smoke-test/npm/package-lock.json +166 -0
  208. data/smoke-test/npm/package.json +22 -0
  209. data/smoke-test/npm/removed/package-lock.json +44 -0
  210. data/smoke-test/npm/removed/package.json +15 -0
  211. data/smoke-test/nuget/project.csproj +14 -0
  212. data/smoke-test/pip/pip/requirements.txt +5 -0
  213. data/smoke-test/pip/pip-compile/requirements.in +2 -0
  214. data/smoke-test/pip/pip-compile/requirements.txt +16 -0
  215. data/smoke-test/pip/pipenv/Pipfile +13 -0
  216. data/smoke-test/pip/pipenv/Pipfile.lock +86 -0
  217. data/smoke-test/pip/poetry/poetry.lock +33 -0
  218. data/smoke-test/pip/poetry/pyproject.toml +18 -0
  219. data/smoke-test/pub/pubspec.lock +40 -0
  220. data/smoke-test/pub/pubspec.yaml +10 -0
  221. data/smoke-test/terraform/main.tf +143 -0
  222. metadata +314 -6
  223. data/LICENSE.GPL-3.0-only +0 -674
@@ -0,0 +1,166 @@
1
+ {
2
+ "name": "npm-test",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 2,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "npm-test",
9
+ "version": "1.0.0",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "fetch-factory": "^0.0.1"
13
+ },
14
+ "devDependencies": {
15
+ "etag": "^1.0.0"
16
+ }
17
+ },
18
+ "node_modules/encoding": {
19
+ "version": "0.1.12",
20
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
21
+ "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
22
+ "dependencies": {
23
+ "iconv-lite": "0.4.19"
24
+ }
25
+ },
26
+ "node_modules/es6-promise": {
27
+ "version": "3.3.1",
28
+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz",
29
+ "integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM="
30
+ },
31
+ "node_modules/etag": {
32
+ "version": "1.8.1",
33
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
34
+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
35
+ "dev": true,
36
+ "engines": {
37
+ "node": ">= 0.6"
38
+ }
39
+ },
40
+ "node_modules/fetch-factory": {
41
+ "version": "0.0.1",
42
+ "resolved": "https://registry.npmjs.org/fetch-factory/-/fetch-factory-0.0.1.tgz",
43
+ "integrity": "sha1-4AdgWb2zHjFHx1s7jAQTO6jH4HE=",
44
+ "dependencies": {
45
+ "es6-promise": "3.3.1",
46
+ "isomorphic-fetch": "2.2.1",
47
+ "lodash": "3.10.1"
48
+ }
49
+ },
50
+ "node_modules/fetch-factory/node_modules/lodash": {
51
+ "version": "3.10.1",
52
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
53
+ "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
54
+ },
55
+ "node_modules/iconv-lite": {
56
+ "version": "0.4.19",
57
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
58
+ "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==",
59
+ "engines": {
60
+ "node": ">=0.10.0"
61
+ }
62
+ },
63
+ "node_modules/is-stream": {
64
+ "version": "1.1.0",
65
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
66
+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
67
+ "engines": {
68
+ "node": ">=0.10.0"
69
+ }
70
+ },
71
+ "node_modules/isomorphic-fetch": {
72
+ "version": "2.2.1",
73
+ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
74
+ "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
75
+ "dependencies": {
76
+ "node-fetch": "1.7.3",
77
+ "whatwg-fetch": "2.0.3"
78
+ }
79
+ },
80
+ "node_modules/node-fetch": {
81
+ "version": "1.7.3",
82
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
83
+ "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
84
+ "dependencies": {
85
+ "encoding": "0.1.12",
86
+ "is-stream": "1.1.0"
87
+ }
88
+ },
89
+ "node_modules/whatwg-fetch": {
90
+ "version": "2.0.3",
91
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz",
92
+ "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ="
93
+ }
94
+ },
95
+ "dependencies": {
96
+ "encoding": {
97
+ "version": "0.1.12",
98
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
99
+ "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
100
+ "requires": {
101
+ "iconv-lite": "0.4.19"
102
+ }
103
+ },
104
+ "es6-promise": {
105
+ "version": "3.3.1",
106
+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz",
107
+ "integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM="
108
+ },
109
+ "etag": {
110
+ "version": "1.8.1",
111
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
112
+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
113
+ "dev": true
114
+ },
115
+ "fetch-factory": {
116
+ "version": "0.0.1",
117
+ "resolved": "https://registry.npmjs.org/fetch-factory/-/fetch-factory-0.0.1.tgz",
118
+ "integrity": "sha1-4AdgWb2zHjFHx1s7jAQTO6jH4HE=",
119
+ "requires": {
120
+ "es6-promise": "3.3.1",
121
+ "isomorphic-fetch": "2.2.1",
122
+ "lodash": "3.10.1"
123
+ },
124
+ "dependencies": {
125
+ "lodash": {
126
+ "version": "3.10.1",
127
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
128
+ "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
129
+ }
130
+ }
131
+ },
132
+ "iconv-lite": {
133
+ "version": "0.4.19",
134
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
135
+ "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ=="
136
+ },
137
+ "is-stream": {
138
+ "version": "1.1.0",
139
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
140
+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
141
+ },
142
+ "isomorphic-fetch": {
143
+ "version": "2.2.1",
144
+ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
145
+ "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
146
+ "requires": {
147
+ "node-fetch": "1.7.3",
148
+ "whatwg-fetch": "2.0.3"
149
+ }
150
+ },
151
+ "node-fetch": {
152
+ "version": "1.7.3",
153
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
154
+ "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
155
+ "requires": {
156
+ "encoding": "0.1.12",
157
+ "is-stream": "1.1.0"
158
+ }
159
+ },
160
+ "whatwg-fetch": {
161
+ "version": "2.0.3",
162
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz",
163
+ "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ="
164
+ }
165
+ }
166
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "npm-test",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/dsp-testing/dependabot-all-updates-test.git"
9
+ },
10
+ "author": "",
11
+ "license": "ISC",
12
+ "bugs": {
13
+ "url": "https://github.com/dsp-testing/dependabot-all-updates-test/issues"
14
+ },
15
+ "homepage": "https://github.com/dsp-testing/dependabot-all-updates-test",
16
+ "dependencies": {
17
+ "fetch-factory": "^0.0.1"
18
+ },
19
+ "devDependencies": {
20
+ "etag": "^1.0.0"
21
+ }
22
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "locked-transitive-dependency-removed",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 2,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "locked-transitive-dependency-removed",
9
+ "version": "1.0.0",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "@dependabot-fixtures/npm-remove-dependency": "10.0.0"
13
+ }
14
+ },
15
+ "node_modules/@dependabot-fixtures/npm-remove-dependency": {
16
+ "version": "10.0.0",
17
+ "resolved": "https://registry.npmjs.org/@dependabot-fixtures/npm-remove-dependency/-/npm-remove-dependency-10.0.0.tgz",
18
+ "integrity": "sha512-QMgb6isjtNCnql6Nn+/h2v759qIW4f1ZDER8IbUJaIuyppDq3BqABbiwTFNenynu39yQZ1YAUFbWuNGeECNLyw==",
19
+ "dependencies": {
20
+ "@dependabot-fixtures/npm-transitive-dependency": "1.0.0"
21
+ }
22
+ },
23
+ "node_modules/@dependabot-fixtures/npm-transitive-dependency": {
24
+ "version": "1.0.0",
25
+ "resolved": "https://registry.npmjs.org/@dependabot-fixtures/npm-transitive-dependency/-/npm-transitive-dependency-1.0.0.tgz",
26
+ "integrity": "sha512-nFbzQH0TRgdzSA2/FH6MPnxZDpD+5Bgz00aD5Edgbc1wY/k8VC9s7lnk22dBTgJLwoY7MgbrnAf9rAvN08hHVg=="
27
+ }
28
+ },
29
+ "dependencies": {
30
+ "@dependabot-fixtures/npm-remove-dependency": {
31
+ "version": "10.0.0",
32
+ "resolved": "https://registry.npmjs.org/@dependabot-fixtures/npm-remove-dependency/-/npm-remove-dependency-10.0.0.tgz",
33
+ "integrity": "sha512-QMgb6isjtNCnql6Nn+/h2v759qIW4f1ZDER8IbUJaIuyppDq3BqABbiwTFNenynu39yQZ1YAUFbWuNGeECNLyw==",
34
+ "requires": {
35
+ "@dependabot-fixtures/npm-transitive-dependency": "1.0.0"
36
+ }
37
+ },
38
+ "@dependabot-fixtures/npm-transitive-dependency": {
39
+ "version": "1.0.0",
40
+ "resolved": "https://registry.npmjs.org/@dependabot-fixtures/npm-transitive-dependency/-/npm-transitive-dependency-1.0.0.tgz",
41
+ "integrity": "sha512-nFbzQH0TRgdzSA2/FH6MPnxZDpD+5Bgz00aD5Edgbc1wY/k8VC9s7lnk22dBTgJLwoY7MgbrnAf9rAvN08hHVg=="
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "locked-transitive-dependency-removed",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "@dependabot-fixtures/npm-remove-dependency": "10.0.0"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+
3
+ <PropertyGroup>
4
+ <OutputType>Exe</OutputType>
5
+ <TargetFramework>net6.0</TargetFramework>
6
+ <ImplicitUsings>enable</ImplicitUsings>
7
+ <Nullable>enable</Nullable>
8
+ </PropertyGroup>
9
+
10
+ <ItemGroup>
11
+ <PackageReference Include="NuGet.Versioning" Version="6.1.0" />
12
+ </ItemGroup>
13
+
14
+ </Project>
@@ -0,0 +1,5 @@
1
+ Django>=3.1,<4.0
2
+ requests
3
+ pyyaml
4
+ pytest
5
+ numpy==1.23.0
@@ -0,0 +1,2 @@
1
+ django>=3.1,<4.0
2
+ numpy==1.23.0
@@ -0,0 +1,16 @@
1
+ #
2
+ # This file is autogenerated by pip-compile with python 3.10
3
+ # To update, run:
4
+ #
5
+ # pip-compile
6
+ #
7
+ asgiref==3.5.2
8
+ # via django
9
+ django==3.2.14
10
+ # via -r requirements.in
11
+ numpy==1.23.0
12
+ # via -r requirements.in
13
+ pytz==2022.1
14
+ # via django
15
+ sqlparse==0.4.2
16
+ # via django
@@ -0,0 +1,13 @@
1
+ [[source]]
2
+ url = "https://pypi.python.org/simple"
3
+ verify_ssl = true
4
+ name = "pypi"
5
+
6
+ [packages]
7
+ django = "==3.2.10"
8
+ numpy = "1.23.0"
9
+
10
+ [dev-packages]
11
+
12
+ [requires]
13
+ python_version = "3.8"
@@ -0,0 +1,86 @@
1
+ {
2
+ "_meta": {
3
+ "hash": {
4
+ "sha256": "fbee2ba72522ddada4efb2e9963b8e64679a1b72bb6389fd49f0f44a23dd49ec"
5
+ },
6
+ "pipfile-spec": 6,
7
+ "requires": {
8
+ "python_version": "3.8"
9
+ },
10
+ "sources": [
11
+ {
12
+ "name": "pypi",
13
+ "url": "https://pypi.python.org/simple",
14
+ "verify_ssl": true
15
+ }
16
+ ]
17
+ },
18
+ "default": {
19
+ "asgiref": {
20
+ "hashes": [
21
+ "sha256:1d2880b792ae8757289136f1db2b7b99100ce959b2aa57fd69dab783d05afac4",
22
+ "sha256:4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424"
23
+ ],
24
+ "markers": "python_version >= '3.7'",
25
+ "version": "==3.5.2"
26
+ },
27
+ "django": {
28
+ "hashes": [
29
+ "sha256:074e8818b4b40acdc2369e67dcd6555d558329785408dcd25340ee98f1f1d5c4",
30
+ "sha256:df6f5eb3c797b27c096d61494507b7634526d4ce8d7c8ca1e57a4fb19c0738a3"
31
+ ],
32
+ "index": "pypi",
33
+ "version": "==3.2.10"
34
+ },
35
+ "numpy": {
36
+ "hashes": [
37
+ "sha256:17e5226674f6ea79e14e3b91bfbc153fdf3ac13f5cc54ee7bc8fdbe820a32da0",
38
+ "sha256:2bd879d3ca4b6f39b7770829f73278b7c5e248c91d538aab1e506c628353e47f",
39
+ "sha256:4f41f5bf20d9a521f8cab3a34557cd77b6f205ab2116651f12959714494268b0",
40
+ "sha256:5593f67e66dea4e237f5af998d31a43e447786b2154ba1ad833676c788f37cde",
41
+ "sha256:5e28cd64624dc2354a349152599e55308eb6ca95a13ce6a7d5679ebff2962913",
42
+ "sha256:633679a472934b1c20a12ed0c9a6c9eb167fbb4cb89031939bfd03dd9dbc62b8",
43
+ "sha256:806970e69106556d1dd200e26647e9bee5e2b3f1814f9da104a943e8d548ca38",
44
+ "sha256:806cc25d5c43e240db709875e947076b2826f47c2c340a5a2f36da5bb10c58d6",
45
+ "sha256:8247f01c4721479e482cc2f9f7d973f3f47810cbc8c65e38fd1bbd3141cc9842",
46
+ "sha256:8ebf7e194b89bc66b78475bd3624d92980fca4e5bb86dda08d677d786fefc414",
47
+ "sha256:8ecb818231afe5f0f568c81f12ce50f2b828ff2b27487520d85eb44c71313b9e",
48
+ "sha256:8f9d84a24889ebb4c641a9b99e54adb8cab50972f0166a3abc14c3b93163f074",
49
+ "sha256:909c56c4d4341ec8315291a105169d8aae732cfb4c250fbc375a1efb7a844f8f",
50
+ "sha256:9b83d48e464f393d46e8dd8171687394d39bc5abfe2978896b77dc2604e8635d",
51
+ "sha256:ac987b35df8c2a2eab495ee206658117e9ce867acf3ccb376a19e83070e69418",
52
+ "sha256:b78d00e48261fbbd04aa0d7427cf78d18401ee0abd89c7559bbf422e5b1c7d01",
53
+ "sha256:b8b97a8a87cadcd3f94659b4ef6ec056261fa1e1c3317f4193ac231d4df70215",
54
+ "sha256:bd5b7ccae24e3d8501ee5563e82febc1771e73bd268eef82a1e8d2b4d556ae66",
55
+ "sha256:bdc02c0235b261925102b1bd586579b7158e9d0d07ecb61148a1799214a4afd5",
56
+ "sha256:be6b350dfbc7f708d9d853663772a9310783ea58f6035eec649fb9c4371b5389",
57
+ "sha256:c403c81bb8ffb1c993d0165a11493fd4bf1353d258f6997b3ee288b0a48fce77",
58
+ "sha256:cf8c6aed12a935abf2e290860af8e77b26a042eb7f2582ff83dc7ed5f963340c",
59
+ "sha256:d98addfd3c8728ee8b2c49126f3c44c703e2b005d4a95998e2167af176a9e722",
60
+ "sha256:dc76bca1ca98f4b122114435f83f1fcf3c0fe48e4e6f660e07996abf2f53903c",
61
+ "sha256:dec198619b7dbd6db58603cd256e092bcadef22a796f778bf87f8592b468441d",
62
+ "sha256:df28dda02c9328e122661f399f7655cdcbcf22ea42daa3650a26bce08a187450",
63
+ "sha256:e603ca1fb47b913942f3e660a15e55a9ebca906857edfea476ae5f0fe9b457d5",
64
+ "sha256:ecfdd68d334a6b97472ed032b5b37a30d8217c097acfff15e8452c710e775524"
65
+ ],
66
+ "index": "pypi",
67
+ "version": "==1.23.2"
68
+ },
69
+ "pytz": {
70
+ "hashes": [
71
+ "sha256:220f481bdafa09c3955dfbdddb7b57780e9a94f5127e35456a48589b9e0c0197",
72
+ "sha256:cea221417204f2d1a2aa03ddae3e867921971d0d76f14d87abb4414415bbdcf5"
73
+ ],
74
+ "version": "==2022.2.1"
75
+ },
76
+ "sqlparse": {
77
+ "hashes": [
78
+ "sha256:0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae",
79
+ "sha256:48719e356bb8b42991bdbb1e8b83223757b93789c00910a616a071910ca4a64d"
80
+ ],
81
+ "markers": "python_version >= '3.5'",
82
+ "version": "==0.4.2"
83
+ }
84
+ },
85
+ "develop": {}
86
+ }
@@ -0,0 +1,33 @@
1
+ [[package]]
2
+ name = "numpy"
3
+ version = "1.23.0"
4
+ description = "NumPy is the fundamental package for array computing with Python."
5
+ category = "main"
6
+ optional = false
7
+ python-versions = ">=3.8"
8
+
9
+ [[package]]
10
+ name = "pyyaml"
11
+ version = "6.0"
12
+ description = "YAML parser and emitter for Python"
13
+ category = "main"
14
+ optional = false
15
+ python-versions = ">=3.6"
16
+
17
+ [[package]]
18
+ name = "toml"
19
+ version = "0.10.0"
20
+ description = "Python Library for Tom's Obvious, Minimal Language"
21
+ category = "main"
22
+ optional = false
23
+ python-versions = "*"
24
+
25
+ [metadata]
26
+ lock-version = "1.1"
27
+ python-versions = "~3.10"
28
+ content-hash = "fe2d1c331825f890d01f119bf7347a44f66e8b5f5eb594b18e389bd63d618410"
29
+
30
+ [metadata.files]
31
+ numpy = []
32
+ pyyaml = []
33
+ toml = []
@@ -0,0 +1,18 @@
1
+ [tool.poetry]
2
+ name = "devproj"
3
+ version = "0.1.0"
4
+ description = ""
5
+ authors = ["Your Name <you@example.com>"]
6
+
7
+ [tool.poetry.dependencies]
8
+ python = "~3.10"
9
+ toml = "0.10.0"
10
+ PyYAML = "^6.0"
11
+ numpy = "1.23.0"
12
+
13
+ [tool.poetry.dev-dependencies]
14
+
15
+ [build-system]
16
+ requires = ["poetry-core>=1.0.0"]
17
+ build-backend = "poetry.core.masonry.api"
18
+
@@ -0,0 +1,40 @@
1
+ # Generated by pub
2
+ # See https://dart.dev/tools/pub/glossary#lockfile
3
+ packages:
4
+ collection:
5
+ dependency: "direct main"
6
+ description:
7
+ name: collection
8
+ url: "https://pub.dartlang.org"
9
+ source: hosted
10
+ version: "1.14.13"
11
+ fixnum:
12
+ dependency: "direct main"
13
+ description:
14
+ name: fixnum
15
+ url: "https://pub.dartlang.org"
16
+ source: hosted
17
+ version: "0.10.11"
18
+ path:
19
+ dependency: "direct main"
20
+ description:
21
+ name: path
22
+ url: "https://pub.dartlang.org"
23
+ source: hosted
24
+ version: "1.8.1"
25
+ protobuf:
26
+ dependency: "direct main"
27
+ description:
28
+ name: protobuf
29
+ url: "https://pub.dartlang.org"
30
+ source: hosted
31
+ version: "1.1.4"
32
+ retry:
33
+ dependency: "direct main"
34
+ description:
35
+ name: retry
36
+ url: "https://pub.dartlang.org"
37
+ source: hosted
38
+ version: "2.0.0"
39
+ sdks:
40
+ dart: ">=2.12.0 <3.0.0"
@@ -0,0 +1,10 @@
1
+ name: dependabot_testcase
2
+ environment:
3
+ sdk: '>=2.12.0 <3.0.0'
4
+ dependencies:
5
+ collection: ^1.14.13 # Locked to 1.14.13, can update with no unlock.
6
+ retry: ^2.0.0 # Can update with updated constraint, no further constraints.
7
+ protobuf: 1.1.4 # Can update with updated constraint, only together with fixnum.
8
+ fixnum: 0.10.11
9
+ path: 1.8.1 # Already at latest
10
+
@@ -0,0 +1,143 @@
1
+ module "origin_label" {
2
+ source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.7"
3
+ namespace = "${var.namespace}"
4
+ stage = "${var.stage}"
5
+ name = "${var.name}"
6
+ delimiter = "${var.delimiter}"
7
+ attributes = ["${compact(concat(var.attributes, list("origin")))}"]
8
+ tags = "${var.tags}"
9
+ }
10
+
11
+ resource "aws_cloudfront_origin_access_identity" "default" {
12
+ comment = "${module.distribution_label.id}"
13
+ }
14
+
15
+ module "logs" {
16
+ source = "github.com/cloudposse/terraform-aws-s3-log-storage.git?ref=tags/0.2.2"
17
+ namespace = "${var.namespace}"
18
+ stage = "${var.stage}"
19
+ name = "${var.name}"
20
+ delimiter = "${var.delimiter}"
21
+ attributes = ["${compact(concat(var.attributes, list("origin", "logs")))}"]
22
+ tags = "${var.tags}"
23
+ prefix = "${var.log_prefix}"
24
+ standard_transition_days = "${var.log_standard_transition_days}"
25
+ glacier_transition_days = "${var.log_glacier_transition_days}"
26
+ expiration_days = "${var.log_expiration_days}"
27
+ }
28
+
29
+ module "distribution_label" {
30
+ source = "github.com/cloudposse/terraform-null-label.git"
31
+ namespace = "${var.namespace}"
32
+ stage = "${var.stage}"
33
+ name = "${var.name}"
34
+ attributes = "${var.attributes}"
35
+ delimiter = "${var.delimiter}"
36
+ tags = "${var.tags}"
37
+ }
38
+
39
+ resource "aws_cloudfront_distribution" "default" {
40
+ enabled = "${var.enabled}"
41
+ is_ipv6_enabled = "${var.is_ipv6_enabled}"
42
+ comment = "${var.comment}"
43
+ default_root_object = "${var.default_root_object}"
44
+ price_class = "${var.price_class}"
45
+
46
+ logging_config = {
47
+ include_cookies = "${var.log_include_cookies}"
48
+ bucket = "${module.logs.bucket_domain_name}"
49
+ prefix = "${var.log_prefix}"
50
+ }
51
+
52
+ aliases = ["${var.aliases}"]
53
+
54
+ custom_error_response = ["${var.custom_error_response}"]
55
+
56
+ origin {
57
+ domain_name = "${var.origin_domain_name}"
58
+ origin_id = "${module.distribution_label.id}"
59
+ origin_path = "${var.origin_path}"
60
+
61
+ custom_origin_config {
62
+ http_port = "${var.origin_http_port}"
63
+ https_port = "${var.origin_https_port}"
64
+ origin_protocol_policy = "${var.origin_protocol_policy}"
65
+ origin_ssl_protocols = "${var.origin_ssl_protocols}"
66
+ origin_keepalive_timeout = "${var.origin_keepalive_timeout}"
67
+ origin_read_timeout = "${var.origin_read_timeout}"
68
+ }
69
+ }
70
+
71
+ viewer_certificate {
72
+ acm_certificate_arn = "${var.acm_certificate_arn}"
73
+ ssl_support_method = "sni-only"
74
+ minimum_protocol_version = "${var.viewer_minimum_protocol_version}"
75
+ cloudfront_default_certificate = "${var.acm_certificate_arn == "" ? true : false}"
76
+ }
77
+
78
+ default_cache_behavior {
79
+ allowed_methods = "${var.allowed_methods}"
80
+ cached_methods = "${var.cached_methods}"
81
+ target_origin_id = "${module.distribution_label.id}"
82
+ compress = "${var.compress}"
83
+
84
+ forwarded_values {
85
+ headers = ["${var.forward_headers}"]
86
+
87
+ query_string = "${var.forward_query_string}"
88
+
89
+ cookies {
90
+ forward = "${var.forward_cookies}"
91
+ whitelisted_names = ["${var.forward_cookies_whitelisted_names}"]
92
+ }
93
+ }
94
+
95
+ viewer_protocol_policy = "${var.viewer_protocol_policy}"
96
+ default_ttl = "${var.default_ttl}"
97
+ min_ttl = "${var.min_ttl}"
98
+ max_ttl = "${var.max_ttl}"
99
+ }
100
+
101
+ cache_behavior = "${var.cache_behavior}"
102
+
103
+ web_acl_id = "${var.web_acl_id}"
104
+
105
+ restrictions {
106
+ geo_restriction {
107
+ restriction_type = "${var.geo_restriction_type}"
108
+ locations = "${var.geo_restriction_locations}"
109
+ }
110
+ }
111
+
112
+ tags = "${module.distribution_label.tags}"
113
+ }
114
+
115
+ module "dns" {
116
+ source = "git::https://github.com/cloudposse/terraform-cloudflare-zone.git//some/dir?ref=tags/0.2.5"
117
+ enabled = "${var.dns_aliases_enabled}"
118
+ aliases = "${var.aliases}"
119
+ parent_zone_id = "${var.parent_zone_id}"
120
+ parent_zone_name = "${var.parent_zone_name}"
121
+ target_dns_name = "${aws_cloudfront_distribution.default.domain_name}"
122
+ target_zone_id = "${aws_cloudfront_distribution.default.hosted_zone_id}"
123
+ }
124
+
125
+ module "duplicate_label" {
126
+ source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.7"
127
+ namespace = "${var.namespace}"
128
+ stage = "${var.stage}"
129
+ name = "${var.name}"
130
+ delimiter = "${var.delimiter}"
131
+ attributes = ["${compact(concat(var.attributes, list("origin")))}"]
132
+ tags = "${var.tags}"
133
+ }
134
+
135
+ module "github_ssh_without_protocol" {
136
+ source = "git@github.com:cloudposse/terraform-aws-jenkins.git?ref=tags/0.4.0//some/dir"
137
+ namespace = "${var.namespace}"
138
+ stage = "${var.stage}"
139
+ name = "${var.name}"
140
+ delimiter = "${var.delimiter}"
141
+ attributes = ["${compact(concat(var.attributes, list("origin")))}"]
142
+ tags = "${var.tags}"
143
+ }