logster 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/lib/logster/version.rb +1 -1
  3. data/logster.gemspec +1 -1
  4. metadata +1 -216
  5. data/bower_components/ember/.bower.json +0 -22
  6. data/bower_components/ember/.gitignore +0 -5
  7. data/bower_components/ember/Makefile +0 -9
  8. data/bower_components/ember/README.md +0 -12
  9. data/bower_components/ember/bower.json +0 -11
  10. data/bower_components/ember/component.json +0 -13
  11. data/bower_components/ember/composer.json +0 -27
  12. data/bower_components/ember/ember-template-compiler.js +0 -320
  13. data/bower_components/ember/ember.js +0 -44267
  14. data/bower_components/ember/ember.min.js +0 -19
  15. data/bower_components/ember/ember.prod.js +0 -42649
  16. data/bower_components/ember/package.json +0 -11
  17. data/bower_components/handlebars/.bower.json +0 -16
  18. data/bower_components/handlebars/.gitignore +0 -2
  19. data/bower_components/handlebars/README.md +0 -11
  20. data/bower_components/handlebars/bower.json +0 -6
  21. data/bower_components/handlebars/component.json +0 -9
  22. data/bower_components/handlebars/composer.json +0 -35
  23. data/bower_components/handlebars/handlebars-source.gemspec +0 -21
  24. data/bower_components/handlebars/handlebars.amd.js +0 -2719
  25. data/bower_components/handlebars/handlebars.amd.min.js +0 -28
  26. data/bower_components/handlebars/handlebars.js +0 -2746
  27. data/bower_components/handlebars/handlebars.js.nuspec +0 -17
  28. data/bower_components/handlebars/handlebars.min.js +0 -28
  29. data/bower_components/handlebars/handlebars.runtime.amd.js +0 -515
  30. data/bower_components/handlebars/handlebars.runtime.amd.min.js +0 -27
  31. data/bower_components/handlebars/handlebars.runtime.js +0 -530
  32. data/bower_components/handlebars/handlebars.runtime.min.js +0 -27
  33. data/bower_components/handlebars/lib/handlebars/source.rb +0 -11
  34. data/bower_components/jquery/.bower.json +0 -37
  35. data/bower_components/jquery/MIT-LICENSE.txt +0 -21
  36. data/bower_components/jquery/bower.json +0 -27
  37. data/bower_components/jquery/dist/jquery.js +0 -9111
  38. data/bower_components/jquery/dist/jquery.min.js +0 -5
  39. data/bower_components/jquery/dist/jquery.min.map +0 -1
  40. data/bower_components/jquery/src/ajax.js +0 -806
  41. data/bower_components/jquery/src/ajax/jsonp.js +0 -89
  42. data/bower_components/jquery/src/ajax/load.js +0 -75
  43. data/bower_components/jquery/src/ajax/parseJSON.js +0 -13
  44. data/bower_components/jquery/src/ajax/parseXML.js +0 -28
  45. data/bower_components/jquery/src/ajax/script.js +0 -64
  46. data/bower_components/jquery/src/ajax/var/nonce.js +0 -5
  47. data/bower_components/jquery/src/ajax/var/rquery.js +0 -3
  48. data/bower_components/jquery/src/ajax/xhr.js +0 -130
  49. data/bower_components/jquery/src/attributes.js +0 -11
  50. data/bower_components/jquery/src/attributes/attr.js +0 -143
  51. data/bower_components/jquery/src/attributes/classes.js +0 -158
  52. data/bower_components/jquery/src/attributes/prop.js +0 -96
  53. data/bower_components/jquery/src/attributes/support.js +0 -35
  54. data/bower_components/jquery/src/attributes/val.js +0 -153
  55. data/bower_components/jquery/src/callbacks.js +0 -205
  56. data/bower_components/jquery/src/core.js +0 -500
  57. data/bower_components/jquery/src/core/access.js +0 -60
  58. data/bower_components/jquery/src/core/init.js +0 -123
  59. data/bower_components/jquery/src/core/parseHTML.js +0 -39
  60. data/bower_components/jquery/src/core/ready.js +0 -96
  61. data/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
  62. data/bower_components/jquery/src/css.js +0 -455
  63. data/bower_components/jquery/src/css/addGetHookIf.js +0 -24
  64. data/bower_components/jquery/src/css/curCSS.js +0 -57
  65. data/bower_components/jquery/src/css/defaultDisplay.js +0 -69
  66. data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  67. data/bower_components/jquery/src/css/support.js +0 -83
  68. data/bower_components/jquery/src/css/swap.js +0 -28
  69. data/bower_components/jquery/src/css/var/cssExpand.js +0 -3
  70. data/bower_components/jquery/src/css/var/getStyles.js +0 -5
  71. data/bower_components/jquery/src/css/var/isHidden.js +0 -13
  72. data/bower_components/jquery/src/css/var/rmargin.js +0 -3
  73. data/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
  74. data/bower_components/jquery/src/data.js +0 -175
  75. data/bower_components/jquery/src/data/Data.js +0 -181
  76. data/bower_components/jquery/src/data/accepts.js +0 -20
  77. data/bower_components/jquery/src/data/var/data_priv.js +0 -5
  78. data/bower_components/jquery/src/data/var/data_user.js +0 -5
  79. data/bower_components/jquery/src/deferred.js +0 -149
  80. data/bower_components/jquery/src/deprecated.js +0 -13
  81. data/bower_components/jquery/src/dimensions.js +0 -50
  82. data/bower_components/jquery/src/effects.js +0 -642
  83. data/bower_components/jquery/src/effects/Tween.js +0 -114
  84. data/bower_components/jquery/src/effects/animatedSelector.js +0 -13
  85. data/bower_components/jquery/src/event.js +0 -859
  86. data/bower_components/jquery/src/event/alias.js +0 -39
  87. data/bower_components/jquery/src/event/support.js +0 -9
  88. data/bower_components/jquery/src/exports/amd.js +0 -18
  89. data/bower_components/jquery/src/exports/global.js +0 -32
  90. data/bower_components/jquery/src/intro.js +0 -44
  91. data/bower_components/jquery/src/jquery.js +0 -36
  92. data/bower_components/jquery/src/manipulation.js +0 -583
  93. data/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
  94. data/bower_components/jquery/src/manipulation/support.js +0 -24
  95. data/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
  96. data/bower_components/jquery/src/offset.js +0 -204
  97. data/bower_components/jquery/src/outro.js +0 -1
  98. data/bower_components/jquery/src/queue.js +0 -142
  99. data/bower_components/jquery/src/queue/delay.js +0 -22
  100. data/bower_components/jquery/src/selector-native.js +0 -171
  101. data/bower_components/jquery/src/selector-sizzle.js +0 -14
  102. data/bower_components/jquery/src/selector.js +0 -1
  103. data/bower_components/jquery/src/serialize.js +0 -111
  104. data/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2015
  105. data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
  106. data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
  107. data/bower_components/jquery/src/traversing.js +0 -200
  108. data/bower_components/jquery/src/traversing/findFilter.js +0 -100
  109. data/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
  110. data/bower_components/jquery/src/var/arr.js +0 -3
  111. data/bower_components/jquery/src/var/class2type.js +0 -4
  112. data/bower_components/jquery/src/var/concat.js +0 -5
  113. data/bower_components/jquery/src/var/hasOwn.js +0 -5
  114. data/bower_components/jquery/src/var/indexOf.js +0 -5
  115. data/bower_components/jquery/src/var/pnum.js +0 -3
  116. data/bower_components/jquery/src/var/push.js +0 -5
  117. data/bower_components/jquery/src/var/rnotwhite.js +0 -3
  118. data/bower_components/jquery/src/var/slice.js +0 -5
  119. data/bower_components/jquery/src/var/strundefined.js +0 -3
  120. data/bower_components/jquery/src/var/support.js +0 -4
  121. data/bower_components/jquery/src/var/toString.js +0 -5
  122. data/bower_components/jquery/src/var/trim.js +0 -3
  123. data/bower_components/jquery/src/wrap.js +0 -78
  124. data/bower_components/lodash/.bower.json +0 -34
  125. data/bower_components/lodash/LICENSE.txt +0 -22
  126. data/bower_components/lodash/bower.json +0 -23
  127. data/bower_components/lodash/dist/lodash.compat.js +0 -7157
  128. data/bower_components/lodash/dist/lodash.compat.min.js +0 -61
  129. data/bower_components/lodash/dist/lodash.js +0 -6785
  130. data/bower_components/lodash/dist/lodash.min.js +0 -56
  131. data/bower_components/lodash/dist/lodash.underscore.js +0 -4979
  132. data/bower_components/lodash/dist/lodash.underscore.min.js +0 -39
  133. data/bower_components/moment/.bower.json +0 -31
  134. data/bower_components/moment/LICENSE +0 -22
  135. data/bower_components/moment/bower.json +0 -20
  136. data/bower_components/moment/lang/ar-ma.js +0 -56
  137. data/bower_components/moment/lang/ar.js +0 -56
  138. data/bower_components/moment/lang/bg.js +0 -86
  139. data/bower_components/moment/lang/br.js +0 -107
  140. data/bower_components/moment/lang/bs.js +0 -139
  141. data/bower_components/moment/lang/ca.js +0 -66
  142. data/bower_components/moment/lang/cs.js +0 -155
  143. data/bower_components/moment/lang/cv.js +0 -59
  144. data/bower_components/moment/lang/cy.js +0 -77
  145. data/bower_components/moment/lang/da.js +0 -56
  146. data/bower_components/moment/lang/de.js +0 -71
  147. data/bower_components/moment/lang/el.js +0 -79
  148. data/bower_components/moment/lang/en-au.js +0 -62
  149. data/bower_components/moment/lang/en-ca.js +0 -59
  150. data/bower_components/moment/lang/en-gb.js +0 -63
  151. data/bower_components/moment/lang/eo.js +0 -65
  152. data/bower_components/moment/lang/es.js +0 -75
  153. data/bower_components/moment/lang/et.js +0 -76
  154. data/bower_components/moment/lang/eu.js +0 -60
  155. data/bower_components/moment/lang/fa.js +0 -97
  156. data/bower_components/moment/lang/fi.js +0 -103
  157. data/bower_components/moment/lang/fo.js +0 -56
  158. data/bower_components/moment/lang/fr-ca.js +0 -54
  159. data/bower_components/moment/lang/fr.js +0 -58
  160. data/bower_components/moment/lang/gl.js +0 -71
  161. data/bower_components/moment/lang/he.js +0 -77
  162. data/bower_components/moment/lang/hi.js +0 -105
  163. data/bower_components/moment/lang/hr.js +0 -140
  164. data/bower_components/moment/lang/hu.js +0 -105
  165. data/bower_components/moment/lang/hy-am.js +0 -113
  166. data/bower_components/moment/lang/id.js +0 -67
  167. data/bower_components/moment/lang/is.js +0 -124
  168. data/bower_components/moment/lang/it.js +0 -59
  169. data/bower_components/moment/lang/ja.js +0 -58
  170. data/bower_components/moment/lang/ka.js +0 -108
  171. data/bower_components/moment/lang/km.js +0 -55
  172. data/bower_components/moment/lang/ko.js +0 -63
  173. data/bower_components/moment/lang/lb.js +0 -160
  174. data/bower_components/moment/lang/lt.js +0 -118
  175. data/bower_components/moment/lang/lv.js +0 -77
  176. data/bower_components/moment/lang/mk.js +0 -86
  177. data/bower_components/moment/lang/ml.js +0 -64
  178. data/bower_components/moment/lang/mr.js +0 -104
  179. data/bower_components/moment/lang/ms-my.js +0 -66
  180. data/bower_components/moment/lang/nb.js +0 -57
  181. data/bower_components/moment/lang/ne.js +0 -105
  182. data/bower_components/moment/lang/nl.js +0 -67
  183. data/bower_components/moment/lang/nn.js +0 -56
  184. data/bower_components/moment/lang/pl.js +0 -98
  185. data/bower_components/moment/lang/pt-br.js +0 -56
  186. data/bower_components/moment/lang/pt.js +0 -60
  187. data/bower_components/moment/lang/ro.js +0 -72
  188. data/bower_components/moment/lang/ru.js +0 -163
  189. data/bower_components/moment/lang/sk.js +0 -156
  190. data/bower_components/moment/lang/sl.js +0 -144
  191. data/bower_components/moment/lang/sq.js +0 -61
  192. data/bower_components/moment/lang/sr-cyr.js +0 -106
  193. data/bower_components/moment/lang/sr.js +0 -106
  194. data/bower_components/moment/lang/sv.js +0 -63
  195. data/bower_components/moment/lang/ta.js +0 -112
  196. data/bower_components/moment/lang/th.js +0 -58
  197. data/bower_components/moment/lang/tl-ph.js +0 -58
  198. data/bower_components/moment/lang/tr.js +0 -93
  199. data/bower_components/moment/lang/tzm-la.js +0 -55
  200. data/bower_components/moment/lang/tzm.js +0 -55
  201. data/bower_components/moment/lang/uk.js +0 -157
  202. data/bower_components/moment/lang/uz.js +0 -55
  203. data/bower_components/moment/lang/vi.js +0 -62
  204. data/bower_components/moment/lang/zh-cn.js +0 -108
  205. data/bower_components/moment/lang/zh-tw.js +0 -84
  206. data/bower_components/moment/min/langs.js +0 -5991
  207. data/bower_components/moment/min/langs.min.js +0 -3
  208. data/bower_components/moment/min/moment-with-langs.js +0 -7993
  209. data/bower_components/moment/min/moment-with-langs.min.js +0 -9
  210. data/bower_components/moment/min/moment.min.js +0 -6
  211. data/bower_components/moment/moment.js +0 -2489
  212. data/bower_components/moment/readme.md +0 -368
  213. data/website/Gemfile +0 -6
  214. data/website/config.ru +0 -2
  215. data/website/data/data.json +0 -1
  216. data/website/docker_container/logster.yml +0 -95
  217. data/website/sample.rb +0 -85
  218. data/website/scripts/persist_logs.rb +0 -13
@@ -1,56 +0,0 @@
1
- // moment.js language configuration
2
- // language : norwegian nynorsk (nn)
3
- // author : https://github.com/mechuwind
4
-
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory(window.moment); // Browser global
12
- }
13
- }(function (moment) {
14
- return moment.lang('nn', {
15
- months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
16
- monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
17
- weekdays : "sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),
18
- weekdaysShort : "sun_mån_tys_ons_tor_fre_lau".split("_"),
19
- weekdaysMin : "su_må_ty_on_to_fr_lø".split("_"),
20
- longDateFormat : {
21
- LT : "HH:mm",
22
- L : "DD.MM.YYYY",
23
- LL : "D MMMM YYYY",
24
- LLL : "D MMMM YYYY LT",
25
- LLLL : "dddd D MMMM YYYY LT"
26
- },
27
- calendar : {
28
- sameDay: '[I dag klokka] LT',
29
- nextDay: '[I morgon klokka] LT',
30
- nextWeek: 'dddd [klokka] LT',
31
- lastDay: '[I går klokka] LT',
32
- lastWeek: '[Føregåande] dddd [klokka] LT',
33
- sameElse: 'L'
34
- },
35
- relativeTime : {
36
- future : "om %s",
37
- past : "for %s sidan",
38
- s : "nokre sekund",
39
- m : "eit minutt",
40
- mm : "%d minutt",
41
- h : "ein time",
42
- hh : "%d timar",
43
- d : "ein dag",
44
- dd : "%d dagar",
45
- M : "ein månad",
46
- MM : "%d månader",
47
- y : "eit år",
48
- yy : "%d år"
49
- },
50
- ordinal : '%d.',
51
- week : {
52
- dow : 1, // Monday is the first day of the week.
53
- doy : 4 // The week that contains Jan 4th is the first week of the year.
54
- }
55
- });
56
- }));
@@ -1,98 +0,0 @@
1
- // moment.js language configuration
2
- // language : polish (pl)
3
- // author : Rafal Hirsz : https://github.com/evoL
4
-
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory(window.moment); // Browser global
12
- }
13
- }(function (moment) {
14
- var monthsNominative = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
15
- monthsSubjective = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");
16
-
17
- function plural(n) {
18
- return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
19
- }
20
-
21
- function translate(number, withoutSuffix, key) {
22
- var result = number + " ";
23
- switch (key) {
24
- case 'm':
25
- return withoutSuffix ? 'minuta' : 'minutę';
26
- case 'mm':
27
- return result + (plural(number) ? 'minuty' : 'minut');
28
- case 'h':
29
- return withoutSuffix ? 'godzina' : 'godzinę';
30
- case 'hh':
31
- return result + (plural(number) ? 'godziny' : 'godzin');
32
- case 'MM':
33
- return result + (plural(number) ? 'miesiące' : 'miesięcy');
34
- case 'yy':
35
- return result + (plural(number) ? 'lata' : 'lat');
36
- }
37
- }
38
-
39
- return moment.lang('pl', {
40
- months : function (momentToFormat, format) {
41
- if (/D MMMM/.test(format)) {
42
- return monthsSubjective[momentToFormat.month()];
43
- } else {
44
- return monthsNominative[momentToFormat.month()];
45
- }
46
- },
47
- monthsShort : "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
48
- weekdays : "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
49
- weekdaysShort : "nie_pon_wt_śr_czw_pt_sb".split("_"),
50
- weekdaysMin : "N_Pn_Wt_Śr_Cz_Pt_So".split("_"),
51
- longDateFormat : {
52
- LT : "HH:mm",
53
- L : "DD.MM.YYYY",
54
- LL : "D MMMM YYYY",
55
- LLL : "D MMMM YYYY LT",
56
- LLLL : "dddd, D MMMM YYYY LT"
57
- },
58
- calendar : {
59
- sameDay: '[Dziś o] LT',
60
- nextDay: '[Jutro o] LT',
61
- nextWeek: '[W] dddd [o] LT',
62
- lastDay: '[Wczoraj o] LT',
63
- lastWeek: function () {
64
- switch (this.day()) {
65
- case 0:
66
- return '[W zeszłą niedzielę o] LT';
67
- case 3:
68
- return '[W zeszłą środę o] LT';
69
- case 6:
70
- return '[W zeszłą sobotę o] LT';
71
- default:
72
- return '[W zeszły] dddd [o] LT';
73
- }
74
- },
75
- sameElse: 'L'
76
- },
77
- relativeTime : {
78
- future : "za %s",
79
- past : "%s temu",
80
- s : "kilka sekund",
81
- m : translate,
82
- mm : translate,
83
- h : translate,
84
- hh : translate,
85
- d : "1 dzień",
86
- dd : '%d dni',
87
- M : "miesiąc",
88
- MM : translate,
89
- y : "rok",
90
- yy : translate
91
- },
92
- ordinal : '%d.',
93
- week : {
94
- dow : 1, // Monday is the first day of the week.
95
- doy : 4 // The week that contains Jan 4th is the first week of the year.
96
- }
97
- });
98
- }));
@@ -1,56 +0,0 @@
1
- // moment.js language configuration
2
- // language : brazilian portuguese (pt-br)
3
- // author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
4
-
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory(window.moment); // Browser global
12
- }
13
- }(function (moment) {
14
- return moment.lang('pt-br', {
15
- months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
16
- monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
17
- weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
18
- weekdaysShort : "dom_seg_ter_qua_qui_sex_sáb".split("_"),
19
- weekdaysMin : "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
20
- longDateFormat : {
21
- LT : "HH:mm",
22
- L : "DD/MM/YYYY",
23
- LL : "D [de] MMMM [de] YYYY",
24
- LLL : "D [de] MMMM [de] YYYY [às] LT",
25
- LLLL : "dddd, D [de] MMMM [de] YYYY [às] LT"
26
- },
27
- calendar : {
28
- sameDay: '[Hoje às] LT',
29
- nextDay: '[Amanhã às] LT',
30
- nextWeek: 'dddd [às] LT',
31
- lastDay: '[Ontem às] LT',
32
- lastWeek: function () {
33
- return (this.day() === 0 || this.day() === 6) ?
34
- '[Último] dddd [às] LT' : // Saturday + Sunday
35
- '[Última] dddd [às] LT'; // Monday - Friday
36
- },
37
- sameElse: 'L'
38
- },
39
- relativeTime : {
40
- future : "em %s",
41
- past : "%s atrás",
42
- s : "segundos",
43
- m : "um minuto",
44
- mm : "%d minutos",
45
- h : "uma hora",
46
- hh : "%d horas",
47
- d : "um dia",
48
- dd : "%d dias",
49
- M : "um mês",
50
- MM : "%d meses",
51
- y : "um ano",
52
- yy : "%d anos"
53
- },
54
- ordinal : '%dº'
55
- });
56
- }));
@@ -1,60 +0,0 @@
1
- // moment.js language configuration
2
- // language : portuguese (pt)
3
- // author : Jefferson : https://github.com/jalex79
4
-
5
- (function (factory) {
6
- if (typeof define === 'function' && define.amd) {
7
- define(['moment'], factory); // AMD
8
- } else if (typeof exports === 'object') {
9
- module.exports = factory(require('../moment')); // Node
10
- } else {
11
- factory(window.moment); // Browser global
12
- }
13
- }(function (moment) {
14
- return moment.lang('pt', {
15
- months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
16
- monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
17
- weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
18
- weekdaysShort : "dom_seg_ter_qua_qui_sex_sáb".split("_"),
19
- weekdaysMin : "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
20
- longDateFormat : {
21
- LT : "HH:mm",
22
- L : "DD/MM/YYYY",
23
- LL : "D [de] MMMM [de] YYYY",
24
- LLL : "D [de] MMMM [de] YYYY LT",
25
- LLLL : "dddd, D [de] MMMM [de] YYYY LT"
26
- },
27
- calendar : {
28
- sameDay: '[Hoje às] LT',
29
- nextDay: '[Amanhã às] LT',
30
- nextWeek: 'dddd [às] LT',
31
- lastDay: '[Ontem às] LT',
32
- lastWeek: function () {
33
- return (this.day() === 0 || this.day() === 6) ?
34
- '[Último] dddd [às] LT' : // Saturday + Sunday
35
- '[Última] dddd [às] LT'; // Monday - Friday
36
- },
37
- sameElse: 'L'
38
- },
39
- relativeTime : {
40
- future : "em %s",
41
- past : "%s atrás",
42
- s : "segundos",
43
- m : "um minuto",
44
- mm : "%d minutos",
45
- h : "uma hora",
46
- hh : "%d horas",
47
- d : "um dia",
48
- dd : "%d dias",
49
- M : "um mês",
50
- MM : "%d meses",
51
- y : "um ano",
52
- yy : "%d anos"
53
- },
54
- ordinal : '%dº',
55
- week : {
56
- dow : 1, // Monday is the first day of the week.
57
- doy : 4 // The week that contains Jan 4th is the first week of the year.
58
- }
59
- });
60
- }));
@@ -1,72 +0,0 @@
1
- // moment.js language configuration
2
- // language : romanian (ro)
3
- // author : Vlad Gurdiga : https://github.com/gurdiga
4
- // author : Valentin Agachi : https://github.com/avaly
5
-
6
- (function (factory) {
7
- if (typeof define === 'function' && define.amd) {
8
- define(['moment'], factory); // AMD
9
- } else if (typeof exports === 'object') {
10
- module.exports = factory(require('../moment')); // Node
11
- } else {
12
- factory(window.moment); // Browser global
13
- }
14
- }(function (moment) {
15
- function relativeTimeWithPlural(number, withoutSuffix, key) {
16
- var format = {
17
- 'mm': 'minute',
18
- 'hh': 'ore',
19
- 'dd': 'zile',
20
- 'MM': 'luni',
21
- 'yy': 'ani'
22
- },
23
- separator = ' ';
24
- if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
25
- separator = ' de ';
26
- }
27
-
28
- return number + separator + format[key];
29
- }
30
-
31
- return moment.lang('ro', {
32
- months : "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
33
- monthsShort : "ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
34
- weekdays : "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
35
- weekdaysShort : "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
36
- weekdaysMin : "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
37
- longDateFormat : {
38
- LT : "H:mm",
39
- L : "DD.MM.YYYY",
40
- LL : "D MMMM YYYY",
41
- LLL : "D MMMM YYYY H:mm",
42
- LLLL : "dddd, D MMMM YYYY H:mm"
43
- },
44
- calendar : {
45
- sameDay: "[azi la] LT",
46
- nextDay: '[mâine la] LT',
47
- nextWeek: 'dddd [la] LT',
48
- lastDay: '[ieri la] LT',
49
- lastWeek: '[fosta] dddd [la] LT',
50
- sameElse: 'L'
51
- },
52
- relativeTime : {
53
- future : "peste %s",
54
- past : "%s în urmă",
55
- s : "câteva secunde",
56
- m : "un minut",
57
- mm : relativeTimeWithPlural,
58
- h : "o oră",
59
- hh : relativeTimeWithPlural,
60
- d : "o zi",
61
- dd : relativeTimeWithPlural,
62
- M : "o lună",
63
- MM : relativeTimeWithPlural,
64
- y : "un an",
65
- yy : relativeTimeWithPlural
66
- },
67
- week : {
68
- dow : 1, // Monday is the first day of the week.
69
- doy : 7 // The week that contains Jan 1st is the first week of the year.
70
- }
71
- });
72
- }));
@@ -1,163 +0,0 @@
1
- // moment.js language configuration
2
- // language : russian (ru)
3
- // author : Viktorminator : https://github.com/Viktorminator
4
- // Author : Menelion Elensúle : https://github.com/Oire
5
-
6
- (function (factory) {
7
- if (typeof define === 'function' && define.amd) {
8
- define(['moment'], factory); // AMD
9
- } else if (typeof exports === 'object') {
10
- module.exports = factory(require('../moment')); // Node
11
- } else {
12
- factory(window.moment); // Browser global
13
- }
14
- }(function (moment) {
15
- function plural(word, num) {
16
- var forms = word.split('_');
17
- return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
18
- }
19
-
20
- function relativeTimeWithPlural(number, withoutSuffix, key) {
21
- var format = {
22
- 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
23
- 'hh': 'час_часа_часов',
24
- 'dd': 'день_дня_дней',
25
- 'MM': 'месяц_месяца_месяцев',
26
- 'yy': 'год_года_лет'
27
- };
28
- if (key === 'm') {
29
- return withoutSuffix ? 'минута' : 'минуту';
30
- }
31
- else {
32
- return number + ' ' + plural(format[key], +number);
33
- }
34
- }
35
-
36
- function monthsCaseReplace(m, format) {
37
- var months = {
38
- 'nominative': 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
39
- 'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_')
40
- },
41
-
42
- nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
43
- 'accusative' :
44
- 'nominative';
45
-
46
- return months[nounCase][m.month()];
47
- }
48
-
49
- function monthsShortCaseReplace(m, format) {
50
- var monthsShort = {
51
- 'nominative': 'янв_фев_мар_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
52
- 'accusative': 'янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек'.split('_')
53
- },
54
-
55
- nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
56
- 'accusative' :
57
- 'nominative';
58
-
59
- return monthsShort[nounCase][m.month()];
60
- }
61
-
62
- function weekdaysCaseReplace(m, format) {
63
- var weekdays = {
64
- 'nominative': 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
65
- 'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_')
66
- },
67
-
68
- nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ?
69
- 'accusative' :
70
- 'nominative';
71
-
72
- return weekdays[nounCase][m.day()];
73
- }
74
-
75
- return moment.lang('ru', {
76
- months : monthsCaseReplace,
77
- monthsShort : monthsShortCaseReplace,
78
- weekdays : weekdaysCaseReplace,
79
- weekdaysShort : "вс_пн_вт_ср_чт_пт_сб".split("_"),
80
- weekdaysMin : "вс_пн_вт_ср_чт_пт_сб".split("_"),
81
- monthsParse : [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[й|я]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i],
82
- longDateFormat : {
83
- LT : "HH:mm",
84
- L : "DD.MM.YYYY",
85
- LL : "D MMMM YYYY г.",
86
- LLL : "D MMMM YYYY г., LT",
87
- LLLL : "dddd, D MMMM YYYY г., LT"
88
- },
89
- calendar : {
90
- sameDay: '[Сегодня в] LT',
91
- nextDay: '[Завтра в] LT',
92
- lastDay: '[Вчера в] LT',
93
- nextWeek: function () {
94
- return this.day() === 2 ? '[Во] dddd [в] LT' : '[В] dddd [в] LT';
95
- },
96
- lastWeek: function () {
97
- switch (this.day()) {
98
- case 0:
99
- return '[В прошлое] dddd [в] LT';
100
- case 1:
101
- case 2:
102
- case 4:
103
- return '[В прошлый] dddd [в] LT';
104
- case 3:
105
- case 5:
106
- case 6:
107
- return '[В прошлую] dddd [в] LT';
108
- }
109
- },
110
- sameElse: 'L'
111
- },
112
- relativeTime : {
113
- future : "через %s",
114
- past : "%s назад",
115
- s : "несколько секунд",
116
- m : relativeTimeWithPlural,
117
- mm : relativeTimeWithPlural,
118
- h : "час",
119
- hh : relativeTimeWithPlural,
120
- d : "день",
121
- dd : relativeTimeWithPlural,
122
- M : "месяц",
123
- MM : relativeTimeWithPlural,
124
- y : "год",
125
- yy : relativeTimeWithPlural
126
- },
127
-
128
- // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
129
-
130
- meridiem : function (hour, minute, isLower) {
131
- if (hour < 4) {
132
- return "ночи";
133
- } else if (hour < 12) {
134
- return "утра";
135
- } else if (hour < 17) {
136
- return "дня";
137
- } else {
138
- return "вечера";
139
- }
140
- },
141
-
142
- ordinal: function (number, period) {
143
- switch (period) {
144
- case 'M':
145
- case 'd':
146
- case 'DDD':
147
- return number + '-й';
148
- case 'D':
149
- return number + '-го';
150
- case 'w':
151
- case 'W':
152
- return number + '-я';
153
- default:
154
- return number;
155
- }
156
- },
157
-
158
- week : {
159
- dow : 1, // Monday is the first day of the week.
160
- doy : 7 // The week that contains Jan 1st is the first week of the year.
161
- }
162
- });
163
- }));