rhcp 0.1.5 → 0.1.6
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/README.txt +3 -5
- data/Rakefile +4 -52
- data/lib/rhcp.rb +1 -1
- metadata +19 -7
data/README.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
=
|
1
|
+
= RHCP
|
2
2
|
|
3
|
-
|
3
|
+
http://hitchhackers.net/projects/rhcp
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
|
7
|
+
The rhcp protocol allows you to register commands along with their parameter descriptions and some metadata that can then be executed by rhcp clients.
|
8
8
|
|
9
9
|
== FEATURES/PROBLEMS:
|
10
10
|
|
@@ -16,8 +16,6 @@ FIX (describe your package)
|
|
16
16
|
|
17
17
|
== REQUIREMENTS:
|
18
18
|
|
19
|
-
* FIX (list of requirements)
|
20
|
-
|
21
19
|
== INSTALL:
|
22
20
|
|
23
21
|
* FIX (sudo gem install, anything else)
|
data/Rakefile
CHANGED
@@ -70,62 +70,14 @@ end
|
|
70
70
|
# TODO add rcov
|
71
71
|
# rcov -I lib/ -x rcov.rb -x rhcp.rb test/**/*.rb
|
72
72
|
|
73
|
-
###############################################
|
74
|
-
### GEM
|
75
|
-
spec = Gem::Specification.new do |s|
|
76
|
-
s.name = PKG_NAME
|
77
|
-
s.version = PKG_VERSION
|
78
|
-
s.summary = "Library for exporting parts of your application using the rhcp protocol"
|
79
|
-
s.description = "The rhcp protocol allows you to register commands along with their parameter descriptions and some metadata that can then be executed by rhcp clients."
|
80
|
-
|
81
|
-
dist_dirs = [ "lib", "test" ]
|
82
|
-
# TODO add README and CHANGELOG
|
83
|
-
s.files = [ "Rakefile" ]
|
84
|
-
dist_dirs.each do |dir|
|
85
|
-
s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if do |item|
|
86
|
-
item.include?( "\.svn" )
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
# s.add_dependency('uuidtools', '>= 1.0.0')
|
91
|
-
# s.add_dependency('builder', '>= 1.2.4')
|
92
|
-
|
93
|
-
s.require_path = 'lib'
|
94
|
-
s.test_files = Dir.glob('test/**/*.rb')
|
95
|
-
|
96
|
-
|
97
|
-
begin
|
98
|
-
s.post_install_message = <<-TEXT
|
99
|
-
|
100
|
-
This is the initial release of rhcp - hope you'll like it.
|
101
|
-
Feel free to send me feedback to rhcp at hitchhackers dot net.
|
102
|
-
|
103
|
-
TEXT
|
104
|
-
rescue Exception
|
105
|
-
end
|
106
|
-
|
107
|
-
s.has_rdoc = true
|
108
|
-
#s.extra_rdoc_files = %w( README )
|
109
|
-
#s.rdoc_options.concat ['--main', 'README']
|
110
|
-
|
111
|
-
s.author = "Philipp Traeder"
|
112
|
-
s.email = "philipp@hitchhackers.net"
|
113
|
-
s.homepage = "http://hitchhackers.net/projects/rhcp"
|
114
|
-
s.rubyforge_project = "rhcp"
|
115
|
-
end
|
116
|
-
|
117
|
-
Rake::GemPackageTask.new(spec) do |p|
|
118
|
-
p.gem_spec = spec
|
119
|
-
p.need_tar = true
|
120
|
-
p.need_zip = true
|
121
|
-
end
|
122
|
-
|
123
73
|
require 'rubygems'
|
124
74
|
require 'hoe'
|
125
75
|
|
126
|
-
Hoe.new('rhcp', PKG_VERSION) do |p|
|
76
|
+
hoe = Hoe.new('rhcp', PKG_VERSION) do |p|
|
127
77
|
# p.rubyforge_name = 'rhcp' # if different than lowercase project name
|
128
|
-
p.developer('Philipp
|
78
|
+
p.developer('Philipp Traeder', 'philipp@hitchhackers.net')
|
79
|
+
p.extra_deps << 'json'
|
80
|
+
p.post_install_message = "This is the initial release of rhcp - hope you'll like it.\nFeel free to send me feedback to rhcp at hitchhackers dot net."
|
129
81
|
end
|
130
82
|
|
131
83
|
|
data/lib/rhcp.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhcp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Philipp
|
7
|
+
- Philipp Traeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-13 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: json
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
15
25
|
- !ruby/object:Gem::Dependency
|
16
26
|
name: hoe
|
17
27
|
type: :development
|
@@ -22,7 +32,7 @@ dependencies:
|
|
22
32
|
- !ruby/object:Gem::Version
|
23
33
|
version: 1.8.2
|
24
34
|
version:
|
25
|
-
description:
|
35
|
+
description: The rhcp protocol allows you to register commands along with their parameter descriptions and some metadata that can then be executed by rhcp clients.
|
26
36
|
email:
|
27
37
|
- philipp@hitchhackers.net
|
28
38
|
executables: []
|
@@ -74,8 +84,10 @@ files:
|
|
74
84
|
- test/rhcp/request_test.rb
|
75
85
|
- test/rhcp/response_test.rb
|
76
86
|
has_rdoc: true
|
77
|
-
homepage:
|
78
|
-
post_install_message:
|
87
|
+
homepage: http://hitchhackers.net/projects/rhcp
|
88
|
+
post_install_message: |-
|
89
|
+
This is the initial release of rhcp - hope you'll like it.
|
90
|
+
Feel free to send me feedback to rhcp at hitchhackers dot net.
|
79
91
|
rdoc_options:
|
80
92
|
- --main
|
81
93
|
- README.txt
|
@@ -99,6 +111,6 @@ rubyforge_project: rhcp
|
|
99
111
|
rubygems_version: 1.3.1
|
100
112
|
signing_key:
|
101
113
|
specification_version: 2
|
102
|
-
summary:
|
114
|
+
summary: The rhcp protocol allows you to register commands along with their parameter descriptions and some metadata that can then be executed by rhcp clients.
|
103
115
|
test_files: []
|
104
116
|
|