rpw 1.3.0 → 1.4.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/.gitignore +2 -1
- data/Gemfile.lock +5 -5
- data/HISTORY.md +10 -2
- data/lib/rpw/cli.rb +2 -1
- data/lib/rpw/client.rb +1 -1
- data/lib/rpw/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a9031c1e6053a268195bd32096243b33f75328cf27ca79ecd646b4de2b9ed3
|
4
|
+
data.tar.gz: 221242a7821edbdbd66e42b6a56a1eb807789e82bc903a61421a6c5d27189b2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b5addc24163780426263bed53f08ee9bf71358d1509940d08e6e5d8a4d3b1b0e01010249318e7cd22fdabece0ed66fceea7ea98796d3db2fd1100aa28ff5ff
|
7
|
+
data.tar.gz: 02f3b22fcaad4f7d4098b6a5ca49cc577dcab04639fae3fe1019fea073ff0c0b54c918bdc4630ea6429650eef89647d77c6be2aa0d7265414c21236888f61d99
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rpw (1.
|
4
|
+
rpw (1.4.0)
|
5
5
|
cli-ui
|
6
6
|
excon
|
7
7
|
thor
|
@@ -11,8 +11,8 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
ast (2.4.1)
|
14
|
-
cli-ui (1.
|
15
|
-
excon (0.
|
14
|
+
cli-ui (1.5.1)
|
15
|
+
excon (0.81.0)
|
16
16
|
hollaback (0.1.0)
|
17
17
|
minitest (5.14.2)
|
18
18
|
parallel (1.20.0)
|
@@ -40,7 +40,7 @@ GEM
|
|
40
40
|
standard (0.9.0)
|
41
41
|
rubocop (= 1.2.0)
|
42
42
|
rubocop-performance (= 1.8.1)
|
43
|
-
thor (1.0
|
43
|
+
thor (1.1.0)
|
44
44
|
thor-hollaback (0.2.0)
|
45
45
|
hollaback (~> 0.1.0)
|
46
46
|
thor (>= 0.19.1)
|
@@ -56,4 +56,4 @@ DEPENDENCIES
|
|
56
56
|
standard
|
57
57
|
|
58
58
|
BUNDLED WITH
|
59
|
-
2.
|
59
|
+
2.2.3
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 1.4.0
|
2
|
+
|
3
|
+
* Add `--quizzes` option to `rpw show`, to see quizzes
|
4
|
+
|
5
|
+
## 1.3.1
|
6
|
+
|
7
|
+
* Removed tar verbose mode
|
8
|
+
|
1
9
|
## 1.3.0
|
2
10
|
|
3
11
|
* Added suggested schedules to README
|
@@ -7,11 +15,11 @@
|
|
7
15
|
* Actual release version!
|
8
16
|
* Greatly streamlined commands
|
9
17
|
|
10
|
-
## 1.1.0
|
18
|
+
## 1.1.0
|
11
19
|
|
12
20
|
* sick colors
|
13
21
|
|
14
|
-
## 1.0.1
|
22
|
+
## 1.0.1
|
15
23
|
|
16
24
|
* Pre-launch bugfix
|
17
25
|
|
data/lib/rpw/cli.rb
CHANGED
@@ -155,11 +155,12 @@ module RPW
|
|
155
155
|
|
156
156
|
desc "show", "Show any individal workshop lesson"
|
157
157
|
option :"no-open", type: :boolean
|
158
|
+
option :quizzes, type: :boolean
|
158
159
|
def show
|
159
160
|
exit_with_no_key
|
160
161
|
title = ::CLI::UI::Prompt.ask(
|
161
162
|
"Which lesson would you like to view?",
|
162
|
-
options: client.list.reject { |l| l["title"] == "Quiz" }.map { |l| " " * l["indent"] + l["title"] }
|
163
|
+
options: client.list.reject { |l| !options[:quizzes] && l["title"] == "Quiz" }.map { |l| " " * l["indent"] + l["title"] }
|
163
164
|
)
|
164
165
|
title.strip!
|
165
166
|
content_order = client.list.find { |l| l["title"] == title }["position"]
|
data/lib/rpw/client.rb
CHANGED
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: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Berkopec
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
122
|
+
rubygems_version: 3.2.3
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: A CLI for the Rails Performance Workshop.
|