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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 052a350d32d08bb6912705f79253ccb773d671a585a7e2b5d75a6b277277ba10
4
- data.tar.gz: faac04dfdd5c464de011324bc64d6ec8b5756da7065ab47a804542a5ee6051f3
3
+ metadata.gz: '048aa157020a652c696121de3320dec49d6c848f6c9f72e4a9078299fb4dddea'
4
+ data.tar.gz: b17e459a314084274a4b72bedab1928eb187839d373d75835ce17fcc6f51a4f4
5
5
  SHA512:
6
- metadata.gz: c3d4fba2af5d90eab2b5025bd9ac7c8fe96383e83b6804a2d0be71a79f98d2b8fb43646e630466188d880196114013fa076d18fcbfb125decf4941f344aee375
7
- data.tar.gz: fb6cefd59be65f440fd2eefc22a4d66dec72341247a2329f75f0da62a78a6e721682b5808e9a585629cc8058d8c04e0b8bb8700f591fb8ae70e62bd78dc78665
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 {transactable_link} -- to process each HTTP request and response.
28
+ * Uses {function_composition_link} -- coupled with {pipeable_link} -- to process each HTTP request and response.
29
29
 
30
30
  == Requirements
31
31
 
@@ -1,15 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry-container"
3
+ require "containable"
4
4
  require "http"
5
5
 
6
6
  module Tana
7
7
  # Defines application dependencies.
8
8
  module Container
9
- extend Dry::Container::Mixin
9
+ extend Containable
10
10
 
11
- register(:configuration, memoize: true) { Configuration::Loader.new.call }
12
- register(:http) { HTTP }
13
- register(:client, memoize: true) { API::Client.new }
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
@@ -3,5 +3,5 @@
3
3
  require "infusible"
4
4
 
5
5
  module Tana
6
- Import = Infusible.with Container
6
+ Import = Infusible[Container]
7
7
  end
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.3.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.4"
32
- spec.add_dependency "pipeable", "~> 0.1"
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.3.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-09 00:00:00.000000000 Z
38
+ date: 2024-04-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
- name: core
41
+ name: containable
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
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: '1.0'
53
+ version: '0.0'
54
54
  - !ruby/object:Gem::Dependency
55
- name: dry-container
55
+ name: core
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.11'
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.11'
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.4'
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.4'
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.1'
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.1'
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.6
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