githug 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/levels/push.rb +1 -0
- data/levels/revert.rb +2 -3
- data/lib/githug/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2b24792d26cafa5f3343cf6896c1ed241bd0f97
|
4
|
+
data.tar.gz: a70f943872bc9a6983e07fff39300b8d7a8ac9b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c00674dc3a3ecac0ec3a72545d724c85ff7661bf4200b8202627888fc5dc8a718752a57b4b2ed59ba51f702c9cff373f1394cb24e3aa54dc3318bd30165fc88
|
7
|
+
data.tar.gz: 07d27ecc1dad1a86e4e861e2cc0e51f26c2ceb5cf399b0521666a46348b00b7d7392e5874edbfd601da8788d3bfc5953b838ebe8f2c13ff039c107d71dc5eec7
|
data/levels/push.rb
CHANGED
data/levels/revert.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
difficulty 4
|
2
|
-
description "You have committed several times but want to undo the middle commit.
|
2
|
+
description "You have committed several times but want to undo the middle commit.
|
3
|
+
All commits have been pushed, so you can't change existing history."
|
3
4
|
|
4
5
|
setup do
|
5
6
|
repo.init
|
@@ -24,8 +25,6 @@ solution do
|
|
24
25
|
repo.commits[2].message == "Second commit" &&
|
25
26
|
repo.commits[1].message == "Bad commit" &&
|
26
27
|
repo.commits[0].message.split("\n").first == "Revert \"Bad commit\""
|
27
|
-
valid = true if repo.commits[1].message == "First commit" &&
|
28
|
-
repo.commits[0].message == "Second commit"
|
29
28
|
valid
|
30
29
|
end
|
31
30
|
|
data/lib/githug/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Rennie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -423,7 +423,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
423
423
|
version: '0'
|
424
424
|
requirements: []
|
425
425
|
rubyforge_project: githug
|
426
|
-
rubygems_version: 2.0.
|
426
|
+
rubygems_version: 2.0.2
|
427
427
|
signing_key:
|
428
428
|
specification_version: 4
|
429
429
|
summary: An interactive way to learn git.
|