lachlanhardy-gitjour 8.0.2

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/History.txt ADDED
@@ -0,0 +1,4 @@
1
+ == 0.0.1 2008-05-29
2
+
3
+ * 1 major enhancement:
4
+ * Initial release
data/Manifest.txt ADDED
@@ -0,0 +1,8 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.rdoc
4
+ Rakefile
5
+ bin/gitjour
6
+ lib/gitjour.rb
7
+ test/test_gitjour.rb
8
+ test/test_helper.rb
data/README.rdoc ADDED
@@ -0,0 +1,65 @@
1
+ == gitjour
2
+
3
+ * http://github.com/chad/gitjour
4
+
5
+ * You're looking at the massively refactored version from Railscamp 3, hopefully we'll get it merged in with Chad Fowler's soon.
6
+ * http://github.com/lachlanhardy/gitjour
7
+
8
+ == DESCRIPTION:
9
+
10
+ Automates DNSSD-powered serving and cloning of git repositories.
11
+
12
+ == FEATURES/PROBLEMS:
13
+
14
+ * As needed
15
+
16
+ == SYNOPSIS:
17
+
18
+ % gitjour serve project_dir [name_to_advertise_as]
19
+ % gitjour list
20
+ % gitjour search <string>
21
+ % gitjour clone
22
+ % gitjour remote
23
+
24
+ Type 'gitjour' for more details
25
+
26
+ == REQUIREMENTS:
27
+
28
+ * dnssd
29
+
30
+ == INSTALL:
31
+
32
+ * sudo gem install gitjour
33
+
34
+ == Testing
35
+
36
+ How to test from the console:
37
+
38
+ irb -r 'lib/gitjour/application'
39
+ > Gitjour::Application.run "list"
40
+
41
+ == LICENSE:
42
+
43
+ (The MIT License)
44
+
45
+ Copyright (c) 2008 Chad Fowler, Evan Phoenix, and Rich Kilmer
46
+
47
+ Permission is hereby granted, free of charge, to any person obtaining
48
+ a copy of this software and associated documentation files (the
49
+ 'Software'), to deal in the Software without restriction, including
50
+ without limitation the rights to use, copy, modify, merge, publish,
51
+ distribute, sublicense, and/or sell copies of the Software, and to
52
+ permit persons to whom the Software is furnished to do so, subject to
53
+ the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be
56
+ included in all copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
59
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
61
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
62
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
63
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
64
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65
+
data/Rakefile ADDED
@@ -0,0 +1,15 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require './lib/gitjour.rb'
6
+
7
+ Hoe.new('gitjour', Gitjour::VERSION::STRING) do |p|
8
+ p.extra_deps = ['dnssd']
9
+ p.developer('Chad Fowler', 'chad@chadfowler.com')
10
+ p.developer('Evan Phoenix', 'evan@fallingsnow.net')
11
+ p.developer('Rich Kilmer', 'rich@example.com')
12
+ p.summary = 'Serve git and advertise with bonjour'
13
+ end
14
+
15
+ # vim: syntax=Ruby
data/bin/gitjour ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ require 'socket'
3
+ require File.dirname(__FILE__) + "/../lib/gitjour"
4
+
5
+ trap "INT" do
6
+ exit!
7
+ end
8
+
9
+ Gitjour::Application.run(*ARGV)
data/lib/gitjour.rb ADDED
@@ -0,0 +1,3 @@
1
+ $:.unshift(File.dirname(__FILE__))
2
+
3
+ require 'gitjour/application'
@@ -0,0 +1,11 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestGitjour < Test::Unit::TestCase
4
+
5
+ def setup
6
+ end
7
+
8
+ def test_truth
9
+ assert true
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../lib/gitjour'
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lachlanhardy-gitjour
3
+ version: !ruby/object:Gem::Version
4
+ version: 8.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Chad Fowler
8
+ - Evan Phoenix
9
+ - Rich Kilmer
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+
14
+ date: 2008-10-10 00:00:00 -07:00
15
+ default_executable: gitjour
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: dnssd
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: hoe
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.5.3
34
+ version:
35
+ description:
36
+ email:
37
+ - chad@chadfowler.com
38
+ - evan@fallingsnow.net
39
+ - rich@example.com
40
+ executables:
41
+ - gitjour
42
+ extensions: []
43
+
44
+ extra_rdoc_files:
45
+ - History.txt
46
+ - Manifest.txt
47
+ files:
48
+ - History.txt
49
+ - Manifest.txt
50
+ - README.rdoc
51
+ - Rakefile
52
+ - bin/gitjour
53
+ - lib/gitjour.rb
54
+ - test/test_gitjour.rb
55
+ - test/test_helper.rb
56
+ has_rdoc: true
57
+ homepage:
58
+ post_install_message:
59
+ rdoc_options:
60
+ - --main
61
+ - README.txt
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: "0"
69
+ version:
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: "0"
75
+ version:
76
+ requirements: []
77
+
78
+ rubyforge_project: gitjour
79
+ rubygems_version: 1.2.0
80
+ signing_key:
81
+ specification_version: 2
82
+ summary: Serve git and advertise with bonjour
83
+ test_files:
84
+ - test/test_gitjour.rb
85
+ - test/test_helper.rb