jadtfmt 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/jadtfmt.c +10 -1
- metadata +2 -2
data/ext/jadtfmt.c
CHANGED
@@ -15,7 +15,7 @@ __declspec(dllexport) void Init_jadtfmt();
|
|
15
15
|
#include "jadtfmt.h"
|
16
16
|
#include "jadtfmt_icu.h"
|
17
17
|
|
18
|
-
#define VERSION "0.0.
|
18
|
+
#define VERSION "0.0.4"
|
19
19
|
|
20
20
|
#define DEFAULT_INT(n) (NIL_P(n) ? 0 : NUM2INT(n))
|
21
21
|
|
@@ -203,4 +203,13 @@ void Init_jadtfmt() {
|
|
203
203
|
pph_N_pattern = rb_str_new2("yy");
|
204
204
|
pph_n_pattern = rb_str_new2("y");
|
205
205
|
pph_E_pattern = rb_str_new2("E");
|
206
|
+
|
207
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_G", pph_G);
|
208
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_N", pph_N);
|
209
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_n", pph_n);
|
210
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_E", pph_E);
|
211
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_G_pattern", pph_G_pattern);
|
212
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_N_pattern", pph_N_pattern);
|
213
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_n_pattern", pph_n_pattern);
|
214
|
+
rb_define_class_variable(JapaneseDateFormat, "@@pph_W_pattern", pph_E_pattern);
|
206
215
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jadtfmt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- winebarrel
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-04-
|
12
|
+
date: 2008-04-18 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|