coactive 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/coactive/config.rb +6 -1
- data/lib/coactive/configure.rb +1 -0
- data/lib/coactive/version.rb +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: 770c5f64ad5b2032eb3adcc65af596be49364f39fa75de5febc4ee3213ce9f9b
|
4
|
+
data.tar.gz: f8efaa56a30c4f4eabcb22b7c4a0d14f9753c4f982a79f5ec9d5a697c86181a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b9f507b0e3c8f2a55e9151ea868d14a314ef017157746375b068c99ded7803bb8c39295fe880b95523eb8d6a054a5ab0646f17a90362e86dd5616d9277bafd3
|
7
|
+
data.tar.gz: e8e5146497628c5de49e7d45797dfa377d209053d3a1ba5195ab7425bdef3092ba1721006ae3ffbefc721c152526d11ccef3068acde178a2ec5b308a01235b10
|
data/CHANGELOG.md
CHANGED
data/lib/coactive/config.rb
CHANGED
@@ -11,8 +11,13 @@ module Coactive
|
|
11
11
|
lookup_superclass_until: ['ActiveRecord::Base', 'ActiveModel::Base'],
|
12
12
|
}
|
13
13
|
|
14
|
-
|
14
|
+
attr_accessor :data
|
15
|
+
|
16
|
+
def initialize(attrs = {})
|
15
17
|
@data = DEFAULTS.deep_dup
|
18
|
+
attrs.each do |key, value|
|
19
|
+
send("#{key}=", value)
|
20
|
+
end
|
16
21
|
end
|
17
22
|
|
18
23
|
DEFAULTS.keys.each do |key|
|
data/lib/coactive/configure.rb
CHANGED
data/lib/coactive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coactive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
151
|
+
rubygems_version: 3.0.3
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Make classes coactive
|