ruby2_keywords 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8443fe4f2ad07b84290bdc001804e9dc04914c8252b37430d04e23f54b1bc5d9
4
- data.tar.gz: c6f7a1afa106890c3cdce7b15add28d9690380fae66b323f62bf09de2252f919
3
+ metadata.gz: d02a95bf659b2cbad614249c29935e9ad9bd15431e02ebfe79ae7e8c170aeffe
4
+ data.tar.gz: 5f6cef7695d91253691b74f496badb678d7d5f35e9cced9262035cc1e12d686f
5
5
  SHA512:
6
- metadata.gz: 7cb31d0ec6b2ac078c6b440b3979d9679ae677a37866c74878b7bf3093477843730da010eb197b80160826b1faeaef7ab50a5be88717c32ae82504497c93d432
7
- data.tar.gz: 7b1c59e09aeed3a653994a490a800252ec8f27c87cc781424f52afddaaca7d51f66af595d4cbc119c3c34566a9b8cd0ef62e4cac5f374fdff31ad99cd2c25951
6
+ metadata.gz: d47db8c3cd7883d5874362809f6319ce7c57abbda3d9a418e440de014467e6c983aebe50f269654b46a4d7dae471ad959e04b72c8a33c13e3ec8e7732cf5ff60
7
+ data.tar.gz: 68a13906c3a6e4745a83b5c3634dc5fb3200b9bcaeec80a50aa5a91a07fe7ff285e5c0b34066ec2896df5130e894f14eb5bd1f30a6318098bfffce61f014ef2f
data/ChangeLog ADDED
@@ -0,0 +1,214 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit 92ad9c5c3fff591b8383ada8b93c3da1279d24ad
4
+ Author: Benoit Daloze <eregontp@gmail.com>
5
+ AuthorDate: 2021-01-19 16:15:55 +0100
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2021-02-13 09:02:24 +0900
8
+
9
+ Add TruffleRuby in CI
10
+
11
+ commit 07d7fa17e4c61102597280bd31a6b5972d8e5588
12
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
13
+ AuthorDate: 2021-02-11 17:23:30 +0900
14
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
15
+ CommitDate: 2021-02-11 21:51:58 +0900
16
+
17
+ bundle-install only on ruby 2.1
18
+
19
+ commit 5f993b84a469cdc1995077dc0d8391928bb7ac1a
20
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
21
+ AuthorDate: 2021-02-11 12:18:26 +0900
22
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
23
+ CommitDate: 2021-02-11 21:39:44 +0900
24
+
25
+ Split Rakefile into rakelib
26
+
27
+ commit 8e4d9a8de92e9f1f3690fbc224aac1e0d102c36e
28
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
29
+ AuthorDate: 2021-02-11 21:38:24 +0900
30
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
31
+ CommitDate: 2021-02-11 21:38:24 +0900
32
+
33
+ Ignore lock file and generated logs
34
+
35
+ commit 03b864c09e657c130a66c7ab68d962a31df3b819
36
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
37
+ AuthorDate: 2021-02-10 21:37:20 +0900
38
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
39
+ CommitDate: 2021-02-10 21:44:29 +0900
40
+
41
+ Do not use gemspec for gem dependecy
42
+
43
+ commit 636c350c0a10ec75a9b01dd4db983abe6310136f
44
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
45
+ AuthorDate: 2021-02-10 12:26:30 +0900
46
+ Commit: GitHub <noreply@github.com>
47
+ CommitDate: 2021-02-10 12:26:30 +0900
48
+
49
+ Reduced tests
50
+
51
+ Target only the currently maintained versions and the oldest available version, omitting the in-betweens.
52
+
53
+ commit 97b4de75c83c927eca773e689ecb49557a972024
54
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
55
+ AuthorDate: 2021-02-04 11:58:41 +0000
56
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
57
+ CommitDate: 2021-02-10 11:54:45 +0900
58
+
59
+ Add docker-compose.yml for easy testing of older rubies
60
+
61
+ commit 6974495d294cd59b8c0dba78a26b391f25154050
62
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
63
+ AuthorDate: 2021-02-04 11:39:26 +0000
64
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
65
+ CommitDate: 2021-02-10 11:54:45 +0900
66
+
67
+ Explicitly declare support for Ruby >= 2.0.0
68
+
69
+ This can be used to clarify support, as well as in the future to drop
70
+ support for rubies, if so desired.
71
+
72
+ commit 64aad913e16d7e6008aa6ca06cf3f1b6fa864c4a
73
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
74
+ AuthorDate: 2021-02-10 00:42:59 +0900
75
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
76
+ CommitDate: 2021-02-10 00:42:59 +0900
77
+
78
+ Separated install from test
79
+
80
+ commit 74cb318db44a3851f724ac72624f1509bbf1bdd4
81
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
82
+ AuthorDate: 2021-02-04 12:09:11 +0000
83
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
84
+ CommitDate: 2021-02-10 00:39:31 +0900
85
+
86
+ Add older Rubies to CI as well
87
+
88
+ commit 098295f4e9510a751097a6fc0e76c278ae9a1ff0
89
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
90
+ AuthorDate: 2021-02-04 11:20:19 +0000
91
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
92
+ CommitDate: 2021-02-10 00:25:20 +0900
93
+
94
+ Avoid built-in old `test-unit`
95
+
96
+ In Ruby <= 2.1, `test-unit` was shipped with Ruby itself (unbundling
97
+ was done for 2.2 -- see <https://bugs.ruby-lang.org/issues/9711>).
98
+
99
+ The `test-unit` version shipped with 2.1 breaks some of the tests.
100
+ To fix this, I've added the minimum needed version explicitly to the
101
+ `gemspec`, as well as added a `gems.rb` for allowing the use of
102
+ `bundler` to run the tests and ensure the correct `test-unit` is used.
103
+
104
+ commit 1773502b1c445ae0ca1c31960a1b64b2f040f8c1
105
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
106
+ AuthorDate: 2021-02-04 10:43:18 +0000
107
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
108
+ CommitDate: 2021-02-10 00:22:22 +0900
109
+
110
+ Avoid using `Binding#receiver`
111
+
112
+ This feature is only available on Ruby 2.2+ and breaks older rubies.
113
+
114
+ See <https://docs.ruby-lang.org/en/2.2.0/NEWS.html> for more details.
115
+
116
+ commit 0784ef08e280a5eb3c08fd9198b381af0ec027f6
117
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
118
+ AuthorDate: 2021-02-09 23:46:24 +0900
119
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
120
+ CommitDate: 2021-02-10 00:22:22 +0900
121
+
122
+ Strip the source directory from globbed paths
123
+
124
+ commit 7f5f4f8cd9c605741bec1cdabece0dd7e53afd9a
125
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
126
+ AuthorDate: 2021-02-04 10:15:27 +0000
127
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
128
+ CommitDate: 2021-02-10 00:22:22 +0900
129
+
130
+ Avoid using `base:` option for `Dir.glob`
131
+
132
+ This option is only available on Ruby 2.5+ and breaks older rubies.
133
+
134
+ See <https://rubyreferences.github.io/rubychanges/2.5.html#dirglob-base-argument>
135
+ for more details.
136
+
137
+ commit f40159f5a66fff7bed873d68e06439ec960bc3f9
138
+ Author: Ivo Anjo <ivo.anjo@datadoghq.com>
139
+ AuthorDate: 2021-02-04 10:35:42 +0000
140
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
141
+ CommitDate: 2021-02-10 00:22:21 +0900
142
+
143
+ Avoid using numbered block parameters
144
+
145
+ This feature is only available on Ruby 2.7+ and breaks older rubies.
146
+
147
+ See <https://rubyreferences.github.io/rubychanges/2.7.html#numbered-block-parameters>
148
+ for more details.
149
+
150
+ commit c898163464e896d63698f19a49bc0ab8cc593081
151
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
152
+ AuthorDate: 2021-02-09 23:50:56 +0900
153
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
154
+ CommitDate: 2021-02-10 00:21:21 +0900
155
+
156
+ Revert "Add TruffleRuby in CI"
157
+
158
+ This reverts commit 294d9e79171b1b954f223f08acc6144f0fc6efd4.
159
+
160
+ commit 88867dc48b9f0ec139cd349af40ae9dbea677b93
161
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
162
+ AuthorDate: 2021-02-09 23:37:17 +0900
163
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
164
+ CommitDate: 2021-02-09 23:37:17 +0900
165
+
166
+ Moved the mandatory argument first
167
+
168
+ commit 294d9e79171b1b954f223f08acc6144f0fc6efd4
169
+ Author: Benoit Daloze <eregontp@gmail.com>
170
+ AuthorDate: 2021-01-19 16:15:55 +0100
171
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
172
+ CommitDate: 2021-02-09 23:09:57 +0900
173
+
174
+ Add TruffleRuby in CI
175
+
176
+ commit 2f7e9000b4a64240616b1cbfbcff5e9174fdf6b1
177
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
178
+ AuthorDate: 2021-01-20 13:19:12 +0900
179
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
180
+ CommitDate: 2021-01-24 20:01:28 +0900
181
+
182
+ Include ChangeLogs for old versions
183
+
184
+ commit 4c54e01675202ad0a69bbd39a790290b9870e125
185
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
186
+ AuthorDate: 2021-01-20 10:52:47 +0900
187
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
188
+ CommitDate: 2021-01-24 19:58:45 +0900
189
+
190
+ Added ChangeLog rule
191
+
192
+ commit 9e5b2a4ba56d61a2b59f9db52c98155c0c449152
193
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
194
+ AuthorDate: 2021-01-20 10:24:47 +0900
195
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
196
+ CommitDate: 2021-01-20 10:54:31 +0900
197
+
198
+ Added extra_rdoc_files to make README.md the main page
199
+
200
+ commit 75927b417a79377770cddfe219b34aa87280a5e7
201
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
202
+ AuthorDate: 2021-01-20 10:21:52 +0900
203
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
204
+ CommitDate: 2021-01-20 10:54:25 +0900
205
+
206
+ Separate tagging from version bump
207
+
208
+ commit c353a3fffc323982d829275c82ae09fdbad94816
209
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
210
+ AuthorDate: 2021-01-20 10:20:25 +0900
211
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
212
+ CommitDate: 2021-01-20 10:20:45 +0900
213
+
214
+ bump up to 0.0.5
data/README.md CHANGED
@@ -56,6 +56,14 @@ ruby2_keywords :delegating_method
56
56
  Bug reports and pull requests are welcome on [GitHub] or
57
57
  [Ruby Issue Tracking System].
58
58
 
59
+ ## Development
60
+
61
+ After checking out the repo, run `bundle install` to install dependencies.
62
+ Then, run `bundle exec rake test` to run the tests.
63
+
64
+ To test on older Ruby versions, you can use docker. E.g. to test on Ruby 2.0,
65
+ use `docker-compose run ruby-2.0`.
66
+
59
67
  ## License
60
68
 
61
69
  The gem is available as open source under the terms of the
@@ -11,7 +11,7 @@ class Module
11
11
  end
12
12
  end
13
13
 
14
- main = TOPLEVEL_BINDING.receiver
14
+ main = TOPLEVEL_BINDING.eval('self')
15
15
  unless main.respond_to?(:ruby2_keywords, true)
16
16
  # call-seq:
17
17
  # ruby2_keywords(method_name, ...)
@@ -0,0 +1,25 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit 33787f35f09e26f4c1ca716fafc81144d5d21333
4
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
5
+ AuthorDate: 2019-10-22 23:57:24 +0900
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2019-10-22 23:57:24 +0900
8
+
9
+ Added readme to files in gemspec
10
+
11
+ commit 53b25f66cffa09e2c2b6730fd49241bb359f33db
12
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
13
+ AuthorDate: 2019-10-22 23:55:26 +0900
14
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
15
+ CommitDate: 2019-10-22 23:55:26 +0900
16
+
17
+ authors may not be empty
18
+
19
+ commit 6e6756bfa47bcf15ecc10ce07237886339edc415
20
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
21
+ AuthorDate: 2019-10-17 00:18:01 +0900
22
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
23
+ CommitDate: 2019-10-17 00:18:01 +0900
24
+
25
+ Initial version
@@ -0,0 +1,9 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit b879d6e1d72651af6317e67eaa129d5c9be62e40
4
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
5
+ AuthorDate: 2019-12-02 08:08:31 +0900
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2019-12-02 08:09:04 +0900
8
+
9
+ Added the toplevel method
@@ -0,0 +1,55 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit a198860c7ceba43ccee428c20bdd082f2bdaba6e
4
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
5
+ AuthorDate: 2020-01-08 15:51:35 +0900
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2020-01-08 15:51:35 +0900
8
+
9
+ Achieve version numbers from tags
10
+
11
+ commit 07e126eea667923b2d5f4a7584687cb1decd3a56
12
+ Author: Yusuke Endoh <mame@ruby-lang.org>
13
+ AuthorDate: 2020-01-06 15:27:08 +0900
14
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
15
+ CommitDate: 2020-01-08 15:38:19 +0900
16
+
17
+ Add a guard for Proc#ruby2_keywords
18
+
19
+ commit ff392be2fbea77872d801ed0051c2f166dd6eee9
20
+ Author: Yusuke Endoh <mame@ruby-lang.org>
21
+ AuthorDate: 2020-01-03 23:51:21 +0900
22
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
23
+ CommitDate: 2020-01-08 15:38:19 +0900
24
+
25
+ Add a shim for Proc#ruby2_keywords
26
+
27
+ commit d5d8c0c8f45102c512bb8015988116c5110b28db
28
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
29
+ AuthorDate: 2020-01-03 10:26:25 +0900
30
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
31
+ CommitDate: 2020-01-08 15:36:44 +0900
32
+
33
+ Check Module#ruby2_keywords arity
34
+
35
+ It is considered a mistake, because calling this method with no
36
+ arguments has no effect.
37
+
38
+ commit 9cf7c9791857db17afb235230059d6cbc2408e9e
39
+ Author: Jeremy Evans <code@jeremyevans.net>
40
+ AuthorDate: 2019-11-10 12:04:28 -0800
41
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
42
+ CommitDate: 2019-12-04 16:23:33 +0900
43
+
44
+ Fix usage example in README
45
+
46
+ The examle warns in Ruby 2.7, and it isn't a case where you would
47
+ want to use ruby2_keywords.
48
+
49
+ commit dcc6958efdf25045dce149bf4d0a327e8878c9dd
50
+ Author: Yusuke Endoh <mame@ruby-lang.org>
51
+ AuthorDate: 2019-12-03 18:08:39 +0900
52
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
53
+ CommitDate: 2019-12-03 18:54:26 +0900
54
+
55
+ Update homepage to the github repository
@@ -0,0 +1,124 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit 396cc7991604632bc686e3c363504db42337cca3
4
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
5
+ AuthorDate: 2021-01-19 20:57:52 +0900
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2021-01-19 21:10:28 +0900
8
+
9
+ Added tests
10
+
11
+ commit aa06490df9efa905ef17c143e96edee547c4ffad
12
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
13
+ AuthorDate: 2021-01-19 20:20:31 +0900
14
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
15
+ CommitDate: 2021-01-19 20:20:31 +0900
16
+
17
+ Fixed RDoc location
18
+
19
+ commit 9603fec096b257d382776c09ab1f5fe88d289307
20
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
21
+ AuthorDate: 2021-01-19 20:19:09 +0900
22
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
23
+ CommitDate: 2021-01-19 20:19:09 +0900
24
+
25
+ Make README.md the main page
26
+
27
+ commit 5093cd212b44d1fbd8ef1c6b3f2bfa8f3427de16
28
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
29
+ AuthorDate: 2021-01-19 19:21:06 +0900
30
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
31
+ CommitDate: 2021-01-19 19:21:06 +0900
32
+
33
+ Added least documents
34
+
35
+ commit 52b8acf6a89de00f44c8854f0e30c2be4a3d7cb3
36
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
37
+ AuthorDate: 2021-01-19 19:19:59 +0900
38
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
39
+ CommitDate: 2021-01-19 19:19:59 +0900
40
+
41
+ Define Hash.ruby2_keywords_hash singleton method
42
+
43
+ commit 51c47c060d9678ae2c28bcf415bc87346cba1860
44
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
45
+ AuthorDate: 2021-01-19 19:19:09 +0900
46
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
47
+ CommitDate: 2021-01-19 19:19:09 +0900
48
+
49
+ Define Hash.ruby2_keywords_hash? singleton method
50
+
51
+ commit 2ee450c041cb1a3b15580c3963b778b33926503c
52
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
53
+ AuthorDate: 2021-01-19 18:53:19 +0900
54
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
55
+ CommitDate: 2021-01-19 18:53:19 +0900
56
+
57
+ Package LICENSE file
58
+
59
+ The source gemspec file is useless after building the gem file.
60
+
61
+ commit a841a82a1ff485ab6dd5759f6f31dff17de45b65
62
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
63
+ AuthorDate: 2021-01-19 14:41:53 +0900
64
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
65
+ CommitDate: 2021-01-19 14:51:06 +0900
66
+
67
+ README: fix Contributing and License
68
+
69
+ commit cbecd4307612f6794962a701cb16ac620872c1f9
70
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
71
+ AuthorDate: 2021-01-19 12:13:21 +0900
72
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
73
+ CommitDate: 2021-01-19 12:13:21 +0900
74
+
75
+ Added version guard against the default gem
76
+
77
+ commit 52c15f0e55dfdcb8204e92c85a4dd5d524549533
78
+ Author: Yusuke Endoh <mame@ruby-lang.org>
79
+ AuthorDate: 2021-01-07 17:39:52 +0900
80
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
81
+ CommitDate: 2021-01-07 19:56:19 +0900
82
+
83
+ Use private_method_defined? instead of respond_to?
84
+
85
+ `Module.respond_to?(:ruby2_keywords, true)` does NOT check if
86
+ `Module#ruby2_keywords` is available. It worked well because there is
87
+ toplevel `ruby2_keywords` method, but using `private_method_defined?` is
88
+ better, I think.
89
+
90
+ Also, this fixes a syntactic error.
91
+
92
+ commit 23981c5296aec6c5dbe104b8adc7ca0e85cb4313
93
+ Author: Yusuke Endoh <mame@ruby-lang.org>
94
+ AuthorDate: 2020-12-28 14:07:40 +0900
95
+ Commit: GitHub <noreply@github.com>
96
+ CommitDate: 2020-12-28 14:07:40 +0900
97
+
98
+ Add an example for Module#define_method (#7)
99
+
100
+ commit 92e74341dffc9a41d7671ea82709ba2e091ef4e8
101
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
102
+ AuthorDate: 2020-12-27 17:43:35 +0900
103
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
104
+ CommitDate: 2020-12-27 17:43:35 +0900
105
+
106
+ Added BSD-2-Clause to the licenses of the gemspec
107
+
108
+ commit 46ed72d40db163f9edbddbe6e5706794484ac5bb
109
+ Author: Antonio Terceiro <asa@terceiro.xyz>
110
+ AuthorDate: 2020-04-03 14:50:29 -0300
111
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
112
+ CommitDate: 2020-12-27 17:06:49 +0900
113
+
114
+ Add explicit license file
115
+
116
+ Fixes #4
117
+
118
+ commit 53833c0f660239eeb572dd33d4a1fac503c4834a
119
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
120
+ AuthorDate: 2020-12-27 17:05:37 +0900
121
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
122
+ CommitDate: 2020-12-27 17:05:37 +0900
123
+
124
+ Support Hash.ruby2_keywords_hash?
@@ -0,0 +1,53 @@
1
+ -*- coding: utf-8 -*-
2
+
3
+ commit 31766f4327e6e4555543b44fc6a5dc252c8ff6d9
4
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
5
+ AuthorDate: 2021-01-19 23:49:55 +0900
6
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
7
+ CommitDate: 2021-01-19 23:49:55 +0900
8
+
9
+ bump up to 0.0.4
10
+
11
+ commit 8bf4b5b4169545ef5be46dec8cd6502d902a3e4a
12
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
13
+ AuthorDate: 2021-01-19 23:49:51 +0900
14
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
15
+ CommitDate: 2021-01-19 23:49:51 +0900
16
+
17
+ Added bump target
18
+
19
+ commit fba8eb45d6b2db2d0f829b0d20300e7d19268146
20
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
21
+ AuthorDate: 2021-01-19 23:29:46 +0900
22
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
23
+ CommitDate: 2021-01-19 23:35:44 +0900
24
+
25
+ Build package
26
+
27
+ commit 403ff84d12c9fe1f34397b3a164b0b2f73a560d1
28
+ Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
29
+ AuthorDate: 2021-01-19 23:25:17 +0900
30
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
31
+ CommitDate: 2021-01-19 23:33:35 +0900
32
+
33
+ Set SOURCE_DATE_EPOCH to make builds reproducible
34
+
35
+ commit 956156ba793330928280c5301b093300a1a9f792
36
+ Author: Nazar Matus <funkyloverone@gmail.com>
37
+ AuthorDate: 2021-01-19 16:07:37 +0200
38
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
39
+ CommitDate: 2021-01-19 23:33:11 +0900
40
+
41
+ Add Ruby 2.5 to the CI matrix
42
+
43
+ commit d6d1775d793bcaf206af700120b0b4bd2dc3842d
44
+ Author: Nazar Matus <funkyloverone@gmail.com>
45
+ AuthorDate: 2021-01-19 15:47:38 +0200
46
+ Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
47
+ CommitDate: 2021-01-19 23:33:11 +0900
48
+
49
+ Fix Ruby 2.5 incopatibility
50
+
51
+ We don't really need that second optional argument,
52
+ as its default value is just what we need
53
+ https://ruby-doc.org/core-2.7.2/Module.html#method-i-private_method_defined-3F
metadata CHANGED
@@ -1,24 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2_keywords
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nobuyoshi Nakada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-02-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
15
15
  executables: []
16
16
  extensions: []
17
- extra_rdoc_files: []
17
+ extra_rdoc_files:
18
+ - LICENSE
19
+ - README.md
20
+ - ChangeLog
21
+ - logs/ChangeLog-0.0.0
22
+ - logs/ChangeLog-0.0.1
23
+ - logs/ChangeLog-0.0.2
24
+ - logs/ChangeLog-0.0.3
25
+ - logs/ChangeLog-0.0.4
18
26
  files:
27
+ - ChangeLog
19
28
  - LICENSE
20
29
  - README.md
21
30
  - lib/ruby2_keywords.rb
31
+ - logs/ChangeLog-0.0.0
32
+ - logs/ChangeLog-0.0.1
33
+ - logs/ChangeLog-0.0.2
34
+ - logs/ChangeLog-0.0.3
35
+ - logs/ChangeLog-0.0.4
22
36
  homepage: https://github.com/ruby/ruby2_keywords
23
37
  licenses:
24
38
  - Ruby
@@ -34,14 +48,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
34
48
  requirements:
35
49
  - - ">="
36
50
  - !ruby/object:Gem::Version
37
- version: '0'
51
+ version: 2.0.0
38
52
  required_rubygems_version: !ruby/object:Gem::Requirement
39
53
  requirements:
40
54
  - - ">="
41
55
  - !ruby/object:Gem::Version
42
56
  version: '0'
43
57
  requirements: []
44
- rubygems_version: 3.2.3
58
+ rubygems_version: 3.3.0.dev
45
59
  signing_key:
46
60
  specification_version: 4
47
61
  summary: Shim library for Module#ruby2_keywords