tana 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +2 -2
- data/lib/tana/container.rb +5 -5
- data/lib/tana/import.rb +1 -1
- data/tana.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +13 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '048aa157020a652c696121de3320dec49d6c848f6c9f72e4a9078299fb4dddea'
|
4
|
+
data.tar.gz: b17e459a314084274a4b72bedab1928eb187839d373d75835ce17fcc6f51a4f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92737350f5f06201d09d2ff33550b55e96b1f0dc6f8da8f8cc9f7612a5ba17d06b7086941b0a87716385cb9e9a289693060795daa34fb8baac0a3c0dde9d02d9
|
7
|
+
data.tar.gz: 5f41bc1c796063135c4378eba848ddb24fb020d3e8fa00949b4ffd188cab9b0b247b4ace54bd3f8a02291bf6ad61ced07be81a248e64034e39a18748b42acf2e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
:dry_validation_link: link:https://dry-rb.org/gems/dry-validation[Dry Validation]
|
11
11
|
:function_composition_link: link:https://alchemists.io/articles/ruby_function_composition[Function Composition]
|
12
12
|
:pattern_matching_link: link:https://alchemists.io/articles/ruby_pattern_matching[Pattern Matching]
|
13
|
+
:pipeable_link: link:https://alchemists.io/projects/pipeable[Pipeable]
|
13
14
|
:tana_link: link:https://tana.inc[Tana]
|
14
|
-
:transactable_link: link:https://alchemists.io/projects/transactable[Transactable]
|
15
15
|
|
16
16
|
= Tana
|
17
17
|
|
@@ -25,7 +25,7 @@ toc::[]
|
|
25
25
|
|
26
26
|
* Provides an API client which implements Tana's limited, early access {api_link}.
|
27
27
|
* Provides HTTP request and response verification using {dry_schema_link} and {dry_validation_link}.
|
28
|
-
* Uses {function_composition_link} -- coupled with {
|
28
|
+
* Uses {function_composition_link} -- coupled with {pipeable_link} -- to process each HTTP request and response.
|
29
29
|
|
30
30
|
== Requirements
|
31
31
|
|
data/lib/tana/container.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "containable"
|
4
4
|
require "http"
|
5
5
|
|
6
6
|
module Tana
|
7
7
|
# Defines application dependencies.
|
8
8
|
module Container
|
9
|
-
extend
|
9
|
+
extend Containable
|
10
10
|
|
11
|
-
register(:configuration
|
12
|
-
register
|
13
|
-
register(:client
|
11
|
+
register(:configuration) { Configuration::Loader.new.call }
|
12
|
+
register :http, HTTP
|
13
|
+
register(:client) { API::Client.new }
|
14
14
|
end
|
15
15
|
end
|
data/lib/tana/import.rb
CHANGED
data/tana.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "tana"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.4.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/tana"
|
@@ -23,13 +23,13 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.3"
|
26
|
+
spec.add_dependency "containable", "~> 0.0"
|
26
27
|
spec.add_dependency "core", "~> 1.0"
|
27
|
-
spec.add_dependency "dry-container", "~> 0.11"
|
28
28
|
spec.add_dependency "dry-monads", "~> 1.6"
|
29
29
|
spec.add_dependency "dry-validation", "~> 1.10"
|
30
30
|
spec.add_dependency "http", "~> 5.1"
|
31
|
-
spec.add_dependency "infusible", "~> 3.
|
32
|
-
spec.add_dependency "pipeable", "~> 0.
|
31
|
+
spec.add_dependency "infusible", "~> 3.5"
|
32
|
+
spec.add_dependency "pipeable", "~> 0.2"
|
33
33
|
spec.add_dependency "refinements", "~> 12.1"
|
34
34
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
35
35
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,36 +35,36 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-03
|
38
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
|
-
name:
|
41
|
+
name: containable
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '0.0'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '0.0'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
|
-
name:
|
55
|
+
name: core
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0
|
60
|
+
version: '1.0'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0
|
67
|
+
version: '1.0'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: dry-monads
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,28 +113,28 @@ dependencies:
|
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '3.
|
116
|
+
version: '3.5'
|
117
117
|
type: :runtime
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '3.
|
123
|
+
version: '3.5'
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: pipeable
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '0.
|
130
|
+
version: '0.2'
|
131
131
|
type: :runtime
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0.
|
137
|
+
version: '0.2'
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: refinements
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
|
-
rubygems_version: 3.5.
|
236
|
+
rubygems_version: 3.5.7
|
237
237
|
signing_key:
|
238
238
|
specification_version: 4
|
239
239
|
summary: A monadic API client for the Tana Personal Knowledge Management system.
|
metadata.gz.sig
CHANGED
Binary file
|