git_utils 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/History_txt.html +96 -0
- data/Manifest.txt +42 -0
- data/Manifest_txt.html +100 -0
- data/PostInstall.txt +0 -0
- data/PostInstall_txt.html +88 -0
- data/README.rdoc +31 -0
- data/doc/GitUtils.html +232 -0
- data/doc/created.rid +5 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +64 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/git_utils_rb.html +52 -0
- data/doc/rdoc.css +763 -0
- data/git_utils.gemspec +87 -0
- data/lib/git_utils.rb +14 -0
- data/script/gem_publish.sh +8 -0
- data/script/git_commit.sh +9 -0
- data/spec/git_utils_spec.rb +7 -0
- data/spec/spec_helper.rb +2 -0
- metadata +50 -7
data/git_utils.gemspec
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{git_utils}
|
8
|
+
s.version = "1.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = [%q{Glenn Nagel}]
|
12
|
+
s.date = %q{2011-09-09}
|
13
|
+
s.description = %q{A gem that provides simple git & gem utility scripts.}
|
14
|
+
s.email = [%q{glenn@mercury-wireless.com}]
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"History.txt",
|
17
|
+
"Manifest.txt",
|
18
|
+
"PostInstall.txt"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"History.txt",
|
22
|
+
"History_txt.html",
|
23
|
+
"Manifest.txt",
|
24
|
+
"Manifest_txt.html",
|
25
|
+
"PostInstall.txt",
|
26
|
+
"PostInstall_txt.html",
|
27
|
+
"README.rdoc",
|
28
|
+
"doc/GitUtils.html",
|
29
|
+
"doc/created.rid",
|
30
|
+
"doc/images/brick.png",
|
31
|
+
"doc/images/brick_link.png",
|
32
|
+
"doc/images/bug.png",
|
33
|
+
"doc/images/bullet_black.png",
|
34
|
+
"doc/images/bullet_toggle_minus.png",
|
35
|
+
"doc/images/bullet_toggle_plus.png",
|
36
|
+
"doc/images/date.png",
|
37
|
+
"doc/images/find.png",
|
38
|
+
"doc/images/loadingAnimation.gif",
|
39
|
+
"doc/images/macFFBgHack.png",
|
40
|
+
"doc/images/package.png",
|
41
|
+
"doc/images/page_green.png",
|
42
|
+
"doc/images/page_white_text.png",
|
43
|
+
"doc/images/page_white_width.png",
|
44
|
+
"doc/images/plugin.png",
|
45
|
+
"doc/images/ruby.png",
|
46
|
+
"doc/images/tag_green.png",
|
47
|
+
"doc/images/wrench.png",
|
48
|
+
"doc/images/wrench_orange.png",
|
49
|
+
"doc/images/zoom.png",
|
50
|
+
"doc/index.html",
|
51
|
+
"doc/js/darkfish.js",
|
52
|
+
"doc/js/jquery.js",
|
53
|
+
"doc/js/quicksearch.js",
|
54
|
+
"doc/js/thickbox-compressed.js",
|
55
|
+
"doc/lib/git_utils_rb.html",
|
56
|
+
"doc/rdoc.css",
|
57
|
+
"git_utils.gemspec",
|
58
|
+
"lib/git_utils.rb",
|
59
|
+
"script/gem_publish.sh",
|
60
|
+
"script/git_commit.sh",
|
61
|
+
"spec/git_utils_spec.rb",
|
62
|
+
"spec/spec_helper.rb"
|
63
|
+
]
|
64
|
+
s.homepage = %q{https://github.com/gnagel/mercury-wireless-public/tree/master/ruby/git_utils}
|
65
|
+
s.post_install_message = %q{PostInstall.txt}
|
66
|
+
s.rdoc_options = [%q{--main}, %q{README.rdoc}]
|
67
|
+
s.require_paths = [%q{lib}]
|
68
|
+
s.rubyforge_project = %q{git_utils}
|
69
|
+
s.rubygems_version = %q{1.8.6}
|
70
|
+
s.summary = %q{A gem that provides simple git & gem utility scripts.}
|
71
|
+
|
72
|
+
if s.respond_to? :specification_version then
|
73
|
+
s.specification_version = 3
|
74
|
+
|
75
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
76
|
+
s.add_runtime_dependency(%q<hoe>, [">= 2.1.0"])
|
77
|
+
s.add_development_dependency(%q<hoe>, ["~> 2.9"])
|
78
|
+
else
|
79
|
+
s.add_dependency(%q<hoe>, [">= 2.1.0"])
|
80
|
+
s.add_dependency(%q<hoe>, ["~> 2.9"])
|
81
|
+
end
|
82
|
+
else
|
83
|
+
s.add_dependency(%q<hoe>, [">= 2.1.0"])
|
84
|
+
s.add_dependency(%q<hoe>, ["~> 2.9"])
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
data/lib/git_utils.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
module GitUtils
|
2
|
+
VERSION = '1.0.2'
|
3
|
+
|
4
|
+
###
|
5
|
+
# Overwrite the Manifest.txt file with the actual contents of this directory
|
6
|
+
###
|
7
|
+
def GitUtils.sync_manifest(dirname)
|
8
|
+
File.open(File.join(dirname, "Manifest.txt"), 'w') { |file| file.puts Dir.chdir(dirname) { Dir["**/*.*"] } }
|
9
|
+
end
|
10
|
+
|
11
|
+
def GitUtils.sync_version(dirname, version)
|
12
|
+
File.open(File.join(dirname, 'VERSION'), 'w') { |file| file.puts version }
|
13
|
+
end
|
14
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Glenn Nagel
|
@@ -55,10 +55,53 @@ executables: []
|
|
55
55
|
|
56
56
|
extensions: []
|
57
57
|
|
58
|
-
extra_rdoc_files:
|
59
|
-
|
60
|
-
|
61
|
-
|
58
|
+
extra_rdoc_files:
|
59
|
+
- History.txt
|
60
|
+
- Manifest.txt
|
61
|
+
- PostInstall.txt
|
62
|
+
files:
|
63
|
+
- History.txt
|
64
|
+
- History_txt.html
|
65
|
+
- Manifest.txt
|
66
|
+
- Manifest_txt.html
|
67
|
+
- PostInstall.txt
|
68
|
+
- PostInstall_txt.html
|
69
|
+
- README.rdoc
|
70
|
+
- doc/GitUtils.html
|
71
|
+
- doc/created.rid
|
72
|
+
- doc/images/brick.png
|
73
|
+
- doc/images/brick_link.png
|
74
|
+
- doc/images/bug.png
|
75
|
+
- doc/images/bullet_black.png
|
76
|
+
- doc/images/bullet_toggle_minus.png
|
77
|
+
- doc/images/bullet_toggle_plus.png
|
78
|
+
- doc/images/date.png
|
79
|
+
- doc/images/find.png
|
80
|
+
- doc/images/loadingAnimation.gif
|
81
|
+
- doc/images/macFFBgHack.png
|
82
|
+
- doc/images/package.png
|
83
|
+
- doc/images/page_green.png
|
84
|
+
- doc/images/page_white_text.png
|
85
|
+
- doc/images/page_white_width.png
|
86
|
+
- doc/images/plugin.png
|
87
|
+
- doc/images/ruby.png
|
88
|
+
- doc/images/tag_green.png
|
89
|
+
- doc/images/wrench.png
|
90
|
+
- doc/images/wrench_orange.png
|
91
|
+
- doc/images/zoom.png
|
92
|
+
- doc/index.html
|
93
|
+
- doc/js/darkfish.js
|
94
|
+
- doc/js/jquery.js
|
95
|
+
- doc/js/quicksearch.js
|
96
|
+
- doc/js/thickbox-compressed.js
|
97
|
+
- doc/lib/git_utils_rb.html
|
98
|
+
- doc/rdoc.css
|
99
|
+
- git_utils.gemspec
|
100
|
+
- lib/git_utils.rb
|
101
|
+
- script/gem_publish.sh
|
102
|
+
- script/git_commit.sh
|
103
|
+
- spec/git_utils_spec.rb
|
104
|
+
- spec/spec_helper.rb
|
62
105
|
homepage: https://github.com/gnagel/mercury-wireless-public/tree/master/ruby/git_utils
|
63
106
|
licenses: []
|
64
107
|
|