git_utils 1.0.8 → 1.0.9

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.
data/Manifest.txt CHANGED
@@ -1,5 +1,3 @@
1
- bin/gem_publish.sh
2
- bin/git_commit.sh
3
1
  doc/created.rid
4
2
  doc/GitUtils.html
5
3
  doc/images/brick.png
@@ -38,5 +36,8 @@ Manifest_txt.html
38
36
  PostInstall.txt
39
37
  PostInstall_txt.html
40
38
  README.rdoc
39
+ script/gem_publish.sh
40
+ script/git_commit.sh
41
+ script/git_sync.sh
41
42
  spec/git_utils_spec.rb
42
43
  spec/spec_helper.rb
data/bin/gem_publish ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ dir = File.expand_path(File.dirname(__FILE__) + "/../script/gem_publish.sh")
4
+ system("#{dir}")
5
+
data/bin/git_commit ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ dir = File.expand_path(File.dirname(__FILE__) + "/../script/git_commit.sh")
4
+ puts "#{dir} '#{ARGV[0]}'"
5
+ system("#{dir} '#{ARGV[0]}'")
6
+
data/bin/git_sync ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ dir = File.expand_path(File.dirname(__FILE__) + "/../script/git_sync.sh")
4
+ system("#{dir}")
5
+
data/git_utils.gemspec CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git_utils}
8
- s.version = "1.0.8"
8
+ s.version = "1.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Glenn Nagel}]
12
- s.date = %q{2011-09-09}
12
+ s.date = %q{2011-09-26}
13
13
  s.description = %q{A gem that provides simple git & gem utility scripts.}
14
14
  s.email = [%q{glenn@mercury-wireless.com}]
15
- s.executables = [%q{gem_publish.sh}, %q{git_commit.sh}]
15
+ s.executables = [%q{git_commit}, %q{git_sync}, %q{gem_publish}]
16
16
  s.extra_rdoc_files = [
17
17
  "History.txt",
18
18
  "Manifest.txt",
@@ -26,8 +26,6 @@ Gem::Specification.new do |s|
26
26
  "PostInstall.txt",
27
27
  "PostInstall_txt.html",
28
28
  "README.rdoc",
29
- "bin/gem_publish.sh",
30
- "bin/git_commit.sh",
31
29
  "doc/GitUtils.html",
32
30
  "doc/created.rid",
33
31
  "doc/images/brick.png",
@@ -59,6 +57,9 @@ Gem::Specification.new do |s|
59
57
  "doc/rdoc.css",
60
58
  "git_utils.gemspec",
61
59
  "lib/git_utils.rb",
60
+ "script/gem_publish.sh",
61
+ "script/git_commit.sh",
62
+ "script/git_sync.sh",
62
63
  "spec/git_utils_spec.rb",
63
64
  "spec/spec_helper.rb"
64
65
  ]
@@ -75,14 +76,14 @@ Gem::Specification.new do |s|
75
76
 
76
77
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
77
78
  s.add_runtime_dependency(%q<hoe>, [">= 2.1.0"])
78
- s.add_development_dependency(%q<hoe>, ["~> 2.9"])
79
+ s.add_development_dependency(%q<hoe>, ["~> 2.12"])
79
80
  else
80
81
  s.add_dependency(%q<hoe>, [">= 2.1.0"])
81
- s.add_dependency(%q<hoe>, ["~> 2.9"])
82
+ s.add_dependency(%q<hoe>, ["~> 2.12"])
82
83
  end
83
84
  else
84
85
  s.add_dependency(%q<hoe>, [">= 2.1.0"])
85
- s.add_dependency(%q<hoe>, ["~> 2.9"])
86
+ s.add_dependency(%q<hoe>, ["~> 2.12"])
86
87
  end
87
88
  end
88
89
 
data/lib/git_utils.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module GitUtils
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
 
4
4
  ###
5
5
  # Overwrite the Manifest.txt file with the actual contents of this directory
@@ -1,6 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
- git_commit.sh "Releasing gem"
3
+ git_commit "Releasing gem"
4
4
 
5
5
  rm *.gem;
6
6
  rake gemspec:generate &&
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+
3
+ git add -A;
4
+ git commit -m "$1";
5
+ git_sync;
6
+
7
+ git submodule foreach "git_commit.sh '$1'; echo ''"
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+
3
+ git push;
4
+ git pull;
5
+ git fetch;
6
+
7
+ git submodule foreach "git push; git pull; git fetch; echo ''"
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 8
10
- version: 1.0.8
9
+ - 9
10
+ version: 1.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Glenn Nagel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-09 00:00:00 Z
18
+ date: 2011-09-26 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: hoe
@@ -41,19 +41,20 @@ dependencies:
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 17
44
+ hash: 27
45
45
  segments:
46
46
  - 2
47
- - 9
48
- version: "2.9"
47
+ - 12
48
+ version: "2.12"
49
49
  type: :development
50
50
  version_requirements: *id002
51
51
  description: A gem that provides simple git & gem utility scripts.
52
52
  email:
53
53
  - glenn@mercury-wireless.com
54
54
  executables:
55
- - gem_publish.sh
56
- - git_commit.sh
55
+ - git_commit
56
+ - git_sync
57
+ - gem_publish
57
58
  extensions: []
58
59
 
59
60
  extra_rdoc_files:
@@ -68,8 +69,6 @@ files:
68
69
  - PostInstall.txt
69
70
  - PostInstall_txt.html
70
71
  - README.rdoc
71
- - bin/gem_publish.sh
72
- - bin/git_commit.sh
73
72
  - doc/GitUtils.html
74
73
  - doc/created.rid
75
74
  - doc/images/brick.png
@@ -101,8 +100,14 @@ files:
101
100
  - doc/rdoc.css
102
101
  - git_utils.gemspec
103
102
  - lib/git_utils.rb
103
+ - script/gem_publish.sh
104
+ - script/git_commit.sh
105
+ - script/git_sync.sh
104
106
  - spec/git_utils_spec.rb
105
107
  - spec/spec_helper.rb
108
+ - bin/git_commit
109
+ - bin/git_sync
110
+ - bin/gem_publish
106
111
  homepage: https://github.com/gnagel/mercury-wireless-public/tree/master/ruby/git_utils
107
112
  licenses: []
108
113
 
data/bin/git_commit.sh DELETED
@@ -1,9 +0,0 @@
1
- #!/bin/bash
2
-
3
- git add -A;
4
- git commit -m "$1";
5
- git push;
6
- git pull;
7
- git fetch;
8
-
9
- git submodule foreach "git_commit.sh '$1'"