crono 1.1.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE +2 -3
  3. data/Rakefile +3 -4
  4. data/app/assets/javascripts/crono/materialize.min.js +6 -0
  5. data/app/assets/stylesheets/crono/application.css +26 -0
  6. data/app/assets/stylesheets/crono/materialize.min.css +31 -0
  7. data/app/controllers/crono/application_controller.rb +5 -0
  8. data/app/controllers/crono/jobs_controller.rb +11 -0
  9. data/app/models/crono/application_record.rb +5 -0
  10. data/{lib/crono/orm/active_record → app/models/crono}/crono_job.rb +1 -2
  11. data/app/views/crono/jobs/index.html.erb +50 -0
  12. data/app/views/crono/jobs/show.html.erb +16 -0
  13. data/app/views/layouts/crono/application.html.erb +31 -0
  14. data/{exe → bin}/crono +0 -0
  15. data/config/routes.rb +4 -0
  16. data/lib/crono/cli.rb +3 -20
  17. data/lib/crono/config.rb +2 -3
  18. data/lib/crono/engine.rb +15 -0
  19. data/lib/crono/job.rb +10 -6
  20. data/lib/crono/performer_proxy.rb +2 -2
  21. data/lib/crono/period.rb +6 -5
  22. data/lib/crono/time_of_day.rb +2 -2
  23. data/lib/crono/version.rb +1 -1
  24. data/lib/crono.rb +3 -3
  25. data/lib/generators/crono/install/install_generator.rb +12 -1
  26. data/lib/generators/crono/install/templates/migrations/create_crono_jobs.rb +2 -6
  27. data/spec/assets/bad_cronotab.rb +12 -0
  28. data/spec/assets/good_cronotab.rb +9 -0
  29. data/spec/cli_spec.rb +109 -0
  30. data/spec/config_spec.rb +47 -0
  31. data/spec/crono_spec.rb +7 -0
  32. data/spec/cronotab_spec.rb +20 -0
  33. data/spec/internal/:memory +0 -0
  34. data/{log/.keep → spec/internal/app/assets/config/manifest.js} +0 -0
  35. data/spec/internal/app/controllers/application_controller.rb +3 -0
  36. data/spec/internal/app/controllers/pages_controller.rb +5 -0
  37. data/spec/internal/app/views/pages/index.html.erb +1 -0
  38. data/spec/internal/config/application.rb +22 -0
  39. data/spec/internal/config/boot.rb +5 -0
  40. data/spec/internal/config/database.yml +3 -0
  41. data/spec/internal/config/environment.rb +2 -0
  42. data/spec/internal/config/routes.rb +3 -0
  43. data/spec/internal/config/storage.yml +3 -0
  44. data/spec/internal/db/crono_test.sqlite +0 -0
  45. data/spec/internal/db/schema.rb +10 -0
  46. data/spec/internal/log/test.log +3868 -0
  47. data/{tmp/.gitkeep → spec/internal/public/favicon.ico} +0 -0
  48. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/-5/-5qRtN26mFn5ud6yyw5E5MpFhT61YcDJPMTlAoDLkEs.cache +2 -0
  49. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/-C/-C4fFLLfC1HB9flvtZbgPTj9oNiDtq1bvp8LPbnRv1k.cache +0 -0
  50. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/01/01tpm-y3svQKpsPvOHFWMxWBaG_35EVrgmnB5HKppZw.cache +1 -0
  51. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/0K/0KEVKDTACcfyL6Fl5QZ6qSNOeswfd6FloUlWXQvwsHg.cache +0 -0
  52. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/1F/1FwwOzgRWJEUxIctLIsrhuh9z3QKl1XWDCcdfRhgKPk.cache +2 -0
  53. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/1n/1n5Wp1qC4BYhgEaXBnkRpO1N0oVAwLVdn47Ebk5nduY.cache +1 -0
  54. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/22/22NEh4OGcNmK5Qh9ss73s622T6309DH8zv5ABF6-6Uk.cache +0 -0
  55. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/2n/2nEu77IGZHZPjlliLtJofREUZgmt-DGEhQnGIDMd0vA.cache +1 -0
  56. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/2q/2qyBEUowJIKm_1EF_tbDWLjGDvVCbTjiHtRX_PEVn-U.cache +1 -0
  57. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/3k/3khLNNSEoPg-2idoNmihX2Ba1loklzJsXvSRXujPaRk.cache +1 -0
  58. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/7A/7A_YhyGyNk4Me5J0-p-XwK0qelTclb_2WX5pq0eY9dY.cache +1 -0
  59. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/8d/8daZARHc9PDr5TZ5fqfR-_vJ5kCRzsZQKhQxFkrg_XI.cache +0 -0
  60. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/90/90vzKM32bOX3CR_IP7i2_AHgZSmn82XN_9gLyqidtUc.cache +2 -0
  61. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/9V/9V7dOKixQfEwAEIweL7rD4CUSL51MqiMeB67I5xhwXs.cache +0 -0
  62. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/9a/9aYqlHyIyZYckdfIJ3GbxrCRrsRgbc0wfZBCfd1lVWE.cache +0 -0
  63. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Ac/AcdbxQ2RjSGjrVJSdCjS-HN_RI3GZbW86dZGhSD8Ots.cache +0 -0
  64. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Cj/Cjzu7j1PyqHJD0alH5TiAYfJDN0Zbxhg4zFZegEzuYM.cache +3 -0
  65. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/DC/DC_euXbiKWPXx4qSkPGLNU4C2RIvjMBWliBrTgl6Mqo.cache +1 -0
  66. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Db/DboywI_AoqjU7aQB5p90ZP76JW8sinmm4tMgjEG8Iu8.cache +1 -0
  67. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Dz/DzN3uO_usT53JAsXp4Td8TcNu4kjXPgqTUbLJUG7220.cache +0 -0
  68. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/F3/F3BxEXMKcd4KO0HPnLrN1g6pJIJ_iQXCz9vW--uEixY.cache +1 -0
  69. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/FE/FEVuJQTU_YF19u2IzUvuuYlUOoKsyk4JA9kX5UCIelU.cache +2 -0
  70. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/GG/GGT27f9SL2RsHpi8_pEJ1NHNgLBqDui3sDZOTgeD8z0.cache +0 -0
  71. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Gj/Gj2Go21wf2SZAnyJXKNSGfiGzYXAtrIdSHB2wuGrB6k.cache +0 -0
  72. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Hi/HicniSJ1JdM-SmZBY-KtuXL6pubtiugbtOJ-qF07hfk.cache +1 -0
  73. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Hm/HmvhHkuG82Y4O19j_mfQOw9Q4VEq5hW1Ny0Pzh3gY00.cache +3 -0
  74. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Ic/IcQIS6wTKG3ZKN6foQYUMxNU4dNQRhrAdwVrAi8u11k.cache +0 -0
  75. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Kz/KzqcEtJH4QmChDeq7W5WHCOe_NOjqNrAWOzOI0b0RrU.cache +0 -0
  76. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/LE/LE5Is_h8o9DKajRisizRsovSfpVc8T-Z_xScq0YxBMg.cache +1 -0
  77. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Mc/Mcvqw-yzpBv2GpUMmKfPZed-6wXUYd8rDdGJ12xAEsA.cache +0 -0
  78. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Nn/NneCOb3TsKS1FT6ImmBbFe5UuI_LxAmaYyk5o3st8jc.cache +1 -0
  79. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Ro/RogqNsDfrMolvoqWLn8lCbweCzxIhN-fgXnLfBMFo8A.cache +0 -0
  80. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/T9/T9uigSdiu4wxaUieqeBq4uQYRdwGsT2acN15p0osfMU.cache +3 -0
  81. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/TH/THqp0Tr7zg3pz3WISBe0_u-QcPXHIesH0WlH_6zKzco.cache +1 -0
  82. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/VF/VFaPzl3--nBqsNzvUgJUt2TjANPLzaelSx_eOc_J090.cache +1 -0
  83. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/XG/XG0dD9kx-qBYVC-WwhzECOTsSICqvnAqLOCq1JWWrRI.cache +2 -0
  84. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/ZT/ZTJFqWngu6gOr5GuiqAV52YNHRuJeuwQelNDhtm8pKU.cache +1 -0
  85. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/ZT/zT_x9gWE8eLO9s8Ul_dtwvAqzekg3DpeuSRkQepkKJ4.cache +2 -0
  86. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/aW/aWSe6QsJ8Dk7ZAuTOYgjegrAoC2XYQtCCeo9KVzVVQs.cache +2 -0
  87. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/at/ataSdIHBESkY5GN7sMG-XyOftCkIWDK0QaKEewVkqIU.cache +2 -0
  88. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/au/aukwvh3eZhFFGyc5qZWT9KMJQHxFrTDEqfjXr4VM4dc.cache +3 -0
  89. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/bu/bu6XdfzbXfiTnSQ_6Shml3tpB7ovoUAcuCGNs-eYehI.cache +3 -0
  90. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/c2/c2yubRDZmdi6tFc__QitGtUTkpKt0Goc7FNKhRNw0Uk.cache +2 -0
  91. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/fu/fuVeiMpLNyElLwjOR6EBQP7-ZUwuJTsQe_Ie11TlX7Y.cache +3 -0
  92. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/hY/hY9drCAzyxN-KBhXav5VLmk4-AFlKT2yguKNLm7wGsA.cache +3 -0
  93. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/hg/hgkvHB4OV3E0Gq-Ud_lH2ljTzyb-8nGquMAFTBr4O0o.cache +2 -0
  94. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/jV/jVXcSpsjtyBHtJaFkxwLVcVm79OT5CVEA9XuzV01O2o.cache +2 -0
  95. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/kK/kKAy2xIb8ozBaCVqr7LkIsO3-78l5U08uq1Ot7JvES0.cache +0 -0
  96. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/kU/kUed8S8DBmWvnTdMtg0PzTYj51Rbq9R9yfr6bhPzp2I.cache +1 -0
  97. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/kw/kwNFhW24nxXy_HfVKYdXJyRqhu7ljgl9wR2DcJUo-nA.cache +3 -0
  98. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/ls/ls-nV5B50MgpIYfcYZWWWjiNsU2tD2DrEbiiEmGtArk.cache +0 -0
  99. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/m4/m47fbWgjCvvfU0XLMaGJE1zb9zh2STuMZFp7umYjLTA.cache +1 -0
  100. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/m_/m_VPZpr_Dhvko_jzP2-4VRhDpknOtciX8pqAq3jY4P8.cache +3 -0
  101. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/n5/n5rslESPawJxj7Ii3QNWxFl-2sUJE4leiEyzbuFE9Mc.cache +1 -0
  102. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/nz/nzkJWHKhKCtwI9w3TBcwyGzKEik4UFYwulf2jO7xPXc.cache +2 -0
  103. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/o4/o42lMuA3eKF-eY5RsJO4kHIGfba2QHOCO0b9rz5iNIU.cache +0 -0
  104. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/oF/oFrXjOEKX9hseSPY19vWwGHfET4QpdjGD5UdFIEN8mo.cache +0 -0
  105. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/od/od3K7nGVNq7YsrTVF7ItWWkHs8F_XEGn_BlCD5wW_gc.cache +1 -0
  106. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/qo/qoEv51qzi0h4mpNP5B4vQydW2FmhC_vbbx6vWJ99Jls.cache +1 -0
  107. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/tQ/tQ-nAfm23F-ckwkWPuftbJS6tumDQhNxQgPIZSrfPM0.cache +1 -0
  108. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/tr/trn1zjMZoBOIgSYgI84OzddhfICB2KnU4XbV8axLVGo.cache +1 -0
  109. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/u3/u3VRW5zPBM7BcNRi3G4B8M6CdscKSLJ3xYmp44ekmjU.cache +0 -0
  110. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/uG/UgcLSZ8AKbE1AYf75cSUXI6uefPECNfBcVQ7L0BDzHg.cache +3 -0
  111. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/uG/uGhNDzX7DxymN3xqHLHTndSae3bN0A-MlTk05m6wV4A.cache +1 -0
  112. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/wF/wFT7zoeQQwz-V8syWaS01xr7xgZWr3UNQLWbYSKXirw.cache +1 -0
  113. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/wN/wNw4kAG0E_RrvLeFAizMmTp_0jh-HGw1ONLtRyw92z0.cache +2 -0
  114. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/x-/x-qCUFpNxK1jTHH2qV_VgVk_KrGKdHzNGOnDMVFstuQ.cache +1 -0
  115. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/yk/ykU9I1MzGh7clO4pu853ZKl4LtMlDtyr8BjpiozFQ8E.cache +2 -0
  116. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/yk/ykWLbyEuqa0JHcwHJ-SdVxv4ImwnymlVxvbPKtk6HUM.cache +1 -0
  117. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/zO/zOr1jCikukgv8-bNHvK43vGLa3CSjtmiwf2K7dUjTnw.cache +0 -0
  118. data/spec/job_spec.rb +183 -0
  119. data/spec/models/crono/crono_job_spec.rb +31 -0
  120. data/spec/performer_proxy_spec.rb +39 -0
  121. data/spec/period_spec.rb +141 -0
  122. data/spec/rails_helper.rb +89 -0
  123. data/spec/scheduler_spec.rb +62 -0
  124. data/spec/spec_helper.rb +19 -0
  125. data/spec/tasks/crono_tasks_spec.rb +23 -0
  126. data/spec/web_spec.rb +61 -0
  127. metadata +233 -68
  128. data/.gitignore +0 -10
  129. data/.rspec +0 -2
  130. data/.travis.yml +0 -14
  131. data/Changes.md +0 -88
  132. data/Gemfile +0 -4
  133. data/Gemfile.lock +0 -78
  134. data/NOTICE +0 -2
  135. data/README.md +0 -218
  136. data/bin/console +0 -14
  137. data/bin/setup +0 -7
  138. data/crono.gemspec +0 -34
  139. data/examples/crono_web_ui.png +0 -0
  140. data/examples/cronotab.rb +0 -14
  141. data/examples/monitrc.conf +0 -6
  142. data/lib/crono/web.rb +0 -22
  143. data/web/assets/css/custom.css +0 -19
  144. data/web/assets/css/materialize.min.css +0 -16
  145. data/web/assets/font/material-design-icons/LICENSE.txt +0 -428
  146. data/web/assets/font/material-design-icons/Material-Design-Icons.eot +0 -0
  147. data/web/assets/font/material-design-icons/Material-Design-Icons.svg +0 -751
  148. data/web/assets/font/material-design-icons/Material-Design-Icons.ttf +0 -0
  149. data/web/assets/font/material-design-icons/Material-Design-Icons.woff +0 -0
  150. data/web/assets/font/material-design-icons/Material-Design-Icons.woff2 +0 -0
  151. data/web/assets/font/roboto/Roboto-Bold.ttf +0 -0
  152. data/web/assets/font/roboto/Roboto-Bold.woff +0 -0
  153. data/web/assets/font/roboto/Roboto-Bold.woff2 +0 -0
  154. data/web/assets/font/roboto/Roboto-Light.ttf +0 -0
  155. data/web/assets/font/roboto/Roboto-Light.woff +0 -0
  156. data/web/assets/font/roboto/Roboto-Light.woff2 +0 -0
  157. data/web/assets/font/roboto/Roboto-Medium.ttf +0 -0
  158. data/web/assets/font/roboto/Roboto-Medium.woff +0 -0
  159. data/web/assets/font/roboto/Roboto-Medium.woff2 +0 -0
  160. data/web/assets/font/roboto/Roboto-Regular.ttf +0 -0
  161. data/web/assets/font/roboto/Roboto-Regular.woff +0 -0
  162. data/web/assets/font/roboto/Roboto-Regular.woff2 +0 -0
  163. data/web/assets/font/roboto/Roboto-Thin.ttf +0 -0
  164. data/web/assets/font/roboto/Roboto-Thin.woff +0 -0
  165. data/web/assets/font/roboto/Roboto-Thin.woff2 +0 -0
  166. data/web/assets/js/jquery-2.1.3.min.js +0 -4
  167. data/web/assets/js/materialize.min.js +0 -10
  168. data/web/views/dashboard.haml +0 -36
  169. data/web/views/job.haml +0 -15
  170. data/web/views/layout.haml +0 -29
@@ -1,428 +0,0 @@
1
- https://github.com/google/material-design-icons/blob/master/LICENSE
2
- https://github.com/FezVrasta/bootstrap-material-design/blob/master/fonts/LICENSE.txt
3
-
4
- Attribution-ShareAlike 4.0 International
5
-
6
- =======================================================================
7
-
8
- Creative Commons Corporation ("Creative Commons") is not a law firm and
9
- does not provide legal services or legal advice. Distribution of
10
- Creative Commons public licenses does not create a lawyer-client or
11
- other relationship. Creative Commons makes its licenses and related
12
- information available on an "as-is" basis. Creative Commons gives no
13
- warranties regarding its licenses, any material licensed under their
14
- terms and conditions, or any related information. Creative Commons
15
- disclaims all liability for damages resulting from their use to the
16
- fullest extent possible.
17
-
18
- Using Creative Commons Public Licenses
19
-
20
- Creative Commons public licenses provide a standard set of terms and
21
- conditions that creators and other rights holders may use to share
22
- original works of authorship and other material subject to copyright
23
- and certain other rights specified in the public license below. The
24
- following considerations are for informational purposes only, are not
25
- exhaustive, and do not form part of our licenses.
26
-
27
- Considerations for licensors: Our public licenses are
28
- intended for use by those authorized to give the public
29
- permission to use material in ways otherwise restricted by
30
- copyright and certain other rights. Our licenses are
31
- irrevocable. Licensors should read and understand the terms
32
- and conditions of the license they choose before applying it.
33
- Licensors should also secure all rights necessary before
34
- applying our licenses so that the public can reuse the
35
- material as expected. Licensors should clearly mark any
36
- material not subject to the license. This includes other CC-
37
- licensed material, or material used under an exception or
38
- limitation to copyright. More considerations for licensors:
39
- wiki.creativecommons.org/Considerations_for_licensors
40
-
41
- Considerations for the public: By using one of our public
42
- licenses, a licensor grants the public permission to use the
43
- licensed material under specified terms and conditions. If
44
- the licensor's permission is not necessary for any reason--for
45
- example, because of any applicable exception or limitation to
46
- copyright--then that use is not regulated by the license. Our
47
- licenses grant only permissions under copyright and certain
48
- other rights that a licensor has authority to grant. Use of
49
- the licensed material may still be restricted for other
50
- reasons, including because others have copyright or other
51
- rights in the material. A licensor may make special requests,
52
- such as asking that all changes be marked or described.
53
- Although not required by our licenses, you are encouraged to
54
- respect those requests where reasonable. More_considerations
55
- for the public:
56
- wiki.creativecommons.org/Considerations_for_licensees
57
-
58
- =======================================================================
59
-
60
- Creative Commons Attribution-ShareAlike 4.0 International Public
61
- License
62
-
63
- By exercising the Licensed Rights (defined below), You accept and agree
64
- to be bound by the terms and conditions of this Creative Commons
65
- Attribution-ShareAlike 4.0 International Public License ("Public
66
- License"). To the extent this Public License may be interpreted as a
67
- contract, You are granted the Licensed Rights in consideration of Your
68
- acceptance of these terms and conditions, and the Licensor grants You
69
- such rights in consideration of benefits the Licensor receives from
70
- making the Licensed Material available under these terms and
71
- conditions.
72
-
73
-
74
- Section 1 -- Definitions.
75
-
76
- a. Adapted Material means material subject to Copyright and Similar
77
- Rights that is derived from or based upon the Licensed Material
78
- and in which the Licensed Material is translated, altered,
79
- arranged, transformed, or otherwise modified in a manner requiring
80
- permission under the Copyright and Similar Rights held by the
81
- Licensor. For purposes of this Public License, where the Licensed
82
- Material is a musical work, performance, or sound recording,
83
- Adapted Material is always produced where the Licensed Material is
84
- synched in timed relation with a moving image.
85
-
86
- b. Adapter's License means the license You apply to Your Copyright
87
- and Similar Rights in Your contributions to Adapted Material in
88
- accordance with the terms and conditions of this Public License.
89
-
90
- c. BY-SA Compatible License means a license listed at
91
- creativecommons.org/compatiblelicenses, approved by Creative
92
- Commons as essentially the equivalent of this Public License.
93
-
94
- d. Copyright and Similar Rights means copyright and/or similar rights
95
- closely related to copyright including, without limitation,
96
- performance, broadcast, sound recording, and Sui Generis Database
97
- Rights, without regard to how the rights are labeled or
98
- categorized. For purposes of this Public License, the rights
99
- specified in Section 2(b)(1)-(2) are not Copyright and Similar
100
- Rights.
101
-
102
- e. Effective Technological Measures means those measures that, in the
103
- absence of proper authority, may not be circumvented under laws
104
- fulfilling obligations under Article 11 of the WIPO Copyright
105
- Treaty adopted on December 20, 1996, and/or similar international
106
- agreements.
107
-
108
- f. Exceptions and Limitations means fair use, fair dealing, and/or
109
- any other exception or limitation to Copyright and Similar Rights
110
- that applies to Your use of the Licensed Material.
111
-
112
- g. License Elements means the license attributes listed in the name
113
- of a Creative Commons Public License. The License Elements of this
114
- Public License are Attribution and ShareAlike.
115
-
116
- h. Licensed Material means the artistic or literary work, database,
117
- or other material to which the Licensor applied this Public
118
- License.
119
-
120
- i. Licensed Rights means the rights granted to You subject to the
121
- terms and conditions of this Public License, which are limited to
122
- all Copyright and Similar Rights that apply to Your use of the
123
- Licensed Material and that the Licensor has authority to license.
124
-
125
- j. Licensor means the individual(s) or entity(ies) granting rights
126
- under this Public License.
127
-
128
- k. Share means to provide material to the public by any means or
129
- process that requires permission under the Licensed Rights, such
130
- as reproduction, public display, public performance, distribution,
131
- dissemination, communication, or importation, and to make material
132
- available to the public including in ways that members of the
133
- public may access the material from a place and at a time
134
- individually chosen by them.
135
-
136
- l. Sui Generis Database Rights means rights other than copyright
137
- resulting from Directive 96/9/EC of the European Parliament and of
138
- the Council of 11 March 1996 on the legal protection of databases,
139
- as amended and/or succeeded, as well as other essentially
140
- equivalent rights anywhere in the world.
141
-
142
- m. You means the individual or entity exercising the Licensed Rights
143
- under this Public License. Your has a corresponding meaning.
144
-
145
-
146
- Section 2 -- Scope.
147
-
148
- a. License grant.
149
-
150
- 1. Subject to the terms and conditions of this Public License,
151
- the Licensor hereby grants You a worldwide, royalty-free,
152
- non-sublicensable, non-exclusive, irrevocable license to
153
- exercise the Licensed Rights in the Licensed Material to:
154
-
155
- a. reproduce and Share the Licensed Material, in whole or
156
- in part; and
157
-
158
- b. produce, reproduce, and Share Adapted Material.
159
-
160
- 2. Exceptions and Limitations. For the avoidance of doubt, where
161
- Exceptions and Limitations apply to Your use, this Public
162
- License does not apply, and You do not need to comply with
163
- its terms and conditions.
164
-
165
- 3. Term. The term of this Public License is specified in Section
166
- 6(a).
167
-
168
- 4. Media and formats; technical modifications allowed. The
169
- Licensor authorizes You to exercise the Licensed Rights in
170
- all media and formats whether now known or hereafter created,
171
- and to make technical modifications necessary to do so. The
172
- Licensor waives and/or agrees not to assert any right or
173
- authority to forbid You from making technical modifications
174
- necessary to exercise the Licensed Rights, including
175
- technical modifications necessary to circumvent Effective
176
- Technological Measures. For purposes of this Public License,
177
- simply making modifications authorized by this Section 2(a)
178
- (4) never produces Adapted Material.
179
-
180
- 5. Downstream recipients.
181
-
182
- a. Offer from the Licensor -- Licensed Material. Every
183
- recipient of the Licensed Material automatically
184
- receives an offer from the Licensor to exercise the
185
- Licensed Rights under the terms and conditions of this
186
- Public License.
187
-
188
- b. Additional offer from the Licensor -- Adapted Material.
189
- Every recipient of Adapted Material from You
190
- automatically receives an offer from the Licensor to
191
- exercise the Licensed Rights in the Adapted Material
192
- under the conditions of the Adapter's License You apply.
193
-
194
- c. No downstream restrictions. You may not offer or impose
195
- any additional or different terms or conditions on, or
196
- apply any Effective Technological Measures to, the
197
- Licensed Material if doing so restricts exercise of the
198
- Licensed Rights by any recipient of the Licensed
199
- Material.
200
-
201
- 6. No endorsement. Nothing in this Public License constitutes or
202
- may be construed as permission to assert or imply that You
203
- are, or that Your use of the Licensed Material is, connected
204
- with, or sponsored, endorsed, or granted official status by,
205
- the Licensor or others designated to receive attribution as
206
- provided in Section 3(a)(1)(A)(i).
207
-
208
- b. Other rights.
209
-
210
- 1. Moral rights, such as the right of integrity, are not
211
- licensed under this Public License, nor are publicity,
212
- privacy, and/or other similar personality rights; however, to
213
- the extent possible, the Licensor waives and/or agrees not to
214
- assert any such rights held by the Licensor to the limited
215
- extent necessary to allow You to exercise the Licensed
216
- Rights, but not otherwise.
217
-
218
- 2. Patent and trademark rights are not licensed under this
219
- Public License.
220
-
221
- 3. To the extent possible, the Licensor waives any right to
222
- collect royalties from You for the exercise of the Licensed
223
- Rights, whether directly or through a collecting society
224
- under any voluntary or waivable statutory or compulsory
225
- licensing scheme. In all other cases the Licensor expressly
226
- reserves any right to collect such royalties.
227
-
228
-
229
- Section 3 -- License Conditions.
230
-
231
- Your exercise of the Licensed Rights is expressly made subject to the
232
- following conditions.
233
-
234
- a. Attribution.
235
-
236
- 1. If You Share the Licensed Material (including in modified
237
- form), You must:
238
-
239
- a. retain the following if it is supplied by the Licensor
240
- with the Licensed Material:
241
-
242
- i. identification of the creator(s) of the Licensed
243
- Material and any others designated to receive
244
- attribution, in any reasonable manner requested by
245
- the Licensor (including by pseudonym if
246
- designated);
247
-
248
- ii. a copyright notice;
249
-
250
- iii. a notice that refers to this Public License;
251
-
252
- iv. a notice that refers to the disclaimer of
253
- warranties;
254
-
255
- v. a URI or hyperlink to the Licensed Material to the
256
- extent reasonably practicable;
257
-
258
- b. indicate if You modified the Licensed Material and
259
- retain an indication of any previous modifications; and
260
-
261
- c. indicate the Licensed Material is licensed under this
262
- Public License, and include the text of, or the URI or
263
- hyperlink to, this Public License.
264
-
265
- 2. You may satisfy the conditions in Section 3(a)(1) in any
266
- reasonable manner based on the medium, means, and context in
267
- which You Share the Licensed Material. For example, it may be
268
- reasonable to satisfy the conditions by providing a URI or
269
- hyperlink to a resource that includes the required
270
- information.
271
-
272
- 3. If requested by the Licensor, You must remove any of the
273
- information required by Section 3(a)(1)(A) to the extent
274
- reasonably practicable.
275
-
276
- b. ShareAlike.
277
-
278
- In addition to the conditions in Section 3(a), if You Share
279
- Adapted Material You produce, the following conditions also apply.
280
-
281
- 1. The Adapter's License You apply must be a Creative Commons
282
- license with the same License Elements, this version or
283
- later, or a BY-SA Compatible License.
284
-
285
- 2. You must include the text of, or the URI or hyperlink to, the
286
- Adapter's License You apply. You may satisfy this condition
287
- in any reasonable manner based on the medium, means, and
288
- context in which You Share Adapted Material.
289
-
290
- 3. You may not offer or impose any additional or different terms
291
- or conditions on, or apply any Effective Technological
292
- Measures to, Adapted Material that restrict exercise of the
293
- rights granted under the Adapter's License You apply.
294
-
295
-
296
- Section 4 -- Sui Generis Database Rights.
297
-
298
- Where the Licensed Rights include Sui Generis Database Rights that
299
- apply to Your use of the Licensed Material:
300
-
301
- a. for the avoidance of doubt, Section 2(a)(1) grants You the right
302
- to extract, reuse, reproduce, and Share all or a substantial
303
- portion of the contents of the database;
304
-
305
- b. if You include all or a substantial portion of the database
306
- contents in a database in which You have Sui Generis Database
307
- Rights, then the database in which You have Sui Generis Database
308
- Rights (but not its individual contents) is Adapted Material,
309
-
310
- including for purposes of Section 3(b); and
311
- c. You must comply with the conditions in Section 3(a) if You Share
312
- all or a substantial portion of the contents of the database.
313
-
314
- For the avoidance of doubt, this Section 4 supplements and does not
315
- replace Your obligations under this Public License where the Licensed
316
- Rights include other Copyright and Similar Rights.
317
-
318
-
319
- Section 5 -- Disclaimer of Warranties and Limitation of Liability.
320
-
321
- a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
322
- EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
323
- AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
324
- ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
325
- IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
326
- WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
327
- PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
328
- ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
329
- KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
330
- ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
331
-
332
- b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
333
- TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
334
- NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
335
- INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
336
- COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
337
- USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
338
- ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
339
- DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
340
- IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
341
-
342
- c. The disclaimer of warranties and limitation of liability provided
343
- above shall be interpreted in a manner that, to the extent
344
- possible, most closely approximates an absolute disclaimer and
345
- waiver of all liability.
346
-
347
-
348
- Section 6 -- Term and Termination.
349
-
350
- a. This Public License applies for the term of the Copyright and
351
- Similar Rights licensed here. However, if You fail to comply with
352
- this Public License, then Your rights under this Public License
353
- terminate automatically.
354
-
355
- b. Where Your right to use the Licensed Material has terminated under
356
- Section 6(a), it reinstates:
357
-
358
- 1. automatically as of the date the violation is cured, provided
359
- it is cured within 30 days of Your discovery of the
360
- violation; or
361
-
362
- 2. upon express reinstatement by the Licensor.
363
-
364
- For the avoidance of doubt, this Section 6(b) does not affect any
365
- right the Licensor may have to seek remedies for Your violations
366
- of this Public License.
367
-
368
- c. For the avoidance of doubt, the Licensor may also offer the
369
- Licensed Material under separate terms or conditions or stop
370
- distributing the Licensed Material at any time; however, doing so
371
- will not terminate this Public License.
372
-
373
- d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
374
- License.
375
-
376
-
377
- Section 7 -- Other Terms and Conditions.
378
-
379
- a. The Licensor shall not be bound by any additional or different
380
- terms or conditions communicated by You unless expressly agreed.
381
-
382
- b. Any arrangements, understandings, or agreements regarding the
383
- Licensed Material not stated herein are separate from and
384
- independent of the terms and conditions of this Public License.
385
-
386
-
387
- Section 8 -- Interpretation.
388
-
389
- a. For the avoidance of doubt, this Public License does not, and
390
- shall not be interpreted to, reduce, limit, restrict, or impose
391
- conditions on any use of the Licensed Material that could lawfully
392
- be made without permission under this Public License.
393
-
394
- b. To the extent possible, if any provision of this Public License is
395
- deemed unenforceable, it shall be automatically reformed to the
396
- minimum extent necessary to make it enforceable. If the provision
397
- cannot be reformed, it shall be severed from this Public License
398
- without affecting the enforceability of the remaining terms and
399
- conditions.
400
-
401
- c. No term or condition of this Public License will be waived and no
402
- failure to comply consented to unless expressly agreed to by the
403
- Licensor.
404
-
405
- d. Nothing in this Public License constitutes or may be interpreted
406
- as a limitation upon, or waiver of, any privileges and immunities
407
- that apply to the Licensor or You, including from the legal
408
- processes of any jurisdiction or authority.
409
-
410
-
411
- =======================================================================
412
-
413
- Creative Commons is not a party to its public licenses.
414
- Notwithstanding, Creative Commons may elect to apply one of its public
415
- licenses to material it publishes and in those instances will be
416
- considered the "Licensor." Except for the limited purpose of indicating
417
- that material is shared under a Creative Commons public license or as
418
- otherwise permitted by the Creative Commons policies published at
419
- creativecommons.org/policies, Creative Commons does not authorize the
420
- use of the trademark "Creative Commons" or any other trademark or logo
421
- of Creative Commons without its prior written consent including,
422
- without limitation, in connection with any unauthorized modifications
423
- to any of its public licenses or any other arrangements,
424
- understandings, or agreements concerning use of licensed material. For
425
- the avoidance of doubt, this paragraph does not form part of the public
426
- licenses.
427
-
428
- Creative Commons may be contacted at creativecommons.org.