diver_down 0.0.1.alpha1 → 0.0.1.alpha2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be24104efe3c4cc931f29552c5922681622e5efcc29d74edd26ea0058d68823b
4
- data.tar.gz: 9813779ca1e2451ed7cb97f983e198c2f749fc2f3dc88b54db0f33813e938255
3
+ metadata.gz: dcbd27bf351ca574fcdcd4c01766efed1355a466244da2e7edd44afaf01a01f8
4
+ data.tar.gz: 436603ba87645fa2cdccb025d3d1eafba4a17b6287f59abac416ed2d555a85a7
5
5
  SHA512:
6
- metadata.gz: 583e816d1ff590d7e42e5c02f3546e67802ea1046c5bb8183e973cf65ae1ce37b2c7e1549578b4d848383ff2a5affd1f51455ad78cd3799e73cfecbc40b1c3ec
7
- data.tar.gz: 150a56d11ff08e5f0a43e5483c3d5d59a6ac94dde414af484183a4b6b265c8310b8583a10488e28b1bf3f5b6a9bd205e39e2b77b5a15666bf1b03c7958d94ca8
6
+ metadata.gz: a97b9d87ce9b77a67f9638de411d362adcd697857ae66ca10926eb719d9daa086e89db4e00738fe8c7fc578784f9cc9a450ae82a1d6304dfe19f3dbe077f295f
7
+ data.tar.gz: d1675fc5858fffd12fcc21f8b7264b0b1199e099402a8c4f9d55af15c10f5b59b2570b1b206318283a6caeddf7fed1109dc3d7af89f61b50371b313343f47210
data/README.md CHANGED
@@ -58,7 +58,7 @@ end
58
58
  ```
59
59
 
60
60
  The analysis results should be output to a specific directory.
61
- Files saved in `.msgpack`, `.json`, or `.yaml` can be read by `DiverDown::Web`.
61
+ Files saved in `.json` or `.yaml` can be read by `DiverDown::Web`.
62
62
 
63
63
  ```ruby
64
64
  dir = 'tmp/diver_down'
@@ -67,7 +67,6 @@ definition = tracer.trace do
67
67
  # do something
68
68
  end
69
69
 
70
- File.binwrite(File.join(dir, "#{definition.title}.msgpack"), definition.to_msgpack)
71
70
  File.write(File.join(dir, "#{definition.title}.json"), definition.to_h.to_json)
72
71
  File.write(File.join(dir, "#{definition.title}.yaml"), definition.to_h.to_yaml)
73
72
  ```
@@ -79,11 +79,6 @@ module DiverDown
79
79
  }
80
80
  end
81
81
 
82
- # @return [String]
83
- def to_msgpack
84
- MessagePack.pack(to_h)
85
- end
86
-
87
82
  # @param other [Object, DiverDown::Definition::Source]
88
83
  # @return [Boolean]
89
84
  def ==(other)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiverDown
4
- VERSION = '0.0.1.alpha1'
4
+ VERSION = '0.0.1.alpha2'
5
5
  end
@@ -8,8 +8,6 @@ module DiverDown
8
8
  hash = case File.extname(path)
9
9
  when '.yaml', '.yml'
10
10
  from_yaml(path)
11
- when '.msgpack'
12
- from_msgpack(path)
13
11
  when '.json'
14
12
  from_json(path)
15
13
  else
@@ -28,10 +26,6 @@ module DiverDown
28
26
  def from_yaml(path)
29
27
  YAML.load_file(path)
30
28
  end
31
-
32
- def from_msgpack(path)
33
- MessagePack.unpack(File.binread(path))
34
- end
35
29
  end
36
30
  end
37
31
  end
data/lib/diver_down.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'msgpack'
4
3
  require_relative 'diver_down/version'
5
4
 
6
5
  module DiverDown
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diver_down
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha1
4
+ version: 0.0.1.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - alpaca-tc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-11 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 7.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: msgpack
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.7.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 1.7.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rack-contrib
43
29
  requirement: !ruby/object:Gem::Requirement