momentjs-rails 2.0.0.1 → 2.0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/news.md +3 -0
  2. data/test/dummy/log/test.log +55 -0
  3. data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  4. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  5. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  6. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  7. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  8. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
  9. data/test/integration/navigation_test.rb +5 -0
  10. data/vendor/assets/javascripts/moment/ar-ma.js +1 -1
  11. data/vendor/assets/javascripts/moment/ar.js +1 -1
  12. data/vendor/assets/javascripts/moment/bg.js +1 -1
  13. data/vendor/assets/javascripts/moment/ca.js +1 -1
  14. data/vendor/assets/javascripts/moment/cs.js +1 -1
  15. data/vendor/assets/javascripts/moment/cv.js +1 -1
  16. data/vendor/assets/javascripts/moment/da.js +1 -1
  17. data/vendor/assets/javascripts/moment/de.js +1 -1
  18. data/vendor/assets/javascripts/moment/en-ca.js +1 -1
  19. data/vendor/assets/javascripts/moment/en-gb.js +1 -1
  20. data/vendor/assets/javascripts/moment/eo.js +1 -1
  21. data/vendor/assets/javascripts/moment/es.js +1 -1
  22. data/vendor/assets/javascripts/moment/et.js +1 -1
  23. data/vendor/assets/javascripts/moment/eu.js +1 -1
  24. data/vendor/assets/javascripts/moment/fi.js +1 -1
  25. data/vendor/assets/javascripts/moment/fr-ca.js +1 -1
  26. data/vendor/assets/javascripts/moment/fr.js +1 -1
  27. data/vendor/assets/javascripts/moment/gl.js +1 -1
  28. data/vendor/assets/javascripts/moment/he.js +1 -1
  29. data/vendor/assets/javascripts/moment/hu.js +1 -1
  30. data/vendor/assets/javascripts/moment/id.js +1 -1
  31. data/vendor/assets/javascripts/moment/is.js +1 -1
  32. data/vendor/assets/javascripts/moment/it.js +1 -1
  33. data/vendor/assets/javascripts/moment/ja.js +1 -1
  34. data/vendor/assets/javascripts/moment/ko.js +1 -1
  35. data/vendor/assets/javascripts/moment/lv.js +1 -1
  36. data/vendor/assets/javascripts/moment/nb.js +1 -1
  37. data/vendor/assets/javascripts/moment/ne.js +1 -1
  38. data/vendor/assets/javascripts/moment/nl.js +1 -1
  39. data/vendor/assets/javascripts/moment/pl.js +1 -1
  40. data/vendor/assets/javascripts/moment/pt-br.js +1 -1
  41. data/vendor/assets/javascripts/moment/pt.js +1 -1
  42. data/vendor/assets/javascripts/moment/ro.js +1 -1
  43. data/vendor/assets/javascripts/moment/ru.js +1 -1
  44. data/vendor/assets/javascripts/moment/sl.js +1 -1
  45. data/vendor/assets/javascripts/moment/sv.js +1 -1
  46. data/vendor/assets/javascripts/moment/th.js +1 -1
  47. data/vendor/assets/javascripts/moment/tr.js +1 -1
  48. data/vendor/assets/javascripts/moment/tzm-la.js +1 -1
  49. data/vendor/assets/javascripts/moment/tzm.js +1 -1
  50. data/vendor/assets/javascripts/moment/uk.js +1 -1
  51. data/vendor/assets/javascripts/moment/zh-cn.js +1 -1
  52. data/vendor/assets/javascripts/moment/zh-tw.js +1 -1
  53. metadata +4 -4
data/news.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### Version 2.0.0.2 (2013-06-06)
2
+ - Fix localization files (thanks, eddloschi).
3
+
1
4
  ### Version 2.0.0.1 (2013-03-16)
2
5
  - Actually update Moment.js to 2.0.0 (whoops).
3
6
  - gem version 2.0.0 was yanked. It was only live for two minutes, so hopefully
@@ -74,3 +74,58 @@ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:15:39 -0400
74
74
  Served asset /moment.js - 200 OK (1ms)
75
75
  Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:15:39 -0400
76
76
  Served asset /moment/fr.js - 200 OK (12ms)
77
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:37:24 -0400
78
+ Served asset /moment.js - 200 OK (14ms)
79
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:37:24 -0400
80
+ Served asset /moment/fr.js - 200 OK (11ms)
81
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:37:32 -0400
82
+ Served asset /moment.js - 200 OK (1ms)
83
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:37:32 -0400
84
+ Served asset /moment/fr.js - 200 OK (12ms)
85
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:44:51 -0400
86
+ Served asset /moment.js - 200 OK (46ms)
87
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:44:52 -0400
88
+ Served asset /moment/fr.js - 200 OK (12ms)
89
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:44:52 -0400
90
+ Served asset /moment.js - 200 OK (0ms)
91
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:45:09 -0400
92
+ Served asset /moment.js - 200 OK (1ms)
93
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:45:09 -0400
94
+ Served asset /moment/fr.js - 200 OK (11ms)
95
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:45:09 -0400
96
+ Served asset /moment.js - 200 OK (0ms)
97
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:47:53 -0400
98
+ Compiled moment.js (0ms) (pid 62815)
99
+ Served asset /moment.js - 200 OK (18ms)
100
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:47:53 -0400
101
+ Compiled moment/fr.js (0ms) (pid 62815)
102
+ Served asset /moment/fr.js - 200 OK (18ms)
103
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:47:53 -0400
104
+ Served asset /moment.js - 200 OK (0ms)
105
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:48:16 -0400
106
+ Served asset /moment.js - 200 OK (2ms)
107
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:48:16 -0400
108
+ Served asset /moment/fr.js - 200 OK (1ms)
109
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:48:16 -0400
110
+ Served asset /moment.js - 200 OK (0ms)
111
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:50:40 -0400
112
+ Compiled moment.js (10ms) (pid 64044)
113
+ Served asset /moment.js - 200 OK (40ms)
114
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:50:40 -0400
115
+ Served asset /moment/fr.js - 200 OK (2ms)
116
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:50:40 -0400
117
+ Served asset /moment.js - 200 OK (0ms)
118
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:50:53 -0400
119
+ Compiled moment.js (11ms) (pid 64218)
120
+ Served asset /moment.js - 200 OK (16ms)
121
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-03-16 16:50:53 -0400
122
+ Served asset /moment/fr.js - 200 OK (1ms)
123
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-03-16 16:50:53 -0400
124
+ Served asset /moment.js - 200 OK (0ms)
125
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-06-06 21:49:55 -0400
126
+ Served asset /moment.js - 200 OK (2ms)
127
+ Started GET "/assets/moment/fr.js" for 127.0.0.1 at 2013-06-06 21:49:55 -0400
128
+ Compiled moment/fr.js (0ms) (pid 73048)
129
+ Served asset /moment/fr.js - 200 OK (28ms)
130
+ Started GET "/assets/moment.js" for 127.0.0.1 at 2013-06-06 21:49:55 -0400
131
+ Served asset /moment.js - 200 OK (0ms)
@@ -6,6 +6,11 @@ class NavigationTest < ActionDispatch::IntegrationTest
6
6
  assert_response :success
7
7
  end
8
8
 
9
+ test 'momentjs response is for the expected version' do
10
+ get 'assets/moment.js'
11
+ assert_match(/VERSION = "2\.0\.0"/, @response.body)
12
+ end
13
+
9
14
  test 'can access momentjs translation' do
10
15
  get 'assets/moment/fr.js'
11
16
  assert_response :success
@@ -3,7 +3,7 @@
3
3
  // author : ElFadili Yassine : https://github.com/ElFadiliY
4
4
  // author : Abdel Said : https://github.com/abdelsaid
5
5
 
6
- require('../moment').lang('ar-ma', {
6
+ moment.lang('ar-ma', {
7
7
  months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
8
8
  monthsShort : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
9
9
  weekdays : "الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : Arabic (ar)
3
3
  // author : Abdel Said : https://github.com/abdelsaid
4
4
 
5
- require('../moment').lang('ar', {
5
+ moment.lang('ar', {
6
6
  months : "كانون الثاني_ﺶﺑﺎﻃ_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_تشرين الثاني_كانون الأول".split("_"),
7
7
  monthsShort : "كانون الثاني_ﺶﺑﺎﻃ_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_تشرين الثاني_كانون الأول".split("_"),
8
8
  weekdays : "الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : bulgarian (bg)
3
3
  // author : Krasen Borisov : https://github.com/kraz
4
4
 
5
- require('../moment').lang('bg', {
5
+ moment.lang('bg', {
6
6
  months : "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
7
7
  monthsShort : "янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
8
8
  weekdays : "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : catalan (ca)
3
3
  // author : Juan G. Hurtado : https://github.com/juanghurtado
4
4
 
5
- require('../moment').lang('ca', {
5
+ moment.lang('ca', {
6
6
  months : "Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),
7
7
  monthsShort : "Gen._Febr._Mar._Abr._Mai._Jun._Jul._Ag._Set._Oct._Nov._Des.".split("_"),
8
8
  weekdays : "Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),
@@ -62,7 +62,7 @@ function translate(number, withoutSuffix, key, isFuture) {
62
62
  }
63
63
  }
64
64
 
65
- require('../moment').lang('cs', {
65
+ moment.lang('cs', {
66
66
  months : months,
67
67
  monthsShort : monthsShort,
68
68
  monthsParse : (function (months, monthsShort) {
@@ -3,7 +3,7 @@
3
3
  // author : Anatoly Mironov : https://github.com/mirontoli
4
4
 
5
5
 
6
- require('../moment').lang('cv', {
6
+ moment.lang('cv', {
7
7
  months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
8
8
  monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
9
9
  weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : danish (da)
3
3
  // author : Ulrik Nielsen : https://github.com/mrbase
4
4
 
5
- require('../moment').lang('da', {
5
+ moment.lang('da', {
6
6
  months : "Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),
7
7
  monthsShort : "Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),
8
8
  weekdays : "Søndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_Lørdag".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : german (de)
3
3
  // author : lluchs : https://github.com/lluchs
4
4
 
5
- require('../moment').lang('de', {
5
+ moment.lang('de', {
6
6
  months : "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
7
7
  monthsShort : "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
8
8
  weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : canadian english (en-ca)
3
3
  // author : Jonathan Abourbih : https://github.com/jonbca
4
4
 
5
- require('../moment').lang('en-ca', {
5
+ moment.lang('en-ca', {
6
6
  months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
7
7
  monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
8
8
  weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : great britain english (en-gb)
3
3
  // author : Chris Gedrim : https://github.com/chrisgedrim
4
4
 
5
- require('../moment').lang('en-gb', {
5
+ moment.lang('en-gb', {
6
6
  months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
7
7
  monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
8
8
  weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
@@ -4,7 +4,7 @@
4
4
  // komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
5
5
  // Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
6
6
 
7
- require('../moment').lang('eo', {
7
+ moment.lang('eo', {
8
8
  months : "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
9
9
  monthsShort : "jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),
10
10
  weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : spanish (es)
3
3
  // author : Julio Napurí : https://github.com/julionc
4
4
 
5
- require('../moment').lang('es', {
5
+ moment.lang('es', {
6
6
  months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
7
7
  monthsShort : "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
8
8
  weekdays : "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
@@ -6,7 +6,7 @@ function translateSeconds(number, withoutSuffix, key, isFuture) {
6
6
  return (isFuture || withoutSuffix) ? 'paari sekundi' : 'paar sekundit';
7
7
  }
8
8
 
9
- require('../moment').lang('et', {
9
+ moment.lang('et', {
10
10
  months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
11
11
  monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
12
12
  weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : euskara (eu)
3
3
  // author : Eneko Illarramendi : https://github.com/eillarra
4
4
 
5
- require('../moment').lang('eu', {
5
+ moment.lang('eu', {
6
6
  months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
7
7
  monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
8
8
  weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
@@ -45,7 +45,7 @@ function verbal_number(number, isFuture) {
45
45
  return number < 10 ? (isFuture ? numbers_future[number] : numbers_past[number]) : number;
46
46
  }
47
47
 
48
- require('../moment').lang('fi', {
48
+ moment.lang('fi', {
49
49
  months : "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
50
50
  monthsShort : "tam_hel_maa_huh_tou_kes_hei_elo_syy_lok_mar_jou".split("_"),
51
51
  weekdays : "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : canadian french (fr-ca)
3
3
  // author : Jonathan Abourbih : https://github.com/jonbca
4
4
 
5
- require('../moment').lang('fr-ca', {
5
+ moment.lang('fr-ca', {
6
6
  months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
7
7
  monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
8
8
  weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : french (fr)
3
3
  // author : John Fischer : https://github.com/jfroffice
4
4
 
5
- require('../moment').lang('fr', {
5
+ moment.lang('fr', {
6
6
  months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
7
7
  monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
8
8
  weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : galician (gl)
3
3
  // author : Juan G. Hurtado : https://github.com/juanghurtado
4
4
 
5
- require('../moment').lang('gl', {
5
+ moment.lang('gl', {
6
6
  months : "Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Octubro_Novembro_Decembro".split("_"),
7
7
  monthsShort : "Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),
8
8
  weekdays : "Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),
@@ -3,7 +3,7 @@
3
3
  // author : Tomer Cohen : https://github.com/tomer
4
4
  // author : Moshe Simantov : https://github.com/DevelopmentIL
5
5
 
6
- require('../moment').lang('he', {
6
+ moment.lang('he', {
7
7
  months : "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
8
8
  monthsShort : "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
9
9
  weekdays : "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
@@ -40,7 +40,7 @@ function week(isFuture) {
40
40
  return (isFuture ? '' : 'múlt ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
41
41
  }
42
42
 
43
- require('../moment').lang('hu', {
43
+ moment.lang('hu', {
44
44
  months : "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
45
45
  monthsShort : "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),
46
46
  weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
@@ -3,7 +3,7 @@
3
3
  // author : Mohammad Satrio Utomo : https://github.com/tyok
4
4
  // reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
5
5
 
6
- require('../moment').lang('id', {
6
+ moment.lang('id', {
7
7
  months : "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
8
8
  monthsShort : "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),
9
9
  weekdays : "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
@@ -70,7 +70,7 @@ function translate(number, withoutSuffix, key, isFuture) {
70
70
  }
71
71
  }
72
72
 
73
- require('../moment').lang('is', {
73
+ moment.lang('is', {
74
74
  months : "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
75
75
  monthsShort : "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
76
76
  weekdays : "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : italian (it)
3
3
  // author : Lorenzo : https://github.com/aliem
4
4
 
5
- require('../moment').lang('it', {
5
+ moment.lang('it', {
6
6
  months : "Gennaio_Febbraio_Marzo_Aprile_Maggio_Giugno_Luglio_Agosto_Settembre_Ottobre_Novembre_Dicembre".split("_"),
7
7
  monthsShort : "Gen_Feb_Mar_Apr_Mag_Giu_Lug_Ago_Set_Ott_Nov_Dic".split("_"),
8
8
  weekdays : "Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : japanese (ja)
3
3
  // author : LI Long : https://github.com/baryon
4
4
 
5
- require('../moment').lang('ja', {
5
+ moment.lang('ja', {
6
6
  months : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
7
7
  monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
8
8
  weekdays : "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : korean (ko)
3
3
  // author : Kyungwook, Park : https://github.com/kyungw00k
4
4
 
5
- require('../moment').lang('ko', {
5
+ moment.lang('ko', {
6
6
  months : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
7
7
  monthsShort : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
8
8
  weekdays : "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
@@ -23,7 +23,7 @@ function relativeTimeWithPlural(number, withoutSuffix, key) {
23
23
  return number + ' ' + format(units[key], number, withoutSuffix);
24
24
  }
25
25
 
26
- require('../moment').lang('lv', {
26
+ moment.lang('lv', {
27
27
  months : "janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),
28
28
  monthsShort : "jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),
29
29
  weekdays : "svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : norwegian bokmål (nb)
3
3
  // author : Espen Hovlandsdal : https://github.com/rexxars
4
4
 
5
- require('../moment').lang('nb', {
5
+ moment.lang('nb', {
6
6
  months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
7
7
  monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
8
8
  weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
@@ -27,7 +27,7 @@ numberMap = {
27
27
  '०': '0'
28
28
  };
29
29
 
30
- require('../moment').lang('ne', {
30
+ moment.lang('ne', {
31
31
  months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split("_"),
32
32
  monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split("_"),
33
33
  weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split("_"),
@@ -5,7 +5,7 @@
5
5
  var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
6
6
  monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");
7
7
 
8
- require('../moment').lang('nl', {
8
+ moment.lang('nl', {
9
9
  months : "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
10
10
  monthsShort : function (m, format) {
11
11
  if (/-MMM-/.test(format)) {
@@ -24,7 +24,7 @@ function translate(number, withoutSuffix, key) {
24
24
  }
25
25
  }
26
26
 
27
- require('../moment').lang('pl', {
27
+ moment.lang('pl', {
28
28
  months : "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
29
29
  monthsShort : "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
30
30
  weekdays : "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : brazilian portuguese (pt-br)
3
3
  // author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
4
4
 
5
- require('../moment').lang('pt-br', {
5
+ moment.lang('pt-br', {
6
6
  months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
7
7
  monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
8
8
  weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : portuguese (pt)
3
3
  // author : Jefferson : https://github.com/jalex79
4
4
 
5
- require('../moment').lang('pt', {
5
+ moment.lang('pt', {
6
6
  months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
7
7
  monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
8
8
  weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
@@ -3,7 +3,7 @@
3
3
  // author : Vlad Gurdiga : https://github.com/gurdiga
4
4
  // author : Valentin Agachi : https://github.com/avaly
5
5
 
6
- require('../moment').lang('ro', {
6
+ moment.lang('ro', {
7
7
  months : "Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),
8
8
  monthsShort : "Ian_Feb_Mar_Apr_Mai_Iun_Iul_Aug_Sep_Oct_Noi_Dec".split("_"),
9
9
  weekdays : "Duminică_Luni_Marţi_Miercuri_Joi_Vineri_Sâmbătă".split("_"),
@@ -64,7 +64,7 @@ function weekdaysCaseReplace(m, format) {
64
64
  return weekdays[nounCase][m.day()];
65
65
  }
66
66
 
67
- require('../moment').lang('ru', {
67
+ moment.lang('ru', {
68
68
  months : monthsCaseReplace,
69
69
  monthsShort : "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),
70
70
  weekdays : weekdaysCaseReplace,
@@ -63,7 +63,7 @@ function translate(number, withoutSuffix, key) {
63
63
  }
64
64
  }
65
65
 
66
- require('../moment').lang('sl', {
66
+ moment.lang('sl', {
67
67
  months : "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
68
68
  monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
69
69
  weekdays : "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : swedish (sv)
3
3
  // author : Jens Alm : https://github.com/ulmus
4
4
 
5
- require('../moment').lang('sv', {
5
+ moment.lang('sv', {
6
6
  months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
7
7
  monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
8
8
  weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : thai (th)
3
3
  // author : Kridsada Thanabulpong : https://github.com/sirn
4
4
 
5
- require('../moment').lang('th', {
5
+ moment.lang('th', {
6
6
  months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
7
7
  monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),
8
8
  weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
@@ -29,7 +29,7 @@ var suffixes = {
29
29
  90: "'ıncı"
30
30
  };
31
31
 
32
- require('../moment').lang('tr', {
32
+ moment.lang('tr', {
33
33
  months : "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
34
34
  monthsShort : "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
35
35
  weekdays : "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : Morocco Central Atlas Tamaziɣt in Latin (tzm-la)
3
3
  // author : Abdel Said : https://github.com/abdelsaid
4
4
 
5
- require('../moment').lang('tzm-la', {
5
+ moment.lang('tzm-la', {
6
6
  months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
7
7
  monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
8
8
  weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : Morocco Central Atlas Tamaziɣt (tzm)
3
3
  // author : Abdel Said : https://github.com/abdelsaid
4
4
 
5
- require('../moment').lang('tzm', {
5
+ moment.lang('tzm', {
6
6
  months : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
7
7
  monthsShort : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
8
8
  weekdays : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
@@ -63,7 +63,7 @@ function weekdaysCaseReplace(m, format) {
63
63
  return weekdays[nounCase][m.day()];
64
64
  }
65
65
 
66
- require('../moment').lang('uk', {
66
+ moment.lang('uk', {
67
67
  months : monthsCaseReplace,
68
68
  monthsShort : "січ_лют_бер_кві_тра_чер_лип_сер_вер_жов_лис_гру".split("_"),
69
69
  weekdays : weekdaysCaseReplace,
@@ -2,7 +2,7 @@
2
2
  // language : chinese
3
3
  // author : suupic : https://github.com/suupic
4
4
 
5
- require('../moment').lang('zh-cn', {
5
+ moment.lang('zh-cn', {
6
6
  months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
7
7
  monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
8
8
  weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
@@ -2,7 +2,7 @@
2
2
  // language : traditional chinese (zh-tw)
3
3
  // author : Ben : https://github.com/ben-lin
4
4
 
5
- require('../moment').lang('zh-tw', {
5
+ moment.lang('zh-tw', {
6
6
  months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
7
7
  monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
8
8
  weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: momentjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.1
4
+ version: 2.0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-16 00:00:00.000000000 Z
12
+ date: 2013-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  segments:
141
141
  - 0
142
- hash: 2622912886442475624
142
+ hash: 661118957747727992
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  none: false
145
145
  requirements:
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: 2622912886442475624
151
+ hash: 661118957747727992
152
152
  requirements: []
153
153
  rubyforge_project:
154
154
  rubygems_version: 1.8.23