attr-utils 0.1.0
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 +7 -0
- data/lib/attr-utils.rb +11 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 866735d11c1a49e18ad5dc39e1aca9b62a753712f474408631e49bfb5bdfa457
|
4
|
+
data.tar.gz: 85f6c856620239a2028ef350d150d3253ffd66ca54e9736df269342c72e79782
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d74185b89ac2d64494b2e41c66984ca81a7fe7becdff77eafe0c9fa916c8ab642ed1ab3f95779df690d42f290d02cf3aa144c88fc225cd42b4f0dcdf1f4efef7
|
7
|
+
data.tar.gz: fb04705745b848fa61a5e406fccf755190bb81bf765df7cf1ee66a6c96598b3ad60c17a9440d345f9917fd3bd8761c1e23a2a3be2f09c8386ddab8aa6c7f4b08
|
data/lib/attr-utils.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
$LOAD_PATH << File.join(File.dirname(__FILE__), '../lib')
|
2
|
+
|
3
|
+
module AttrUtils
|
4
|
+
def self.extended(mod)
|
5
|
+
mod.extend AttrUtils::AttrList
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
require_files = []
|
10
|
+
require_files += Dir[File.join(File.dirname(__FILE__), 'attr-utils/*')]
|
11
|
+
require_files.each{|f| require f }
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: attr-utils
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shota Morimoto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: ''
|
14
|
+
email: shouta.morimoto@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/attr-utils.rb
|
20
|
+
homepage: https://twitter.com/shoutm
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubygems_version: 3.1.2
|
40
|
+
signing_key:
|
41
|
+
specification_version: 4
|
42
|
+
summary: Utilities of class attributes in Ruby language
|
43
|
+
test_files: []
|