monadic-chat 0.1.2 → 0.1.3

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: 9949be7f2447dd466b5cfff5b7c13615f1348ca8d2dd9938a28fca68a48cc4e5
4
- data.tar.gz: 462c1f5af82cb50bd577305a782cad7499f1a7ce05b156491539546b5dfadba2
3
+ metadata.gz: e590d4e06e923e510110868aaf97e6d00d94452de3711183a44453b5899af59f
4
+ data.tar.gz: 67e2e4ed103bc0ca06842ad6cd544558a8e0332782b4c2f07468effb6435074f
5
5
  SHA512:
6
- metadata.gz: affcd2df90174f9e85678234e11c0b08c3c486d793c87792d2bc676e3f02d4ec846a58e716bb86ec82f5b2e37ed90f14b61aacb3e93c37c0ba6fece31d4fce1c
7
- data.tar.gz: a4126ffff2679f31bcc000a05620f5914a55188f61e0f35501428888a3445ef6c11775602eed74ee029566b18ea1f8526277a14839b342edb01824fd2b121797
6
+ metadata.gz: 39c32bbd0728520af652727f0c2d0ef8f0773bee409967bed7071e75dda4b8bff42c8d2eaf4e1ddb777374ef37ab1366e4584cda1ab56472144b6a2a48c7a874
7
+ data.tar.gz: 7a577baef5a59d20c98ec7978cd7aeb7aed8947c2b3f1b9b8f6dc4b1b91d1acc246b17e13cb8008fc0122d1c29b8660825214642640c3470b2fa449bc3b33ccf
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.0
data/CHANGELOG.md CHANGED
@@ -4,10 +4,7 @@
4
4
 
5
5
  - Initial commit (private)
6
6
 
7
- ## [0.1.1] - 2023-03-12
7
+ ## [0.1.3] - 2023-03-12
8
8
 
9
9
  - Public release
10
-
11
- ## [0.1.2] - 2023-03-12
12
-
13
10
  - Authentication problem fixed
data/README.md CHANGED
@@ -74,12 +74,18 @@ Monadic Chat comes with four apps (`Chat`, `Code`, `Novel`, and `Translate`). Ea
74
74
 
75
75
  ### Using RubyGems
76
76
 
77
- Execute the following command in an environment where Ruby 2.6 or higher is installed.
77
+ Execute the following command in an environment where Ruby 2.6.10 or higher is installed.
78
78
 
79
79
  ```text
80
80
  gem install monadic-chat
81
81
  ```
82
82
 
83
+ To update the `monadic-chat` gem installed:
84
+
85
+ ```text
86
+ gem update monadic-chat
87
+ ```
88
+
83
89
  ### Clone the GitHub Repository
84
90
 
85
91
  Alternatively, clone the code from the GitHub repository and follow the steps below. At this time, you must take this option to create a new app for Monadic Chat.
data/bin/monadic-chat CHANGED
@@ -54,7 +54,7 @@ module MonadicMenu
54
54
  clear_screen
55
55
  print "\n", banner.strip, "\n"
56
56
 
57
- openai_completion = MonadicChat.authenticate
57
+ openai_completion ||= MonadicChat.authenticate
58
58
  exit unless openai_completion
59
59
 
60
60
  parameter = PROMPT_SYSTEM.select(" Current mode: #{print_mode.call(mode)}\n\nSelect item:",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MonadicChat
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monadic-chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - yohasebe
@@ -261,9 +261,9 @@ extensions: []
261
261
  extra_rdoc_files: []
262
262
  files:
263
263
  - ".rspec"
264
+ - ".ruby-version"
264
265
  - CHANGELOG.md
265
266
  - Gemfile
266
- - Gemfile.lock
267
267
  - LICENSE.txt
268
268
  - README.md
269
269
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,172 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- monadic-chat (0.1.0)
5
- http
6
- kramdown
7
- launchy
8
- oj
9
- parallel
10
- pastel
11
- rouge
12
- tty-box
13
- tty-cursor
14
- tty-markdown
15
- tty-progressbar
16
- tty-prompt
17
- tty-reader
18
- tty-screen
19
- tty-spinner
20
-
21
- GEM
22
- remote: https://rubygems.org/
23
- specs:
24
- addressable (2.8.1)
25
- public_suffix (>= 2.0.2, < 6.0)
26
- ast (2.4.2)
27
- backport (1.2.0)
28
- benchmark (0.2.1)
29
- diff-lcs (1.5.0)
30
- domain_name (0.5.20190701)
31
- unf (>= 0.0.5, < 1.0.0)
32
- e2mmap (0.1.0)
33
- ffi (1.15.5)
34
- ffi-compiler (1.0.1)
35
- ffi (>= 1.0.0)
36
- rake
37
- http (5.1.1)
38
- addressable (~> 2.8)
39
- http-cookie (~> 1.0)
40
- http-form_data (~> 2.2)
41
- llhttp-ffi (~> 0.4.0)
42
- http-cookie (1.0.5)
43
- domain_name (~> 0.5)
44
- http-form_data (2.3.0)
45
- jaro_winkler (1.5.4)
46
- json (2.6.3)
47
- kramdown (2.4.0)
48
- rexml
49
- kramdown-parser-gfm (1.1.0)
50
- kramdown (~> 2.0)
51
- launchy (2.5.2)
52
- addressable (~> 2.8)
53
- llhttp-ffi (0.4.0)
54
- ffi-compiler (~> 1.0)
55
- rake (~> 13.0)
56
- mini_portile2 (2.8.1)
57
- nokogiri (1.14.2)
58
- mini_portile2 (~> 2.8.0)
59
- racc (~> 1.4)
60
- oj (3.14.2)
61
- parallel (1.22.1)
62
- parser (3.2.1.1)
63
- ast (~> 2.4.1)
64
- pastel (0.8.0)
65
- tty-color (~> 0.5)
66
- public_suffix (5.0.1)
67
- racc (1.6.2)
68
- rainbow (3.1.1)
69
- rake (13.0.6)
70
- regexp_parser (2.7.0)
71
- reverse_markdown (2.1.1)
72
- nokogiri
73
- rexml (3.2.5)
74
- rouge (3.30.0)
75
- rspec (3.12.0)
76
- rspec-core (~> 3.12.0)
77
- rspec-expectations (~> 3.12.0)
78
- rspec-mocks (~> 3.12.0)
79
- rspec-core (3.12.1)
80
- rspec-support (~> 3.12.0)
81
- rspec-expectations (3.12.2)
82
- diff-lcs (>= 1.2.0, < 2.0)
83
- rspec-support (~> 3.12.0)
84
- rspec-mocks (3.12.3)
85
- diff-lcs (>= 1.2.0, < 2.0)
86
- rspec-support (~> 3.12.0)
87
- rspec-support (3.12.0)
88
- rubocop (1.48.0)
89
- json (~> 2.3)
90
- parallel (~> 1.10)
91
- parser (>= 3.2.0.0)
92
- rainbow (>= 2.2.2, < 4.0)
93
- regexp_parser (>= 1.8, < 3.0)
94
- rexml (>= 3.2.5, < 4.0)
95
- rubocop-ast (>= 1.26.0, < 2.0)
96
- ruby-progressbar (~> 1.7)
97
- unicode-display_width (>= 2.4.0, < 3.0)
98
- rubocop-ast (1.27.0)
99
- parser (>= 3.2.1.0)
100
- ruby-progressbar (1.13.0)
101
- solargraph (0.48.0)
102
- backport (~> 1.2)
103
- benchmark
104
- bundler (>= 1.17.2)
105
- diff-lcs (~> 1.4)
106
- e2mmap
107
- jaro_winkler (~> 1.5)
108
- kramdown (~> 2.3)
109
- kramdown-parser-gfm (~> 1.1)
110
- parser (~> 3.0)
111
- reverse_markdown (>= 1.0.5, < 3)
112
- rubocop (>= 0.52)
113
- thor (~> 1.0)
114
- tilt (~> 2.0)
115
- yard (~> 0.9, >= 0.9.24)
116
- strings (0.2.1)
117
- strings-ansi (~> 0.2)
118
- unicode-display_width (>= 1.5, < 3.0)
119
- unicode_utils (~> 1.4)
120
- strings-ansi (0.2.0)
121
- thor (1.2.1)
122
- tilt (2.1.0)
123
- tty-box (0.7.0)
124
- pastel (~> 0.8)
125
- strings (~> 0.2.0)
126
- tty-cursor (~> 0.7)
127
- tty-color (0.6.0)
128
- tty-cursor (0.7.1)
129
- tty-markdown (0.7.1)
130
- kramdown (>= 1.16.2, < 3.0)
131
- pastel (~> 0.8)
132
- rouge (~> 3.14)
133
- strings (~> 0.2.0)
134
- tty-color (~> 0.5)
135
- tty-screen (~> 0.8)
136
- tty-progressbar (0.18.2)
137
- strings-ansi (~> 0.2)
138
- tty-cursor (~> 0.7)
139
- tty-screen (~> 0.8)
140
- unicode-display_width (>= 1.6, < 3.0)
141
- tty-prompt (0.23.1)
142
- pastel (~> 0.8)
143
- tty-reader (~> 0.8)
144
- tty-reader (0.9.0)
145
- tty-cursor (~> 0.7)
146
- tty-screen (~> 0.8)
147
- wisper (~> 2.0)
148
- tty-screen (0.8.1)
149
- tty-spinner (0.9.3)
150
- tty-cursor (~> 0.7)
151
- unf (0.1.4)
152
- unf_ext
153
- unf_ext (0.0.8.2)
154
- unicode-display_width (2.4.2)
155
- unicode_utils (1.4.0)
156
- webrick (1.7.0)
157
- wisper (2.0.1)
158
- yard (0.9.28)
159
- webrick (~> 1.7.0)
160
-
161
- PLATFORMS
162
- ruby
163
-
164
- DEPENDENCIES
165
- bundler
166
- monadic-chat!
167
- rake
168
- rspec
169
- solargraph
170
-
171
- BUNDLED WITH
172
- 2.4.2