rhcp 0.1.4 → 0.1.5

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
@@ -25,7 +25,7 @@ lib/rhcp/http_exporter.rb
25
25
  lib/rhcp/request.rb
26
26
  lib/rhcp/response.rb
27
27
  lib/rhcp/rhcp_exception.rb
28
- start_test_server.sh
28
+ rhcp_test_server.sh
29
29
  test/rhcp/broker_test.rb
30
30
  test/rhcp/client/command_param_stub_test.rb
31
31
  test/rhcp/client/command_stub_test.rb
data/Rakefile CHANGED
@@ -11,6 +11,8 @@ PKG_NAME = 'rhcp'
11
11
  PKG_VERSION = RHCP::Version.to_s
12
12
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
13
13
 
14
+ # TODO hoe should be a development dependency only
15
+
14
16
  desc "Default Task"
15
17
  task :default => [ :test ]
16
18
 
@@ -62,7 +64,7 @@ task :lines do
62
64
  end
63
65
 
64
66
  task :update_manifest do
65
- system "rake check_manifest 2>/dev/null | grep -vE 'qooxdoo|nbproject|coverage' | grep -E '^\+' | grep -vE '^$' | grep -v '(in ' | grep -vE '^\+\+\+' | cut -b 2-200"
67
+ system "rake check_manifest 2>/dev/null | grep -vE 'qooxdoo|nbproject|coverage' | grep -E '^\+' | grep -vE '^$' | grep -v '(in ' | grep -vE '^\+\+\+' | cut -b 2-200 | patch"
66
68
  end
67
69
 
68
70
  # TODO add rcov
data/lib/rhcp.rb CHANGED
@@ -21,7 +21,7 @@ module RHCP #:nodoc:
21
21
 
22
22
  MAJOR = 0
23
23
  MINOR = 1
24
- TINY = 4
24
+ TINY = 5
25
25
 
26
26
  def Version.to_s
27
27
  [ MAJOR, MINOR, TINY ].join(".")
@@ -44,4 +44,4 @@ module RHCP #:nodoc:
44
44
 
45
45
  end
46
46
 
47
- end
47
+ end
@@ -61,7 +61,6 @@ module RHCP
61
61
  }
62
62
  # TODO this path should probably be quite relative
63
63
  @server.mount "/#{@url_prefix}/info", HTTPServlet::FileHandler, "docroot"
64
- @server.mount "/#{@url_prefix}/info2", HTTPServlet::FileHandler, "qooxdoo_rhcp/build"
65
64
  @server.mount "/#{@url_prefix}/get_commands", GetCommandsServlet, @broker
66
65
  @server.mount "/#{@url_prefix}/get_lookup_values", GetLookupValuesServlet, @broker
67
66
  @server.mount "/#{@url_prefix}/execute", ExecuteServlet, @broker
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+
3
+ dir=`dirname $0`
4
+ ruby -I$dir/lib $dir/test/rhcp/http_test_server.rb
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp T.
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-23 00:00:00 +01:00
12
+ date: 2009-02-12 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.8.3
23
+ version: 1.8.2
24
24
  version:
25
25
  description: FIX (describe your package)
26
26
  email:
@@ -61,7 +61,7 @@ files:
61
61
  - lib/rhcp/request.rb
62
62
  - lib/rhcp/response.rb
63
63
  - lib/rhcp/rhcp_exception.rb
64
- - start_test_server.sh
64
+ - rhcp_test_server.sh
65
65
  - test/rhcp/broker_test.rb
66
66
  - test/rhcp/client/command_param_stub_test.rb
67
67
  - test/rhcp/client/command_stub_test.rb
data/start_test_server.sh DELETED
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- ruby -I lib test/rhcp/http_test_server.rb