diva 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/diva.gemspec +4 -4
- data/lib/diva/model.rb +2 -2
- data/lib/diva/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf1edb1ef04a665cf476f237cd2d37a72ab67c9c6ad060021a4872fd007826dd
|
4
|
+
data.tar.gz: 58d4ee3739a3790e7bafb8ac1e4ba9fe87e0f3cb6922f21adf39c2a5afc4642b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 020bdd443e187d5b3d9d1ca6268368f7771b251397cd8921ba64c82d7521e9606571f8839d2dad5889be86aab483089080864ad6a4cdff1ab869dde027a482a2
|
7
|
+
data.tar.gz: f4ced1540783a59fc5f687eff027d6e60f9ad12ffb2b92f9deabd7f3512371e0a97bce1a226461cbc757ba0d5d47cc7a54cb225abe59df64ef58e92a160d9c0e
|
data/diva.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", '>= 1.
|
22
|
-
spec.add_development_dependency "rake", '>=
|
23
|
-
spec.add_development_dependency "minitest", '>= 5.
|
21
|
+
spec.add_development_dependency "bundler", '>= 2.1.4', '< 2.2'
|
22
|
+
spec.add_development_dependency "rake", '>= 13.0.1', '< 14.0'
|
23
|
+
spec.add_development_dependency "minitest", '>= 5.13.0', '< 5.14'
|
24
24
|
spec.add_development_dependency "pry", '>= 0.12.2', '< 1.0'
|
25
|
-
spec.add_development_dependency "simplecov", '>= 0.
|
25
|
+
spec.add_development_dependency "simplecov", '>= 0.17.1', '< 1.0'
|
26
26
|
|
27
27
|
spec.add_dependency "addressable", ">= 2.5.2", "< 2.8"
|
28
28
|
end
|
data/lib/diva/model.rb
CHANGED
@@ -83,10 +83,10 @@ class Diva::Model
|
|
83
83
|
Hash[self.class.fields.map{|f| [f.name, fetch(f.name)] }]
|
84
84
|
end
|
85
85
|
|
86
|
-
def to_json(*rest
|
86
|
+
def to_json(*rest)
|
87
87
|
Hash[
|
88
88
|
self.class.fields.map{|f| [f.name, f.dump_for_json(fetch(f.name))] }
|
89
|
-
].to_json(*rest
|
89
|
+
].to_json(*rest)
|
90
90
|
end
|
91
91
|
|
92
92
|
# カラムの生の内容を返す
|
data/lib/diva/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshiaki Asai
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,60 +16,60 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 2.1.4
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '2.
|
22
|
+
version: '2.2'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 2.1.4
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '2.
|
32
|
+
version: '2.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 13.0.1
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '14.0'
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 13.0.1
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '14.0'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: minitest
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 5.
|
59
|
+
version: 5.13.0
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '5.
|
62
|
+
version: '5.14'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 5.
|
69
|
+
version: 5.13.0
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '5.
|
72
|
+
version: '5.14'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: pry
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 0.
|
99
|
+
version: 0.17.1
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '1.0'
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
109
|
+
version: 0.17.1
|
110
110
|
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '1.0'
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
179
|
+
rubygems_version: 3.1.2
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Implementation of expression for handling things.
|