gitit 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +19 -0
- data/Gemfile +1 -1
- data/Rakefile +11 -11
- data/gitit.gemspec +15 -79
- data/lib/gitit/command_config.rb +2 -0
- data/lib/gitit/command_executor.rb +0 -1
- data/lib/gitit/command_status.rb +53 -0
- data/lib/gitit/git.rb +3 -0
- data/lib/gitit/version.rb +1 -1
- data/spec/gitit_config_spec.rb +9 -33
- data/spec/gitit_status_spec.rb +84 -0
- metadata +21 -126
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9ec8344520c50d39dc675a04098c590b72396a6
|
4
|
+
data.tar.gz: 7eb935cf636148db076359a06536c4dc6d4235b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8294d46c0df8be0ed2a0c827f270420fbdbc80b0196f3623cc107263c81dbad63f194803e24bc4d52ba8d0002c95a33ac1913e7d1b54dcb7d78cf477a1de9b58
|
7
|
+
data.tar.gz: e4eed4d848e5564e1d249266e200213e6991fbad9424f607cd13541c507175af3711989cc5fa1033728933988e254be8ac60d59b8a635b0487e82e6764d88839
|
data/.gitignore
ADDED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -11,19 +11,19 @@ rescue Bundler::BundlerError => e
|
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
13
|
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
14
|
+
#require 'jeweler'
|
15
|
+
#Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "gitit"
|
18
|
-
gem.homepage = "http://github.com/patbonecrusher/gitit"
|
19
|
-
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{Ruby git wrapper for the command line thin}
|
21
|
-
gem.description = %Q{longer description of your gem}
|
22
|
-
gem.email = "pat@covenofchaos.com"
|
23
|
-
gem.authors = ["Bone Crusher"]
|
17
|
+
# gem.name = "gitit"
|
18
|
+
# gem.homepage = "http://github.com/patbonecrusher/gitit"
|
19
|
+
# gem.license = "MIT"
|
20
|
+
# gem.summary = %Q{Ruby git wrapper for the command line thin}
|
21
|
+
# gem.description = %Q{longer description of your gem}
|
22
|
+
# gem.email = "pat@covenofchaos.com"
|
23
|
+
# gem.authors = ["Bone Crusher"]
|
24
24
|
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
25
|
+
#end
|
26
|
+
#Jeweler::RubygemsDotOrgTasks.new
|
27
27
|
|
28
28
|
require 'rspec/core'
|
29
29
|
require 'rspec/core/rake_task'
|
data/gitit.gemspec
CHANGED
@@ -1,83 +1,19 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'gitit/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "gitit"
|
8
|
+
gem.version = Gitit::VERSION
|
9
|
+
gem.authors = ["Pat Laplante"]
|
10
|
+
gem.email = ["pat@covenofchaos.com"]
|
11
|
+
gem.description = %q{"ruby git command line wrapper"}
|
12
|
+
gem.summary = ""
|
13
|
+
gem.homepage = "http://github.com/patbonecrusher/gitit"
|
9
14
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
s.email = "pat@covenofchaos.com"
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE.txt",
|
17
|
-
"README.md",
|
18
|
-
"README.rdoc"
|
19
|
-
]
|
20
|
-
s.files = [
|
21
|
-
".document",
|
22
|
-
".rspec",
|
23
|
-
"Gemfile",
|
24
|
-
"LICENSE.txt",
|
25
|
-
"README.md",
|
26
|
-
"README.rdoc",
|
27
|
-
"Rakefile",
|
28
|
-
"VERSION",
|
29
|
-
"features/gitit.feature",
|
30
|
-
"features/step_definitions/gitit_steps.rb",
|
31
|
-
"features/support/env.rb",
|
32
|
-
"gitit.gemspec",
|
33
|
-
"lib/ext/string.rb",
|
34
|
-
"lib/gitit.rb",
|
35
|
-
"lib/gitit/command_config.rb",
|
36
|
-
"lib/gitit/command_executor.rb",
|
37
|
-
"lib/gitit/git.rb",
|
38
|
-
"lib/gitit/repo.rb",
|
39
|
-
"lib/gitit/version.rb",
|
40
|
-
"spec/gitit_config_spec.rb",
|
41
|
-
"spec/gitit_spec.rb",
|
42
|
-
"spec/spec_helper.rb"
|
43
|
-
]
|
44
|
-
s.homepage = "http://github.com/patbonecrusher/gitit"
|
45
|
-
s.licenses = ["MIT"]
|
46
|
-
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = "2.0.3"
|
48
|
-
s.summary = "Ruby git wrapper for the command line thin"
|
49
|
-
|
50
|
-
if s.respond_to? :specification_version then
|
51
|
-
s.specification_version = 4
|
52
|
-
|
53
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
-
s.add_runtime_dependency(%q<kruptos>, [">= 0"])
|
55
|
-
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
56
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
57
|
-
s.add_development_dependency(%q<rdoc>, [">= 3.12"])
|
58
|
-
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
59
|
-
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
60
|
-
s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
|
61
|
-
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
62
|
-
else
|
63
|
-
s.add_dependency(%q<kruptos>, [">= 0"])
|
64
|
-
s.add_dependency(%q<activesupport>, [">= 0"])
|
65
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
66
|
-
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
67
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
68
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
69
|
-
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
70
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
71
|
-
end
|
72
|
-
else
|
73
|
-
s.add_dependency(%q<kruptos>, [">= 0"])
|
74
|
-
s.add_dependency(%q<activesupport>, [">= 0"])
|
75
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
76
|
-
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
77
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
78
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
79
|
-
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
80
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
81
|
-
end
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
82
19
|
end
|
83
|
-
|
data/lib/gitit/command_config.rb
CHANGED
@@ -20,6 +20,7 @@ module Gitit
|
|
20
20
|
# -------------------------------------------------------------------------
|
21
21
|
def getValue(key, decrypt = false)
|
22
22
|
value = executeCommand("config --null --get #{key}")
|
23
|
+
raise "failure running command" if $?.exitstatus != 0
|
23
24
|
value = value.slice!(0, value.length-1)
|
24
25
|
return value
|
25
26
|
end
|
@@ -29,6 +30,7 @@ module Gitit
|
|
29
30
|
def setValue(key, value)
|
30
31
|
val = value
|
31
32
|
executeCommand("config \"#{key}\" \"#{val}\"")
|
33
|
+
raise "failure running command" if $?.exitstatus != 0
|
32
34
|
end
|
33
35
|
|
34
36
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require "bundler/setup"
|
2
|
+
require "gitit/command_executor"
|
3
|
+
|
4
|
+
Bundler.require(:default)
|
5
|
+
|
6
|
+
module Gitit
|
7
|
+
|
8
|
+
# ---------------------------------------------------------------------------
|
9
|
+
# ---------------------------------------------------------------------------
|
10
|
+
class Status
|
11
|
+
include CommandExecutor
|
12
|
+
|
13
|
+
# -------------------------------------------------------------------------
|
14
|
+
# -------------------------------------------------------------------------
|
15
|
+
def initialize(repo)
|
16
|
+
@repo = repo
|
17
|
+
end
|
18
|
+
|
19
|
+
# -------------------------------------------------------------------------
|
20
|
+
# -------------------------------------------------------------------------
|
21
|
+
def clean?
|
22
|
+
return !unstagedFiles? && !uncommitedFiles? && !untrackedFiles?
|
23
|
+
end
|
24
|
+
|
25
|
+
# -------------------------------------------------------------------------
|
26
|
+
# -------------------------------------------------------------------------
|
27
|
+
def unstagedFiles?
|
28
|
+
executeCommand("diff-files --name-status --diff-filter=M --exit-code")
|
29
|
+
return true if $?.exitstatus == 1
|
30
|
+
return false
|
31
|
+
end
|
32
|
+
|
33
|
+
# -------------------------------------------------------------------------
|
34
|
+
# -------------------------------------------------------------------------
|
35
|
+
def uncommitedFiles?
|
36
|
+
executeCommand("diff --cached --no-ext-diff --ignore-submodules --quiet --exit-code")
|
37
|
+
return true if $?.exitstatus == 1
|
38
|
+
return false
|
39
|
+
end
|
40
|
+
|
41
|
+
# -------------------------------------------------------------------------
|
42
|
+
# -------------------------------------------------------------------------
|
43
|
+
def untrackedFiles?
|
44
|
+
gitRes = executeCommand("status --porcelain | grep ??")
|
45
|
+
return true if $?.exitstatus == 0
|
46
|
+
return false
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
end
|
53
|
+
|
data/lib/gitit/git.rb
CHANGED
@@ -2,6 +2,7 @@ require "bundler/setup"
|
|
2
2
|
require "gitit"
|
3
3
|
require "gitit/repo"
|
4
4
|
require "gitit/command_config"
|
5
|
+
require "gitit/command_status"
|
5
6
|
|
6
7
|
Bundler.require(:default)
|
7
8
|
|
@@ -12,12 +13,14 @@ module Gitit
|
|
12
13
|
class Git
|
13
14
|
attr_reader :repo;
|
14
15
|
attr_reader :config;
|
16
|
+
attr_reader :status;
|
15
17
|
|
16
18
|
# -------------------------------------------------------------------------
|
17
19
|
# -------------------------------------------------------------------------
|
18
20
|
def initialize(location)
|
19
21
|
@repo = Repo.new(location)
|
20
22
|
@config = Config.new(repo)
|
23
|
+
@status = Status.new(repo)
|
21
24
|
end
|
22
25
|
end
|
23
26
|
|
data/lib/gitit/version.rb
CHANGED
data/spec/gitit_config_spec.rb
CHANGED
@@ -19,41 +19,17 @@ module Gitit
|
|
19
19
|
@config = @git.config
|
20
20
|
end
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
lambda{@config.setValue(KEY_NAME, KEY_VALUE)}.should_not raise_error
|
25
|
-
end
|
26
|
-
|
27
|
-
it "will retrieve the specified value successfully" do
|
28
|
-
value = ""
|
29
|
-
lambda{@config.setValue(KEY_NAME, KEY_VALUE)}.should_not raise_error
|
30
|
-
lambda{value = @config.getValue(KEY_NAME)}.should_not raise_error
|
31
|
-
value.should eq KEY_VALUE
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
describe "while using encryption" do
|
36
|
-
it "will encrypt and set the specified value successfully" do
|
37
|
-
lambda{@config.setValue(KEY_NAME, KEY_VALUE.encrypt)}.should_not raise_error
|
38
|
-
end
|
39
|
-
|
40
|
-
it "will store an encrypted value in the config" do
|
41
|
-
lambda{@config.setValue(KEY_NAME, KEY_VALUE.encrypt)}.should_not raise_error
|
42
|
-
|
43
|
-
value = ""
|
44
|
-
lambda{value = @config.getValue(KEY_NAME)}.should_not raise_error
|
45
|
-
value.should_not eq KEY_VALUE
|
46
|
-
end
|
47
|
-
|
48
|
-
it "will retrieve and decrypt the specified value from the config" do
|
49
|
-
lambda{@config.setValue(KEY_NAME, KEY_VALUE.encrypt)}.should_not raise_error
|
50
|
-
|
51
|
-
value = ""
|
52
|
-
lambda{value = @config.getValue(KEY_NAME).decrypt}.should_not raise_error
|
53
|
-
value.should eq KEY_VALUE
|
54
|
-
end
|
22
|
+
it "will set the specified local value successfully" do
|
23
|
+
lambda{@config.setValue(KEY_NAME, KEY_VALUE)}.should_not raise_error
|
55
24
|
end
|
56
25
|
|
26
|
+
it "will retrieve the specified local value successfully" do
|
27
|
+
value = ""
|
28
|
+
lambda{@config.setValue(KEY_NAME, KEY_VALUE)}.should_not raise_error
|
29
|
+
lambda{value = @config.getValue(KEY_NAME)}.should_not raise_error
|
30
|
+
value.should eq KEY_VALUE
|
31
|
+
end
|
32
|
+
|
57
33
|
after(:each) do
|
58
34
|
FileUtils.rm_rf TEST_REPO_PATH
|
59
35
|
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
#require "gitit"
|
3
|
+
|
4
|
+
module Gitit
|
5
|
+
|
6
|
+
describe Repo do
|
7
|
+
|
8
|
+
# -------------------------------------------------------------------------
|
9
|
+
# -------------------------------------------------------------------------
|
10
|
+
describe "#testRepoStatus" do
|
11
|
+
|
12
|
+
before(:each) do
|
13
|
+
FileUtils.mkpath TEST_REPO_PATH
|
14
|
+
git = Git.new(TEST_REPO_PATH)
|
15
|
+
@myRepo = git.repo
|
16
|
+
@myRepo.init
|
17
|
+
@repoStatus = git.status
|
18
|
+
end
|
19
|
+
|
20
|
+
it "will tell us that the current branch is clean when nothing has been changed" do
|
21
|
+
@repoStatus.clean?.should eq true
|
22
|
+
end
|
23
|
+
|
24
|
+
it "will tell us that the current branch is not clean when there are untracked file" do
|
25
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
26
|
+
@repoStatus.untrackedFiles?.should eq true
|
27
|
+
@repoStatus.unstagedFiles?.should eq false
|
28
|
+
@repoStatus.uncommitedFiles?.should eq false
|
29
|
+
@repoStatus.clean?.should eq false
|
30
|
+
end
|
31
|
+
|
32
|
+
it "will tell us that the current branch is not clean when there are unstaged file" do
|
33
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
34
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
35
|
+
`(cd #{TEST_REPO_PATH} && git commit -am "wip")`
|
36
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w") { |file| file.write("bdssdsoo!") }
|
37
|
+
@repoStatus.untrackedFiles?.should eq false
|
38
|
+
@repoStatus.unstagedFiles?.should eq true
|
39
|
+
@repoStatus.uncommitedFiles?.should eq false
|
40
|
+
@repoStatus.clean?.should eq false
|
41
|
+
end
|
42
|
+
|
43
|
+
it "will tell us that the current branch is not clean when there are uncommited file" do
|
44
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
45
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
46
|
+
`(cd #{TEST_REPO_PATH} && git commit -am "wip")`
|
47
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w") { |file| file.write("bdssdsoo!") }
|
48
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
49
|
+
@repoStatus.untrackedFiles?.should eq false
|
50
|
+
@repoStatus.unstagedFiles?.should eq false
|
51
|
+
@repoStatus.uncommitedFiles?.should eq true
|
52
|
+
@repoStatus.clean?.should eq false
|
53
|
+
end
|
54
|
+
|
55
|
+
it "will tell us that there are untracked files after adding a new file" do
|
56
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
57
|
+
@repoStatus.untrackedFiles?.should eq true
|
58
|
+
end
|
59
|
+
|
60
|
+
it "will tell us that there are unstage files after modifying a file" do
|
61
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
62
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
63
|
+
`(cd #{TEST_REPO_PATH} && git commit -am "wip")`
|
64
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w") { |file| file.write("bdssdsoo!") }
|
65
|
+
@repoStatus.unstagedFiles?.should eq true
|
66
|
+
end
|
67
|
+
|
68
|
+
it "will tell us if there are uncommit files after adding a modifiled file to staging" do
|
69
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w+") { |file| file.write("boo!") }
|
70
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
71
|
+
`(cd #{TEST_REPO_PATH} && git commit -am "wip")`
|
72
|
+
File.open("#{TEST_REPO_PATH}/out.txt", "w") { |file| file.write("bdssdsoo!") }
|
73
|
+
`(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
|
74
|
+
@repoStatus.uncommitedFiles?.should eq true
|
75
|
+
end
|
76
|
+
|
77
|
+
after(:each) do
|
78
|
+
FileUtils.rm_rf TEST_REPO_PATH
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
metadata
CHANGED
@@ -1,137 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Pat Laplante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: activesupport
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rdoc
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.12'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.12'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: cucumber
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.0
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: jeweler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 1.8.4
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '>='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 1.8.4
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
description: longer description of your gem
|
126
|
-
email: pat@covenofchaos.com
|
11
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: '"ruby git command line wrapper"'
|
14
|
+
email:
|
15
|
+
- pat@covenofchaos.com
|
127
16
|
executables: []
|
128
17
|
extensions: []
|
129
|
-
extra_rdoc_files:
|
130
|
-
- LICENSE.txt
|
131
|
-
- README.md
|
132
|
-
- README.rdoc
|
18
|
+
extra_rdoc_files: []
|
133
19
|
files:
|
134
20
|
- .document
|
21
|
+
- .gitignore
|
135
22
|
- .rspec
|
136
23
|
- Gemfile
|
137
24
|
- LICENSE.txt
|
@@ -147,15 +34,16 @@ files:
|
|
147
34
|
- lib/gitit.rb
|
148
35
|
- lib/gitit/command_config.rb
|
149
36
|
- lib/gitit/command_executor.rb
|
37
|
+
- lib/gitit/command_status.rb
|
150
38
|
- lib/gitit/git.rb
|
151
39
|
- lib/gitit/repo.rb
|
152
40
|
- lib/gitit/version.rb
|
153
41
|
- spec/gitit_config_spec.rb
|
154
42
|
- spec/gitit_spec.rb
|
43
|
+
- spec/gitit_status_spec.rb
|
155
44
|
- spec/spec_helper.rb
|
156
45
|
homepage: http://github.com/patbonecrusher/gitit
|
157
|
-
licenses:
|
158
|
-
- MIT
|
46
|
+
licenses: []
|
159
47
|
metadata: {}
|
160
48
|
post_install_message:
|
161
49
|
rdoc_options: []
|
@@ -176,5 +64,12 @@ rubyforge_project:
|
|
176
64
|
rubygems_version: 2.0.3
|
177
65
|
signing_key:
|
178
66
|
specification_version: 4
|
179
|
-
summary:
|
180
|
-
test_files:
|
67
|
+
summary: ''
|
68
|
+
test_files:
|
69
|
+
- features/gitit.feature
|
70
|
+
- features/step_definitions/gitit_steps.rb
|
71
|
+
- features/support/env.rb
|
72
|
+
- spec/gitit_config_spec.rb
|
73
|
+
- spec/gitit_spec.rb
|
74
|
+
- spec/gitit_status_spec.rb
|
75
|
+
- spec/spec_helper.rb
|