juggernaut 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,26 @@
1
+
2
+ $:.unshift "../lib"
3
+ require "juggernaut"
4
+ require "test/unit"
5
+ require "shoulda"
6
+ require "mocha"
7
+
8
+ class TestUtils < Test::Unit::TestCase
9
+
10
+ context "Hash" do
11
+
12
+ should "symbolize keys" do
13
+ obj = Object.new
14
+ hsh = {"a" => 1, "b" => "string", "c" => obj}
15
+ hsh.symbolize_keys!
16
+ assert_nil hsh["a"]
17
+ assert_equal 1, hsh[:a]
18
+ assert_nil hsh["b"]
19
+ assert_equal "string", hsh[:b]
20
+ assert_nil hsh["c"]
21
+ assert_equal obj, hsh[:c]
22
+ end
23
+
24
+ end
25
+
26
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juggernaut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-29 00:00:00 +01:00
12
+ date: 2009-09-08 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -40,20 +40,20 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.7.0
43
+ version: 2.3.3
44
44
  version:
45
- description: FIX (describe your package)
45
+ description: |-
46
+ See Plugin README:
47
+ http://juggernaut.rubyforge.org/svn/trunk/juggernaut/README
46
48
  email: info@eribium.org
47
49
  executables:
48
50
  - juggernaut
49
51
  extensions: []
50
52
 
51
53
  extra_rdoc_files:
52
- - History.txt
53
54
  - Manifest.txt
54
55
  - README.txt
55
56
  files:
56
- - History.txt
57
57
  - Manifest.txt
58
58
  - README.txt
59
59
  - Rakefile
@@ -67,6 +67,8 @@ files:
67
67
  - lib/juggernaut/utils.rb
68
68
  has_rdoc: true
69
69
  homepage: http://juggernaut.rubyforge.org
70
+ licenses: []
71
+
70
72
  post_install_message:
71
73
  rdoc_options:
72
74
  - --main
@@ -88,9 +90,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
90
  requirements: []
89
91
 
90
92
  rubyforge_project: juggernaut
91
- rubygems_version: 1.2.0
93
+ rubygems_version: 1.3.5
92
94
  signing_key:
93
- specification_version: 2
94
- summary: FIX (describe your package)
95
- test_files: []
96
-
95
+ specification_version: 3
96
+ summary: "See Plugin README: http://juggernaut.rubyforge.org/svn/trunk/juggernaut/README"
97
+ test_files:
98
+ - test/test_client.rb
99
+ - test/test_juggernaut.rb
100
+ - test/test_message.rb
101
+ - test/test_runner.rb
102
+ - test/test_server.rb
103
+ - test/test_utils.rb
@@ -1,5 +0,0 @@
1
- == 1.0.0 / 2008-01-26
2
-
3
- * 1 major enhancement
4
- * Birthday!
5
-