etc 1.4.3 → 1.4.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/etc/etc.c CHANGED
@@ -56,7 +56,7 @@ static VALUE sGroup;
56
56
  #endif
57
57
  RUBY_EXTERN char *getlogin(void);
58
58
 
59
- #define RUBY_ETC_VERSION "1.4.3"
59
+ #define RUBY_ETC_VERSION "1.4.4"
60
60
 
61
61
  #ifdef HAVE_RB_DEPRECATE_CONSTANT
62
62
  void rb_deprecate_constant(VALUE mod, const char *name);
@@ -203,7 +203,7 @@ setup_passwd(struct passwd *pwd)
203
203
  #endif
204
204
 
205
205
  /* call-seq:
206
- * getpwuid(uid) -> Passwd
206
+ * getpwuid(uid) -> Etc::Passwd
207
207
  *
208
208
  * Returns the <tt>/etc/passwd</tt> information for the user with the given
209
209
  * integer +uid+.
@@ -215,7 +215,7 @@ setup_passwd(struct passwd *pwd)
215
215
  *
216
216
  * See the unix manpage for <code>getpwuid(3)</code> for more detail.
217
217
  *
218
- * === Example:
218
+ * *Example:*
219
219
  *
220
220
  * Etc.getpwuid(0)
221
221
  * #=> #<struct Etc::Passwd name="root", passwd="x", uid=0, gid=0, gecos="root",dir="/root", shell="/bin/bash">
@@ -243,7 +243,7 @@ etc_getpwuid(int argc, VALUE *argv, VALUE obj)
243
243
  }
244
244
 
245
245
  /* call-seq:
246
- * getpwnam(name) -> Passwd
246
+ * getpwnam(name) -> Etc::Passwd
247
247
  *
248
248
  * Returns the <tt>/etc/passwd</tt> information for the user with specified
249
249
  * login +name+.
@@ -252,7 +252,7 @@ etc_getpwuid(int argc, VALUE *argv, VALUE obj)
252
252
  *
253
253
  * See the unix manpage for <code>getpwnam(3)</code> for more detail.
254
254
  *
255
- * === Example:
255
+ * *Example:*
256
256
  *
257
257
  * Etc.getpwnam('root')
258
258
  * #=> #<struct Etc::Passwd name="root", passwd="x", uid=0, gid=0, gecos="root",dir="/root", shell="/bin/bash">
@@ -307,8 +307,8 @@ each_passwd(void)
307
307
  #endif
308
308
 
309
309
  /* call-seq:
310
- * Etc.passwd { |struct| block } -> Passwd
311
- * Etc.passwd -> Passwd
310
+ * passwd { |struct| block }
311
+ * passwd -> Etc::Passwd
312
312
  *
313
313
  * Provides a convenient Ruby iterator which executes a block for each entry
314
314
  * in the <tt>/etc/passwd</tt> file.
@@ -317,7 +317,7 @@ each_passwd(void)
317
317
  *
318
318
  * See ::getpwent above for details.
319
319
  *
320
- * Example:
320
+ * *Example:*
321
321
  *
322
322
  * require 'etc'
323
323
  *
@@ -343,7 +343,7 @@ etc_passwd(VALUE obj)
343
343
  }
344
344
 
345
345
  /* call-seq:
346
- * Etc::Passwd.each { |struct| block } -> Passwd
346
+ * Etc::Passwd.each { |struct| block } -> Etc::Passwd
347
347
  * Etc::Passwd.each -> Enumerator
348
348
  *
349
349
  * Iterates for each entry in the <tt>/etc/passwd</tt> file if a block is
@@ -355,7 +355,7 @@ etc_passwd(VALUE obj)
355
355
  *
356
356
  * See Etc.getpwent above for details.
357
357
  *
358
- * Example:
358
+ * *Example:*
359
359
  *
360
360
  * require 'etc'
361
361
  *
@@ -377,7 +377,10 @@ etc_each_passwd(VALUE obj)
377
377
  return obj;
378
378
  }
379
379
 
380
- /* Resets the process of reading the <tt>/etc/passwd</tt> file, so that the
380
+ /* call-seq:
381
+ * setpwent
382
+ *
383
+ * Resets the process of reading the <tt>/etc/passwd</tt> file, so that the
381
384
  * next call to ::getpwent will return the first entry again.
382
385
  */
383
386
  static VALUE
@@ -389,7 +392,10 @@ etc_setpwent(VALUE obj)
389
392
  return Qnil;
390
393
  }
391
394
 
392
- /* Ends the process of scanning through the <tt>/etc/passwd</tt> file begun
395
+ /* call-seq:
396
+ * endpwent
397
+ *
398
+ * Ends the process of scanning through the <tt>/etc/passwd</tt> file begun
393
399
  * with ::getpwent, and closes the file.
394
400
  */
395
401
  static VALUE
@@ -401,7 +407,10 @@ etc_endpwent(VALUE obj)
401
407
  return Qnil;
402
408
  }
403
409
 
404
- /* Returns an entry from the <tt>/etc/passwd</tt> file.
410
+ /* call-seq:
411
+ * getpwent -> Etc::Passwd
412
+ *
413
+ * Returns an entry from the <tt>/etc/passwd</tt> file.
405
414
  *
406
415
  * The first time it is called it opens the file and returns the first entry;
407
416
  * each successive call returns the next entry, or +nil+ if the end of the file
@@ -449,7 +458,7 @@ setup_group(struct group *grp)
449
458
  #endif
450
459
 
451
460
  /* call-seq:
452
- * getgrgid(group_id) -> Group
461
+ * getgrgid(group_id) -> Etc::Group
453
462
  *
454
463
  * Returns information about the group with specified integer +group_id+,
455
464
  * as found in <tt>/etc/group</tt>.
@@ -458,7 +467,7 @@ setup_group(struct group *grp)
458
467
  *
459
468
  * See the unix manpage for <code>getgrgid(3)</code> for more detail.
460
469
  *
461
- * === Example:
470
+ * *Example:*
462
471
  *
463
472
  * Etc.getgrgid(100)
464
473
  * #=> #<struct Etc::Group name="users", passwd="x", gid=100, mem=["meta", "root"]>
@@ -487,7 +496,7 @@ etc_getgrgid(int argc, VALUE *argv, VALUE obj)
487
496
  }
488
497
 
489
498
  /* call-seq:
490
- * getgrnam(name) -> Group
499
+ * getgrnam(name) -> Etc::Group
491
500
  *
492
501
  * Returns information about the group with specified +name+, as found in
493
502
  * <tt>/etc/group</tt>.
@@ -496,7 +505,7 @@ etc_getgrgid(int argc, VALUE *argv, VALUE obj)
496
505
  *
497
506
  * See the unix manpage for <code>getgrnam(3)</code> for more detail.
498
507
  *
499
- * === Example:
508
+ * *Example:*
500
509
  *
501
510
  * Etc.getgrnam('users')
502
511
  * #=> #<struct Etc::Group name="users", passwd="x", gid=100, mem=["meta", "root"]>
@@ -529,7 +538,6 @@ group_ensure(VALUE _)
529
538
  return Qnil;
530
539
  }
531
540
 
532
-
533
541
  static VALUE
534
542
  group_iterate(VALUE _)
535
543
  {
@@ -552,14 +560,18 @@ each_group(void)
552
560
  }
553
561
  #endif
554
562
 
555
- /* Provides a convenient Ruby iterator which executes a block for each entry
563
+ /* call-seq:
564
+ * group { |struct| block }
565
+ * group -> Etc::Group
566
+ *
567
+ * Provides a convenient Ruby iterator which executes a block for each entry
556
568
  * in the <tt>/etc/group</tt> file.
557
569
  *
558
570
  * The code block is passed an Group struct.
559
571
  *
560
572
  * See ::getgrent above for details.
561
573
  *
562
- * Example:
574
+ * *Example:*
563
575
  *
564
576
  * require 'etc'
565
577
  *
@@ -586,7 +598,7 @@ etc_group(VALUE obj)
586
598
 
587
599
  #ifdef HAVE_GETGRENT
588
600
  /* call-seq:
589
- * Etc::Group.each { |group| block } -> obj
601
+ * Etc::Group.each { |group| block } -> Etc::Group
590
602
  * Etc::Group.each -> Enumerator
591
603
  *
592
604
  * Iterates for each entry in the <tt>/etc/group</tt> file if a block is
@@ -596,7 +608,7 @@ etc_group(VALUE obj)
596
608
  *
597
609
  * The code block is passed a Group struct.
598
610
  *
599
- * Example:
611
+ * *Example:*
600
612
  *
601
613
  * require 'etc'
602
614
  *
@@ -617,7 +629,10 @@ etc_each_group(VALUE obj)
617
629
  }
618
630
  #endif
619
631
 
620
- /* Resets the process of reading the <tt>/etc/group</tt> file, so that the
632
+ /* call-seq:
633
+ * setgrent
634
+ *
635
+ * Resets the process of reading the <tt>/etc/group</tt> file, so that the
621
636
  * next call to ::getgrent will return the first entry again.
622
637
  */
623
638
  static VALUE
@@ -629,7 +644,10 @@ etc_setgrent(VALUE obj)
629
644
  return Qnil;
630
645
  }
631
646
 
632
- /* Ends the process of scanning through the <tt>/etc/group</tt> file begun
647
+ /* call-seq:
648
+ * endgrent
649
+ *
650
+ * Ends the process of scanning through the <tt>/etc/group</tt> file begun
633
651
  * by ::getgrent, and closes the file.
634
652
  */
635
653
  static VALUE
@@ -641,7 +659,10 @@ etc_endgrent(VALUE obj)
641
659
  return Qnil;
642
660
  }
643
661
 
644
- /* Returns an entry from the <tt>/etc/group</tt> file.
662
+ /* call-seq:
663
+ * getgrent -> Etc::Group
664
+ *
665
+ * Returns an entry from the <tt>/etc/group</tt> file.
645
666
  *
646
667
  * The first time it is called it opens the file and returns the first entry;
647
668
  * each successive call returns the next entry, or +nil+ if the end of the file
@@ -670,9 +691,21 @@ etc_getgrent(VALUE obj)
670
691
  VALUE rb_w32_special_folder(int type);
671
692
  UINT rb_w32_system_tmpdir(WCHAR *path, UINT len);
672
693
  VALUE rb_w32_conv_from_wchar(const WCHAR *wstr, rb_encoding *enc);
694
+ #elif defined(LOAD_RELATIVE)
695
+ static inline VALUE
696
+ rbconfig(void)
697
+ {
698
+ VALUE config;
699
+ rb_require("rbconfig");
700
+ config = rb_const_get(rb_path2class("RbConfig"), rb_intern("CONFIG"));
701
+ Check_Type(config, T_HASH);
702
+ return config;
703
+ }
673
704
  #endif
674
705
 
675
- /*
706
+ /* call-seq:
707
+ * sysconfdir -> String
708
+ *
676
709
  * Returns system configuration directory.
677
710
  *
678
711
  * This is typically <code>"/etc"</code>, but is modified by the prefix used
@@ -687,12 +720,16 @@ etc_sysconfdir(VALUE obj)
687
720
  {
688
721
  #ifdef _WIN32
689
722
  return rb_w32_special_folder(CSIDL_COMMON_APPDATA);
723
+ #elif defined(LOAD_RELATIVE)
724
+ return rb_hash_aref(rbconfig(), rb_str_new_lit("sysconfdir"));
690
725
  #else
691
726
  return rb_filesystem_str_new_cstr(SYSCONFDIR);
692
727
  #endif
693
728
  }
694
729
 
695
- /*
730
+ /* call-seq:
731
+ * systmpdir -> String
732
+ *
696
733
  * Returns system temporary directory; typically "/tmp".
697
734
  */
698
735
  static VALUE
@@ -736,13 +773,15 @@ etc_systmpdir(VALUE _)
736
773
  }
737
774
 
738
775
  #ifdef HAVE_UNAME
739
- /*
776
+ /* call-seq:
777
+ * uname -> hash
778
+ *
740
779
  * Returns the system information obtained by uname system call.
741
780
  *
742
781
  * The return value is a hash which has 5 keys at least:
743
782
  * :sysname, :nodename, :release, :version, :machine
744
783
  *
745
- * Example:
784
+ * *Example:*
746
785
  *
747
786
  * require 'etc'
748
787
  * require 'pp'
@@ -852,7 +891,9 @@ etc_uname(VALUE obj)
852
891
  #endif
853
892
 
854
893
  #ifdef HAVE_SYSCONF
855
- /*
894
+ /* call-seq:
895
+ * sysconf(name) -> Integer
896
+ *
856
897
  * Returns system configuration variable using sysconf().
857
898
  *
858
899
  * _name_ should be a constant under <code>Etc</code> which begins with <code>SC_</code>.
@@ -886,7 +927,9 @@ etc_sysconf(VALUE obj, VALUE arg)
886
927
  #endif
887
928
 
888
929
  #ifdef HAVE_CONFSTR
889
- /*
930
+ /* call-seq:
931
+ * confstr(name) -> String
932
+ *
890
933
  * Returns system configuration variable using confstr().
891
934
  *
892
935
  * _name_ should be a constant under <code>Etc</code> which begins with <code>CS_</code>.
@@ -933,7 +976,9 @@ etc_confstr(VALUE obj, VALUE arg)
933
976
  #endif
934
977
 
935
978
  #ifdef HAVE_FPATHCONF
936
- /*
979
+ /* call-seq:
980
+ * pathconf(name) -> Integer
981
+ *
937
982
  * Returns pathname configuration variable using fpathconf().
938
983
  *
939
984
  * _name_ should be a constant under <code>Etc</code> which begins with <code>PC_</code>.
@@ -1025,7 +1070,9 @@ etc_nprocessors_affin(void)
1025
1070
  }
1026
1071
  #endif
1027
1072
 
1028
- /*
1073
+ /* call-seq:
1074
+ * nprocessors -> Integer
1075
+ *
1029
1076
  * Returns the number of online processors.
1030
1077
  *
1031
1078
  * The result is intended as the number of processes to
@@ -1035,7 +1082,7 @@ etc_nprocessors_affin(void)
1035
1082
  * - sched_getaffinity(): Linux
1036
1083
  * - sysconf(_SC_NPROCESSORS_ONLN): GNU/Linux, NetBSD, FreeBSD, OpenBSD, DragonFly BSD, OpenIndiana, Mac OS X, AIX
1037
1084
  *
1038
- * Example:
1085
+ * *Example:*
1039
1086
  *
1040
1087
  * require 'etc'
1041
1088
  * p Etc.nprocessors #=> 4
@@ -1044,7 +1091,7 @@ etc_nprocessors_affin(void)
1044
1091
  * process is bound to specific cpus. This is intended for getting better
1045
1092
  * parallel processing.
1046
1093
  *
1047
- * Example: (Linux)
1094
+ * *Example:* (Linux)
1048
1095
  *
1049
1096
  * linux$ taskset 0x3 ./ruby -retc -e "p Etc.nprocessors" #=> 2
1050
1097
  *
@@ -1094,7 +1141,7 @@ etc_nprocessors(VALUE obj)
1094
1141
  * The Etc module provides a more reliable way to access information about
1095
1142
  * the logged in user than environment variables such as +$USER+.
1096
1143
  *
1097
- * == Example:
1144
+ * *Example:*
1098
1145
  *
1099
1146
  * require 'etc'
1100
1147
  *
@@ -1118,6 +1165,7 @@ Init_etc(void)
1118
1165
  RB_EXT_RACTOR_SAFE(true);
1119
1166
  #endif
1120
1167
  mEtc = rb_define_module("Etc");
1168
+ /* The version */
1121
1169
  rb_define_const(mEtc, "VERSION", rb_str_new_cstr(RUBY_ETC_VERSION));
1122
1170
  init_constants(mEtc);
1123
1171
 
@@ -35,6 +35,12 @@ opt.def_option('-H FILE', 'specify output header file') {|filename|
35
35
 
36
36
  opt.parse!
37
37
 
38
+ CONST_PREFIXES = {
39
+ 'SC' => 'for Etc.sysconf; See <tt>man sysconf</tt>',
40
+ 'CS' => 'for Etc.confstr; See <tt>man constr</tt>',
41
+ 'PC' => 'for IO#pathconf; See <tt>man fpathconf</tt>',
42
+ }
43
+
38
44
  h = {}
39
45
  COMMENTS = {}
40
46
 
@@ -49,6 +55,13 @@ DATA.each_line {|s|
49
55
  next
50
56
  end
51
57
  h[name] = default_value
58
+ if additional = CONST_PREFIXES[name[/\A_([A-Z]+)_/, 1]]
59
+ if comment&.match(/\w\z/)
60
+ comment << " " << additional
61
+ else
62
+ (comment ||= String.new) << " " << additional.sub(/\A\w/) {$&.upcase}
63
+ end
64
+ end
52
65
  COMMENTS[name] = comment if comment
53
66
  }
54
67
  DEFS = h.to_a
@@ -66,15 +79,11 @@ def each_name(pat)
66
79
  }
67
80
  end
68
81
 
69
- erb_new = lambda do |src, safe, trim|
70
- if ERB.instance_method(:initialize).parameters.assoc(:key) # Ruby 2.6+
71
- ERB.new(src, trim_mode: trim)
72
- else
73
- ERB.new(src, safe, trim)
74
- end
82
+ erb_new = lambda do |src, trim|
83
+ ERB.new(src, trim_mode: trim)
75
84
  end
76
85
 
77
- erb_new.call(<<'EOS', nil, '%').def_method(Object, "gen_const_decls")
86
+ erb_new.call(<<'EOS', '%').def_method(Object, "gen_const_decls")
78
87
  % each_const {|name, default_value|
79
88
  #if !defined(<%=name%>)
80
89
  # if defined(HAVE_CONST_<%=name.upcase%>)
@@ -88,7 +97,7 @@ erb_new.call(<<'EOS', nil, '%').def_method(Object, "gen_const_decls")
88
97
  % }
89
98
  EOS
90
99
 
91
- erb_new.call(<<'EOS', nil, '%').def_method(Object, "gen_const_defs")
100
+ erb_new.call(<<'EOS', '%').def_method(Object, "gen_const_defs")
92
101
  % each_const {|name, default_value|
93
102
  #if defined(<%=name%>)
94
103
  % if comment = COMMENTS[name]
@@ -99,13 +108,13 @@ erb_new.call(<<'EOS', nil, '%').def_method(Object, "gen_const_defs")
99
108
  % }
100
109
  EOS
101
110
 
102
- header_result = erb_new.call(<<'EOS', nil, '%').result(binding)
111
+ header_result = erb_new.call(<<'EOS', '%').result(binding)
103
112
  /* autogenerated file */
104
113
 
105
114
  <%= gen_const_decls %>
106
115
  EOS
107
116
 
108
- result = erb_new.call(<<'EOS', nil, '%').result(binding)
117
+ result = erb_new.call(<<'EOS', '%').result(binding)
109
118
  /* autogenerated file */
110
119
 
111
120
  #ifdef HAVE_LONG_LONG
@@ -123,6 +132,9 @@ result = erb_new.call(<<'EOS', nil, '%').result(binding)
123
132
  static void
124
133
  init_constants(VALUE mod)
125
134
  {
135
+ #if 0
136
+ mod = rb_define_module("Etc");
137
+ #endif
126
138
  <%= gen_const_defs %>
127
139
  }
128
140
  EOS
data/test/etc/test_etc.rb CHANGED
@@ -169,6 +169,10 @@ class TestEtc < Test::Unit::TestCase
169
169
  assert_operator(1, :<=, n)
170
170
  end
171
171
 
172
+ def test_sysconfdir
173
+ assert_operator(File, :absolute_path?, Etc.sysconfdir)
174
+ end if File.method_defined?(:absolute_path?)
175
+
172
176
  def test_ractor
173
177
  return unless Etc.passwd # => skip test if no platform support
174
178
  Etc.endpwent
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-13 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides access to information typically stored in UNIX /etc directory.
14
14
  email:
@@ -24,15 +24,6 @@ extra_rdoc_files:
24
24
  - ext/etc/etc.c
25
25
  - ext/etc/extconf.rb
26
26
  - ext/etc/mkconstants.rb
27
- - logs/ChangeLog-1.0.0
28
- - logs/ChangeLog-1.0.1
29
- - logs/ChangeLog-1.1.0
30
- - logs/ChangeLog-1.2.0
31
- - logs/ChangeLog-1.3.0
32
- - logs/ChangeLog-1.3.1
33
- - logs/ChangeLog-1.4.0
34
- - logs/ChangeLog-1.4.1
35
- - logs/ChangeLog-1.4.2
36
27
  - test/etc/test_etc.rb
37
28
  files:
38
29
  - ChangeLog
@@ -42,22 +33,13 @@ files:
42
33
  - ext/etc/etc.c
43
34
  - ext/etc/extconf.rb
44
35
  - ext/etc/mkconstants.rb
45
- - logs/ChangeLog-1.0.0
46
- - logs/ChangeLog-1.0.1
47
- - logs/ChangeLog-1.1.0
48
- - logs/ChangeLog-1.2.0
49
- - logs/ChangeLog-1.3.0
50
- - logs/ChangeLog-1.3.1
51
- - logs/ChangeLog-1.4.0
52
- - logs/ChangeLog-1.4.1
53
- - logs/ChangeLog-1.4.2
54
36
  - test/etc/test_etc.rb
55
37
  homepage: https://github.com/ruby/etc
56
38
  licenses:
57
39
  - Ruby
58
40
  - BSD-2-Clause
59
41
  metadata: {}
60
- post_install_message:
42
+ post_install_message:
61
43
  rdoc_options:
62
44
  - "--main"
63
45
  - README.md
@@ -74,8 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
56
  - !ruby/object:Gem::Version
75
57
  version: '0'
76
58
  requirements: []
77
- rubygems_version: 3.5.0.dev
78
- signing_key:
59
+ rubygems_version: 3.5.11
60
+ signing_key:
79
61
  specification_version: 4
80
62
  summary: Provides access to information typically stored in UNIX /etc directory.
81
63
  test_files: []
data/logs/ChangeLog-1.0.0 DELETED
@@ -1,65 +0,0 @@
1
- -*- coding: utf-8 -*-
2
-
3
- commit 3402a9366fba4d2bf2f4ea20df16c95121876bc4
4
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
5
- AuthorDate: 2017-12-13 14:31:00 +0900
6
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
7
- CommitDate: 2017-12-13 14:31:00 +0900
8
-
9
- Bump release date
10
-
11
- commit be7fadb654340282ff71a500a47f88a0b4c47a1d
12
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
13
- AuthorDate: 2017-12-13 14:30:42 +0900
14
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
15
- CommitDate: 2017-12-13 14:30:42 +0900
16
-
17
- Added badge of Travis
18
-
19
- commit 97aca32b82f6cd8c309ae515e36d86c4d4822e4c
20
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
21
- AuthorDate: 2017-12-13 14:23:26 +0900
22
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
23
- CommitDate: 2017-12-13 14:23:26 +0900
24
-
25
- prepare to release 1.0.0
26
-
27
- commit 744646073bcd4e7c5b65ae5921cf4c1d5697e35e
28
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
29
- AuthorDate: 2017-11-28 12:17:10 +0900
30
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
31
- CommitDate: 2017-11-28 12:20:44 +0900
32
-
33
- Pick commits from ruby core repository.
34
-
35
- * https://github.com/ruby/ruby/commit/0f7fed9253
36
- * https://github.com/ruby/ruby/commit/8fc8587e05
37
- * https://github.com/ruby/ruby/commit/1333c0f0df
38
- * https://github.com/ruby/ruby/commit/e4ff51b05a
39
- * https://github.com/ruby/ruby/commit/1852b4a866
40
- * https://github.com/ruby/ruby/commit/b5b2bd86f1
41
- * https://github.com/ruby/ruby/commit/253fd5fe6b
42
-
43
- commit 0e8f8547412d33a35752ef4272d78fc18cf3a5ed
44
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
45
- AuthorDate: 2017-10-20 16:51:22 +0900
46
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
47
- CommitDate: 2017-10-20 16:51:22 +0900
48
-
49
- Update README with rdoc of Etc module
50
-
51
- commit 86a04b45feed2bc88d44399e127ed675d5d0f41c
52
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
53
- AuthorDate: 2017-09-13 14:32:17 +0900
54
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
55
- CommitDate: 2017-09-13 14:32:17 +0900
56
-
57
- make frozen
58
-
59
- commit 91ce5d0039fe10d86b35a3c114fabb9a7ae86344
60
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
61
- AuthorDate: 2017-07-18 14:38:26 +0900
62
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
63
- CommitDate: 2017-07-18 14:38:26 +0900
64
-
65
- fixed wrong license name
data/logs/ChangeLog-1.0.1 DELETED
@@ -1,71 +0,0 @@
1
- -*- coding: utf-8 -*-
2
-
3
- commit 041c4a0cc91ce9140cc41641f4a16016349ecf30
4
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
5
- AuthorDate: 2018-05-26 09:13:47 +0900
6
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
7
- CommitDate: 2018-05-26 09:13:47 +0900
8
-
9
- bump version to 1.0.1
10
-
11
- commit 4a7571b310da6a40a337421412e2db6ad379d066
12
- Author: k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
13
- AuthorDate: 2018-02-27 11:12:23 +0000
14
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
15
- CommitDate: 2018-05-26 08:29:39 +0900
16
-
17
- Refactor ERB version checking for keyword arguments
18
-
19
- Improving code like r62590. See r62529 for details.
20
-
21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
22
-
23
- commit 5903c2ff093fc176a564053aa3b6a09e7ef7b5a3
24
- Author: k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
25
- AuthorDate: 2018-02-22 13:28:25 +0000
26
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
27
- CommitDate: 2018-05-26 08:29:15 +0900
28
-
29
- erb.rb: deprecate safe_level of ERB.new
30
-
31
- Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
32
- (trim_mode, eoutvar) are changed to keyword arguments.
33
- Old ways to specify arguments are deprecated and warned now.
34
-
35
- bin/erb: deprecate -S option.
36
-
37
- We'll remove all of deprecated ones at Ruby 2.7+.
38
-
39
- enc/make_encmake.rb: stopped using deprecated interface
40
- ext/etc/mkconstants.rb: ditto
41
- ext/socket/mkconstants.rb: ditto
42
- sample/ripper/ruby2html.rb: ditto
43
- spec/ruby/library/erb/defmethod/def_erb_method_spec.rb: ditto
44
- spec/ruby/library/erb/new_spec.rb: ditto
45
- test/erb/test_erb.rb: ditto
46
- test/erb/test_erb_command.rb: ditto
47
- tool/generic_erb.rb: ditto
48
- tool/ruby_vm/helpers/dumper.rb: ditto
49
- tool/transcode-tblgen.rb: ditto
50
- lib/rdoc/erbio.rb: ditto
51
- lib/rdoc/generator/darkfish.rb: ditto
52
-
53
- [Feature #14256]
54
-
55
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
56
-
57
- commit 16aba3206fb5335638f40d0a3969bf93e73af64b
58
- Author: SHIBATA Hiroshi <hsbt@ruby-lang.org>
59
- AuthorDate: 2018-01-05 09:23:48 +0900
60
- Commit: SHIBATA Hiroshi <hsbt@ruby-lang.org>
61
- CommitDate: 2018-01-05 09:23:48 +0900
62
-
63
- Fixed installation error with standalone gem.
64
-
65
- commit 9aad154fa91cf257ce985be9719ab55cf4ffc884
66
- Author: Olle Jonsson <olle.jonsson@gmail.com>
67
- AuthorDate: 2017-12-25 16:21:36 +0100
68
- Commit: GitHub <noreply@github.com>
69
- CommitDate: 2017-12-25 16:21:36 +0100
70
-
71
- README: ruby code fence [ci skip]