memoflow 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97fdae7d1b162b5a4cae8ca5e7fcb1aba0fae6bf25e03361a4c54eccb7416272
4
- data.tar.gz: d0373fbe16f0381c29762c5863cfb19a28c4d66bd243fe388a59db5a1b349efd
3
+ metadata.gz: cd44156c1785088292a9194c41d5ddec68b3ce93f34b9962671e4b6477ba8ddb
4
+ data.tar.gz: '08298b8f84586b763586fd1103a689b81b94eb35bdd6b4c29d9a0e4f5e4a9d01'
5
5
  SHA512:
6
- metadata.gz: ffbd60efe40c52e1c1226be2352faae6cfbf54eb07711bb4618c4377deb761a0feb6890d8a2a34e8d34149d9d2051b9c386265e9bcfbded591a0f24c7a82ce87
7
- data.tar.gz: 14cc267c251c5641f361ccf2a0907e17839982793aab811cef1d06e69a44dfdded7948408e1228fc36efa58478a01c37543a78c2d13cd83a4be7e4e6949e9579
6
+ metadata.gz: 03415cb660077882ae968cee30771b00c5726cf2afdcbf563320cac52fa2e83d5660d20756b196dbf4c309a4658023941d38aa4fcfa3475d8cb58a488519bcf1
7
+ data.tar.gz: 28e69feac39e5ca51f58f7e264ed5a72da5f72a16c4403e2ffa2c8e60941a592752727714a0d1288b9b2ed149af3fc38ac4a161055342fc76356a3623fadce6d
data/lib/memoflow/cli.rb CHANGED
@@ -76,7 +76,8 @@ module Memoflow
76
76
  puts JSON.pretty_generate(client.start_task(title))
77
77
  when "finish"
78
78
  id = argv.shift
79
- puts JSON.pretty_generate(client.finish_task(id))
79
+ result = id.to_s.empty? ? client.finish_task : client.finish_task(id)
80
+ puts JSON.pretty_generate(result)
80
81
  when "resume"
81
82
  id = argv.shift
82
83
  raise Error, "task id is required" if id.to_s.empty?
@@ -74,7 +74,8 @@ module Memoflow
74
74
  task.merge(current_session_id: session[:id])
75
75
  end
76
76
 
77
- def finish_task(task_id = current_task_id, status: "completed")
77
+ def finish_task(task_id = nil, status: "completed")
78
+ task_id ||= current_task_id
78
79
  raise Error, "no active task" unless task_id
79
80
 
80
81
  task = find_task(task_id)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Memoflow
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  SCHEMA_VERSION = 1
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memoflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
- - Iksha Labs
7
+ - Jayesh Pawar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-25 00:00:00.000000000 Z
11
+ date: 2026-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -27,7 +27,7 @@ dependencies:
27
27
  description: Memoflow captures git-backed development context and exposes a lightweight
28
28
  query API for AI assistants.
29
29
  email:
30
- - opensource@ikshalabs.com
30
+ - jayesh.pawar@ikshalabs.com
31
31
  executables:
32
32
  - memoflow
33
33
  extensions: []
@@ -51,12 +51,12 @@ files:
51
51
  - lib/memoflow/store.rb
52
52
  - lib/memoflow/vectorizer.rb
53
53
  - lib/memoflow/version.rb
54
- homepage: https://github.com/ikshalabs/memoflow
54
+ homepage: https://github.com/jayesh-ikshalabs/memoflow
55
55
  licenses:
56
56
  - MIT
57
57
  metadata:
58
- source_code_uri: https://github.com/ikshalabs/memoflow
59
- changelog_uri: https://github.com/ikshalabs/memoflow/releases
58
+ source_code_uri: https://github.com/jayesh-ikshalabs/memoflow
59
+ changelog_uri: https://github.com/jayesh-ikshalabs/memoflow/releases
60
60
  post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths: