coactive 0.2.0 → 0.2.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 +4 -0
- data/lib/coactive/context.rb +1 -2
- 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: 0e5b954d90120e156df60ee60c5c271cd7e8666bc507018c6814a5594f62e21b
|
4
|
+
data.tar.gz: 1923a89bba5c5b58c8be13f052ef902e2fb8744bccc6fe513bc3f0d84d70a02c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6b0e3585803ebfe054851c4f55db0276e4544f0eeb169375d20e9901126377a804e3e56e10b836092b7fcab41b1dd025ecc5cfc0f9fac2ec7743c757bdd4efc
|
7
|
+
data.tar.gz: 4dc336fd5a76d3be0c303febe8d8a05d3b0dcfc4dc6ad2d6dbbcb977286c73e1e24a8a203212cb60fa051ceb8d1a8445ad055f83c01efbfe34407a681683bc8f
|
data/CHANGELOG.md
CHANGED
data/lib/coactive/context.rb
CHANGED
@@ -26,10 +26,9 @@ module Coactive
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def to_s
|
29
|
-
attrs = @_data.map { |k, v| "#{k}=#{v.
|
29
|
+
attrs = @_data.map { |k, v| "#{k}=#{v.to_s.truncate(300)}" }.join(', ')
|
30
30
|
"#<#{self.class} #{attrs}>"
|
31
31
|
end
|
32
|
-
alias :inspect :to_s
|
33
32
|
|
34
33
|
def define_accessors!(keys)
|
35
34
|
Array(keys).each do |key|
|
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.2.
|
4
|
+
version: 0.2.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: 2022-01-
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.1.
|
161
|
+
rubygems_version: 3.1.6
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Make classes coactive
|