ruby2_keywords 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/ruby2_keywords.rb +7 -0
- data/ruby2_keywords.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a4b61fa69c93ceb15436b2cf8c00d69317d42dde1311c5c6f03665047d18cb
|
4
|
+
data.tar.gz: 6d6d0948ba2c9e2e3541dd8e250afb3b66a6c325ce2b8ec5ca5d4edc8e18c814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 619d7f7699e5b1535e928068c05634ffd85bcb64e95fda9b40a9d686128b56c25d239e7878adfaf76db31b1f1177a7bd2747ae5f6c1a554c759e5d2c9e533d5e
|
7
|
+
data.tar.gz: 10e9583bef2197cfcadc1b5ef35c375429c85750d200ac15a2010c5a3f97e724238bde3c462fcc6827135c06af48a8fe98616b49f449c3139040a51cf78a2c31
|
data/README.md
CHANGED
@@ -21,6 +21,8 @@ Or install it yourself as:
|
|
21
21
|
|
22
22
|
## Usage
|
23
23
|
|
24
|
+
For class/module instance methods:
|
25
|
+
|
24
26
|
```ruby
|
25
27
|
require 'ruby2_keywords'
|
26
28
|
|
@@ -30,6 +32,15 @@ module YourModule
|
|
30
32
|
end
|
31
33
|
```
|
32
34
|
|
35
|
+
For global methods:
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
require 'ruby2_keywords'
|
39
|
+
|
40
|
+
ruby2_keywords def oldstyle_keywords(options = {})
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
33
44
|
## Contributing
|
34
45
|
|
35
46
|
Bug reports and pull requests are welcome on GitHub at https://bugs.ruby-lang.org.
|
data/lib/ruby2_keywords.rb
CHANGED
data/ruby2_keywords.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby2_keywords
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobuyoshi Nakada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
|
-
rubygems_version: 3.1.0.
|
41
|
+
rubygems_version: 3.1.0.pre3
|
42
42
|
signing_key:
|
43
43
|
specification_version: 4
|
44
44
|
summary: Shim library for Module#ruby2_keywords
|