tana 0.13.0 → 0.14.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: 65f4f8dd6d065fbdf055cf2cc2d6a53f7b0629852a6a8627e4f1cf6bd71ba4b5
4
- data.tar.gz: c544319406fd40451519d0600b4c01625471f8d393a4ebee8323062c89eb39b9
3
+ metadata.gz: faf88a5bdcebd244ed11e963f7894b84e79754a5187894f69c35fea06dc125a9
4
+ data.tar.gz: 74c5f4739e5bc7ffd66b430a18f280d934d174b65d771ba1d4c9e1060a621942
5
5
  SHA512:
6
- metadata.gz: b3d898220fe4a39c57d45f80c0fa3d338510151d67d4cc518275c847eb79198a4d4cb70051f5508deb3d2bc0ef1dc2ba5540a707ab5ee03157f3cd5eca868950
7
- data.tar.gz: 50bc2993f88e7d632adef42c2bc272b331664acb9b175313587aada2b93acd464563c3a754f186fcde72dcbe56f2a94720716a9d31e7449b1f909c98c4a9e133
6
+ metadata.gz: 4d73a6ef29079e724a4c34589c9a61d92627a32794d2df208a0ca7914f49ec5e5295e6f2ec352e4ecba33cda849be5e5ca8ec332a0608a3bc47a6f9290760db2
7
+ data.tar.gz: cf1474cd2f3724640801c93f6dd26f364e57ef87cec25e43c5e1fff51abf27cd9724a2336185edf9509d06c42ea8d25a83f206a047560ea328bb985f426623ea
checksums.yaml.gz.sig CHANGED
Binary file
@@ -6,7 +6,7 @@ module Tana
6
6
  module API
7
7
  # A low-level API client for making basic HTTP requests.
8
8
  class Client
9
- include Import[:configuration, :http]
9
+ include Dependencies[:configuration, :http]
10
10
  include Dry::Monads[:result]
11
11
 
12
12
  def post path, body = nil, **parameters
data/lib/tana/client.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Tana
4
4
  # The primary interface for making API requests.
5
5
  class Client
6
- include Import[:configuration]
6
+ include Dependencies[:configuration]
7
7
 
8
8
  def initialize(endpoint: Endpoints::Add::Action.new, **)
9
9
  @endpoint = endpoint
@@ -3,5 +3,5 @@
3
3
  require "infusible"
4
4
 
5
5
  module Tana
6
- Import = Infusible[Container]
6
+ Dependencies = Infusible[Container]
7
7
  end
@@ -7,7 +7,7 @@ module Tana
7
7
  module Add
8
8
  # Adds a node to the graph.
9
9
  class Action
10
- include Import[:client]
10
+ include Dependencies[:client]
11
11
  include Pipeable
12
12
 
13
13
  # rubocop:todo Metrics/ParameterLists
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.13.0"
5
+ spec.version = "0.14.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tana"
@@ -22,15 +22,15 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
- spec.add_dependency "containable", "~> 0.2"
27
- spec.add_dependency "core", "~> 1.10"
25
+ spec.required_ruby_version = "~> 3.4"
26
+ spec.add_dependency "containable", "~> 1.0"
27
+ spec.add_dependency "core", "~> 2.0"
28
28
  spec.add_dependency "dry-monads", "~> 1.6"
29
29
  spec.add_dependency "dry-validation", "~> 1.10"
30
- spec.add_dependency "http", "~> 5.1"
31
- spec.add_dependency "infusible", "~> 3.12"
32
- spec.add_dependency "pipeable", "~> 0.14"
33
- spec.add_dependency "refinements", "~> 12.10"
30
+ spec.add_dependency "http", "~> 5.2"
31
+ spec.add_dependency "infusible", "~> 4.0"
32
+ spec.add_dependency "pipeable", "~> 1.0"
33
+ spec.add_dependency "refinements", "~> 13.0"
34
34
  spec.add_dependency "zeitwerk", "~> 2.7"
35
35
 
36
36
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
@@ -35,7 +34,7 @@ cert_chain:
35
34
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
35
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
36
  -----END CERTIFICATE-----
38
- date: 2024-11-09 00:00:00.000000000 Z
37
+ date: 2024-12-28 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: containable
@@ -43,28 +42,28 @@ dependencies:
43
42
  requirements:
44
43
  - - "~>"
45
44
  - !ruby/object:Gem::Version
46
- version: '0.2'
45
+ version: '1.0'
47
46
  type: :runtime
48
47
  prerelease: false
49
48
  version_requirements: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - "~>"
52
51
  - !ruby/object:Gem::Version
53
- version: '0.2'
52
+ version: '1.0'
54
53
  - !ruby/object:Gem::Dependency
55
54
  name: core
56
55
  requirement: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - "~>"
59
58
  - !ruby/object:Gem::Version
60
- version: '1.10'
59
+ version: '2.0'
61
60
  type: :runtime
62
61
  prerelease: false
63
62
  version_requirements: !ruby/object:Gem::Requirement
64
63
  requirements:
65
64
  - - "~>"
66
65
  - !ruby/object:Gem::Version
67
- version: '1.10'
66
+ version: '2.0'
68
67
  - !ruby/object:Gem::Dependency
69
68
  name: dry-monads
70
69
  requirement: !ruby/object:Gem::Requirement
@@ -99,56 +98,56 @@ dependencies:
99
98
  requirements:
100
99
  - - "~>"
101
100
  - !ruby/object:Gem::Version
102
- version: '5.1'
101
+ version: '5.2'
103
102
  type: :runtime
104
103
  prerelease: false
105
104
  version_requirements: !ruby/object:Gem::Requirement
106
105
  requirements:
107
106
  - - "~>"
108
107
  - !ruby/object:Gem::Version
109
- version: '5.1'
108
+ version: '5.2'
110
109
  - !ruby/object:Gem::Dependency
111
110
  name: infusible
112
111
  requirement: !ruby/object:Gem::Requirement
113
112
  requirements:
114
113
  - - "~>"
115
114
  - !ruby/object:Gem::Version
116
- version: '3.12'
115
+ version: '4.0'
117
116
  type: :runtime
118
117
  prerelease: false
119
118
  version_requirements: !ruby/object:Gem::Requirement
120
119
  requirements:
121
120
  - - "~>"
122
121
  - !ruby/object:Gem::Version
123
- version: '3.12'
122
+ version: '4.0'
124
123
  - !ruby/object:Gem::Dependency
125
124
  name: pipeable
126
125
  requirement: !ruby/object:Gem::Requirement
127
126
  requirements:
128
127
  - - "~>"
129
128
  - !ruby/object:Gem::Version
130
- version: '0.14'
129
+ version: '1.0'
131
130
  type: :runtime
132
131
  prerelease: false
133
132
  version_requirements: !ruby/object:Gem::Requirement
134
133
  requirements:
135
134
  - - "~>"
136
135
  - !ruby/object:Gem::Version
137
- version: '0.14'
136
+ version: '1.0'
138
137
  - !ruby/object:Gem::Dependency
139
138
  name: refinements
140
139
  requirement: !ruby/object:Gem::Requirement
141
140
  requirements:
142
141
  - - "~>"
143
142
  - !ruby/object:Gem::Version
144
- version: '12.10'
143
+ version: '13.0'
145
144
  type: :runtime
146
145
  prerelease: false
147
146
  version_requirements: !ruby/object:Gem::Requirement
148
147
  requirements:
149
148
  - - "~>"
150
149
  - !ruby/object:Gem::Version
151
- version: '12.10'
150
+ version: '13.0'
152
151
  - !ruby/object:Gem::Dependency
153
152
  name: zeitwerk
154
153
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +162,6 @@ dependencies:
163
162
  - - "~>"
164
163
  - !ruby/object:Gem::Version
165
164
  version: '2.7'
166
- description:
167
165
  email:
168
166
  - brooke@alchemists.io
169
167
  executables: []
@@ -180,8 +178,8 @@ files:
180
178
  - lib/tana/configuration/content.rb
181
179
  - lib/tana/configuration/loader.rb
182
180
  - lib/tana/container.rb
181
+ - lib/tana/dependencies.rb
183
182
  - lib/tana/endpoints/add/action.rb
184
- - lib/tana/import.rb
185
183
  - lib/tana/models/node.rb
186
184
  - lib/tana/models/root.rb
187
185
  - lib/tana/requests/add.rb
@@ -218,16 +216,12 @@ metadata:
218
216
  label: Tana
219
217
  rubygems_mfa_required: 'true'
220
218
  source_code_uri: https://github.com/bkuhlmann/tana
221
- post_install_message:
222
219
  rdoc_options: []
223
220
  require_paths:
224
221
  - lib
225
222
  required_ruby_version: !ruby/object:Gem::Requirement
226
223
  requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '3.3'
230
- - - "<="
224
+ - - "~>"
231
225
  - !ruby/object:Gem::Version
232
226
  version: '3.4'
233
227
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -236,8 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
230
  - !ruby/object:Gem::Version
237
231
  version: '0'
238
232
  requirements: []
239
- rubygems_version: 3.5.23
240
- signing_key:
233
+ rubygems_version: 3.6.2
241
234
  specification_version: 4
242
235
  summary: A monadic API client for the Tana Personal Knowledge Management system.
243
236
  test_files: []
metadata.gz.sig CHANGED
Binary file