rpw 0.0.3 → 0.0.4
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/Gemfile.lock +1 -1
- data/HISTORY.md +4 -0
- data/exe/rpw +3 -3
- data/lib/rpw.rb +1 -1
- data/lib/rpw/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 205e752e88029cd06e1c2607e139d65981d676833b5bd5c164e67660bc5aad00
|
|
4
|
+
data.tar.gz: 756763f53c8284c6e580b65c11a0ebbca90a1f0b8e60da5ec45861afe3551af9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f40dfd8fd934dc4b6c37702d7e31897651f4f4c8fc172a30cce668408b09d161bf60d9172d9d68a556bf84b7d20c5d92b669ea88bd77ec40490ea7ec4d0b37ec
|
|
7
|
+
data.tar.gz: 286dcb10eda24b9d9b0c4410317e2a85c10a19d55526682143f28a86f09e96ea64aaf0072fd37704435b2024b04d5f3594c98e5db00e77acfa98240ca281f2bf
|
data/Gemfile.lock
CHANGED
data/HISTORY.md
CHANGED
data/exe/rpw
CHANGED
|
@@ -138,10 +138,10 @@ module RPW
|
|
|
138
138
|
say "working directory, so it's best to run this client from a new directory"
|
|
139
139
|
say "that you'll use as your 'scratch space' for working on the Workshop."
|
|
140
140
|
say ""
|
|
141
|
-
return unless yes? "Are you in a directory that we can safely add new folders and files to? (
|
|
141
|
+
return unless yes? "Are you in a directory that we can safely add new folders and files to? (y/N)"
|
|
142
142
|
puts ""
|
|
143
143
|
say "We'll create a .rpw_info file at #{File.expand_path("~/.rpw")} to save your purchase key."
|
|
144
|
-
home_dir_ok = yes?("Is this OK? (
|
|
144
|
+
home_dir_ok = yes?("Is this OK? (y/N) (N will create it in the current directory)")
|
|
145
145
|
|
|
146
146
|
key = ask("Your Purchase Key: ")
|
|
147
147
|
|
|
@@ -156,7 +156,7 @@ module RPW
|
|
|
156
156
|
say "rpw works by downloading files into the current working directory."
|
|
157
157
|
say "We're going to (idempotently!) create a few directories in the current working directory."
|
|
158
158
|
puts ""
|
|
159
|
-
return unless yes? "Is that OK? (
|
|
159
|
+
return unless yes? "Is that OK? (y/N)"
|
|
160
160
|
|
|
161
161
|
client.directory_setup
|
|
162
162
|
|
data/lib/rpw.rb
CHANGED
|
@@ -158,7 +158,7 @@ module RPW
|
|
|
158
158
|
completed: client_data["completed"].size,
|
|
159
159
|
total: contents.size,
|
|
160
160
|
current_lesson: contents.find { |c| c["position"] == client_data["current_lesson"] },
|
|
161
|
-
sections: chart_section_progress(
|
|
161
|
+
sections: chart_section_progress(contents)
|
|
162
162
|
}
|
|
163
163
|
end
|
|
164
164
|
|
data/lib/rpw/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rpw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nate Berkopec
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-10-
|
|
11
|
+
date: 2020-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|