pedicab 0.1.7 → 0.2.0
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 +4 -4
- data/lib/pedicab/ride.rb +1 -1
- data/lib/pedicab/version.rb +1 -1
- data/lib/pedicab.rb +2 -2
- data/pedicab-0.1.7.gem +0 -0
- data/pedicab-0.1.9.gem +0 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ba396de22214c7d0f2aec76b1cbc3fb81884416ab6eaebf4ef374b0085b6131
|
|
4
|
+
data.tar.gz: 2d591c0a92e5fd59acbe6d19d79553525dfc6687be456bf92036a737589fee63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e43f384e47ddd71fe0f940418f3279a017200a4ff8b88d24f13b0a4ae722b36424cd703344b45a56eb57aef424a30a29741a3e84435571724e7ab7348d87e9e1
|
|
7
|
+
data.tar.gz: 5ae04c1ad8741c716c328bd87b8558457eadf179b2bcaed21c6ac3600ad512ea54645cf004b68b6e14cfaa1f713bfecfbcc11cb75225647b226f46a036b39099
|
data/lib/pedicab/ride.rb
CHANGED
|
@@ -62,7 +62,7 @@ module Pedicab
|
|
|
62
62
|
def go! i, p, &b
|
|
63
63
|
@path << "with #{i} of #{p}"
|
|
64
64
|
@state[:action] = "go! fork"
|
|
65
|
-
@state[:input] = %[#{@info}#{tale}List only #{i} without repeating yourself:\n#{p}]
|
|
65
|
+
@state[:input] = %[#{@info}#{tale}List only #{i} without formatting or repeating yourself:\n#{p}]
|
|
66
66
|
Pedicab.on[:fork].call(self)
|
|
67
67
|
@state[:list] = rider(role: 'user', model: 'fork', content: @state[:input]).split("\n").uniq.map { |e|
|
|
68
68
|
if e.strip.length > 0;
|
data/lib/pedicab/version.rb
CHANGED
data/lib/pedicab.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Pedicab
|
|
|
25
25
|
class P
|
|
26
26
|
|
|
27
27
|
LIST = {
|
|
28
|
-
questions: "all questions necessary to respond to the following",
|
|
28
|
+
questions: "all unique questions necessary to respond to the following",
|
|
29
29
|
facts: "unique pieces of information within the following",
|
|
30
30
|
entities: "unique named entities within the following"
|
|
31
31
|
}
|
|
@@ -132,7 +132,7 @@ module Pedicab
|
|
|
132
132
|
##
|
|
133
133
|
# extract questions and expand into context.
|
|
134
134
|
def more q
|
|
135
|
-
each(LIST[:questions], POKE[q]) { |e|
|
|
135
|
+
each(LIST[:questions], POKE[q]) { |e| chain(e); prompt(%[#{e}\n#{@ride.go(e)}]); }
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
##
|
data/pedicab-0.1.7.gem
ADDED
|
Binary file
|
data/pedicab-0.1.9.gem
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pedicab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Olson
|
|
@@ -162,6 +162,8 @@ files:
|
|
|
162
162
|
- pedicab-0.1.4.gem
|
|
163
163
|
- pedicab-0.1.5.gem
|
|
164
164
|
- pedicab-0.1.6.gem
|
|
165
|
+
- pedicab-0.1.7.gem
|
|
166
|
+
- pedicab-0.1.9.gem
|
|
165
167
|
- sig/pedicab.rbs
|
|
166
168
|
homepage: https://github.com/xorgnak/pedicab
|
|
167
169
|
licenses:
|