githug 0.2.12 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4d8b3eab324d0ecfc1aeeb273d659ff6ec64306a
4
+ data.tar.gz: 94bc597fec09d5b394d971953611cddf990fcf49
5
+ SHA512:
6
+ metadata.gz: 9ca97b4095f43a2e41fc2b97cae08437f8623af0de49bd972ad9a5e2b78c9ba1eb2b03c1b23b27cc00e9c73efd93873a99109756a3ba0847624324d123250abf
7
+ data.tar.gz: e28ea1edaa4aca08a521316368fdc9982176882ff08d45871cba6410d69c1c5a6923a953892db322e31e46abfd8fa8633ce62c7a4367b08d22c9573ff1385d26
data/.travis.yml CHANGED
@@ -3,3 +3,7 @@ rvm:
3
3
  - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
+ - 2.0.0
7
+ before_install:
8
+ - git config --global user.email 'user@example.com'
9
+ - git config --global user.name 'Test User'
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Githug
2
- Git Your Game On [![Build Status](https://secure.travis-ci.org/Gazler/githug.png?branch=master)](http://travis-ci.org/Gazler/githug)
2
+ Git Your Game On [![Build Status](https://travis-ci.org/Gazler/githug.png?branch=master)](https://travis-ci.org/Gazler/githug)
3
3
 
4
4
  ## About
5
5
  Githug is designed to give you a practical way of learning git. It has a series of levels, each utilizing git commands to ensure a correct answer.
@@ -0,0 +1,7 @@
1
+ class String
2
+ if ((defined? RUBY_VERSION) && (RUBY_VERSION[0..2] == "1.9" || RUBY_VERSION.split(".")[0].to_i >= 2))
3
+ def getord(offset); self[offset].ord; end
4
+ else
5
+ alias :getord :[]
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Githug
2
- VERSION = "0.2.12"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/githug.rb CHANGED
@@ -1,4 +1,8 @@
1
1
  require 'grit'
2
+
3
+ require "githug/extensions/grit/ruby1.9"
4
+
5
+
2
6
  require "githug/version"
3
7
 
4
8
  require 'githug/ui'
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Gary Rennie
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-11 00:00:00.000000000 Z
11
+ date: 2013-07-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: grit
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: thor
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,17 +55,15 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: An interactive way to learn git.
@@ -387,6 +378,7 @@ files:
387
378
  - levels/tag.rb
388
379
  - lib/githug.rb
389
380
  - lib/githug/cli.rb
381
+ - lib/githug/extensions/grit/ruby1.9.rb
390
382
  - lib/githug/game.rb
391
383
  - lib/githug/level.rb
392
384
  - lib/githug/profile.rb
@@ -403,26 +395,25 @@ files:
403
395
  - spec/spec_helper.rb
404
396
  homepage: ''
405
397
  licenses: []
398
+ metadata: {}
406
399
  post_install_message:
407
400
  rdoc_options: []
408
401
  require_paths:
409
402
  - lib
410
403
  required_ruby_version: !ruby/object:Gem::Requirement
411
- none: false
412
404
  requirements:
413
- - - ! '>='
405
+ - - '>='
414
406
  - !ruby/object:Gem::Version
415
407
  version: '0'
416
408
  required_rubygems_version: !ruby/object:Gem::Requirement
417
- none: false
418
409
  requirements:
419
- - - ! '>='
410
+ - - '>='
420
411
  - !ruby/object:Gem::Version
421
412
  version: '0'
422
413
  requirements: []
423
414
  rubyforge_project: githug
424
- rubygems_version: 1.8.24
415
+ rubygems_version: 2.0.2
425
416
  signing_key:
426
- specification_version: 3
417
+ specification_version: 4
427
418
  summary: An interactive way to learn git.
428
419
  test_files: []