asana_cli_gem 0.1.2 → 0.1.3
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/asana_cli_gem/cli.rb +2 -6
- data/lib/asana_cli_gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5e9b6b67d31feae5e840cdb2ee00377655a39205e4b6dff6eb1272f5db6c28e
|
|
4
|
+
data.tar.gz: b00fc3118cabf40d75140fc8a993dc306cf47cb7fabf57f1ac6743d09406119b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5db059901c7ed2b8425a7ac33122de92059162d2339be68faff5435a8e1c9cb992deb923ad9eba620100bce1c3ed50fcf0ba7c30a427521d04265466b39e8f98
|
|
7
|
+
data.tar.gz: da3514fd1778bb1543de8e0148134e97496e2cb8ce4b31f69cbaaa7d14de62966d2a42d213d740e399da1d1e8365cc62abeecf9b3927a8a9b4a20e27d7b7f6bc
|
data/lib/asana_cli_gem/cli.rb
CHANGED
|
@@ -12,9 +12,7 @@ class AsanaCliGem::CLI
|
|
|
12
12
|
|
|
13
13
|
def welcome
|
|
14
14
|
puts "Welcome to the Asana Finder CLI!"
|
|
15
|
-
puts "Learn more about
|
|
16
|
-
puts "Type anything to continue."
|
|
17
|
-
gets.strip
|
|
15
|
+
puts "Learn more about strengthening yoga poses, known in Sanskrit as asanas."
|
|
18
16
|
end
|
|
19
17
|
|
|
20
18
|
def poses
|
|
@@ -30,13 +28,11 @@ class AsanaCliGem::CLI
|
|
|
30
28
|
end
|
|
31
29
|
|
|
32
30
|
def menu
|
|
33
|
-
puts "Please enter the number of the pose you'd like to learn more about,
|
|
31
|
+
puts "Please enter the number of the pose you'd like to learn more about, 'list' to see all poses, or 'exit' to end program."
|
|
34
32
|
input = gets.strip.downcase
|
|
35
33
|
|
|
36
34
|
if input != "exit"
|
|
37
|
-
|
|
38
35
|
if input.to_i > 0 && input.to_i <= poses.size
|
|
39
|
-
|
|
40
36
|
input = input.to_i - 1
|
|
41
37
|
selected_pose = poses[input]
|
|
42
38
|
|